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

Exercise 5.6 · Q8: dydx\frac{dy}{dx} when x=a(cos⁡t+log⁡tan⁡t2)x=a\big(\cos t+\log\tan\frac t2\big)⁠, y=asin⁡ty=a\sin t

Exercise 5.6Parametric differentiation · Section 5.6
The question

If xx and yy are connected parametrically by the equations given in Exercises 1 to 10, without eliminating the parameter, Find dydx\dfrac{dy}{dx}⁠.

8. x=a(cos⁡t+log⁡tan⁡t2)x = a\left(\cos t + \log\tan\dfrac{t}{2}\right)⁠, y=asin⁡ty = a\sin t

Exam answer dxdt=a(−sin⁡t+1tan⁡t2⋅sec⁡2t2⋅12)=a(−sin⁡t+12sin⁡t2cos⁡t2)\begin{aligned} \frac{dx}{dt} &= a\bigg(-\sin t \\ &\qquad + \frac{1}{\tan\frac{t}{2}}\cdot\sec^2\frac{t}{2}\cdot\frac12\bigg) \\ &= a\left(-\sin t + \frac{1}{2\sin\frac{t}{2}\cos\frac{t}{2}}\right) \end{aligned}

Using 2sin⁡t2cos⁡t2=sin⁡t2\sin\frac{t}{2}\cos\frac{t}{2} = \sin t⁠,

dxdt=a(−sin⁡t+1sin⁡t)=a(1−sin⁡2t)sin⁡t=acos⁡2tsin⁡t,dydt=acos⁡t\begin{aligned} \frac{dx}{dt} &= a\left(-\sin t + \frac{1}{\sin t}\right) \\ &= \frac{a(1 - \sin^2 t)}{\sin t} = \frac{a\cos^2 t}{\sin t}, \\ \frac{dy}{dt} &= a\cos t \end{aligned} dydx=dy/dtdx/dt=acos⁡tacos⁡2t/sin⁡t=sin⁡tcos⁡t\begin{aligned} \frac{dy}{dx} &= \frac{dy/dt}{dx/dt} = \frac{a\cos t}{a\cos^2 t/\sin t} \\ &= \frac{\sin t}{\cos t} \end{aligned}

∴ dydx=tan⁡t\therefore\ \dfrac{dy}{dx} = \tan t (tan⁡t2>0, cos⁡t≠0)(\tan\dfrac{t}{2} > 0,\ \cos t \ne 0)

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

The one idea this problem is built on

The slope is dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}⁠. The only hard part is ddtlog⁡tan⁡t2\frac{d}{dt}\log\tan\frac{t}{2}⁠, a function inside a function inside a function. The chain rule, followed by the double-angle formula, collapses it to the surprisingly simple

ddtlog⁡tan⁡t2=1sin⁡t.\frac{d}{dt}\log\tan\frac{t}{2} = \frac{1}{\sin t}.

After that, dxdt=acos⁡2tsin⁡t\frac{dx}{dt} = \frac{a\cos^2 t}{\sin t}⁠, and the ratio is tan⁡t\tan t⁠.

Given, to find, and the plan
Given
x=a(cos⁡t+log⁡tan⁡t2)x = a\left(\cos t + \log\tan\frac{t}{2}\right)⁠, y=asin⁡ty = a\sin t⁠, with aa a nonzero constant. As everywhere in this chapter, log⁡\log is the natural logarithm (base ee⁠). The logarithm needs tan⁡t2>0\tan\frac{t}{2} \gt 0⁠, that is nπ<t2<nπ+π2n\pi \lt \frac{t}{2} \lt n\pi + \frac{\pi}{2}⁠, or 2nπ<t<2nπ+π2n\pi \lt t \lt 2n\pi + \pi⁠, n∈Zn \in \Z⁠. On these intervals sin⁡t>0\sin t \gt 0⁠.
To find
dydx\dfrac{dy}{dx}⁠, without eliminating tt⁠.
Plan
Differentiate log⁡tan⁡t2\log\tan\frac{t}{2} with the chain rule and simplify it to 1sin⁡t\frac{1}{\sin t}⁠; assemble dxdt\frac{dx}{dt}⁠; differentiate yy⁠; find where dxdt=0\frac{dx}{dt} = 0⁠; divide; picture the curve.

Basics you need

1Derivative of log⁡u\log u and the chain rule

ddulog⁡u=1u\frac{d}{du}\log u = \frac{1}{u} for u>0u \gt 0 (Theorem 5). With the chain rule, ddtlog⁡u=1u⋅dudt\frac{d}{dt}\log u = \frac{1}{u}\cdot\frac{du}{dt}⁠. Basics: exponentials and logarithms

