Skip to main content

Differentiation rules for HSC Maths Advanced: power, chain, product, quotient, exp, log, trig

Syllabus dot point

“Apply the product, quotient and chain rules, and differentiate exponential, logarithmic and trigonometric functions”

HSCMaths AdvancedYear 12: Calculus12 min read

Quick answer

Differentiation in Maths Advanced is the disciplined application of the power, chain, product and quotient rules to the standard derivatives of polynomial, exponential, logarithmic and trigonometric functions.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions
  4. Practice questions

What this dot point is asking

NESA wants you to differentiate any function built from the standard library (polynomials, exe^x, ln⁡x\ln x, sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x) using the power, chain, product and quotient rules. Almost every Maths Advanced calculus question begins with a differentiation step, so fluency here is non-negotiable.

Note

Differentiating is like reading a car's speedometer from its odometer. If a function tells you where the car is at every moment, differentiating tells you how fast it is moving right then. The rules on this page are shortcuts for machines built out of smaller machines. The chain rule is for a gear turning another gear, so you multiply the two spin rates together. The product rule is for two dials moving at once, so you let each one move while holding the other still and add the effects. The quotient rule handles one quantity shared out over another, like speed as distance divided by time. Once you can spot which kind of machine you are looking at, you just reach for the matching rule.

The answer

The power rule

For any real nn,

ddx(xn)=nxn−1.\frac{d}{dx}(x^n) = n x^{n - 1}.

This extends to negative and fractional powers. For example, ddx(x−2)=−2x−3\frac{d}{dx}(x^{-2}) = -2 x^{-3} and ddx(x)=12x−1/2\frac{d}{dx}(\sqrt{x}) = \frac{1}{2}x^{-1/2}.

The chain rule

If y=f(g(x))y = f(g(x)), let u=g(x)u = g(x) so y=f(u)y = f(u). Then

dydx=dydu⋅dudx.\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}.

In practice, "differentiate the outside, leave the inside alone, then multiply by the derivative of the inside".

The product rule

If y=u(x)v(x)y = u(x) v(x), then

dydx=u′v+uv′.\frac{dy}{dx} = u' v + u v'.

The quotient rule

If y=u(x)v(x)y = \frac{u(x)}{v(x)}, then

dydx=u′v−uv′v2.\frac{dy}{dx} = \frac{u' v - u v'}{v^2}.

Key fact

Read the structure of the expression before you reach for a rule: a sum differentiates term by term; a function inside another function (a composition) needs the chain rule; a product of two functions needs the product rule u′v+uv′u'v + uv'; a quotient needs the quotient rule u′v−uv′v2\dfrac{u'v - uv'}{v^2}. Most HSC expressions combine these, so name each piece and work from the outside in.

Standard derivatives

Memorise these. They appear in nearly every paper.

ddx(ex)=ex,ddx(ef(x))=f′(x)ef(x).\frac{d}{dx}(e^x) = e^x, \qquad \frac{d}{dx}(e^{f(x)}) = f'(x) e^{f(x)}.

ddx(ln⁡x)=1x,ddx(ln⁡f(x))=f′(x)f(x).\frac{d}{dx}(\ln x) = \frac{1}{x}, \qquad \frac{d}{dx}(\ln f(x)) = \frac{f'(x)}{f(x)}.

ddx(sin⁡x)=cos⁡x,ddx(cos⁡x)=−sin⁡x,ddx(tan⁡x)=sec⁡2x.\frac{d}{dx}(\sin x) = \cos x, \qquad \frac{d}{dx}(\cos x) = -\sin x, \qquad \frac{d}{dx}(\tan x) = \sec^2 x.

For composed trig, the chain rule gives ddx(sin⁡(f(x)))=f′(x)cos⁡(f(x))\frac{d}{dx}(\sin(f(x))) = f'(x) \cos(f(x)), and similarly for cos⁡\cos and tan⁡\tan.

What the derivative means

Every differentiation rule is a tool for finding f′(x)f'(x), the instantaneous rate of change of ff, which is also the gradient of the tangent to y=f(x)y = f(x) at each point. The first-principles definition behind every rule is

f′(x)=lim⁡h→0f(x+h)−f(x)h.f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}.

