Maths4UBETA

Derivatives, rational powers and the chain rule

Connect limiting chord gradients to a derivative and differentiate complete power expressions on their valid domains.

Try the quick check →
Lesson 1 of 5

Section 1 of 5 · Core · about 6 min

What does a derivative tell me?

A derivative gives the local rate of change of a function. On the graph y=f(x)y=f(x), it is the tangent gradient at a point when a finite derivative exists. Write it as f′(x)f^{\prime}(x) or dydx\frac{dy}{dx}.

A chord joins two points on the curve. Its gradient is an average over an interval; as the second point approaches the first, the chord gradients approach the tangent gradient when the derivative exists.

A parabola, a fixed point, a nearby second point, a secant line and the tangent at the fixed point are compared.

  1. For y=x2y=x^2 and distinct inputs 11 and 1+h1+h, subtract the outputs and divide by the input change.msec=(1+h)2−1h=2+h(h≠0).m_{\mathrm{sec}}=\frac{(1+h)^2-1}{h}=2+h\qquad(h\ne0).
  2. For h=1,0.1,−0.1h=1,0.1,-0.1, the secant gradients are 3,2.1,1.93,2.1,1.9. As h→0h\to0 from either side, the tangent gradient is 22.

For y=x2y=x^2 at A=(1,1)A=(1,1), the chord gradient is 2+h2+h. As hh approaches zero from either side, it approaches the tangent gradient 22.

Worked example

Move a second point toward a fixed point

On y=x2y=x^2, keep A=(1,1)A=(1,1) fixed and take B=(1+h,(1+h)2)B=(1+h,(1+h)^2), with h≠0h\ne0. Compare chord gradients for h=1,0.1,−0.1h=1,0.1,-0.1.

  1. mAB=(1+h)2−1h=2h+h2h=2+h(h≠0).m_{AB}=\frac{(1+h)^2-1}{h}=\frac{2h+h^2}{h}=2+h\qquad(h\ne0).
  2. h=1: mAB=3;h=0.1: mAB=2.1;h=−0.1: mAB=1.9.h=1:\ m_{AB}=3;\quad h=0.1:\ m_{AB}=2.1;\quad h=-0.1:\ m_{AB}=1.9.
  3. As the second point approaches the first from either side, these gradients approach 22. The tangent gradient at x=1x=1 is 22.

  4. The point’s height is f(1)=1f(1)=1, while its local gradient is f′(1)=2f^{\prime}(1)=2. They describe different features of the curve.

Your turn

On y=x2y=x^2, find the gradient of the chord joining the points with x=1x=1 and x=1.2x=1.2. The derivative is dydx=2x\frac{dy}{dx}=2x; find the tangent gradient at x=1x=1.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

A positive derivative means a positive local slope; a negative derivative means a negative local slope. If the function measures distance in metres and the input is time in seconds, its derivative has units of metres per second.

Section 2 of 5 · Core · about 6 min

How do I differentiate constants, powers and sums?

For this course, the power rule includes positive integer, negative and rational exponents. A parameter described as constant stays constant during differentiation. Do not differentiate the numerical coefficient separately and discard it.

Worked example

Find the gradient function before evaluating it

For f(x)=2x4−3x3+5x−7f(x)=2x^4-3x^3+5x-7, find f′(x)f^{\prime}(x) and then f′(−1)f^{\prime}(-1).

  1. f′(x)=2(4)x3−3(3)x2+5=8x3−9x2+5.f^{\prime}(x)=2(4)x^3-3(3)x^2+5=8x^3-9x^2+5.
  2. f′(−1)=8(−1)3−9(−1)2+5=−8−9+5=−12.f^{\prime}(-1)=8(-1)^3-9(-1)^2+5=-8-9+5=-12.
  3. Differentiate first, then substitute the input. Replacing xx with −1-1 in the original function first would give a single height, not its gradient.

Your turn

For f(x)=3x4−2x2+6x−9f(x)=3x^4-2x^2+6x-9, write f′(x)=Ax3+Bx+Cf^{\prime}(x)=Ax^3+Bx+C. Find A,B,CA,B,C.

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write B = … . Fractions and exact square roots are accepted.

Enter the value on its own or write C = … . Fractions and exact square roots are accepted.

If a polynomial is given as a product, expanding it can make the power rule immediately usable. For example, (x2−1)(x+2)=x3+2x2−x−2(x^2-1)(x+2)=x^3+2x^2-x-2, whose derivative is 3x2+4x−13x^2+4x-1.

Section 3 of 5 · Core · about 9 min

How do I handle roots, fractions and original domains?

Worked example

Divide each numerator term before using the power rule

Differentiate y=2x3−5x2+4x2y=\frac{2x^3-5x^2+4}{x^2}, where x≠0x\ne0.

  1. y=2x−5+4x−2(x≠0).y=2x-5+4x^{-2}\qquad(x\ne0).
  2. dydx=2+4(−2)x−3=2−8x−3.\frac{dy}{dx}=2+4(-2)x^{-3}=2-8x^{-3}.
  3. dydx=2−8x3(x≠0).\frac{dy}{dx}=2-\frac{8}{x^3}\qquad(x\ne0).
  4. The division has become a sum of powers, so differentiating term by term is enough. The original zero restriction remains.

Worked example

Use rational and negative exponents in the same derivative

For y=4x−3xy=4\sqrt{x}-\frac{3}{x}, with x>0x>0, find dydx\frac{dy}{dx} and its value at x=4x=4.

  1. y=4x12−3x−1.y=4x^{\frac{1}{2}}-3x^{-1}.
  2. dydx=2x−12+3x−2=2x+3x2.\frac{dy}{dx}=2x^{-\frac{1}{2}}+3x^{-2}=\frac{2}{\sqrt{x}}+\frac{3}{x^2}.
  3. dydx∣x=4=22+316=1916.\left.\frac{dy}{dx}\right|_{x=4}=\frac{2}{2}+\frac{3}{16}=\frac{19}{16}.
  4. The square root and the denominator together require x>0x>0. The derivative is valid on that domain.

Your turn

For f(x)=6x+4x2f(x)=6\sqrt{x}+\frac{4}{x^2}, where x>0x>0, write f′(x)=Ax−12+Bx−3f^{\prime}(x)=Ax^{-\frac{1}{2}}+Bx^{-3}. Find A,BA,B and f′(1)f^{\prime}(1).

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write B = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

An even root requires a nonnegative radicand; a denominator must be nonzero. The derivative formula may have a smaller domain. For example, x\sqrt{x} is real at zero, but 12x\frac{1}{2\sqrt{x}} does not give a finite derivative there.

Odd real roots allow negative inputs. For f(x)=x3=x13f(x)=\sqrt[3]{x}=x^{\frac{1}{3}}, the derivative is 13x−23\frac{1}{3}x^{-\frac{2}{3}} for x≠0x\ne0; there is no finite derivative at zero.

Section 4 of 5 · Core · about 10 min

How do I differentiate a power of another expression?

A composite function has an outside function applied to an inside expression. For example, in (2x2+1)3(2x^2+1)^3, the inside expression is 2x2+12x^2+1 and the outside operation is cubing.

  1. For y=(2x2+1)3y=(2x^2+1)^3, set u=2x2+1u=2x^2+1 so that y=u3y=u^3.
  2. dudx=4x,dydu=3u2.\frac{\mathrm{d}u}{\mathrm{d}x}=4x,\qquad \frac{\mathrm{d}y}{\mathrm{d}u}=3u^2.
  3. Multiply the two derivatives and substitute back.dydx=3u2⋅4x=12x(2x2+1)2.\frac{\mathrm{d}y}{\mathrm{d}x}=3u^2\cdot4x=12x(2x^2+1)^2.

For y=(2x2+1)3y=(2x^2+1)^3, the two derivative factors are 3u23u^2 and 4x4x. Substituting back gives 12x(2x2+1)212x(2x^2+1)^2.

Worked example

Differentiate the outer layer and multiply by the inner derivative

Differentiate y=(2x2+1)3y=(2x^2+1)^3.

  1. u=2x2+1,y=u3.u=2x^2+1,\qquad y=u^3.
  2. dydu=3u2,dudx=4x.\frac{dy}{du}=3u^2,\qquad\frac{du}{dx}=4x.
  3. dydx=dydududx=3u2(4x).\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}=3u^2(4x).
  4. dydx=12x(2x2+1)2.\frac{dy}{dx}=12x(2x^2+1)^2.
  5. The answer is in terms of xx, and the inner derivative 4x4x is included.

Your turn

For y=(3x2−2)4y=(3x^2-2)^4, write dydx=Ax(3x2−2)p\frac{dy}{dx}=Ax(3x^2-2)^p. Find A,pA,p and the derivative at x=1x=1.

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write p = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked example

A decreasing inner function changes the derivative sign

Differentiate f(x)=5−2xf(x)=\sqrt{5-2x}, and state where this formula gives a finite real derivative.

  1. f(x)=(5−2x)12.f(x)=(5-2x)^{\frac{1}{2}}.
  2. f′(x)=12(5−2x)−12(−2)=−15−2x.f^{\prime}(x)=\frac{1}{2}(5-2x)^{-\frac{1}{2}}(-2)=-\frac{1}{\sqrt{5-2x}}.
  3. The function is real for x≤52x\le\frac{5}{2}. Its displayed derivative is finite for x<52x<\frac{5}{2}; at the endpoint the denominator is zero and no finite gradient is obtained.

Your turn

For f(x)=14x+1f(x)=\frac{1}{\sqrt{4x+1}}, write f′(x)=A(4x+1)pf^{\prime}(x)=A(4x+1)^p. Find A,pA,p, and choose the real domain on which the function and its finite derivative are defined.

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write p = … . Fractions and exact square roots are accepted.

Real domain

For a linear inside expression, this becomes ddx(ax+b)n=an(ax+b)n−1\frac{d}{dx}(ax+b)^n=an(ax+b)^{n-1}. The same chain method works for a differentiable nonlinear inside expression; its derivative need not be constant.

Section 5 of 5 · Core · about 8 min

What does differentiating twice mean?

Worked example

The chain rule is needed again in a second derivative

Find the first and second derivatives of y=(3x−1)4y=(3x-1)^4.

  1. y′=4(3x−1)3(3)=12(3x−1)3.y^{\prime}=4(3x-1)^3(3)=12(3x-1)^3.
  2. Differentiate the first derivative, including a fresh factor of 33 from the inside expression:

    y′′=12⋅3(3x−1)2(3)=108(3x−1)2.y^{\prime\prime}=12\cdot3(3x-1)^2(3)=108(3x-1)^2.
  3. The second derivative is not the square of the first derivative. It measures how the gradient function changes.

Your turn

For y=2x3−5xy=2x^3-\frac{5}{x}, where x≠0x\ne0, write y′=6x2+Ax−2y^{\prime}=6x^2+Ax^{-2} and y′′=12x+Bx−3y^{\prime\prime}=12x+Bx^{-3}. Find A,BA,B and y′′(1)y^{\prime\prime}(1).

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write B = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked example

Expand a polynomial before taking its second derivative

Find f′′(x)f^{\prime\prime}(x) for f(x)=(x2+2)3f(x)=(x^2+2)^3, using powers of xx.

  1. f(x)=x6+6x4+12x2+8.f(x)=x^6+6x^4+12x^2+8.
  2. f′(x)=6x5+24x3+24x.f^{\prime}(x)=6x^5+24x^3+24x.
  3. f′′(x)=30x4+72x2+24.f^{\prime\prime}(x)=30x^4+72x^2+24.
  4. The chain rule also gives f′(x)=6x(x2+2)2f^{\prime}(x)=6x(x^2+2)^2. Expanding that polynomial before differentiating again gives the same second derivative without needing a new rule for products.

For an affine inner expression, applying the chain rule twice gives

d2dx2(ax+b)n=a2n(n−1)(ax+b)n−2,\frac{d^2}{dx^2}(ax+b)^n=a^2n(n-1)(ax+b)^{n-2},

where the function is twice differentiable. For n=0n=0 or n=1n=1, differentiate the constant or linear expression directly: the second derivative is zero.

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

A chord and its limiting gradient

2 marks

For f(x)=2x2−3x+12 x^{2} - 3 x + 1, points have x-coordinates 11 and h+1h + 1, with h≠0h\ne0. Give the complete chord gradient as a polynomial in h and its limit as h→0h\to0.

Enter an expression in h; use ^ for powers and / for fractions.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Differentiate before substituting

Let f(x)=5x4−3x2+7x−9f(x)=5x^4-3x^2+7x-9. Write f′(x)=Ax3+Bx+Cf^{\prime}(x)=Ax^3+Bx+C. Find A,B,CA,B,C and the gradient at x=−1x=-1.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter the value on its own or write c = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Rewrite a quotient as separate powers

For x≠0x\ne0, let y=6x3−4x+2x2y=\frac{6x^3-4x+2}{x^2}. Write dydx=A+Bx−2+Cx−3\frac{dy}{dx}=A+Bx^{-2}+Cx^{-3}. Find A,B,CA,B,C and the gradient at x=2x=2.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter the value on its own or write c = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use fractional and negative powers together

For x>0x>0, let y=4x+3x2y=4\sqrt{x}+\frac{3}{x^2}. Write dydx=Ax−12+Bx−3\frac{dy}{dx}=Ax^{-\frac{1}{2}}+Bx^{-3}. Find A,BA,B and the gradient at x=4x=4.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Keep the negative inner derivative

Let y=(5−2x)4y=(5-2x)^4. Write dydx=A(5−2x)p\frac{dy}{dx}=A(5-2x)^p. Find A,pA,p and the gradient at x=1x=1.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Separate a function endpoint from its derivative domain

Let f(x)=3x+4f(x)=\sqrt{3x+4} on its real domain. Find f′(4)f^{\prime}(4). Select the set of inputs where the curve has a finite two-sided derivative.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Finite derivative domain

Apply the inner derivative on both differentiations

For x≠12x\ne\frac{1}{2}, let y=3(2x−1)−2y=3(2x-1)^{-2}. Write dydx=A(2x−1)p\frac{dy}{dx}=A(2x-1)^p and d2ydx2=B(2x−1)q\frac{d^2y}{dx^2}=B(2x-1)^q. Find A,p,B,qA,p,B,q.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write p = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter the value on its own or write q = … . Fractions and exact square roots are accepted.

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Start after this lesson

Use derivative conditions to determine two parameters 5 marks

Let f(x)=ax3+bx2+2x−5f(x)=ax^3+bx^2+2x-5, where a,ba,b are constants. Given f′(1)=11f^{\prime}(1)=11 and f′′(1)=24f^{\prime\prime}(1)=24, find a,ba,b and f′(−1)f^{\prime}(-1).

Hint

Differentiate symbolically first. The two conditions produce two simultaneous linear equations in a,ba,b.

Worked solution
  1. f′(x)=3ax2+2bx+2,f′′(x)=6ax+2b.f^{\prime}(x)=3ax^2+2bx+2,\qquad f^{\prime\prime}(x)=6ax+2b.
  2. 3a+2b=9,6a+2b=24.3a+2b=9,\qquad6a+2b=24.
  3. Subtracting gives 3a=153a=15, so a=5a=5. Then 15+2b=915+2b=9, giving b=−3b=-3.

  4. f′(−1)=15(−1)2−6(−1)+2=23.f^{\prime}(-1)=15(-1)^2-6(-1)+2=23.
