Skip to content

· Grade 12 lesson · 5 min read

Lesson: What Is a Derivative? Slope and the Power Rule (Grade 12)

A derivative tells how fast something is changing right now. On a graph, it is the slope of the curve at one point.

The slope of a curve

A straight line has one slope. A curve is steeper in some places than in others, so its slope changes. At each point, the slope of the curve is the slope of the line that just touches it there: the tangent line.

(1, 1)y = x²slope 2 −2−112
At (1, 1), the curve y = x² is going up 2 for every 1 across.

Where does the 2 come from?

We can't find a slope from one point, so take a second point close by and let it slide closer. From (1, 1) to a point on y = x² that is h farther right:

h second point slope = rise/run
1 (2, 4) 3/1 = 3
0.5 (1.5, 2.25) 1.25/0.5 = 2.5
0.1 (1.1, 1.21) 0.21/0.1 = 2.1
0.01 (1.01, 1.0201) 0.0201/0.01 = 2.01

The slopes close in on 2. That is a limit, and it is the definition of the derivative:

f′(x) = lim (h → 0) (f(x + h) − f(x))/h

Say f′(x) as "f prime of x". It is also written dy/dx.

Do it for any x. With f(x) = x²:

  • f(x + h) − f(x) = (x + h)² − x² = 2xh + h²
  • Divide by h: 2x + h
  • Let h go to 0: f′(x) = 2x

So the slope of y = x² at any point is 2x. At x = 1 it is 2, at x = 3 it is 6, and at x = 0 it is 0 (the flat bottom).

The power rule

Nobody wants to do that every time. Luckily there is a pattern:

The derivative of xⁿ is n × xⁿ⁻¹. Bring the exponent down in front, then make the exponent 1 smaller.

f(x) f′(x)
x² 2x
x³ 3x²
x⁷ 7x⁶
x 1
5 (any constant) 0

Why is the derivative of 5 equal to 0? The graph of y = 5 is flat, and a flat line has slope 0.

Three rules that go with it

  • A number in front stays. The derivative of 4x³ is 4 × 3x² = 12x².
  • Add and subtract one term at a time. The derivative of x³ + 5x is 3x² + 5.
  • A constant alone disappears. The derivative of x² + 9 is 2x.

Example: f(x) = 2x⁴ − 3x² + 7x − 1

f′(x) = 8x³ − 6x + 7

Roots and fractions are powers too

Rewrite first, then use the same rule.

f(x) = √x. Write it as x^(1/2). The derivative is (1/2)x^(−1/2) = 1/(2√x).

f(x) = 1/x². Write it as x⁻². The derivative is −2x⁻³ = −2/x³.

The equation of a tangent line

Find the tangent line to y = x² at x = 3.

  1. The point: 3² = 9, so (3, 9).
  2. The slope: y′ = 2x, and at x = 3 that is 6.
  3. The line: y − 9 = 6(x − 3), so y = 6x − 9.

What it means in real life

  • If s(t) is your position, then s′(t) is your speed and direction, called velocity. A speedometer shows the size of a derivative.
  • If C(x) is the cost of making x things, C′(x) is about what one more costs.
  • Where the derivative is 0, the graph is flat for a moment. That is where to look for the highest and lowest points.

Example. A ball's height in feet after t seconds is h(t) = −16t² + 64t. When is it highest?

h′(t) = −32t + 64 = 0, so t = 2 seconds. The height is −16 × 4 + 64 × 2 = −64 + 128 = 64 feet.

Easy mistakes

  • Changing the exponent before using it. Bring it down first, then subtract 1.
  • Using the power rule on 2ˣ. The power rule is for x to a number. In 2ˣ, the x is in the exponent, and that needs a different rule.
  • Multiplying derivatives. The derivative of a product is not the product of the derivatives. For x² × x³ = x⁵, the derivative is 5x⁴, and 2x × 3x² = 6x³ is wrong. That's what the product rule is for.

Try it

  1. Find the derivative of 5x³ − 4x + 8.
  2. Find the slope of y = x³ at x = 2.
  3. Find the tangent line to y = x² + 1 at x = 1.
Show the answers

1. 15x² − 4.

2. y′ = 3x², and 3 × 4 = 12.

3. The point is (1, 2) and the slope is 2, so y − 2 = 2(x − 1), which is y = 2x.

Practice

Worksheets for this lesson

Free printable worksheets with answer keys. Solve them online and check your answers, or print them.

Looking for something else? Choose a grade

More from the notebook

Lesson: What Is a Limit? (Grade 12)

A limit is the value a function gets close to, even if it never arrives. See limits on a graph and in a table, and find them with algebra.

← All posts