NESA can ask you to differentiate from first principles for a simple polynomial, so you should be able to set up this limit, expand f(x+h)f(x + h), cancel the hh in the numerator, and take the limit. For all other functions you quote the standard rules above, which are themselves derived from this limit.

Seeing the derivative: from secant to tangent

The derivative is the gradient of the tangent, and the tangent is the limiting position of a secant. Watching that limit form is the single best way to understand what f′(x)f'(x) measures. Fix a point PP on the curve y=f(x)y = f(x) and let a second point QQ slide towards it; the gradient of the line PQPQ is the average rate of change f(a+h)−f(a)h\frac{f(a+h) - f(a)}{h}, and as h→0h \to 0 it tends to the instantaneous rate of change at PP.

Stage 1, a wide secant. Place a fixed point PP at x=ax = a and a second point QQ a large horizontal distance hh to the right. The straight line through PP and QQ is a secant, and its gradient is the average rate of change between the two points, the rise divided by the run.

Stage 1: a wide secant line through two points on the curve The curve y equals f of x with a fixed point P. A second point Q sits a large horizontal distance h to the right. The straight secant line through P and Q has gradient equal to the average rate of change, the rise over the run, between the two points. x y P Q secant gradient = rise / run 1

Stage 2, slide QQ closer. Move QQ towards PP so the gap hh shrinks. The secant now hugs the curve more closely near PP, and its gradient is a better estimate of the gradient at PP itself.

Stage 2: Q slides towards P, shrinking h The same curve. Point Q has moved closer to P, so the horizontal gap h is smaller. The secant line now lies closer to the curve near P and its gradient is closer to the true gradient at P. x y P Q smaller h, secant nearer the curve 2

Stage 3, let h→0h \to 0. As QQ slides almost on top of PP, the gap hh becomes tiny and the secant is barely distinguishable from a line that just grazes the curve at PP. The average rate of change is converging on a single number.

Stage 3: h shrinks towards zero The same curve with Q very close to P. The horizontal gap h is now tiny and the secant line is almost touching the curve at P, so its gradient is almost exactly the gradient at P. x y P Q h to 0: Q approaches P 3

Stage 4, the tangent is the limit. In the limit h→0h \to 0, QQ merges with PP and the secant becomes the tangent at PP. Its gradient is the derivative f′(a)f'(a), the instantaneous rate of change. Every rule on this page is a shortcut for computing exactly this limiting gradient.

Stage 4: the tangent at P is the limit The same curve. In the limit as h tends to zero, Q merges with P and the secant becomes the tangent line at P, drawn solid in the accent colour. Its gradient is the derivative f prime of a, the instantaneous rate of change at P. x y P tangent: m = f '(a) 4

Deciding which rule to use

The single most common student error is reaching for the wrong rule. Read the structure of the expression first.

  • A sum or difference of terms: differentiate each term separately.
  • A function raised to a power, or a function inside another function (a composition): chain rule.
  • Two functions multiplied together: product rule.
  • One function divided by another: quotient rule.

Many HSC expressions combine rules. For y=x2sin⁡(2x)y = x^2 \sin(2x) you use the product rule on the outer multiplication and the chain rule on sin⁡(2x)\sin(2x). Work from the outside in, naming each piece as you go.

Tangents and normals

Once you have f′(x)f'(x), the gradient of the tangent at x=ax = a is m=f′(a)m = f'(a). The tangent line is

y−f(a)=f′(a)(x−a).y - f(a) = f'(a)(x - a).

The normal is perpendicular to the tangent, so its gradient is −1f′(a)-\frac{1}{f'(a)} (provided f′(a)≠0f'(a) \neq 0). These appear constantly in HSC questions: differentiate, evaluate the derivative at the point, then write the line equation.

Higher derivatives

Differentiating f′(x)f'(x) again gives the second derivative f′′(x)f''(x), the rate of change of the gradient. For f(x)=x3f(x) = x^3, f′(x)=3x2f'(x) = 3x^2 and f′′(x)=6xf''(x) = 6x. Higher derivatives drive concavity and motion problems, so the rules here feed directly into later calculus topics.

Exam technique

