Differentiating powers of x

Differentiating powers of x

Spec G2 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Power rule: ddx(xn)=nxn−1\frac{d}{dx}(x^n)=nx^{n-1} for every rational nn; a constant differentiates to 00.
  • Differentiate term by term: ddx(kxn)=knxn−1\frac{d}{dx}(kx^n)=knx^{n-1}.
  • Rewrite first: roots as powers, reciprocals as negative powers, quotients split term by term.
  • The gradient at a point comes from substituting into dydx\frac{dy}{dx}, not yy.
  • The tangent at x=ax=a is y−y1=m(x−a)y-y_1=m(x-a) with y1y_1 from the curve.
  • ddx(xn)\dfrac{d}{dx}\left(x^n\right)nxn−1nx^{n-1}

The power rule

Multiply by the power and reduce the power by 1.

This works for positive, negative and fractional powers. A constant differentiates to 00, and ddx(x)=1\frac{d}{dx}(x)=1. The derivative gives the gradient of the curve at any point.

−3−2−1123−6−4−22468xy(2, 4)y = x²dy/dx = 2x
y = x² and its gradient function dy/dx = 2x: at x = 2 the gradient of the curve is 4.

x5x^5

  • 5x45x^4

x−2x^{-2}

  • −2x−3-2x^{-3}

x1/2x^{1/2}

  • 12x−1/2\frac12x^{-1/2}

77

  • 00

Differentiate x3x^3.

Multiples, sums and differences

Differentiate term by term; a constant multiple stays.

ddx(kxn)=knxn−1\frac{d}{dx}(kx^n)=knx^{n-1}. Signs carry through: the derivative of −12x−3-12x^{-3} is −12×(−3)x−4=+36x−4-12\times(-3)x^{-4}=+36x^{-4}.

With y=f(x)y=f(x), dydx=f′(x)\frac{dy}{dx}=f'(x).

−2.5−2−1.5−1−0.50.511.522.5−551015xy(−1, 2)(1, −2)y = x³ − 3xdy/dx = 3x² − 3
y = x³ − 3x and dy/dx = 3x² − 3, differentiated term by term. The gradient is zero at the turning points x = ±1.
  • kxnkx^nknxn−1knx^{n-1}

Worked example

Differentiate y=4x3−5x2+7x−9y=4x^3-5x^2+7x-9.

Differentiate y=2x4−3x+5y=2x^4-3x+5.

Rewriting before differentiating

Rewrite each term as kxnkx^n using index laws first.

The power rule only applies to kxnkx^n.

  • Roots: x=x1/2\sqrt x=x^{1/2}, x3=x1/3\sqrt[3]x=x^{1/3}.
  • Reciprocals: 1x3=x−3\frac1{x^3}=x^{-3}, 1x=x−1/2\frac1{\sqrt x}=x^{-1/2}.
  • Brackets and quotients: expand, or divide each term by the denominator.

y=5x−12x3y=5\sqrt x-\frac{12}{x^3} gives dydx=52x−1/2+36x−4\frac{dy}{dx}=\frac52x^{-1/2}+36x^{-4}.

11.522.533.544.55−8−6−4−224681012xy(2, 5.57)y = 5√x − 12/x³tangent at x = 2
y = 5√x − 12/x³ with its tangent at x = 2. After rewriting, dy/dx = (5/2)x^(−1/2) + 36x^(−4), so the gradient at x = 2 is about 4.02.

Root

  • x=x1/2\sqrt x=x^{1/2}

Reciprocal

  • 1x3=x−3\frac1{x^3}=x^{-3}

Quotient

  • Divide each term by the denominator

Worked example

Differentiate f(x)=(x+2)2xf(x)=\frac{(x+2)^2}{\sqrt x}.

Differentiate y=1xy=\frac1{\sqrt x}.

Gradients

Substitute the xx-value into dydx\frac{dy}{dx}, not into yy.

To find where the gradient has a given value, solve dydx=value\frac{dy}{dx}=\text{value}, then check any restriction such as x>0x>0.

Gradient zero: 2x−16x2=02x-\frac{16}{x^2}=0 gives x3=8x^3=8, so x=2x=2. Keep fractions exact unless a decimal is asked for.

0.511.522.533.544.555101520253035xygradient 0 at (2, 12)y = x² + 16/x
y = x² + 16/x. The gradient is zero where 2x − 16/x² = 0, so x = 2, giving the point (2, 12).
  • Gradient at a pointput xx into dydx\frac{dy}{dx}, not yy

Worked example

y=4x3−5x2+7x−9y=4x^3-5x^2+7x-9. Find the gradient at x=−1x=-1, and where the gradient is 7.

y=x3−3xy=x^3-3x. What is the gradient at x=2x=2?

Tangents to a curve

Find the point from the curve and the gradient from dydx\frac{dy}{dx}, then use y−y1=m(x−a)y-y_1=m(x-a).

For y=x2+16x+1y=x^2+\frac{16}x+1 at x=4x=4: y=21y=21 and dydx=2x−16x2=7\frac{dy}{dx}=2x-\frac{16}{x^2}=7.

So y−21=7(x−4)y-21=7(x-4), giving y=7x−7y=7x-7, which meets the yy-axis at (0,−7)(0,-7). The lowest point is (2,13)(2,13), where the gradient is zero.

11.522.533.544.555.5610203040xy(4, 21)(2, 13)y = x² + 16/x + 1tangent: y = 7x − 7
Tangent at (4, 21). The lowest point (2, 13) has gradient 0.

Find the tangent to y=x2y=x^2 at x=3x=3.

Try an exam question

Find the gradient of the curve y=3x2−4x+xy=3x^2-\frac4x+\sqrt x at x=4x=4.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find dydx\frac{\mathrm{d}y}{\mathrm{d}x}.

1 mark, marked against the mark scheme

Revision notes