2Derivative of tan⁡\tan

ddvtan⁡v=sec⁡2v\frac{d}{dv}\tan v = \sec^2 v (Table 5.3); so by the chain rule ddttan⁡t2=12sec⁡2t2\frac{d}{dt}\tan\frac{t}{2} = \frac12\sec^2\frac{t}{2}⁠. Lesson: chain rule

3Identities

sin⁡t=2sin⁡t2cos⁡t2\sin t = 2\sin\frac{t}{2}\cos\frac{t}{2} and 1−sin⁡2t=cos⁡2t1 - \sin^2 t = \cos^2 t⁠. Basics: trigonometric identities

4The parametric formula (Section 5.6)

dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}⁠, provided dxdt≠0\frac{dx}{dt} \neq 0⁠. Lesson: parametric differentiation

Solution

  1. Differentiate log⁡tan⁡t2\log\tan\frac{t}{2}⁠: chain rule

    Three layers: outer log⁡u\log u⁠, middle u=tan⁡vu = \tan v⁠, inner v=t2v = \frac{t}{2}⁠. So

    ddtlog⁡tan⁡t2=1tan⁡t2⋅sec⁡2t2⋅12=cos⁡t2sin⁡t2⋅1cos⁡2t2⋅12=12sin⁡t2cos⁡t2=1sin⁡t.\begin{aligned} \frac{d}{dt}\log\tan\frac{t}{2} &= \frac{1}{\tan\frac{t}{2}}\cdot\sec^2\frac{t}{2}\cdot\frac12 \\ &= \frac{\cos\frac{t}{2}}{\sin\frac{t}{2}}\cdot\frac{1}{\cos^2\frac{t}{2}}\cdot\frac12 \\ &= \frac{1}{2\sin\frac{t}{2}\cos\frac{t}{2}} = \frac{1}{\sin t}. \end{aligned}
    Each layer contributes one factor: 1u\frac{1}{u} from the logarithm, sec⁡2v\sec^2 v from the tangent, 12\frac12 from t2\frac{t}{2}⁠. Writing everything in sines and cosines of t2\frac{t}{2}⁠, one cos⁡t2\cos\frac{t}{2} cancels, and the denominator 2sin⁡t2cos⁡t22\sin\frac{t}{2}\cos\frac{t}{2} is exactly sin⁡t\sin t⁠. On our intervals sin⁡t2\sin\frac{t}{2} and cos⁡t2\cos\frac{t}{2} are both nonzero (their ratio is positive), so every step is legitimate.
    Chain rule (Theorem 4, Section 5.3.1); ddulog⁡u=1u\frac{d}{du}\log u = \frac1u (Theorem 5, Section 5.4); sin⁡t=2sin⁡t2cos⁡t2\sin t = 2\sin\frac{t}{2}\cos\frac{t}{2}⁠. Basics: exponentials and logarithms
  2. Assemble dxdt\frac{dx}{dt}

    dxdt=a(−sin⁡t+1sin⁡t)=a⋅1−sin⁡2tsin⁡t=acos⁡2tsin⁡t.\begin{aligned} \frac{dx}{dt} &= a\left(-\sin t + \frac{1}{\sin t}\right) \\ &= a\cdot\frac{1 - \sin^2 t}{\sin t} = \frac{a\cos^2 t}{\sin t}. \end{aligned}
    The derivative of cos⁡t\cos t is −sin⁡t-\sin t⁠, and Step 1 gives the rest. Combining over the common denominator sin⁡t\sin t (nonzero on our intervals) and using 1−sin⁡2t=cos⁡2t1 - \sin^2 t = \cos^2 t gives a single tidy fraction.
    Sum rule (Section 5.3); sin⁡2t+cos⁡2t=1\sin^2 t + \cos^2 t = 1⁠.
  3. Differentiate yy with respect to tt

    dydt=acos⁡t.\frac{dy}{dt} = a\cos t.
    The other rate the formula needs; straight from the table.
    ddtsin⁡t=cos⁡t\frac{d}{dt}\sin t = \cos t (Table 5.3).
  4. Find where the formula may be used

    We need acos⁡2tsin⁡t≠0\frac{a\cos^2 t}{\sin t} \neq 0⁠. Since a≠0a \neq 0⁠, this means cos⁡t≠0\cos t \neq 0⁠. Inside the intervals 2nπ<t<2nπ+π2n\pi \lt t \lt 2n\pi + \pi⁠, cos⁡t=0\cos t = 0 only at

    t=2nπ+π2.t = 2n\pi + \frac{\pi}{2}.

    So the formula applies at every other tt of the domain.

    Before dividing, set aside the values where the denominator dxdt\frac{dx}{dt} is zero. Of all the zeros of cosine, only the middle point of each interval lies in the domain.
    cos⁡t=0  ⟺  t=(2k+1)π2\cos t = 0 \iff t = (2k+1)\frac{\pi}{2}⁠; in (2nπ, 2nπ+π)(2n\pi,\ 2n\pi + \pi) only 2nπ+π22n\pi + \frac{\pi}{2}⁠.
  5. Divide

    For tt in the domain with cos⁡t≠0\cos t \neq 0⁠,

    dydx=dy/dtdx/dt=acos⁡tacos⁡2t/sin⁡t=acos⁡tsin⁡tacos⁡2t=sin⁡tcos⁡t=tan⁡t.\begin{aligned} \frac{dy}{dx} &= \frac{dy/dt}{dx/dt} = \frac{a\cos t}{a\cos^2 t/\sin t} \\ &= \frac{a\cos t\sin t}{a\cos^2 t} = \frac{\sin t}{\cos t} = \tan t. \end{aligned}
    Dividing by the fraction acos⁡2tsin⁡t\frac{a\cos^2 t}{\sin t} means multiplying by sin⁡tacos⁡2t\frac{\sin t}{a\cos^2 t}⁠. The common factor acos⁡ta\cos t is not zero (Step 4), so it cancels.
    Parametric formula, Section 5.6. Lesson: parametric differentiation
  6. Picture the curve: a tractrix

    At t=π2t = \frac{\pi}{2} both rates are zero: acos⁡2tsin⁡t=0\frac{a\cos^2 t}{\sin t} = 0 and acos⁡t=0a\cos t = 0⁠. Since tan⁡π4=1\tan\frac{\pi}{4} = 1⁠, the point has x=a(0+log⁡1)=0x = a(0 + \log 1) = 0 and y=asin⁡π2=ay = a\sin\frac{\pi}{2} = a⁠: it is (0,a)(0, a)⁠. Just before, the slope tan⁡t\tan t is very large and positive; just after, very large and negative: the curve has a sharp tip (a cusp) at (0,a)(0, a)⁠, where dydx\frac{dy}{dx} does not exist.

    As tt approaches 00 or π\pi⁠, y=asin⁡ty = a\sin t approaches 00 while xx runs off to ∓∞\mp\infty (because log⁡tan⁡t2→∓∞\log\tan\frac{t}{2} \to \mp\infty⁠): both branches creep along the xx-axis.

    x y −3 −2 −1 1 2 3 a t = π/6 t = 5π/6 t = π/2 tangents (slope tan t) cut off at the x-axis: length a t = π/2: dx/dt = dy/dt = 0, a cusp at (0, a) a = 1; t runs from near 0 (left) to near π (right)
    The curve for a=1a = 1 and 0<t<π0 \lt t \lt \pi (equal scales). The tangents at t=π6t = \frac{\pi}{6} and t=5π6t = \frac{5\pi}{6} have slopes tan⁡π6=13\tan\frac{\pi}{6} = \frac{1}{\sqrt3} and tan⁡5π6=−13\tan\frac{5\pi}{6} = -\frac{1}{\sqrt3}⁠; each tangent piece from the curve down to the xx-axis has length aa⁠.

    That last remark is the famous property of this curve, the tractrix: follow the tangent at the point with parameter tt down to the xx-axis. Since the slope is tan⁡t\tan t⁠, the horizontal run is ytan⁡t=asin⁡ttan⁡t=acos⁡t\frac{y}{\tan t} = \frac{a\sin t}{\tan t} = a\cos t⁠, so the length of the piece is

    (acos⁡t)2+(asin⁡t)2=∣a∣,\sqrt{(a\cos t)^2 + (a\sin t)^2} = |a|,

    the same for every point. (It is the path of a weight dragged on a rope of length aa by someone walking along the xx-axis.)

    The picture explains the excluded value: it is the cusp at the top. The tangent-length property is a pleasing use of the answer tan⁡t\tan t⁠: the slope found without ever eliminating tt is all we need.
    Slope =riserun= \frac{\text{rise}}{\text{run}}⁠, so run =riseslope= \frac{\text{rise}}{\text{slope}}⁠. Basics: slope at a point
Result dydx=tan⁡t,\frac{dy}{dx} = \tan t,

for every tt with tan⁡t2>0\tan\frac{t}{2} \gt 0 and cos⁡t≠0\cos t \neq 0⁠, that is 2nπ<t<2nπ+π2n\pi \lt t \lt 2n\pi + \pi⁠, t≠2nπ+π2t \neq 2n\pi + \frac{\pi}{2}⁠. At t=2nπ+π2t = 2n\pi + \frac{\pi}{2} the curve has a cusp. (Textbook answer: tan⁡t\tan t⁠.)

Check it with numbers

The tricky derivative. At t=1t = 1⁠, Step 1 predicts ddtlog⁡tan⁡t2=1sin⁡1≈1.1883951\frac{d}{dt}\log\tan\frac{t}{2} = \frac{1}{\sin 1} \approx 1.1883951⁠. A central difference with step 0.0010.001 gives

log⁡tan⁡0.5005−log⁡tan⁡0.49950.002≈1.1883955,\begin{aligned} &\frac{\log\tan 0.5005 - \log\tan 0.4995}{0.002} \\ &\approx 1.1883955, \end{aligned}

agreeing to six decimal places.

A short chord. Take a=1a = 1⁠, t=1t = 1⁠: the point is (−0.0642801, 0.8414710)(-0.0642801,\ 0.8414710) and the predicted slope is tan⁡1≈1.5574077\tan 1 \approx 1.5574077⁠. The points at t=0.999t = 0.999 and t=1.001t = 1.001 are (−0.064627716, 0.840930262)(-0.064627716,\ 0.840930262) and (−0.063933867, 0.842010866)(-0.063933867,\ 0.842010866)⁠, so

ΔyΔx=0.0010806040.000693849≈1.55741.\frac{\Delta y}{\Delta x} = \frac{0.001080604}{0.000693849} \approx 1.55741.
Common mistakes
  1. Stopping the chain rule too early. ddtlog⁡tan⁡t2\frac{d}{dt}\log\tan\frac{t}{2} needs all three factors: 1tan⁡t2\frac{1}{\tan\frac{t}{2}}⁠, sec⁡2t2\sec^2\frac{t}{2} and 12\frac12⁠.
  2. Not simplifying dxdt\frac{dx}{dt}⁠. Left as a(−sin⁡t+12cot⁡t2sec⁡2t2)a\big(-\sin t + \frac{1}{2}\cot\frac{t}{2}\sec^2\frac{t}{2}\big)⁠, the ratio looks hopeless; reduce to acos⁡2tsin⁡t\frac{a\cos^2 t}{\sin t} first.
  3. Ignoring the domain. log⁡tan⁡t2\log\tan\frac{t}{2} exists only where tan⁡t2>0\tan\frac{t}{2} \gt 0⁠; this is also what guarantees sin⁡t≠0\sin t \neq 0⁠.
  4. Forgetting the cusp. At t=π2t = \frac{\pi}{2} both rates vanish, so the formula does not apply; the curve has a sharp tip there and no slope.
What to take away
  1. ddtlog⁡tan⁡t2=1sin⁡t=cosec⁡t\frac{d}{dt}\log\tan\frac{t}{2} = \frac{1}{\sin t} = \operatorname{cosec} t⁠: a neat result worth remembering.
  2. Simplify each tt-rate to a single fraction before dividing.
  3. The slope found from the parameter can answer geometric questions directly, such as the constant tangent length of the tractrix.

Every fact used, and where it comes from

FactUsed inSource
log⁡\log means log⁡e\log_e⁠; log⁡u\log u needs u>0u \gt 0GivenSection 5.4 (Basics: exponentials and logarithms)
ddulog⁡u=1u\frac{d}{du}\log u = \frac{1}{u}Step 1Theorem 5, Section 5.4
ddvtan⁡v=sec⁡2v\frac{d}{dv}\tan v = \sec^2 v⁠, ddtsin⁡t=cos⁡t\frac{d}{dt}\sin t = \cos t⁠, ddtcos⁡t=−sin⁡t\frac{d}{dt}\cos t = -\sin tSteps 1, 2, 3Table 5.3 (Basics: derivative rules)
Chain ruleStep 1Theorem 4, Section 5.3.1 (Lesson: chain rule)
sin⁡t=2sin⁡t2cos⁡t2\sin t = 2\sin\frac{t}{2}\cos\frac{t}{2}⁠; sin⁡2t+cos⁡2t=1\sin^2 t + \cos^2 t = 1Steps 1, 2, 6Class XI (Basics: trigonometric identities)
dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}⁠, dxdt≠0\frac{dx}{dt} \neq 0Steps 4, 5Section 5.6 (Lesson: parametric differentiation)
tan⁡π4=1\tan\frac{\pi}{4} = 1⁠, log⁡1=0\log 1 = 0Step 6Class XI; Section 5.4
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 →