Skip to content

You’re trying Vidi. Read the lesson and solve the exercises — no account needed. Your progress here isn’t saved.

Sign in
Derivatives

The derivative: the slope of a curve

See how the slope of a secant line turns into the slope of the tangent, then compute derivatives in one line with the power rule.

What you’ll be able to do

  • Compute the average rate of change of a function over an interval.
  • Explain the derivative as the limit of secant slopes.
  • Differentiate polynomials with the power rule and use the result to find a tangent line.

1Average rate of change

The average rate of change of ff on [a,b][a, b] is the slope of the secant line through (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)):

f(b)−f(a)b−a.\frac{f(b) - f(a)}{b - a}.

For f(x)=x2f(x) = x^2 on [1,3][1, 3] it is 9−13−1=4\frac{9 - 1}{3 - 1} = 4: on average, ff climbs 4 units per unit of xx.

2From secant to tangent

Shrink the interval. The slope over [a,a+h][a, a + h] is the difference quotient f(a+h)−f(a)h\frac{f(a + h) - f(a)}{h}. As h→0h \to 0, the secant line turns into the tangent line, and its slope is the derivative:

f′(a)=lim⁡h→0f(a+h)−f(a)h.f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}.

For f(x)=x2f(x) = x^2 at a=1a = 1: (1+h)2−1h=2+h→2\frac{(1 + h)^2 - 1}{h} = 2 + h \to 2, so f′(1)=2f'(1) = 2.

3The power ruleKey result

Doing the limit every time is slow.

For any power, ddxxn=n xn−1\frac{d}{dx} x^n = n\,x^{n-1}; constants multiply through, and the derivative of a sum is the sum of the derivatives. So

f(x)=3x2−5x+2⟹f′(x)=6x−5.f(x) = 3x^2 - 5x + 2 \quad\Longrightarrow\quad f'(x) = 6x - 5.

4Reading the derivative

The sign of f′(a)f'(a) tells you the direction: f′(a)>0f'(a) > 0 means ff is increasing at aa, f′(a)<0f'(a) < 0 decreasing, and f′(a)=0f'(a) = 0 means a horizontal tangent.

The tangent line at aa is

y=f(a)+f′(a) (x−a).y = f(a) + f'(a)\,(x - a).

Worked example

Example 1

Find the tangent line to f(x)=x3−2xf(x) = x^3 - 2x at x=1x = 1.

Step 1 of 4

  1. 1

    Differentiate with the power rule: f′(x)=3x2−2f'(x) = 3x^2 - 2.

Try it yourself

0/5 solved
Exercise 1introNumeric answer

What is the average rate of change of f(x)=x2f(x) = x^2 on the interval [1,3][1, 3]?

Exercise 2coreNumeric answer

For f(x)=x2f(x) = x^2, compute the difference quotient f(3+h)−f(3)h\frac{f(3 + h) - f(3)}{h} with h=0.1h = 0.1. (Notice how close it is to the slope of the tangent at x=3x = 3.)

Exercise 3coreNumeric answer

Let f(x)=3x2−5x+2f(x) = 3x^2 - 5x + 2. Use the power rule to find f′(2)f'(2).

Exercise 4coreMultiple choice

Where does f(x)=x3−3xf(x) = x^3 - 3x have a horizontal tangent line?

Exercise 5challengeNumeric answer

The tangent line to f(x)=x2f(x) = x^2 at x=3x = 3 can be written y=mx+by = mx + b. What is bb?

Liked it?

This demo doesn’t save anything. Vidi is in a private beta. Already have access? Sign in to see your subjects.