Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Miscellaneous · Q17: d2ydx2=sec⁡3tat\frac{d^2y}{dx^2}=\frac{\sec^3t}{at} for x=a(cos⁡t+tsin⁡t)x=a(\cos t+t\sin t)⁠, y=a(sin⁡t−tcos⁡t)y=a(\sin t-t\cos t)

Miscellaneous ExerciseSecond order derivative · Parametric form · Miscellaneous Exercise
The question

If x=a(cos⁡t+tsin⁡t)x = a(\cos t + t\sin t) and y=a(sin⁡t−tcos⁡t)y = a(\sin t - t\cos t)⁠, find d2ydx2\dfrac{d^2y}{dx^2}⁠.

Exam answer

Here x=a(cos⁡t+tsin⁡t)x = a(\cos t + t\sin t)⁠, y=a(sin⁡t−tcos⁡t)y = a(\sin t - t\cos t)⁠.

dxdt=a(−sin⁡t+sin⁡t+tcos⁡t)=atcos⁡tdydt=a(cos⁡t−cos⁡t+tsin⁡t)=atsin⁡t\begin{aligned} \frac{dx}{dt} &= a(-\sin t + \sin t \\ &\qquad + t\cos t) = at\cos t \\ \frac{dy}{dt} &= a(\cos t - \cos t \\ &\qquad + t\sin t) = at\sin t \end{aligned}

For atcos⁡t≠0at\cos t \ne 0⁠,

dydx=dy/dtdx/dt=atsin⁡tatcos⁡t=tan⁡t\begin{aligned} \frac{dy}{dx} &= \frac{dy/dt}{dx/dt} = \frac{at\sin t}{at\cos t} \\ &= \tan t \end{aligned}

Differentiating w.r.t. xx⁠,

d2ydx2=sec⁡2t⋅dtdx=sec⁡2t⋅1atcos⁡t\begin{aligned} \frac{d^2y}{dx^2} &= \sec^2 t\cdot\frac{dt}{dx} \\ &= \sec^2 t\cdot\frac{1}{at\cos t} \end{aligned}

∴ d2ydx2=sec⁡3tat\therefore\ \dfrac{d^2y}{dx^2} = \dfrac{\sec^3 t}{at} (atcos⁡t≠0)(at\cos t \ne 0)

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

For a parametric curve, dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt} is again a function of tt⁠. To get the second derivative we differentiate that function of tt with respect to xx, which by the chain rule means differentiating it with respect to tt and then dividing by dxdt\frac{dx}{dt} once more. It is not d2y/dt2d2x/dt2\frac{d^2y/dt^2}{d^2x/dt^2}⁠.

Given, to find, and the plan
Given
x=a(cos⁡t+tsin⁡t)x = a(\cos t + t\sin t)⁠, y=a(sin⁡t−tcos⁡t)y = a(\sin t - t\cos t)⁠, with aa a non-zero constant.
To find
d2ydx2\dfrac{d^2y}{dx^2}⁠.
Plan
(1) dxdt\frac{dx}{dt} and dydt\frac{dy}{dt}⁠. (2) dydx=tan⁡t\frac{dy}{dx} = \tan t⁠, noting where dxdt≠0\frac{dx}{dt} \ne 0⁠. (3) d2ydx2=ddt(tan⁡t)÷dxdt\frac{d^2y}{dx^2} = \frac{d}{dt}(\tan t)\div\frac{dx}{dt}⁠. (4) State where the answer is valid.

Basics you need

1Parametric differentiation

If x=f(t)x = f(t)⁠, y=g(t)y = g(t)⁠, then dydx=g′(t)f′(t)\frac{dy}{dx} = \frac{g'(t)}{f'(t)}⁠, provided f′(t)≠0f'(t) \ne 0 (Section 5.6). Lesson: parametric differentiation

2Second order derivative

d2ydx2=ddx(dydx)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right) (Section 5.7). Lesson: second order derivative

3Product rule and standard derivatives

(uv)′=u′v+uv′(uv)' = u'v + uv'⁠; ddtsin⁡t=cos⁡t\frac{d}{dt}\sin t = \cos t⁠, ddtcos⁡t=−sin⁡t\frac{d}{dt}\cos t = -\sin t⁠, ddttan⁡t=sec⁡2t\frac{d}{dt}\tan t = \sec^2 t (Section 5.3, Table 5.3). Basics: derivative rules

4Chain rule

