More Differentiation

A LevelAQAEdexcelOCR

More Differentiation

This section contains further uses of the chain, product and quotient rules, combining them with other things you have learned so far such as trigonometry and stationary points.

Make sure you are happy with the following topics before continuing.

A LevelAQAEdexcelOCR

Derivatives of sec, cosec and cot

Use the quotient rule to find the derivatives of sec(x)sec(x), cosec(x)cosec(x) and cot(x)cot(x).

Recall: Quotient rule

dydx=vdudxudvdxv2dfrac{dy}{dx}=dfrac{vdfrac{du}{dx}-udfrac{dv}{dx}}{v^{2}}

 

 

A LevelAQAEdexcelOCR

Using the Chain, Product and Quotient Rule With Special Functions

Now that we know how to differentiate every exponential function and every trigonometric function, we can use them along with our rules. Remember when to use each rule:

  • Function of a function – chain rule
  • Multiplying two functions together – product rule
  • Fraction made of functions – quotient rule

Example: Find the derivative of cosec(4x3)cosec(4x^{3})

This is a function of a function, so use the chain rule.

dydx=dydtdtdxdfrac{dy}{dx}=dfrac{dy}{dt}dfrac{dt}{dx}

 

Take t=4x3t=4x^{3}.

Then y=cosec(t)y=cosec(t)

dydt=cosec(t)cot(t)dfrac{dy}{dt}=-cosec(t)cot(t)

dtdx=12x2dfrac{dt}{dx}=12x^{2}

Hence: dydx=cosec(t)cot(t)12x2dfrac{dy}{dx}=-cosec(t)cot(t)12x^{2}

Put xx back in:

dydx=12x2cosec(4x3)cot(4x3)dfrac{dy}{dx}=-12x^{2}cosec(4x^{3})cot(4x^{3})

 

A LevelAQAEdexcelOCR

Using the Rules Twice

Sometimes you might need to use the chain, product or quotient rule twice to get a derivative.

Example: Differentiate 2x2cos(ex)2x^{2}cos(e^{x})

This is a product of two functions so use product rule.

dydx=udvdx+vdudxdfrac{dy}{dx}=udfrac{dv}{dx}+vdfrac{du}{dx}

u=2x2      v=cos(ex)u=2x^{2};;;v=cos(e^{x})

dudx=4xdfrac{du}{dx}=4x

To find dvdxdfrac{dv}{dx} we need to use the chain rule.

dvdx=dvdtdtdxdfrac{dv}{dx}=dfrac{dv}{dt}dfrac{dt}{dx}

 

Take t=ext=e^{x}

Then v=cos(t)v=cos(t)

dvdt=sin(t)dfrac{dv}{dt}=-sin(t)

dtdx=exdfrac{dt}{dx}=e^{x}

Hence: dvdx=sin(t)exdfrac{dv}{dx}=-sin(t)e^{x}

Put xx back in:

dvdx=exsin(ex)dfrac{dv}{dx}=-e^{x}sin(e^{x})

Now we can complete our product rule.

dydx=2x2exsin(ex)+4xcos(ex)dfrac{dy}{dx}=-2x^{2}e^{x}sin(e^{x})+4xcos(e^{x})

 

A LevelAQAEdexcelOCR

Using the Rules to find the Second Derivative

We already know that second derivatives can be very useful when it comes to classifying stationary points. However, starting with expressions like these, finding the second derivative can get very complicated.

Example: y=e3x2y=e^{3x^{2}}. Find d2ydx2dfrac{d^{2}y}{dx^{2}}.

To differentiate once, we need the chain rule, because this is a function within a function.

dydx=dydtdtdxdfrac{dy}{dx}=dfrac{dy}{dt}dfrac{dt}{dx}

 

Take t=3x2t=3x^{2}

Then y=ety=e^{t}

dydt=etdfrac{dy}{dt}=e^{t}

dtdx=6xdfrac{dt}{dx}=6x

Hence: dydx=6xetdfrac{dy}{dx}=6xe^{t}

Put xx back in:

dydx=6xe3x2dfrac{dy}{dx}=6xe^{3x^{2}}

To differentiate a second time, we notice we have two functions multiplied together, so must use the product rule.

