2.8 The Derivative as a Function

The Derivative as a Function

  • The derivative of a function ff at a fixed number aa has been previously considered.

  • Now, the focus shifts to letting the number aa vary.

  • By replacing aa with a variable xx, a new function is obtained, denoted as f(x)f'(x).

Definition of the Derivative Function

  • For any number xx where the following limit exists, we assign to xx the number f(x)f'(x).

  • f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

  • This defines a new function ff', called the derivative of ff.

  • The value of f(x)f'(x) is interpreted geometrically as the slope of the tangent line to the graph of ff at the point (x,f(x))(x, f(x)).

  • ff' is "derived" from ff through a limiting operation.

  • The domain of ff' may be smaller than the domain of ff.

Example 1: Sketching the Graph of a Derivative

  • To estimate the value of the derivative at any value of xx, draw the tangent at the point (x,f(x))(x, f(x)) and estimate its slope.

  • For instance, at x=5x = 5, draw the tangent at point PP and estimate its slope.

  • Plot the point on the graph of ff' directly beneath PP.

  • Repeat this procedure at several points to obtain the graph of ff'.

  • Tangents at points AA, BB, and CC are horizontal, indicating the derivative is 0 there.

  • The graph of ff' crosses the x-axis at points directly beneath AA, BB, and CC.

  • Between AA and BB, tangents have positive slope, so ff' is positive.

  • Between BB and CC, tangents have negative slope, so ff' is negative.

  • When xx is close to 0, ff' is also close to 0, so f(x)f'(x) is very large; this corresponds to the steep tangent lines near (0,0)(0, 0)

  • When xx is large, f(x)f'(x) is very small, corresponding to flatter tangent lines at the far right of the graph of ff, and the horizontal asymptote of the graph of ff'.

Other Notations for Derivatives

  • If y=f(x)y = f(x), alternative notations for the derivative are:

    • f(x)=y=dydx=Df(x)=Dxf(x)f'(x) = y' = \frac{dy}{dx} = Df(x) = D_x f(x)

  • The symbols DD and ddx\frac{d}{dx} are differentiation operators.

  • Leibniz notation: dydx\frac{dy}{dx} is a synonym for f(x)f'(x), not a ratio for the time being.

  • Definition of derivative in Leibniz notation:

    • dydx=limΔx0ΔyΔx\frac{dy}{dx} = \lim_{\Delta x \to 0} \frac{\Delta y}{\Delta x}

  • To indicate the value of a derivative in Leibniz notation at a specific number aa:

    • dydxx=a\frac{dy}{dx} \Big|_{x=a}

  • This is a synonym for f(a)f'(a).

  • Definition: A function ff is differentiable at aa if f(a)f'(a) exists.

  • It is differentiable on an open interval (a,b)(a, b) if it is differentiable at every number in the interval.

Example 5: Determining Where a Function Is Differentiable

  • Consider the function f(x)=xf(x) = |x|

  • For x > 0, x=x|x| = x, and for x < 0, x=x|x| = -x

  • For x > 0, we have

    • f(x)=lim<em>h0f(x+h)f(x)h=lim</em>h0(x+h)xh=limh0hh=1f'(x) = \lim<em>{h \to 0} \frac{f(x+h) - f(x)}{h} = \lim</em>{h \to 0} \frac{(x+h) - x}{h} = \lim_{h \to 0} \frac{h}{h} = 1

  • So, ff is differentiable for any x > 0.

  • Similarly, for x < 0, we have

    • f(x)=lim<em>h0f(x+h)f(x)h=lim</em>h0(x+h)(x)h=limh0hh=1f'(x) = \lim<em>{h \to 0} \frac{f(x+h) - f(x)}{h} = \lim</em>{h \to 0} \frac{-(x+h) - (-x)}{h} = \lim_{h \to 0} \frac{-h}{h} = -1

  • So, ff is differentiable for any x < 0.

  • For x=0x = 0, we investigate:

    • lim<em>h0f(0+h)f(0)h=lim</em>h00+h0h=limh0hh\lim<em>{h \to 0} \frac{f(0+h) - f(0)}{h} = \lim</em>{h \to 0} \frac{|0+h| - |0|}{h} = \lim_{h \to 0} \frac{|h|}{h}

  • Let's compute the left and right limits separately:

    • lim<em>h0+hh=lim</em>h0+hh=1\lim<em>{h \to 0^+} \frac{|h|}{h} = \lim</em>{h \to 0^+} \frac{h}{h} = 1

    • lim<em>h0hh=lim</em>h0hh=1\lim<em>{h \to 0^-} \frac{|h|}{h} = \lim</em>{h \to 0^-} \frac{-h}{h} = -1

  • Since these limits are different, f(0)f'(0) does not exist.

  • Thus, ff is differentiable at all xx except 0.

  • A formula for f(x)f'(x) is given by:

  • The fact that f(0)f'(0) does not exist geometrically means that the curve does not have a tangent line at (0,0)(0, 0).

Relationship Between Differentiability and Continuity

  • Theorem: If ff is differentiable at aa, then ff is continuous at aa.

  • Note: The converse is false, meaning there are functions that are continuous but not differentiable.

How Can a Function Fail to Be Differentiable?

  • A function can fail to be differentiable if:

    • The graph of ff has a "corner" or "kink".

    • ff is not continuous at aa.

    • The curve has a vertical tangent line when x=ax = a.

Higher Derivatives

  • If ff is a differentiable function, then its derivative ff' is also a function and may have a derivative of its own, denoted by f(x)f''(x).

  • f(x)f''(x) is the second derivative of ff.

  • Using Leibniz notation, we write the second derivative of y=f(x)y = f(x) as:

    • d2ydx2\frac{d^2y}{dx^2}

Example 6: Finding and Interpreting Second Derivatives

  • Given f(x)=x3xf(x) = x^3 - x

  • First derivative:

  • Second derivative:

  • f(x)f''(x) can be interpreted as the slope of the curve f(x)f'(x) at the point (x,f(x))(x, f'(x)).

  • It is the rate of change of the slope of the original curve y=f(x)y = f(x).

Interpretation of Second Derivatives

  • In general, a second derivative is a rate of change of a rate of change.

    • If s=s(t)s = s(t) is the position function, s(t)=v(t)s'(t) = v(t) is the velocity function.

    • v(t)=a(t)v'(t) = a(t), acceleration is the second derivative of the position function.

  • Acceleration:

    • a(t)=v(t)=s(t)a(t) = v'(t) = s''(t)

    • In Leibniz notation:

Higher Order Derivatives

  • The third derivative f(x)f'''(x) is the derivative of the second derivative:

  • Alternative notations:

  • If s=s(t)s = s(t) represents the position, then the third derivative of s(t)s(t) is the jerk j(t)j(t), which is the rate of change of acceleration.

  • Fourth derivative is denoted as , and the n-th derivative is denoted as . If = f(x), we write: