PieceWise Functions and Extremas
PieceWise Functions and Extremas
Local Maximum/Minimum
Def: Let f be a function with domain D. Then f has a local maximum value
at a point c in D if
An absolute maximum occurs at the x value where the function is the biggest,
while a local maximum occurs at an x value if the function is bigger there than
points around it (i.e. an open interval around it).
1
3. The First Derivative Theorem for Local Extreme Values
f 0 (c) = 0.
When functions have a local max or min at c (i.e. the function is bigger or
smaller around a point c) then the function must be flat at c so, if the derivative
exists at c, then f 0 (c) = 0. Note this is also true for absolute extrema because
they are also local extrema.
2
5. Linearization
Curves are hard, sometimes with functions that are complicated, we’d rather es-
timate what the function value is than to actually calculate the function value.
We can do this by using the tangent line to a point. If we have a point (a, f (a)),
the tangent line is defined in point-slope form (y−y1 = m(x−x1 )). The slope of
the function at (a, f (a)) is f 0 (a). Then the tangent line is y−f (a) = f 0 (a)(x−a)
and we can call the line L(x) = f (a) + f 0 (a)(x − a).
6. Differential
dy = f 0 (x)dx.
THM: Suppose that y = f (x) is continuous at every point of the closed interval
[a, b] and differentiable at every point of its interior (a, b). If f (a) = f (b), then
there is at least one number c in (a, b) at which f 0 (c) = 0.
3
8. The Mean Value Theorem
9. Corollary 1
Cor: If f 0 (x) = 0 at each point x of an open interval (a, b), then f (x) = C for
all x ∈ (a, b), where C is a constant.
10. Corollary 2
Cor: If f 0 (x) = g 0 (x) at each point x in an open interval (a, b), then there
exists a constant C such that f (x) = g(x) + C for all x ∈ (a, b). That is, f − g
is a constant function on (a, b).
If two functions have the same slope everywhere then they must be the same
functions, just differing by a constant additive (i.e. they’re the same function,
but they can be ”lifted” from each other).
Note that Corollary 1 tells us that if f 0 (x) − g 0 (x) = 0 then f (x) − g(x) = C
so f (x) = g(x) + C.