Calculus I· Note 04

Graph Sketching

Year 1 · Semester IILast updated

May 22 Lecture. Links to the board and the recording.

Definition:

x0x_0 is an extreme point of ff if there exists a neighborhood of x0x_0, I=(x0−ϵ,x0+ϵ)I=(x_0-\epsilon, x_0+\epsilon) such that either f(x0)>f(x)  ∀x∈If(x_0) > f(x)\;\forall x\in I or f(x0)<f(x)  ∀x∈If(x_0) < f(x)\;\forall x\in I [x≠x0][x\not=x_0]
In the first case, x0x_0 is a local maximum; in the second case, x0x_0 is a local minimum.

Fermat’s Theorem (#36)
Theorem

If ff is differentiable at x0x_0, and x0x_0 is an extreme point of ff, then f′(x0)=0f^\prime(x_0)=0

Caveats:
  1. Note the condition ff is differentiable at x0x_0:
  • ff can have an extreme point where f is not differentiable.
    Ex.: f(x)=∣x∣f(x)=|x|
  1. Not every point where f′=0f^\prime=0 is an extreme point. (i.e., the converse of Fermat’s theorem is not true.)
Critical points

By Fermat’s Theorem, the only candidates for extreme points of ff are points where

  1. f′(x)=0f^\prime(x)=0
  2. ff is not differentiable at x0x_0
    If x0x_0 satisfies either of these conditions, then x0x_0 is a critical point of ff.
Rolle’s Theorem
Theorem

Suppose ff is continuous in [a,b][a,b] and differentiable in (a,b)(a,b), with f(a)=f(b)f(a)=f(b). Then ∃c∈(a,b)∣f′(c)=0\exists c\in(a,b)\mid f^\prime(c)=0

Mean Value Theorem (MVT)
Theorem

Suppose ff is continuous in [a,b][a,b] and differentiable in (a,b)(a,b). Then, ∃c∈(a,b)∣f′(c)=f(b)−f(a)b−a\exists c\in(a,b)\mid f^\prime(c)=\frac{f(b)-f(a)}{b-a}
Practically speaking, there exists at least one point on ff between (a,b)(a,b) where the slope of the tangent is exactly equal to the slope of the line between aa and bb.
You can think of this as a “sideways” version of Rolle’s Theorem.

Corollaries of MVT:
  1. If f′(x)=0f^\prime(x)=0 for all x∈(a,b)x\in(a,b), then ff is constant.
  2. Let f,gf,g be continuous on [a,b][a,b], and differentiable on (a,b)(a, b). If f′(x)=g′(x)∣∀x∈(a,b)f^\prime(x)=g^\prime(x)\mid\forall x\in(a,b), then they differ by a constant (i.e. g(x)=f(x)+kg(x)=f(x)+k for some constant k on all of (a,b)(a,b))
  3. If ff is differentiable on (a,b)(a,b) and f′(x)>0∣∀x∈(a,b)f^\prime(x)>0\mid\forall x\in(a,b) then f is increasing on (a,b)(a,b).
  • If ff is differentiable on (a,b)(a,b) and f′(x)<0∣∀x∈(a,b)f^\prime(x)<0\mid\forall x\in(a,b) then f is decreasing on (a,b)(a,b).
  • ff is increasing   ⟺  f′(x)>0\iff f^\prime(x)>0
  • ff is decreasing   ⟺  f′(x)<0\iff f^\prime(x)<0
  1. Linear Approximation:
    For h small, f(x0+h)≈f(x0)+h⋅f′(x0)f(x_0+h)\approx f(x_0)+h\cdot f^\prime (x_0)
    See: Explanation
Sketching graph using information about f′f^\prime

Ex.: f(x)=x3−6x2+9xf(x)=x^3-6x^2+9x
We wish to find extreme points where ff is increasing and where ff is decreasing.

  1. Find critical points (where f′=0f^\prime=0 or ff is not differentiable)
    • ff is a polynomial, so it’s differentiable for all xx
    • f′(x)=3x2−12x+9=0f^\prime(x)=3x^2-12x+9=0 (set it to be zero to find extreme points)
      • f′(x)=3(x2−4x+3)=0f^\prime(x)=3(x^2-4x+3)=0
      • f′(x)=3(x2−4x+3)=0f^\prime(x)=3(x^2-4x+3)=0
      • f′(x)=3(x−1)(x−3)=0f^\prime(x)=3(x-1)(x-3)=0
    • Critical points are 1,31, 3
  2. Examine critical points
    1. First derivative test:
      1. For local maximum, f′(x<x0)<0<f′(x>x0)f^\prime(x<x_0)<0<f^\prime(x>x_0)
        For local minimum, f′(x<x0)>0>f′(x>x0)f^\prime(x<x_0)>0>f^\prime(x>x_0)
      2. Check the signs of the derivative function using the snake method
      3. f′>0∣x<1,x>3f^\prime>0\mid x<1,x>3
        f′<0∣1<x<3f^\prime<0\mid1<x<3
      4. x0=1x_0=1 is a local max
        x0=3x_0=3 is a local min
    2. 2nd2^{nd} method to locate extreme points (from the critical points):
      1. Look at the second derivative f′′(x0)f^{\prime\prime}(x_0) where x0x_0 is a critical point
      2. If f′′(x0)>0f^{\prime\prime}(x_0) > 0 then x0x_0 is a local min
      3. If f′′(x0)<0f^{\prime\prime}(x_0)<0 then x0x_0 is a local max
      4. If f′′(x0)<0f^{\prime\prime}(x_0)<0 then this test gives no information
      • In our example, f′′(x)=6x−12f^{\prime\prime}(x)=6x-12, so we check:
        • f′′(1)=−6f^{\prime\prime}(1)=-6, so it’s a local maximum
        • f′′(3)=6f^{\prime\prime}(3)=6, so it’s a local minimum
  3. Sketch the graph
    1. Plot the points where the graph intersect the X-axis
    2. Plot the maxima and minima
    3. connect them using information gleaned from examination of critical points.

May 22 Tirgul. Links to the board and recording.
[Incomplete]


[Incomplete until End of Unit Lecture June 5]