Skip to content
Tutorials Center
My learning

Topics

Lesson 15 of 39 · Differentiation Rules

The Power Rule, Constants and Sums

Differentiate polynomials and roots fast with the power rule, the constant rule, the constant multiple rule and the sum rule, checked against a numeric slope.

Computing derivatives from the limit definition works, but it is slow. In this chapter you collect rules that make differentiation quick. The first and most useful is the power rule.

The rules

Rule Statement
Constant d/dx [c] = 0
Power d/dx [xⁿ] = n xⁿ⁻¹
Constant multiple d/dx [c f(x)] = c f'(x)
Sum and difference d/dx [f ± g] = f' ± g'

A constant never changes, so its slope is 0. The power rule says: bring the exponent down as a multiplier, then reduce the exponent by 1. It works for any real exponent n, not just whole numbers.

Worked examples

  • d/dx [x⁵] = 5x⁴
  • d/dx [7x³] = 7 · 3x² = 21x²
  • d/dx [x² - 4x + 9] = 2x - 4
  • d/dx [x] = 1 because x = x¹ and 1·x⁰ = 1

Rewrite first. Roots and reciprocals become powers:

  • √x = x^(1/2), so d/dx [√x] = (1/2) x^(-1/2) = 1 / (2√x)
  • 1/x³ = x⁻³, so d/dx [x⁻³] = -3x⁻⁴ = -3/x⁴
  • ∛(x²) = x^(2/3), so the derivative is (2/3) x^(-1/3)
Python A small power-rule differentiator

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

This is a stand-in that applies the power rule to each term. It handles only sums of power terms.

Check against numbers

Always verify a derivative with a numerical slope at a test point.

Python Check by comparing with a numeric slope

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The two numbers agree to many digits, confirming the rules.

Tangent line application

Find the tangent to y = x³ - 2x at x = 2. The slope is 3x² - 2 = 10, and y(2) = 8 - 4 = 4. The line is y = 4 + 10(x - 2), i.e. y = 10x - 16.

The power rule is for xⁿ with a constant exponent. It does not apply to 2ˣ, where the variable is in the exponent. Those come in the lesson on trig, exponential and log derivatives.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. d/dx [x⁷] equals

    Bring down the 7, reduce the exponent to 6.
  2. 2. d/dx [5x² - 3x + 8] equals

    Differentiate each term; the constant 8 becomes 0.
  3. 3. d/dx [√x] equals

    √x = x^(1/2), so the derivative is (1/2)x^(-1/2).
  4. 4. The slope of y = x³ at x = 2 is

    3x² at x = 2 is 12.

Summary

  • Constants have derivative 0; d/dx [xⁿ] = n xⁿ⁻¹.
  • Constants multiply through; sums are differentiated term by term.
  • Rewrite roots and reciprocals as powers first.
  • Verify with a numeric slope.

Next: Product and Quotient Rules