9C

A rule for differentiating powers of x

The power rule, differentiating sums and multiples, expanding products first, and finding tangents and normals to a curve.

First principles works, but it is slow. Doing it for $x^2$, $x^3$ and $x^4$ shows a pattern, and that pattern is a rule you can use in one line. From here on, first principles is only needed when a question asks for it.

The power rule

From first principles: $x^2 \to 2x$, $\;x^3 \to 3x^2$, $\;x^4 \to 4x^3$. In each case the index comes down to the front, and the new index is one less.

Power rule
$$\frac{d}{dx}\,x^n = nx^{n-1}$$

Two more facts let you differentiate any polynomial term by term:

  • The derivative of a sum is the sum of the derivatives: $(u + v)' = u' + v'$.
  • A constant multiple stays in front: $(ku)' = ku'$.
Example 1●

Differentiate $f(x) = 5x^4 - 2x^3 + 6x - 9$.

$f'(x) = 20x^3 - 6x^2 + 6$
Each term on its own: bring the index down and drop it by one. 6x has derivative 6, and the constant 9 has derivative 0.
Example 2: simplify first●●

Differentiate (a) $y = (3x - 2)(x + 4)$ (b) $y = \dfrac{x^3 - 4x^2}{x}$, $x \ne 0$.

(a) $y = 3x^2 + 10x - 8$, so $\dfrac{dy}{dx} = 6x + 10$.
The power rule needs a sum of powers. Expand first.
(b) $y = x^2 - 4x$, so $\dfrac{dy}{dx} = 2x - 4$.
Divide each term on top by x.

Gradient and angle at a point

The gradient of a curve at a point is the derivative evaluated there. Its angle of inclination is found from $\tan\theta = f'(x)$, as in 8B.

Tangents and normals

The tangent at $P$ is the line through $P$ with gradient $f'(x)$ at $P$. The normal at $P$ is the line through $P$ perpendicular to the tangent, so its gradient is $-\dfrac{1}{f'(x)}$. Both equations come from point–gradient form.

Example 3●●●

Find the equations of the tangent and normal to $y = x^2 - 2x - 3$ at the point where $x = 3$.

$y = 9 - 6 - 3 = 0$, so $P = (3, 0)$.
Find the point first: substitute x = 3 into the curve.
$\dfrac{dy}{dx} = 2x - 2 = 4$ at $x = 3$.
Gradient of the tangent from the derivative.
Tangent: $y - 0 = 4(x - 3)$, so $y = 4x - 12$.
Point–gradient form with the tangent gradient.
Normal: $y = -\tfrac14(x - 3)$, so $x + 4y - 3 = 0$.
The normal's gradient is the negative reciprocal, −¼.
Tangent and normal

Orange: y = x² − 2x − 3, starting on Example 3. Blue dashed: the tangent. Pink dashed: the normal.

Try this

Before you move anything: at which point on this parabola is the normal vertical? Find it from $\dfrac{dy}{dx} = 0$, then check with the slider.

Example 4: a given gradient●●

Find the points on $y = x^3 + 3x^2$ where the tangent is parallel to $y = 9x$.

$3x^2 + 6x = 9$, so $x^2 + 2x - 3 = 0$.
Parallel means the same gradient, 9.
$(x + 3)(x - 1) = 0$, so $x = -3$ or $x = 1$.
The points are $(-3, 0)$ and $(1, 4)$.
Substitute into the curve, not the derivative.

Your turn

Find the equation of the normal to $y = x^3$ at $(1, 1)$, and the point where it meets the $y$-axis.

Show the working

$\dfrac{dy}{dx} = 3x^2 = 3$ at $x = 1$, so the normal has gradient $-\tfrac13$. Then $y - 1 = -\tfrac13(x - 1)$, so $y = -\tfrac13x + \tfrac43$, or $x + 3y - 4 = 0$. It meets the $y$-axis at $\left(0, \tfrac43\right)$.

Flashcards
Power rule
$\dfrac{d}{dx}\,x^n = nx^{n-1}$
Gradient of the normal
$-\dfrac{1}{f'(x)}$
Tangent at $(x_1, y_1)$
$y - y_1 = f'(x_1)(x - x_1)$
Practice
  1. $\dfrac{d}{dx}\left(4x^3 - 5x^2 + 7x - 2\right) =$

  2. $f(x) = x^4$. Find $f'(-1)$.

  3. $y = (2x + 1)(x - 3)$. Find $\dfrac{dy}{dx}$ at $x = 2$.

  4. $y = \dfrac{x^3 - 4x}{x}$ for $x \ne 0$. Find $\dfrac{dy}{dx}$ at $x = 3$.

  5. Find the angle of inclination, in degrees, of the tangent to $y = \tfrac13x^3$ at $x = 1$.

  6. The tangent to $y = x^2 - 4x + 5$ at $x = 3$ is:

  7. Find the gradient of the normal to $y = x^2 - 4x + 5$ at $x = 3$.

  8. Find the $x$-coordinate of the point on $y = x^2 + 2x$ where the tangent has gradient $6$.

  9. Exam style: find the $x$-coordinates of the points on $y = x^3 - 3x^2$ where the tangent is parallel to $y = 9x$. Separate them with &.

  10. Exam style: the normal to $y = x^2$ at $(1, 1)$ meets the $y$-axis at $(0, k)$. Find $k$.

Formula sheet