If uu depends on tt and tt on xx⁠: dudx=dudt⋅dtdx\frac{du}{dx} = \frac{du}{dt}\cdot\frac{dt}{dx}⁠, and dtdx=1dx/dt\frac{dt}{dx} = \frac{1}{dx/dt} when dxdt≠0\frac{dx}{dt} \ne 0 (Theorem 4). Lesson: chain rule

Solution

  1. Differentiate xx and yy with respect to tt

    Use the product rule on tsin⁡tt\sin t and tcos⁡tt\cos t⁠:

    dxdt=a(−sin⁡t+sin⁡t+tcos⁡t)=atcos⁡t,dydt=a(cos⁡t−cos⁡t+tsin⁡t)=atsin⁡t.\begin{aligned} \frac{dx}{dt} &= a\big(-\sin t + \sin t + t\cos t\big) \\ &= at\cos t, \\ \frac{dy}{dt} &= a\big(\cos t - \cos t + t\sin t\big) \\ &= at\sin t. \end{aligned}
    ddt(tsin⁡t)=1⋅sin⁡t+tcos⁡t\frac{d}{dt}(t\sin t) = 1\cdot\sin t + t\cos t and ddt(tcos⁡t)=1⋅cos⁡t−tsin⁡t\frac{d}{dt}(t\cos t) = 1\cdot\cos t - t\sin t⁠. In each line two terms cancel, which is what makes this curve pleasant to work with.
    Product rule (rule (2), Section 5.3) and Table 5.3. Basics: derivative rules
  2. First derivative: dydx=tan⁡t\frac{dy}{dx} = \tan t

    dxdt=atcos⁡t\frac{dx}{dt} = at\cos t is non-zero exactly when a≠0a \ne 0⁠, t≠0t \ne 0 and cos⁡t≠0\cos t \ne 0⁠. For such tt⁠,

    dydx=atsin⁡tatcos⁡t=tan⁡t.\frac{dy}{dx} = \frac{at\sin t}{at\cos t} = \tan t.
    The parametric formula needs dxdt≠0\frac{dx}{dt} \ne 0⁠. Cancelling atat is allowed because it is non-zero. At t=0t = 0 both dxdt\frac{dx}{dt} and dydt\frac{dy}{dt} vanish; where cos⁡t=0\cos t = 0 (for example t=π2t = \frac{\pi}{2}⁠) the tangent is vertical. Those values are excluded.
    Section 5.6 (Basic 1). Lesson: parametric differentiation
  3. Second derivative: differentiate tan⁡t\tan t with respect to xx

    dydx=tan⁡t\frac{dy}{dx} = \tan t is a function of tt⁠, and tt is a function of xx⁠. By the chain rule,

    d2ydx2=ddx(tan⁡t)=ddt(tan⁡t)⋅dtdx=sec⁡2t⋅1atcos⁡t.\begin{aligned} \frac{d^2y}{dx^2} &= \frac{d}{dx}(\tan t) = \frac{d}{dt}(\tan t)\cdot\frac{dt}{dx} \\ &= \sec^2 t\cdot\frac{1}{at\cos t}. \end{aligned}

    Since 1cos⁡t=sec⁡t\frac{1}{\cos t} = \sec t⁠,

    d2ydx2=sec⁡3tat.\frac{d^2y}{dx^2} = \frac{\sec^3 t}{at}.
    The derivative of tan⁡t\tan t with respect to tt is sec⁡2t\sec^2 t⁠, but we need it with respect to xx⁠. The factor dtdx=1dx/dt\frac{dt}{dx} = \frac{1}{dx/dt} converts the rate per unit tt into a rate per unit xx⁠. It is valid because dxdt≠0\frac{dx}{dt} \ne 0 at the points we kept in Step 2.
    Second order derivative (Section 5.7); chain rule (Theorem 4); ddttan⁡t=sec⁡2t\frac{d}{dt}\tan t = \sec^2 t (Table 5.3). Lesson: second order derivative
  4. Where the answer is valid, and what the curve is

    The formula holds for every tt with atcos⁡t≠0at\cos t \ne 0⁠. The answer key states it for 0<t<π20 < t < \frac{\pi}{2}⁠, where these conditions certainly hold (with a≠0a \ne 0⁠); the same formula is correct for all other allowed tt as well.

    −1 2 −1 1 2 x y the curve, 0 ≤ t ≤ π (a = 1) gold: tangent at t = π/4, slope tan t = 1 red: t = π/2, vertical tangent, no dy/dx violet: QP meets the tangent at a right angle P Q (−a, πa)
    The curve for a=1a = 1⁠, 0≤t≤π0 \le t \le \pi⁠, with equal scales. It unwinds from the circle of radius aa like a taut string (an involute of the circle). At PP (t=π4t = \frac{\pi}{4}⁠) the tangent has slope tan⁡π4=1\tan\frac{\pi}{4} = 1⁠. At t=π2t = \frac{\pi}{2}⁠, cos⁡t=0\cos t = 0⁠: the tangent is vertical and dydx\frac{dy}{dx} does not exist. The segment from Q=(acos⁡t,asin⁡t)Q = (a\cos t, a\sin t) to PP has length atat and meets the tangent at a right angle.
    The book does not give an interval for tt⁠, so the honest statement of the answer includes its conditions. The picture explains the slope: P−Q=at(sin⁡t,−cos⁡t)P - Q = at(\sin t, -\cos t)⁠, so the tangent at PP is perpendicular to QPQP and has direction (cos⁡t,sin⁡t)(\cos t, \sin t)⁠, slope tan⁡t\tan t⁠. For 0<t<π20 < t < \frac{\pi}{2} with a>0a > 0⁠, the second derivative is positive: the curve bends upward there, as in the figure.
    dxdt≠0\frac{dx}{dt} \ne 0 condition of Section 5.6. Basics: slope at a point
