learn › Calculus

Derivatives

lesson · about 3 minutes

The rules for rates of change: power, product, chain.

Pen and paper is fine · no calculator needed why?

Opens at level 33. You're level 1. You can read and practice here now.

the idea

The derivative f′(x) measures how fast f(x) changes as x changes: the slope of its graph at that x. So f′(2) is the slope at x = 2.

A few rules build every derivative here. The power rule handles each term of a polynomial, the product rule two factors multiplied, and the chain rule one function inside another. Four derivatives are worth knowing by heart: eˣ stays eˣ, ln x becomes 1/x, sin x becomes cos x, and cos x becomes −sin x.

techniques

Power rule, term by term

Polynomials: sums of a number times a power of x.

  1. For each term, multiply by the power and lower the power by one: 5x³ becomes 15x².
  2. A term like 4x becomes 4, and a plain number becomes 0.
  3. Put the number into f′, not into f.
worked example

Example: f(x) = 2x³ − 5x² + 4x − 1. What is f′(2)?

  1. f′(x) = 6x² − 10x + 4.
  2. f′(2) = 6 × 4 − 10 × 2 + 4 = 24 − 20 + 4 = 8.

Answer: 8

Product rule

Two factors multiplied, like x²(3x + 1) or (2x − 1)·eˣ.

  1. Call the factors u and v, and find u′ and v′.
  2. f′ = u′v + uv′: change one factor at a time, then add the two parts.
  3. Put the number into all four pieces, then combine.
  4. At x = 0: e⁰ = 1, sin(0) = 0, cos(0) = 1.
worked example

Example: f(x) = (x + 2)(x² − 3). What is f′(1)?

  1. u = x + 2, u′ = 1. v = x² − 3, v′ = 2x.
  2. At x = 1: u is 3, v is −2, u′ is 1, v′ is 2.
  3. f′(1) = 1 × (−2) + 3 × 2 = −2 + 6 = 4.

Answer: 4

Chain rule: outside, then inside

One function inside another: (2x + 1)⁴, e^(x² − 1), ln(x² + 3), sin(3x).

  1. Differentiate the outside function and leave the inside alone.
  2. Multiply by the derivative of the inside.
  3. (inside)ⁿ gives n(inside)ⁿ⁻¹ × inside′, and e^(inside) gives e^(inside) × inside′.
  4. ln(inside) gives inside′ ÷ inside. sin(kx) gives k·cos(kx), and cos(kx) gives −k·sin(kx).
worked example

Example: f(x) = (3x − 4)³. What is f′(2)?

  1. Outside: 3(3x − 4)². Inside derivative: 3.
  2. f′(x) = 3(3x − 4)² × 3.
  3. At x = 2 the inside is 2, so f′(2) = 3 × 4 × 3 = 36.

Answer: 36

watch out for

practice

Sign in to try one

Power rule

worked example

f(x) = −4x⁴ − 5x³ − 7x² + 9. What is f′(2)?

Answer: -216

  1. Power rule: bring each power down and lower it by one, so f′(x) = −16x³ − 15x² − 14x.
  2. f′(2) = −16(2)³ − 15(2)² − 14(2) = −128 − 60 − 28 = −216.

Product rule

worked example

f(x) = (−x² − 1)(4x − 5). What is f′(3)?

Answer: -82

  1. Product rule: f′ = u′v + uv′ with u = −x² − 1 and v = 4x − 5.
  2. u′ = −2x and v′ = 4.
  3. At x = 3: (−6) × 7 + (−10) × 4 = −42 − 40 = −82.

Chain rule

worked example

f(x) = e^(x² − 2x − 3). What is f′(−1)?

Answer: -4

  1. Chain rule: f′(x) = e^(x² − 2x − 3) × (2x − 2).
  2. At x = −1 the exponent is (−1)² − 2(−1) − 3 = 1 + 2 − 3 = 0, so e⁰ = 1.
  3. f′(−1) = 1 × (2(−1) − 2) = −4.

eˣ, ln, sin, cos

worked example

f(x) = 2e³ˣ. What is f′(0)?

Answer: 6

  1. Chain rule: the inside 3x has derivative 3, so f′(x) = 2 × 3e³ˣ = 6e³ˣ.
  2. At x = 0, e⁰ = 1, so f′(0) = 6.

Sign in to start