For a product or quotient, write out uu, vv, u′u' and v′v' explicitly before substituting - markers award method marks for correct setup even if the algebra slips, and labelling stops sign errors in the quotient rule. For a chain rule, state the inner function u=g(x)u = g(x) so the examiner can see you multiplied by dudx\frac{du}{dx}. Then simplify and factor the final answer: a clean factored form such as x(2ln⁡x+1)x(2\ln x + 1) is what the marking guide quotes, and it makes the next part (often "find where the gradient is zero") far easier.

How exam questions ask about differentiation

The wording varies, but each version is a cue for a particular rule or follow-up:

  • "Differentiate" or "find dydx\frac{dy}{dx}". A direct rule application. Identify the structure (sum, composition, product, quotient) first, then apply the matching rule and simplify.
  • "Differentiate from first principles". Set up f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}, expand f(x+h)f(x+h), cancel the hh, and take the limit. NESA reserves this for simple polynomials, but you must show the limit, not quote the power rule.
  • "Find the gradient of the curve at x=ax = a". Differentiate, then substitute x=ax = a into f′(x)f'(x). The number you get is the gradient of the tangent there.
  • "Find the equation of the tangent / normal at the point ...". Differentiate, evaluate f′(a)f'(a) for the gradient, then use y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a) for the tangent; for the normal use gradient −1f′(a)-\frac{1}{f'(a)}.
  • "Show that dydx=…\frac{dy}{dx} = \ldots". A "show that" answer must reach the printed result by valid steps; do not just assert it. Pick up the marks by displaying the rule used and every simplification.
  • A derivative buried in a larger question. Most calculus questions open with a differentiation step that feeds a later part (stationary points, rates, areas). Get it right and factored, because every later mark depends on it.
Worked example

Differentiate four functions, each requiring a different rule, to practise identifying which rule to apply before starting the algebra.

Chain rule with trig: differentiate y=sin⁡(3x2)y = \sin(3x^2)

The function is a composition: sin⁡\sin applied to the inner expression 3x23x^2. The chain rule says to differentiate the outer function and multiply by the derivative of the inner.

Let u=3x2u = 3x^2 so that y=sin⁡uy = \sin u. Then dydu=cos⁡u\frac{dy}{du} = \cos u and dudx=6x\frac{du}{dx} = 6x.

dydx=dydu⋅dudx=cos⁡(3x2)⋅6x=6xcos⁡(3x2).\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = \cos(3x^2) \cdot 6x = 6x \cos(3x^2).

Product rule: differentiate y=xexy = x e^x

The function is a product of two parts, xx and exe^x, so the product rule applies. Name the two factors: u=xu = x and v=exv = e^x.

Then u′=1u' = 1 and v′=exv' = e^x (since exe^x is its own derivative).

dydx=u′v+uv′=1⋅ex+x⋅ex=ex(1+x).\frac{dy}{dx} = u' v + u v' = 1 \cdot e^x + x \cdot e^x = e^x(1 + x).

Quotient rule: differentiate y=ln⁡xxy = \frac{\ln x}{x}

The function is a quotient. Set u=ln⁡xu = \ln x and v=xv = x, giving u′=1xu' = \frac{1}{x} and v′=1v' = 1.

dydx=u′v−uv′v2=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2.\frac{dy}{dx} = \frac{u' v - u v'}{v^2} = \frac{\frac{1}{x} \cdot x - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2}.

Combined chain and product: differentiate y=x2sin⁡(2x)y = x^2 \sin(2x)

The outer structure is a product of x2x^2 and sin⁡(2x)\sin(2x), so begin with the product rule. The second factor sin⁡(2x)\sin(2x) is itself a composition, so its derivative requires the chain rule.

Set u=x2u = x^2 and v=sin⁡(2x)v = \sin(2x). Then u′=2xu' = 2x, and by the chain rule v′=cos⁡(2x)⋅2=2cos⁡(2x)v' = \cos(2x) \cdot 2 = 2\cos(2x).

dydx=u′v+uv′=2xsin⁡(2x)+x2⋅2cos⁡(2x)=2xsin⁡(2x)+2x2cos⁡(2x).\frac{dy}{dx} = u' v + u v' = 2x \sin(2x) + x^2 \cdot 2\cos(2x) = 2x \sin(2x) + 2x^2 \cos(2x).

Final answers: 6xcos⁡(3x2)6x\cos(3x^2); ex(1+x)e^x(1+x); 1−ln⁡xx2\dfrac{1-\ln x}{x^2}; 2xsin⁡(2x)+2x2cos⁡(2x)2x\sin(2x)+2x^2\cos(2x).

Common traps
Forgetting the chain rule on composed functions
Writing ddx(sin⁡(2x))=cos⁡(2x)\frac{d}{dx}(\sin(2x)) = \cos(2x) loses the factor of 22. The correct answer is 2cos⁡(2x)2 \cos(2x).
Mixing up the quotient rule sign
The numerator is u′vu' v minus uv′u v', in that order. Reversing it changes the sign.
Treating e2xe^{2x} like 2e2xlog⁡e2 e^{2x \log e}
Just use the chain rule: ddx(e2x)=2e2x\frac{d}{dx}(e^{2x}) = 2 e^{2x}.
Power rule on axa^x
ddx(2x)\frac{d}{dx}(2^x) is not x⋅2x−1x \cdot 2^{x - 1}. For non-ee exponentials, write 2x=exln⁡22^x = e^{x \ln 2} first, giving ddx(2x)=(ln⁡2)⋅2x\frac{d}{dx}(2^x) = (\ln 2) \cdot 2^x.
Not simplifying
Markers often reward a clean factored form. After the quotient rule, look for common factors.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style3 marks
Differentiate y=(3x2+1)5y = (3x^2 + 1)^5 with respect to xx.
Show worked answer →

This is a composition, so use the chain rule. Let u=3x2+1u = 3x^2 + 1, so y=u5y = u^5.

dydu=5u4\frac{dy}{du} = 5u^4 and dudx=6x\frac{du}{dx} = 6x.

dydx=dydu⋅dudx=5(3x2+1)4⋅6x=30x(3x2+1)4\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = 5(3x^2 + 1)^4 \cdot 6x = 30x(3x^2 + 1)^4.

Markers reward identifying the inner and outer functions, applying the chain rule cleanly, and presenting the final answer in factored form.

HSC-style3 marks
Find the derivative of f(x)=x2ln⁡xf(x) = x^2 \ln x.
Show worked answer →

Use the product rule with u=x2u = x^2 and v=ln⁡xv = \ln x.

u′=2xu' = 2x and v′=1xv' = \frac{1}{x}.

f′(x)=u′v+uv′=2xln⁡x+x2⋅1x=2xln⁡x+xf'(x) = u' v + u v' = 2x \ln x + x^2 \cdot \frac{1}{x} = 2x \ln x + x.

Factor: f′(x)=x(2ln⁡x+1)f'(x) = x(2 \ln x + 1).

Markers expect explicit labelling of uu, vv and their derivatives, correct application of the rule, and a tidy final answer.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marks
Differentiate y=(2x+5)7y = (2x + 5)^7 with respect to xx.
Show worked solution →

Recognise a composition, so use the chain rule. Let u=2x+5u = 2x + 5, giving y=u7y = u^7.

dydu=7u6,dudx=2.\frac{dy}{du} = 7u^6, \qquad \frac{du}{dx} = 2.

Multiply the two rates.

dydx=dydu⋅dudx=7(2x+5)6⋅2=14(2x+5)6.\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = 7(2x + 5)^6 \cdot 2 = 14(2x + 5)^6.

Marker's note: one mark for the chain-rule setup (identifying u=2x+5u = 2x + 5 and differentiating the outer power), one for the correct final answer 14(2x+5)614(2x + 5)^6. Forgetting the inner factor of 22 and writing 7(2x+5)67(2x + 5)^6 is the standard slip that loses the second mark.

foundation2 marks
Differentiate f(x)=x3exf(x) = x^3 e^x using the product rule.
Show worked solution →

Name the two factors. Let u=x3u = x^3 and v=exv = e^x, so

u′=3x2,v′=ex.u' = 3x^2, \qquad v' = e^x.

Apply f′=u′v+uv′f' = u'v + uv'.

