A59 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 9 · The derivative as a function

The slope at every point makes a new curve

The slope of a curve is different at every point. Record it at every point and you get a second curve, the derivative, which says how fast the first one is changing everywhere at once. Reading one curve from the other is a skill engineers use constantly: a voltage from its current, a position from its speed.

Play

  • The top curve is f(x)=x3−3x; the dashed line is its tangent at x0. The second curve records the tangent's slope at every x: that's f′(x).
  • Slide x0 along. Where the tangent is flat, where does the slope curve sit?
  • Where f is climbing, is f′ above or below zero?

Predict

Where does the slope curve f′(x) cross zero?

Name it

The derivative function

The derivative of f is the function f′ whose value at each x is the slope of f there:

f′(x)=limh→0⁡f(x+h)−f(x)h

Other ways to write it: dfdx, dydx when y=f(x), and dvdt for a voltage changing in time. Engineers and physicists often write a dot for a time derivative: v˙=dv/dt.

The power rule. Working the limit for x2 gave 2x, and for x3 gave 3x2. The pattern holds for every power:

ddxxn=nxn−1

for any n, including negative and fractional ones: ddx1x=−1x2 and ddxx=12x.

Two more rules follow straight from the definition: constants scale through, (cf)′=cf′, and sums differentiate term by term, (f+g)′=f′+g′. A constant on its own has slope zero. So any polynomial differentiates term by term: ddx(x3−3x)=3x2−3.

Reading one graph from the other:

Where f is...f′ is...
climbingpositive
fallingnegative
flat (peak, dip)zero
steepestat its largest size

The second derivative f′′ is the derivative of f′: how fast the slope changes, which shows as the curve's bend. For a position it's acceleration. f′′(x)>0 means the curve bends upward, like a cup.

Worked example

Differentiate f(x)=4x3−2x2+7 and find the slope at x=1.

Show the solution
  1. Differentiate term by term. f′(x)=12x2−4x
  2. Evaluate at x=1. f′(1)=12−4=8

Answer f′(x)=12x2−4x, and the slope at x=1 is 8.

Worked example

Find the derivative of f(x)=1/x from the definition.

Show the solution
  1. Write the definition. f′(x)=limh→0⁡1x+h−1xh
  2. Combine the fractions on top. f′(x)=limh→0⁡x−(x+h)hx(x+h)=limh→0⁡−1x(x+h)
  3. Let h→0. f′(x)=−1x2
  4. Check. The same answer as the power rule with n=−1: −1⋅x−2.

Answer f′(x)=−1x2.

Worked example

Differentiate x from the definition, and find its slope at x=4.

Show the solution
  1. Write the definition. f′(x)=limh→0⁡x+h−xh
  2. Remove the 0/0. Multiply the top and bottom by x+h+x: f′(x)=limh→0⁡(x+h)−xh(x+h+x)
  3. Let h→0. f′(x)=12x
  4. Slope at x=4. f′(4)=12×2=0.25

Answer the derivative of x is 12x, and its slope at x=4 is 0.25.

Check

Differentiate f(x)=4x3−2x2+7.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

What is the slope of y=1/x at x=3?

Check

A capacitor's voltage climbs from 0 and levels off at 5 V. What does the graph of its rate of change dv/dt look like?

Check

What is f′′(−2) for f(x)=x3−3x?

Check

Let f(x)=3x3+1x.

(a)

What is f′(2)?

(b)

What is f′′(2)?

(c)

The tangent line at x = 2 is y=f′(x0)(x−x0)+f(x0). Where does it cross the y axis?

Check

Differentiate 1/x2 from the definition.

Step 1

Simplify 1/(x+h)2−1/x2h to a single fraction.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

How can you tell, from the graph of f alone, where f′ is positive, negative and zero?

Practice

Keep practicing

8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.