d2ydx2=udvdx+vdudxdfrac{d^{2}y}{dx^{2}}=udfrac{dv}{dx}+vdfrac{du}{dx}

u=6x      v=e3x2u=6x;;;v=e^{3x^{2}}

dudx=6dfrac{du}{dx}=6

dvdxdfrac{dv}{dx} requires the chain rule, but it is identical to the differentiation we just did above.

dvdx=6xe3x2dfrac{dv}{dx}=6xe^{3x^{2}}

Hence:

d2ydx2=6x×6xe3x2+6e3x2=36x2e3x2+6e3x2=6(6x2+1)e3x2begin{aligned}dfrac{d^{2}y}{dx^{2}}&=6xtimes6xe^{3x^{2}}+6e^{3x^{2}}[1.2em]&=36x^{2}e^{3x^{2}}+6e^{3x^{2}}[1.2em]&=6(6x^{2}+1)e^{3x^{2}}end{aligned}

 

A LevelAQAEdexcelOCR

More Differentiation Example Questions

Question 1:

a) State the derivatives of:

i) sec(x)sec(x)

ii) cosec(x)cosec(x)

iii) cot(x)cot(x)

b) Find the derivative of sec(cot(x))sec(cot(x)), stating any rules you use.

[5 marks]

A Level AQAEdexcelOCR

a) i) sec(x)tan(x)sec(x)tan(x)

 

ii) cosec(x)cot(x)-cosec(x)cot(x)

 

iii) cosec2(x)-cosec^{2}(x)

 

b) y=sec(cot(x))y=sec(cot(x))

 

This is a function of a function, so use chain rule.

 

dydx=dydtdtdxdfrac{dy}{dx}=dfrac{dy}{dt}dfrac{dt}{dx}

 

Take t=cot(x)t=cot(x)

 

Then y=sec(t)y=sec(t)

 

dydt=sec(t)tan(t)dfrac{dy}{dt}=sec(t)tan(t)

 

dtdx=cosec2(x)dfrac{dt}{dx}=-cosec^{2}(x)

 

dydx=sec(t)tan(t)cosec2(x)dfrac{dy}{dx}=-sec(t)tan(t)cosec^{2}(x)

 

Put xx back in

 

dydx=sec(cot(x))tan(cot(x))cosec2(x)dfrac{dy}{dx}=-sec(cot(x))tan(cot(x))cosec^{2}(x)

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 2: Differentiate sin(3x2)ln(x)sin(3x^{2})ln(x)

[3 marks]

A Level AQAEdexcelOCR

This is a product of two functions, so use product rule.

 

dydx=udvdx+vdudxdfrac{dy}{dx}=udfrac{dv}{dx}+vdfrac{du}{dx}

 

u=sin(3x2)      v=ln(x)u=sin(3x^{2});;;v=ln(x)

 

dvdx=1xdfrac{dv}{dx}=dfrac{1}{x}

 

For dudxdfrac{du}{dx} we need the chain rule because we have a function within a function.

 

dudx=dudtdtdxdfrac{du}{dx}=dfrac{du}{dt}dfrac{dt}{dx}

 

Take t=3x2t=3x^{2}

 

Then y=sin(t)y=sin(t)

 

dudt=cos(t)dfrac{du}{dt}=cos(t)

 

dtdx=6xdfrac{dt}{dx}=6x

 

dudx=6xcos(t)dfrac{du}{dx}=6xcos(t)

 

Put xx back in

 

dudx=6xcos(3x2)dfrac{du}{dx}=6xcos(3x^{2})

 

Put into product rule:

 

dydx=sin(3x2)x+6xln(x)cos(3x2)dfrac{dy}{dx}=dfrac{sin(3x^{2})}{x}+6xln(x)cos(3x^{2})

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Question 3: Find and classify the stationary points of y=9e12x+cos(x)y=9e^{frac{1}{2}x+cos(x)} where 0<x<π0<x<pi

[8 marks]

A Level AQAEdexcelOCR

y=9e12x+cos(x)y=9e^{frac{1}{2}x+cos(x)}

 

First, find the derivative using the chain rule.

 

dydx=9(12sin(x))e12x+cos(x)dfrac{dy}{dx}=9left(dfrac{1}{2}-sin(x)right)e^{frac{1}{2}x+cos(x)}

 

Stationary points are where this is equal to 00.

 

9(12sin(x))e12x+cos(x)=09left(dfrac{1}{2}-sin(x)right)e^{frac{1}{2}x+cos(x)}=0

 

Exponentials can never be equal to 00, so:

 

9(12sin(x))=09left(dfrac{1}{2}-sin(x)right)=0

 

12sin(x)=0dfrac{1}{2}-sin(x)=0

 

sin(x)=12sin(x)=dfrac{1}{2}

 

x=π6,5π6x=dfrac{pi}{6},dfrac{5pi}{6}

 

Find yy-coordinate of stationary points:

 

y=9e12×π6+cos(π6)y=9e^{frac{1}{2}timesfrac{pi}{6}+cos(frac{pi}{6})}

 

y=9eπ12+32y=9e^{frac{pi}{12}+frac{sqrt{3}}{2}}

 

y=9e12×5π6+cos(5π6)y=9e^{frac{1}{2}timesfrac{5pi}{6}+cos(frac{5pi}{6})}

 

y=9e5π1232y=9e^{frac{5pi}{12}-frac{sqrt{3}}{2}}

 

Stationary points are:

 

(π6,9eπ12+32),(5π6,9e5π1232)left(dfrac{pi}{6},9e^{frac{pi}{12}+frac{sqrt{3}}{2}}right),left(dfrac{5pi}{6},9e^{frac{5pi}{12}-frac{sqrt{3}}{2}}right)

 

Next, differentiate again using the product rule.

 

u=9(12sin(x))u=9left(dfrac{1}{2}-sin(x)right)

 

v=e12x+cos(x)v=e^{frac{1}{2}x+cos(x)}

 

dudx=9cos(x)dfrac{du}{dx}=-9cos(x)

 

dvdx=(12sin(x))e12x+cos(x)dfrac{dv}{dx}=left(dfrac{1}{2}-sin(x)right)e^{frac{1}2{x}+cos(x)}

 

d2ydx2=9((12sin(x))2cos(x))e12xcos(x)dfrac{d^{2}y}{dx^{2}}=9left(left(dfrac{1}{2}-sin(x)right)^{2}-cos(x)right)e^{frac{1}{2}x-cos(x)}

 

Before substituting in x=π6x=dfrac{pi}{6} and x=5π6x=dfrac{5pi}{6}, we should first notice that the exponential part of the expression is positive for any xx, so we need not keep it when trying to determine the sign of d2ydx2dfrac{d^{2}y}{dx^{2}}.

 

Want to determine the sign of 9((12sin(x))2cos(x))9left(left(dfrac{1}{2}-sin(x)right)^{2}-cos(x)right)

 

Secondly, we notice that the xx values came from 12sin(x)=0dfrac{1}{2}-sin(x)=0, so this part will remain 00 when substituting the xx values in. We can also get rid of the factor of 99 without changing the sign.

 

This means that all we need to do is find the sign of cos(x)-cos(x).

 

cos(π6)=32<0-cosleft(dfrac{pi}{6}right)=-dfrac{sqrt{3}}{2}<0 so this is a maximum.

 

cos(5π6)=32>0-cosleft(dfrac{5pi}{6}right)=dfrac{sqrt{3}}{2}>0 so this is a minimum.

 

Hence:

 

(π6,9eπ12+32)left(dfrac{pi}{6},9e^{frac{pi}{12}+frac{sqrt{3}}{2}}right) is a maximum.

 

(5π6,9e5π1232)left(dfrac{5pi}{6},9e^{frac{5pi}{12}-frac{sqrt{3}}{2}}right) is a maximum.

MME Premium Laptop

Save your answers with

MME Premium

Gold Standard Education

Additional Resources

Site Logo

Exam Tips Cheat Sheet

A Level
Site Logo

Formula Booklet

A Level

Specification Points Covered

G2 – Differentiate ekxe^{kx} and akxa^{kx}, sin(kx)sin(kx), cos(kx)cos(kx), tan(kx)tan(kx) and related sums, differences and constant multiples; understand and use the derivative of lnxln{x}

Related Topics

Site Logo

Differentiating Exponential Functions

A Level
Site Logo

Differentiating Trig Functions

A Level
Site Logo

Stationary Points

A Level