f′(x)=3x2ex+x3ex=x2ex(3+x).f'(x) = 3x^2 e^x + x^3 e^x = x^2 e^x(3 + x).

Marker's note: one mark for the correct product-rule expansion 3x2ex+x3ex3x^2 e^x + x^3 e^x, one for a tidy factored answer x2ex(3+x)x^2 e^x(3 + x). Markers award the method mark for correct u,v,u′,v′u, v, u', v' even if the factoring slips.

foundation3 marks
Differentiate y=2x−1x2+3y = \dfrac{2x - 1}{x^2 + 3} using the quotient rule.
Show worked solution →

Set up the quotient rule. Let u=2x−1u = 2x - 1 and v=x2+3v = x^2 + 3, so

u′=2,v′=2x.u' = 2, \qquad v' = 2x.

Apply u′v−uv′v2\dfrac{u'v - uv'}{v^2}, keeping the order in the numerator.

dydx=2(x2+3)−(2x−1)(2x)(x2+3)2.\frac{dy}{dx} = \frac{2(x^2 + 3) - (2x - 1)(2x)}{(x^2 + 3)^2}.

Expand and simplify the numerator.

2x2+6−(4x2−2x)=−2x2+2x+6,2x^2 + 6 - (4x^2 - 2x) = -2x^2 + 2x + 6,

so

dydx=−2x2+2x+6(x2+3)2.\frac{dy}{dx} = \frac{-2x^2 + 2x + 6}{(x^2 + 3)^2}.

Marker's note: one mark for the correct quotient-rule structure with u′vu'v before uv′uv', one for expanding the numerator correctly, one for the simplified final answer. Reversing the numerator to uv′−u′vuv' - u'v flips every sign and loses the last two marks.

core3 marks
Find the equation of the tangent to y=xln⁡xy = x \ln x at the point where x=1x = 1.
Show worked solution →

Find the point of contact. At x=1x = 1, y=1⋅ln⁡1=1⋅0=0y = 1 \cdot \ln 1 = 1 \cdot 0 = 0, so the tangent touches at (1,0)(1, 0).

Differentiate with the product rule. Let u=xu = x and v=ln⁡xv = \ln x, so u′=1u' = 1 and v′=1xv' = \dfrac{1}{x}:

dydx=1⋅ln⁡x+x⋅1x=ln⁡x+1.\frac{dy}{dx} = 1 \cdot \ln x + x \cdot \frac{1}{x} = \ln x + 1.

Evaluate the gradient at x=1x = 1.

dydx∣x=1=ln⁡1+1=0+1=1.\left.\frac{dy}{dx}\right|_{x=1} = \ln 1 + 1 = 0 + 1 = 1.

Write the line through (1,0)(1, 0) with gradient 11.

y−0=1(x−1)⇒y=x−1.y - 0 = 1(x - 1) \quad\Rightarrow\quad y = x - 1.

Marker's note: one mark for the product-rule derivative ln⁡x+1\ln x + 1, one for evaluating the gradient as 11 at x=1x = 1, one for the correct tangent equation y=x−1y = x - 1. Using ln⁡1=1\ln 1 = 1 instead of 00 is the usual error.

core3 marks
Differentiate y=cos⁡xx2y = \dfrac{\cos x}{x^2} and hence find the gradient of the curve at x=πx = \pi. Leave your answer in exact form.
Show worked solution →

Apply the quotient rule. Let u=cos⁡xu = \cos x and v=x2v = x^2, so u′=−sin⁡xu' = -\sin x and v′=2xv' = 2x:

dydx=(−sin⁡x)(x2)−(cos⁡x)(2x)(x2)2=−x2sin⁡x−2xcos⁡xx4.\frac{dy}{dx} = \frac{(-\sin x)(x^2) - (\cos x)(2x)}{(x^2)^2} = \frac{-x^2 \sin x - 2x \cos x}{x^4}.

Cancel a factor of xx.

dydx=−xsin⁡x−2cos⁡xx3.\frac{dy}{dx} = \frac{-x \sin x - 2\cos x}{x^3}.

Substitute x=πx = \pi (radians). Here sin⁡π=0\sin \pi = 0 and cos⁡π=−1\cos \pi = -1:

dydx∣x=π=−π(0)−2(−1)π3=2π3.\left.\frac{dy}{dx}\right|_{x=\pi} = \frac{-\pi(0) - 2(-1)}{\pi^3} = \frac{2}{\pi^3}.

Marker's note: one mark for the quotient-rule setup, one for the simplified derivative, one for the exact value 2π3\dfrac{2}{\pi^3} using sin⁡π=0\sin \pi = 0 and cos⁡π=−1\cos \pi = -1. Working in degrees, or slipping the sign of cos⁡π\cos \pi, breaks the final mark.

core3 marks
The displacement of a particle is x=t2e−tx = t^2 e^{-t} metres at time tt seconds, for t≥0t \ge 0. The velocity-time graph rises from the origin to a single peak and then falls back towards the time axis, never going below it. Using calculus, find the two times at which the velocity is zero and state what is happening to the particle at each.
Show worked solution →

Velocity is the derivative of displacement. Differentiate x=t2e−tx = t^2 e^{-t} with the product rule, letting u=t2u = t^2 and v=e−tv = e^{-t}, so u′=2tu' = 2t and v′=−e−tv' = -e^{-t}:

v=dxdt=2t e−t+t2(−e−t)=e−t(2t−t2)=t e−t(2−t).v = \frac{dx}{dt} = 2t\, e^{-t} + t^2(-e^{-t}) = e^{-t}(2t - t^2) = t\, e^{-t}(2 - t).

Solve v=0v = 0. Since e−t>0e^{-t} > 0 for all tt, the velocity is zero only when

t(2−t)=0⇒t=0 or t=2.t(2 - t) = 0 \quad\Rightarrow\quad t = 0 \text{ or } t = 2.

Interpret each time using the described graph. At t=0t = 0 the particle starts from rest at the origin (the velocity graph begins at the origin). At t=2t = 2 the velocity graph is at its single peak turning point, so the particle is momentarily at rest at the far end of its outward motion before slowing displacement growth; this is where displacement stops increasing as fast and the velocity has returned to zero.

Marker's note: one mark for the product-rule velocity v=t e−t(2−t)v = t\,e^{-t}(2 - t), one for solving v=0v = 0 to t=0t = 0 and t=2t = 2 (using e−t≠0e^{-t} \neq 0), one for reading the graph to say the particle is at rest at both times. Cancelling or ignoring the e−te^{-t} factor as if it could be zero is the trap.

exam5 marks
A curve is defined by y=e2xxy = \dfrac{e^{2x}}{x} for x>0x > 0. (a) Show that dydx=e2x(2x−1)x2\dfrac{dy}{dx} = \dfrac{e^{2x}(2x - 1)}{x^2}. (b) Hence find the coordinates of the stationary point and, using the sign of the derivative, justify that it is a minimum. (c) Show that at the stationary point y=2ey = 2e.
Show worked solution →

Part (a): differentiate with the quotient rule. Let u=e2xu = e^{2x} and v=xv = x. By the chain rule u′=2e2xu' = 2e^{2x}, and v′=1v' = 1:

dydx=u′v−uv′v2=2e2x⋅x−e2x⋅1x2.\frac{dy}{dx} = \frac{u'v - uv'}{v^2} = \frac{2e^{2x} \cdot x - e^{2x} \cdot 1}{x^2}.

Factor e2xe^{2x} out of the numerator:

dydx=e2x(2x−1)x2,\frac{dy}{dx} = \frac{e^{2x}(2x - 1)}{x^2},

as required.

Part (b): locate the stationary point. Set dydx=0\dfrac{dy}{dx} = 0. Since e2x>0e^{2x} > 0 and x2>0x^2 > 0 for x>0x > 0, the only zero comes from

2x−1=0⇒x=12.2x - 1 = 0 \quad\Rightarrow\quad x = \tfrac{1}{2}.

The yy-coordinate is

y=e2⋅1/21/2=e11/2=2e,y = \frac{e^{2 \cdot 1/2}}{1/2} = \frac{e^{1}}{1/2} = 2e,

so the stationary point is (12,2e)\left(\tfrac{1}{2}, 2e\right).

Justify the minimum with a sign test. The factors e2xe^{2x} and x2x^2 are always positive for x>0x > 0, so the sign of dydx\dfrac{dy}{dx} follows the sign of (2x−1)(2x - 1). For x<12x < \tfrac{1}{2}, (2x−1)<0(2x - 1) < 0 so dydx<0\dfrac{dy}{dx} < 0 (falling); for x>12x > \tfrac{1}{2}, (2x−1)>0(2x - 1) > 0 so dydx>0\dfrac{dy}{dx} > 0 (rising). The gradient changes from negative to positive, so (12,2e)\left(\tfrac{1}{2}, 2e\right) is a minimum.

Part (c): confirm the value. From part (b), y=e11/2=2ey = \dfrac{e^{1}}{1/2} = 2e, which is the required result.

Marker's note: one mark for the quotient-and-chain-rule derivative reaching the shown form in (a); one for solving dydx=0\dfrac{dy}{dx} = 0 to x=12x = \tfrac{1}{2}; one for the sign test either side confirming a minimum; one for the coordinates (12,2e)\left(\tfrac{1}{2}, 2e\right); one for showing y=2ey = 2e cleanly in (c). Forgetting the chain-rule factor of 22 on e2xe^{2x} derails part (a) and every mark after it.

exam4 marks
A function is defined by f(x)=e−xcos⁡xf(x) = e^{-x}\cos x for 0≤x≤2π0 \le x \le 2\pi. (a) Show that f′(x)=2e−xsin⁡xf'(x) = 2e^{-x}\sin x. (b) Hence state the xx-values in 0≤x≤2π0 \le x \le 2\pi at which the graph of f(x)f(x) has possible points of inflection.
Show worked solution →

Part (a): differentiate twice. First derivative by the product rule with u=e−xu = e^{-x}, v=cos⁡xv = \cos x, so u′=−e−xu' = -e^{-x}, v′=−sin⁡xv' = -\sin x:

f′(x)=−e−xcos⁡x+e−x(−sin⁡x)=−e−x(cos⁡x+sin⁡x).f'(x) = -e^{-x}\cos x + e^{-x}(-\sin x) = -e^{-x}(\cos x + \sin x).

Differentiate again, using the product rule on −e−x(cos⁡x+sin⁡x)-e^{-x}(\cos x + \sin x) with u=−e−xu = -e^{-x} (so u′=e−xu' = e^{-x}) and v=cos⁡x+sin⁡xv = \cos x + \sin x (so v′=−sin⁡x+cos⁡xv' = -\sin x + \cos x):

f′′(x)=e−x(cos⁡x+sin⁡x)+(−e−x)(−sin⁡x+cos⁡x).f''(x) = e^{-x}(\cos x + \sin x) + (-e^{-x})(-\sin x + \cos x).

Expand inside:

f′′(x)=e−x[(cos⁡x+sin⁡x)−(cos⁡x−sin⁡x)]=e−x(2sin⁡x)=2e−xsin⁡x,f''(x) = e^{-x}\big[(\cos x + \sin x) - (\cos x - \sin x)\big] = e^{-x}(2\sin x) = 2e^{-x}\sin x,

as required.

Part (b): possible inflections where f′′(x)=0f''(x) = 0. Since e−x>0e^{-x} > 0 for all xx, we need sin⁡x=0\sin x = 0. On 0≤x≤2π0 \le x \le 2\pi (radians),

sin⁡x=0⇒x=0,  π,  2π.\sin x = 0 \quad\Rightarrow\quad x = 0, \; \pi, \; 2\pi.

These are the xx-values where the concavity may change, so the possible points of inflection are at x=0x = 0, x=πx = \pi and x=2πx = 2\pi.

Marker's note: one mark for the first derivative −e−x(cos⁡x+sin⁡x)-e^{-x}(\cos x + \sin x), one for reaching f′′(x)=2e−xsin⁡xf''(x) = 2e^{-x}\sin x, one for setting sin⁡x=0\sin x = 0 using e−x≠0e^{-x} \neq 0, one for all three solutions in the given domain. Working in degrees or dropping a solution at an endpoint costs the final mark.

Practise this

Sources & how we know this

ExamExplained