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

Exercise 5.6 · Q5: dydx\frac{dy}{dx} when x=cos⁡θ−cos⁡2θx=\cos\theta-\cos2\theta⁠, y=sin⁡θ−sin⁡2θy=\sin\theta-\sin2\theta

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}⁠.

5. x=cos⁡θ−cos⁡2θx = \cos\theta - \cos 2\theta⁠, y=sin⁡θ−sin⁡2θy = \sin\theta - \sin 2\theta

Exam answer dxdθ=−sin⁡θ+2sin⁡2θ,dydθ=cos⁡θ−2cos⁡2θ\begin{aligned} \frac{dx}{d\theta} &= -\sin\theta + 2\sin 2\theta, \\ \frac{dy}{d\theta} &= \cos\theta - 2\cos 2\theta \end{aligned} dydx=dy/dθdx/dθ\begin{aligned} \frac{dy}{dx} &= \frac{dy/d\theta}{dx/d\theta} \end{aligned}

∴ dydx=cos⁡θ−2cos⁡2θ2sin⁡2θ−sin⁡θ\therefore\ \dfrac{dy}{dx} = \dfrac{\cos\theta - 2\cos 2\theta}{2\sin 2\theta - \sin\theta} (sin⁡θ≠0, cos⁡θ≠14)(\sin\theta \ne 0,\ \cos\theta \ne \dfrac14)

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

The one idea this problem is built on

The slope is the ratio of the two θ\theta-rates,

dydx=dy/dθdx/dθ,where dxdθ≠0.\frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta}, \quad \text{where } \frac{dx}{d\theta} \neq 0.

Each coordinate is a difference of two terms, so we differentiate term by term, using the chain rule on the terms with angle 2θ2\theta⁠. The only real work after that is finding exactly where dxdθ=0\frac{dx}{d\theta} = 0⁠.

Given, to find, and the plan
Given
x=cos⁡θ−cos⁡2θx = \cos\theta - \cos 2\theta⁠, y=sin⁡θ−sin⁡2θy = \sin\theta - \sin 2\theta⁠, with parameter θ\theta⁠.
To find
dydx\dfrac{dy}{dx}⁠, without eliminating θ\theta⁠.
Plan
Differentiate xx and yy with respect to θ\theta (difference rule and chain rule); factorise dxdθ\frac{dx}{d\theta} to find where it is zero; divide; then see on a picture what happens at the excluded values.

Basics you need

1Derivatives with angle 2θ2\theta

By the chain rule (outer function cos⁡u\cos u or sin⁡u\sin u⁠, inner function u=2θu = 2\theta⁠, dudθ=2\frac{du}{d\theta} = 2⁠):

ddθcos⁡2θ=−2sin⁡2θ,ddθsin⁡2θ=2cos⁡2θ.\begin{aligned} \tfrac{d}{d\theta}\cos 2\theta &= -2\sin 2\theta, \\ \tfrac{d}{d\theta}\sin 2\theta &= 2\cos 2\theta. \end{aligned}

Lesson: chain rule

2The parametric formula (Section 5.6)

dydx=dy/dθdx/dθ\frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta}⁠, provided dxdθ≠0\frac{dx}{d\theta} \neq 0⁠. Lesson: parametric differentiation

3Double-angle formulas

sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta and cos⁡2θ=2cos⁡2θ−1\cos 2\theta = 2\cos^2\theta - 1⁠, for every θ\theta⁠. Basics: trigonometric identities

4Solving cos⁡θ=c\cos\theta = c

For −1<c<1-1 \lt c \lt 1⁠, the solutions are θ=2nπ±α\theta = 2n\pi \pm \alpha⁠, n∈Zn \in \Z⁠, where α=cos⁡−1c\alpha = \cos^{-1}c is the principal value in (0,π)(0, \pi) (Chapter 2). Basics: trigonometric identities

Solution

  1. Differentiate xx with respect to θ\theta

    Difference rule, then Basic 1 for cos⁡2θ\cos 2\theta⁠:

    dxdθ=−sin⁡θ−(−2sin⁡2θ)=2sin⁡2θ−sin⁡θ.\begin{aligned} \frac{dx}{d\theta} &= -\sin\theta - (-2\sin 2\theta) \\ &= 2\sin 2\theta - \sin\theta. \end{aligned}
    The derivative of a difference is the difference of the derivatives. The term −cos⁡2θ-\cos 2\theta gives −(−2sin⁡2θ)=+2sin⁡2θ-(-2\sin 2\theta) = +2\sin 2\theta⁠: two minus signs make a plus, and the 2 comes from the chain rule. We write the positive term first, as the book's answer does.
    ddθcos⁡θ=−sin⁡θ\frac{d}{d\theta}\cos\theta = -\sin\theta (Table 5.3); chain rule, Theorem 4, Section 5.3.1. Lesson: chain rule
  2. Differentiate yy with respect to θ\theta

    dydθ=cos⁡θ−2cos⁡2θ.\frac{dy}{d\theta} = \cos\theta - 2\cos 2\theta.
    Again term by term: sin⁡θ\sin\theta gives cos⁡θ\cos\theta⁠, and sin⁡2θ\sin 2\theta gives 2cos⁡2θ2\cos 2\theta by the chain rule, subtracted.
    ddθsin⁡θ=cos⁡θ\frac{d}{d\theta}\sin\theta = \cos\theta (Table 5.3) and Basic 1.
  3. Find where dxdθ=0\frac{dx}{d\theta} = 0

    Write sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta and take out the common factor sin⁡θ\sin\theta⁠:

    dxdθ=4sin⁡θcos⁡θ−sin⁡θ=sin⁡θ (4cos⁡θ−1).\begin{aligned} \frac{dx}{d\theta} &= 4\sin\theta\cos\theta - \sin\theta \\ &= \sin\theta\,(4\cos\theta - 1). \end{aligned}

    A product is zero only when a factor is zero, so dxdθ=0\frac{dx}{d\theta} = 0 exactly when

    • sin⁡θ=0\sin\theta = 0⁠, that is θ=nπ\theta = n\pi⁠; or
    • cos⁡θ=14\cos\theta = \frac14⁠, that is θ=2nπ±α\theta = 2n\pi \pm \alpha with α=cos⁡−114≈1.3181\alpha = \cos^{-1}\frac14 \approx 1.3181 radians (Basic 4).

    The formula may be used at every other θ\theta⁠.

    We must know exactly where we are not allowed to divide. In the form 2sin⁡2θ−sin⁡θ2\sin 2\theta - \sin\theta the zeros are hidden because the two terms have different angles; rewriting sin⁡2θ\sin 2\theta in the single angle θ\theta exposes the factor sin⁡θ\sin\theta and turns the question into two simple equations.
    sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta (Basic 3); sin⁡θ=0  ⟺  θ=nπ\sin\theta = 0 \iff \theta = n\pi⁠.
  4. Divide

    For sin⁡θ≠0\sin\theta \neq 0 and cos⁡θ≠14\cos\theta \neq \frac14⁠,

    dydx=dy/dθdx/dθ=cos⁡θ−2cos⁡2θ2sin⁡2θ−sin⁡θ.\frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta} = \frac{\cos\theta - 2\cos 2\theta}{2\sin 2\theta - \sin\theta}.

    This is the final answer, and it is exactly the book's form. Top and bottom have no common factor to cancel (the top is not zero at the zeros of the bottom, as Step 5 shows), so nothing simpler is hiding here.

    The yy-rate goes on top, the xx-rate underneath. You may also write it as 2+cos⁡θ−4cos⁡2θsin⁡θ (4cos⁡θ−1)\frac{2 + \cos\theta - 4\cos^2\theta}{\sin\theta\,(4\cos\theta - 1)}⁠, using cos⁡2θ=2cos⁡2θ−1\cos 2\theta = 2\cos^2\theta - 1 on top and Step 3 underneath, but that is not simpler.
    Parametric formula, Section 5.6. Lesson: parametric differentiation
  5. What happens at the excluded values: vertical tangents

    At each excluded value, compute dydθ=cos⁡θ−2cos⁡2θ\frac{dy}{d\theta} = \cos\theta - 2\cos 2\theta⁠:

    • θ=2nπ\theta = 2n\pi⁠: cos⁡θ=1\cos\theta = 1⁠, cos⁡2θ=1\cos 2\theta = 1⁠, so dydθ=1−2=−1\frac{dy}{d\theta} = 1 - 2 = -1⁠. The point is (1−1, 0−0)=(0,0)(1 - 1,\ 0 - 0) = (0, 0)⁠.
    • θ=(2n+1)π\theta = (2n+1)\pi⁠: cos⁡θ=−1\cos\theta = -1⁠, cos⁡2θ=1\cos 2\theta = 1⁠, so dydθ=−1−2=−3\frac{dy}{d\theta} = -1 - 2 = -3⁠. The point is (−1−1, 0)=(−2,0)(-1 - 1,\ 0) = (-2, 0)⁠.
    • cos⁡θ=14\cos\theta = \frac14⁠: cos⁡2θ=2⋅116−1=−78\cos 2\theta = 2\cdot\frac{1}{16} - 1 = -\frac78⁠, so dydθ=14+74=2\frac{dy}{d\theta} = \frac14 + \frac74 = 2⁠. Here sin⁡θ=±154\sin\theta = \pm\frac{\sqrt{15}}{4} and sin⁡2θ=±158\sin 2\theta = \pm\frac{\sqrt{15}}{8}⁠, so the point is (98, ±158)\big(\frac98,\ \pm\frac{\sqrt{15}}{8}\big)⁠.

    At all of them xx momentarily stops changing while yy keeps changing, so the point moves straight up or down: the tangent is vertical, and a vertical line has no slope. So dydx\frac{dy}{dx} does not exist there; the exclusions are genuine, not just a gap in the method.

    In fact the two rates are never zero together: squaring and adding,

    (dxdθ)2+(dydθ)2=5−4(cos⁡2θcos⁡θ+sin⁡2θsin⁡θ)=5−4cos⁡θ≥1,\begin{aligned} &\Big(\tfrac{dx}{d\theta}\Big)^2 + \Big(\tfrac{dy}{d\theta}\Big)^2 \\ &= 5 - 4(\cos 2\theta\cos\theta + \sin 2\theta\sin\theta) \\ &= 5 - 4\cos\theta \geq 1, \end{aligned}

    using sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1 twice and cos⁡(A−B)=cos⁡Acos⁡B+sin⁡Asin⁡B\cos(A - B) = \cos A\cos B + \sin A\sin B with A=2θA = 2\theta⁠, B=θB = \theta⁠. So the moving point never stops, and the curve has no sharp tips.

    x y −2 −1 1 −1 1 θ = π/2 θ = 0 θ = π cos θ = 1/4 the curve, θ from 0 to 2π θ = π/2: slope (0 + 2)/(0 − 1) = −2 dx/dθ = 0, dy/dθ ≠ 0: vertical tangents
    The curve for θ\theta from 00 to 2π2\pi (equal scales; it repeats after that). The tangent is vertical at (0,0)(0, 0)⁠, (−2,0)(-2, 0) and (98,±158)\big(\frac98, \pm\frac{\sqrt{15}}{8}\big)⁠. At θ=π2\theta = \frac{\pi}{2}⁠, the point (1,1)(1, 1)⁠, the slope is 0−2(−1)2⋅0−1=−2\frac{0 - 2(-1)}{2\cdot 0 - 1} = -2⁠.

    The curve crosses itself at (1,0)(1, 0)⁠, which it passes at θ=π3\theta = \frac{\pi}{3} and at θ=5π3\theta = \frac{5\pi}{3}⁠. The formula gives the slope 3\sqrt3 at θ=π3\theta = \frac{\pi}{3} and −3-\sqrt3 at θ=5π3\theta = \frac{5\pi}{3}⁠: the two passes go through that point in different directions. This is why a parametric dydx\frac{dy}{dx} is written in terms of the parameter rather than the point.

    Working out the excluded points on the picture shows that each one is a place where the curve runs straight up or down. The crossing point is a nice reminder that a parametric curve can visit the same point twice with two different tangents.
    A vertical line has no slope. Basics: slope at a point
Result dydx=cos⁡θ−2cos⁡2θ2sin⁡2θ−sin⁡θ,\frac{dy}{dx} = \frac{\cos\theta - 2\cos 2\theta}{2\sin 2\theta - \sin\theta},

for every θ\theta with sin⁡θ≠0\sin\theta \neq 0 and cos⁡θ≠14\cos\theta \neq \frac14⁠. At the excluded values the tangent is vertical. (Textbook answer: cos⁡θ−2cos⁡2θ2sin⁡2θ−sin⁡θ\frac{\cos\theta - 2\cos 2\theta}{2\sin 2\theta - \sin\theta}⁠, the same.)

Check it with numbers

A short chord. At θ=1\theta = 1 the point is (0.9564491, −0.0678264)(0.9564491,\ -0.0678264) and the formula gives

cos⁡1−2cos⁡22sin⁡2−sin⁡1≈1.4047308.\frac{\cos 1 - 2\cos 2}{2\sin 2 - \sin 1} \approx 1.4047308.

The points at θ=0.999\theta = 0.999 and θ=1.001\theta = 1.001 are (0.955470917, −0.069197639)(0.955470917,\ -0.069197639) and (0.957425163, −0.066452449)(0.957425163,\ -0.066452449)⁠, so

ΔyΔx=0.0027451910.001954246≈1.40473.\frac{\Delta y}{\Delta x} = \frac{0.002745191}{0.001954246} \approx 1.40473.

At θ=π2\theta = \frac{\pi}{2}⁠. cos⁡π2=0\cos\frac{\pi}{2} = 0⁠, cos⁡π=−1\cos\pi = -1⁠, sin⁡π=0\sin\pi = 0⁠, sin⁡π2=1\sin\frac{\pi}{2} = 1⁠: slope 0+20−1=−2\frac{0 + 2}{0 - 1} = -2⁠, as in the figure.

Common mistakes
  1. Forgetting the chain-rule factor 2. ddθcos⁡2θ=−2sin⁡2θ\frac{d}{d\theta}\cos 2\theta = -2\sin 2\theta and ddθsin⁡2θ=2cos⁡2θ\frac{d}{d\theta}\sin 2\theta = 2\cos 2\theta⁠.
  2. Sign errors in dxdθ\frac{dx}{d\theta}⁠. −cos⁡2θ-\cos 2\theta differentiates to +2sin⁡2θ+2\sin 2\theta⁠, and cos⁡θ\cos\theta to −sin⁡θ-\sin\theta⁠.
  3. Finding only part of the excluded set. dxdθ=sin⁡θ(4cos⁡θ−1)\frac{dx}{d\theta} = \sin\theta(4\cos\theta - 1) is zero at θ=nπ\theta = n\pi and where cos⁡θ=14\cos\theta = \frac14⁠.
  4. Cancelling terms instead of factors. In the answer nothing cancels: only a common factor of the whole top and the whole bottom may be cancelled, never single terms such as the 2s.
What to take away
  1. Differentiate term by term, with the chain rule on every multiple angle.
  2. To find where dxdθ=0\frac{dx}{d\theta} = 0⁠, rewrite in a single angle and factorise.
  3. Where dxdθ=0\frac{dx}{d\theta} = 0 but dydθ≠0\frac{dy}{d\theta} \neq 0⁠, the tangent is vertical; a curve that crosses itself can have two different slopes at one point.

Every fact used, and where it comes from

FactUsed inSource
ddθsin⁡θ=cos⁡θ\frac{d}{d\theta}\sin\theta = \cos\theta⁠, ddθcos⁡θ=−sin⁡θ\frac{d}{d\theta}\cos\theta = -\sin\theta⁠; difference ruleSteps 1, 2Table 5.3, Section 5.3 (Basics: derivative rules)
Chain ruleSteps 1, 2Theorem 4, Section 5.3.1 (Lesson: chain rule)
sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta⁠, cos⁡2θ=2cos⁡2θ−1\cos 2\theta = 2\cos^2\theta - 1Steps 3, 4, 5Class XI, double-angle formulas (Basics: trigonometric identities)
cos⁡θ=c  ⟺  θ=2nπ±cos⁡−1c\cos\theta = c \iff \theta = 2n\pi \pm \cos^{-1}c⁠; principal value of cos⁡−1\cos^{-1} in [0,π][0, \pi]Step 3Class XI, Trigonometric Functions; Chapter 2, Section 2.2
dydx=dy/dθdx/dθ\frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta}⁠, dxdθ≠0\frac{dx}{d\theta} \neq 0Steps 3, 4Section 5.6 (Lesson: parametric differentiation)
cos⁡(A−B)=cos⁡Acos⁡B+sin⁡Asin⁡B\cos(A - B) = \cos A\cos B + \sin A\sin BStep 5Class XI, Trigonometric Functions
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 →