Lesson 5 of 7 · 18 min

Combining the rules and factorised form

Decide which rule to apply first by finding a function's last operation, use the chain rule inside the product and quotient rules, and tidy derivatives into simplest, factorised form.

What you will be able to do

  • Identify the structure of a function (sum, product, quotient or composite) to choose the rule to apply first.
  • Combine the chain rule with the product and quotient rules on exponential, logarithmic and trigonometric functions.
  • Express derivatives in simplest and factorised form, using sin⁡2(x)+cos⁡2(x)=1\sin^2(x) + \cos^2(x) = 1 where it helps.

A car's suspension after hitting a bump, a plucked guitar string and a swinging door with a damper all oscillate with a shrinking amplitude. A model for this is y=e−kxcos⁡(ωx)y = e^{-kx}\cos(\omega x): a cosine wave squeezed between the curves y=e−kxy = e^{-kx} and y=−e−kxy = -e^{-kx}.

To differentiate it you need the product rule, and the chain rule twice inside it. This lesson is about handling functions like that without getting lost.

Interactive

A damped oscillation

kk controls how fast the oscillation dies away; ω\omega controls how often it repeats. With k=0k = 0 it is an ordinary cosine wave.

Find the last operation. Imagine evaluating the function at a number with a calculator. The last thing you would do tells you the first rule to use.

The last operation decides the first rule.
FunctionLast operationFirst ruleThen
e−kxcos⁡(ωx)e^{-kx}\cos(\omega x)multiplyproduct rulechain rule for each factor
sin⁡(2x)ex\frac{\sin(2x)}{e^x}dividequotient rulechain rule for sin⁡(2x)\sin(2x)
cos⁡(xex)\cos(xe^x)take cosinechain ruleproduct rule for the inside xexxe^x
ln⁡(x2+1)+xsin⁡(x)\ln(x^2 + 1) + x\sin(x)addsum rulechain rule, then product rule

What is the first rule you would apply to differentiate y=sin⁡(x2)e3xy = \sin\left(x^2\right)e^{3x}?

Choose one answer

Worked example

Differentiate y=e3xsin⁡2(x)y = e^{3x}\sin^2(x) in factorised form

  • Complex familiar
  • Technology free

Differentiate y=e3xsin⁡2(x)y = e^{3x}\sin^2(x), giving your answer in simplest factorised form.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Decide the first rule from the last operation.

  2. Use the chain rule on each factor.

  3. Take out the common exponential and trigonometric factors.

Watch out for

  • Only taking out e3xe^{3x} leaves e3x(2sin⁡(x)cos⁡(x)+3sin⁡2(x))e^{3x}\left(2\sin(x)\cos(x) + 3\sin^2(x)\right), which is not fully factorised.

  • ddxsin⁡2(x)=2sin⁡(x)cos⁡(x)\frac{d}{dx}\sin^2(x) = 2\sin(x)\cos(x), not 2cos⁡(x)2\cos(x).

Differentiate y=xe−2xy = xe^{-2x}, giving your answer in factorised form.

fracdydx =
Reads asYour answer shows here as maths.

Key idea

Simplest and factorised form

QCAA asks for derivatives "in simplest and factorised form". That means:

  • take out every common factor, with the lowest power of each, such as e2xe^{2x}, sin⁡(x)\sin(x) or x2x^2;
  • collect like terms inside the bracket;
  • for a quotient, simplify the numerator, cancel any factor common to the whole numerator and the denominator, and leave the denominator factorised;
  • use sin⁡2(x)+cos⁡2(x)=1\sin^2(x) + \cos^2(x) = 1 when both squares appear.

Worked example

Simplify the derivative of sin⁡(x)1+cos⁡(x)\frac{\sin(x)}{1 + \cos(x)}

  • Complex familiar
  • Technology free

Show that ddx(sin⁡(x)1+cos⁡(x))=11+cos⁡(x)\frac{d}{dx}\left(\frac{\sin(x)}{1 + \cos(x)}\right) = \frac{1}{1 + \cos(x)}.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Apply the quotient rule and expand the numerator.

  2. Look for sin⁡2(x)+cos⁡2(x)\sin^2(x) + \cos^2(x) and replace it with 1.

  3. Factorise and cancel a factor common to the whole numerator and denominator.

Watch out for

  • Losing the sign in −sin⁡(x)(−sin⁡(x))=+sin⁡2(x)-\sin(x)(-\sin(x)) = +\sin^2(x).

  • Expanding the denominator. Leave it as (1+cos⁡(x))2(1 + \cos(x))^2 so the cancellation is visible.

Differentiate y=sin⁡(2x)exy = \frac{\sin(2x)}{e^x} and simplify.

fracdydx =
Reads asYour answer shows here as maths.

Differentiate y=cos⁡(xex)y = \cos\left(xe^x\right).

fracdydx =
Reads asYour answer shows here as maths.

Back to the damped oscillation from the start of the lesson. Its derivative needs the product rule with the chain rule in each factor, and the factorised form is what lets you solve for the moments it is at rest.

Worked example

When does a car's suspension first come to rest?

  • Complex unfamiliar
  • Technology active

After a car hits a bump, the vertical displacement of its body from the rest position is modelled by

x(t)=5e−0.5tcos⁡(2t)x(t) = 5e^{-0.5t}\cos(2t)

centimetres, where tt is the time in seconds after the bump.

(a) Show that the velocity of the car body is v(t)=−2.5e−0.5t(cos⁡(2t)+4sin⁡(2t))v(t) = -2.5e^{-0.5t}\left(\cos(2t) + 4\sin(2t)\right) cm/s.

(b) Find the first time after the bump when the car body is momentarily at rest, correct to two decimal places.

(c) Find the displacement at that time, and explain what it shows about the suspension.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Differentiate the model with the product and chain rules, then factorise.

  2. Use the factorised form: an exponential factor is never zero.

  3. Solve the remaining trigonometric equation in radians and pick the solution the question asks for.

  4. Substitute back into the original model and interpret in context.

Watch out for

  • Taking t=12tan⁡−1(−14)<0t = \frac{1}{2}\tan^{-1}\left(-\frac{1}{4}\right) < 0: that time is before the bump.

  • Leaving the calculator in degree mode.

Common mistake

Factorising slips

  • Take out the lowest power: 3x2ex+x3ex=x2ex(3+x)3x^2e^{x} + x^3e^{x} = x^2e^{x}(3 + x), not x3ex(3+1)x^3e^x(3 + 1).
  • Check your factorised answer by expanding it in your head. If it doesn't give back both terms, a factor is wrong.
  • e−2xe^{-2x} is a common factor even though it has a negative index. It is never zero, which makes factorised form useful for solving dydx=0\frac{dy}{dx} = 0.

Summary

  • The last operation in a function decides the first rule: product, quotient, chain or sum.

  • Apply the chain rule inside any factor that is a composite, such as e−2xe^{-2x}, cos⁡(3x)\cos(3x) or sin⁡2(x)\sin^2(x).

  • A composite whose inside is a product or quotient needs the chain rule outside and the other rule inside.

  • Simplest and factorised form: take out common factors with the lowest power, collect like terms, cancel whole factors.

  • sin⁡2(x)+cos⁡2(x)=1\sin^2(x) + \cos^2(x) = 1 often tidies a quotient-rule numerator.

Finished the lesson?

Try the 4 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 5 of 70% read

Save your progress with a free account