Marking guidance
  • 1 mark: obtain both derivative expressions.
  • 1 mark: use the two conditions to obtain both linear equations.
  • 1 mark: solve for a=5a=5.
  • 1 mark: obtain b=−3b=-3.
  • 1 mark: evaluate the requested gradient as 2323.
Differentiate a nonlinear composition twice 5 marks

Let f(x)=(x2+3)3f(x)=(x^2+3)^3. Use the chain rule to write f′(x)=Ax(x2+3)2f^{\prime}(x)=Ax(x^2+3)^2. Find AA, f′(1)f^{\prime}(1) and f′′(1)f^{\prime\prime}(1). Show a power-rule method for the second derivative on paper.

Hint

Multiply the outer derivative by 2x2x. To differentiate again using the rules in this lesson, expand the first derivative into a sum of powers.

Worked solution
  1. f′(x)=3(x2+3)2(2x)=6x(x2+3)2.f^{\prime}(x)=3(x^2+3)^2(2x)=6x(x^2+3)^2.
  2. f′(1)=6(1)(4)2=96.f^{\prime}(1)=6(1)(4)^2=96.
  3. f′(x)=6x(x4+6x2+9)=6x5+36x3+54x.f^{\prime}(x)=6x(x^4+6x^2+9)=6x^5+36x^3+54x.
  4. f′′(x)=30x4+108x2+54,f′′(1)=192.f^{\prime\prime}(x)=30x^4+108x^2+54,\qquad f^{\prime\prime}(1)=192.
  5. All expressions here are defined for every real xx.

Marking guidance
  • 1 mark: apply the outer power rule.
  • 1 mark: include the inner factor 2x2x and obtain A=6A=6.
  • 1 mark: evaluate f′(1)=96f^{\prime}(1)=96.
  • 1 mark: expand and differentiate again to obtain 30x4+108x2+5430x^4+108x^2+54.
  • 1 mark: evaluate f′′(1)=192f^{\prime\prime}(1)=192.
Keep the domain when rewriting fractional powers 6 marks

Let f(x)=2x2−5x+2xf(x)=\frac{2x^2-5x+2}{\sqrt{x}}. Rewrite ff as a sum of powers, then find f′(1)f^{\prime}(1) and f′′(1)f^{\prime\prime}(1). Select the real domain of the original function.

Hint

The denominator must be both real and nonzero. Subtract 12\frac{1}{2} from each numerator exponent before differentiating.

Worked solution
  1. f(x)=2x32−5x12+2x−12(x>0).f(x)=2x^{\frac{3}{2}}-5x^{\frac{1}{2}}+2x^{-\frac{1}{2}}\qquad(x>0).
  2. f′(x)=3x12−52x−12−x−32.f^{\prime}(x)=3x^{\frac{1}{2}}-\frac{5}{2}x^{-\frac{1}{2}}-x^{-\frac{3}{2}}.
  3. f′′(x)=32x−12+54x−32+32x−52.f^{\prime\prime}(x)=\frac{3}{2}x^{-\frac{1}{2}}+\frac{5}{4}x^{-\frac{3}{2}}+\frac{3}{2}x^{-\frac{5}{2}}.
  4. f′(1)=3−52−1=−12,f′′(1)=32+54+32=174.f^{\prime}(1)=3-\frac{5}{2}-1=-\frac{1}{2},\qquad f^{\prime\prime}(1)=\frac{3}{2}+\frac{5}{4}+\frac{3}{2}=\frac{17}{4}.
  5. The original domain is x>0x>0; rewriting the expression does not add x=0x=0 or any negative input.

Marking guidance
  • 1 mark: state the original domain x>0x>0.
  • 1 mark: rewrite all three terms as powers correctly.
  • 1 mark: obtain the complete first derivative.
  • 1 mark: obtain the complete second derivative.
  • 1 mark: evaluate f′(1)=−12f^{\prime}(1)=-\frac{1}{2}.
  • 1 mark: evaluate f′′(1)=174f^{\prime\prime}(1)=\frac{17}{4}.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.

Question bank and saved work