Result dydx=tan⁡t,d2ydx2=sec⁡3tat,\frac{dy}{dx} = \tan t, \qquad \frac{d^2y}{dx^2} = \frac{\sec^3 t}{at},

valid wherever atcos⁡t≠0at\cos t \ne 0⁠. (Textbook answer: sec⁡3tat\frac{\sec^3 t}{at}⁠, 0<t<π20 < t < \frac{\pi}{2}⁠, the same.)

Check it with numbers

Take a=2a = 2⁠, t=0.7t = 0.7⁠. Then dxdt=2(0.7)cos⁡0.7≈1.0707791\frac{dx}{dt} = 2(0.7)\cos 0.7 \approx 1.0707791 and dydt=2(0.7)sin⁡0.7≈0.9019048\frac{dy}{dt} = 2(0.7)\sin 0.7 \approx 0.9019048⁠, ratio ≈0.8422884=tan⁡0.7\approx 0.8422884 = \tan 0.7⁠. ✓

Formula: sec⁡30.71.4≈1.5964542\frac{\sec^3 0.7}{1.4} \approx 1.5964542⁠. Numerically, the slope dydx\frac{dy}{dx} changes from tan⁡(0.7−h)\tan(0.7 - h) to tan⁡(0.7+h)\tan(0.7 + h) while xx changes by x(0.7+h)−x(0.7−h)x(0.7+h) - x(0.7-h)⁠; with h=0.0001h = 0.0001 the ratio is ≈1.5964542\approx 1.5964542⁠. ✓

Common mistakes
  1. Writing d2ydx2=d2y/dt2d2x/dt2\frac{d^2y}{dx^2} = \frac{d^2y/dt^2}{d^2x/dt^2}⁠. Here that would give a(sin⁡t+tcos⁡t)a(cos⁡t−tsin⁡t)\frac{a(\sin t + t\cos t)}{a(\cos t - t\sin t)}⁠, which is wrong.
  2. Stopping at sec⁡2t\sec^2 t⁠. That is ddt(dydx)\frac{d}{dt}\left(\frac{dy}{dx}\right)⁠, not ddx(dydx)\frac{d}{dx}\left(\frac{dy}{dx}\right)⁠; the division by dxdt\frac{dx}{dt} is missing.
  3. Sign slips in the product rule: ddt(tcos⁡t)=cos⁡t−tsin⁡t\frac{d}{dt}(t\cos t) = \cos t - t\sin t⁠.
What to take away
  1. Parametric second derivative: d2ydx2=ddt(dydx)dx/dt\frac{d^2y}{dx^2} = \dfrac{\frac{d}{dt}\left(\frac{dy}{dx}\right)}{dx/dt}⁠.
  2. Always record where dxdt≠0\frac{dx}{dt} \ne 0⁠; both derivatives need it.

Every fact used, and where it comes from

FactUsed inSource
Product rule; derivatives of sin⁡\sin⁠, cos⁡\cos⁠, tan⁡\tanSteps 1, 3Rule (2) and Table 5.3, Section 5.3
dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}⁠, dxdt≠0\frac{dx}{dt} \ne 0Steps 2, 4Section 5.6 (Lesson: parametric differentiation)
Chain ruleStep 3Theorem 4, Section 5.3.1
Second order derivativeStep 3Section 5.7 (Lesson: second order derivative)
AnswerResultAnswers, Miscellaneous Exercise on Chapter 5, Q17
Numerical values, figure coordinatesCheck, figureRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →