Differentiation

Differentiation finds the gradient of a curve at any point. This is the rate at which one quantity changes as another changes. The derivative dy/dx is the limit of the gradient of a chord as the chord shrinks to a point. For powers of x it follows a simple rule.

Key facts

  • First principles: f′(x) is the limit of (f(x + h) − f(x))/h as h → 0.
  • Power rule: if y = ax^n then dy/dx = anx^(n − 1). This works for any real n.
  • Differentiate term by term. A constant differentiates to 0.
  • Rewrite roots and fractions as powers first: √x = x^(1/2) and 1/(x^2) = x^(−2).
  • (d^2y)/(dx^2) is the derivative of dy/dx: the rate of change of the gradient.
  • Tangent at (a, f(a)): y − f(a) = f′(a)(x − a). The normal there has gradient −1/(f′(a)).

Worked examples

Example 1

Find dy/dx for y = 4x^3 − 5x^2 + 7x − 2, and the gradient of the curve at x = 2.

  1. Multiply by the power, then take one off the power. dy/dx = 12x^2 − 10x + 7
  2. The constant −2 differentiates to 0.
  3. At x = 2: 12(4) − 10(2) + 7 = 35

Answer: dy/dx = 12x² − 10x + 7; gradient 35

Example 2

Differentiate y = 6√x − 8/x and find dy/dx when x = 4.

  1. Rewrite the function. y = 6x^(1/2) − 8x^(−1)
  2. Differentiate. dy/dx = 3x^(−1/2) + 8x^(−2)
  3. Substitute x = 4. 3/(√4) + 8/16 = 1.5 + 0.5 = 2

Answer: 2

Example 3

Use first principles to differentiate f(x) = x^2 − 3x.

  1. Expand f(x + h). f(x + h) = x^2 + 2xh + h^2 − 3x − 3h
  2. Subtract f(x). f(x + h) − f(x) = 2xh + h^2 − 3h
  3. Divide by h. 2x + h − 3
  4. Let h → 0. f′(x) = 2x − 3

Answer: f′(x) = 2x − 3

Example 4

Find the gradient of the curve y = x² at x = 3.

  1. dy/dx = 2x
  2. Substitute x = 3. 2 × 3 = 6

Answer: 6