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

Exercise 5.6 · Q9: dydx\frac{dy}{dx} when x=asec⁡θx=a\sec\theta⁠, y=btan⁡θy=b\tan\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}⁠.

9. x=asec⁡θx = a\sec\theta⁠, y=btan⁡θy = b\tan\theta

Exam answer dxdθ=asec⁡θtan⁡θ,dydθ=bsec⁡2θ\begin{aligned} \frac{dx}{d\theta} &= a\sec\theta\tan\theta, \\ \frac{dy}{d\theta} &= b\sec^2\theta \end{aligned} dydx=dy/dθdx/dθ=bsec⁡2θasec⁡θtan⁡θ=ba⋅sec⁡θtan⁡θ=ba⋅1cos⁡θ⋅cos⁡θsin⁡θ\begin{aligned} \frac{dy}{dx} &= \frac{dy/d\theta}{dx/d\theta} = \frac{b\sec^2\theta}{a\sec\theta\tan\theta} \\ &= \frac{b}{a}\cdot\frac{\sec\theta}{\tan\theta} = \frac{b}{a}\cdot\frac{1}{\cos\theta}\cdot\frac{\cos\theta}{\sin\theta} \end{aligned}

∴ dydx=bacosec⁡θ\therefore\ \dfrac{dy}{dx} = \dfrac{b}{a}\operatorname{cosec}\theta (θ≠nπ2)(\theta \ne \dfrac{n\pi}{2})

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

The one idea this problem is built on

Divide the two θ\theta-rates:

dydx=bsec⁡2θasec⁡θtan⁡θ=ba⋅sec⁡θtan⁡θ,\frac{dy}{dx} = \frac{b\sec^2\theta}{a\sec\theta\tan\theta} = \frac{b}{a}\cdot\frac{\sec\theta}{\tan\theta},

wherever dxdθ≠0\frac{dx}{d\theta} \neq 0⁠. Writing sec⁡\sec and tan⁡\tan in sines and cosines turns sec⁡θtan⁡θ\frac{\sec\theta}{\tan\theta} into 1sin⁡θ=cosec⁡θ\frac{1}{\sin\theta} = \operatorname{cosec}\theta⁠.

Given, to find, and the plan
Given
x=asec⁡θx = a\sec\theta⁠, y=btan⁡θy = b\tan\theta⁠, with a≠0a \neq 0 and bb constants. sec⁡θ=1cos⁡θ\sec\theta = \frac{1}{\cos\theta} and tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta} need cos⁡θ≠0\cos\theta \neq 0⁠, so θ≠(2n+1)π2\theta \neq (2n+1)\frac{\pi}{2}⁠.
To find
dydx\dfrac{dy}{dx}⁠, without eliminating θ\theta⁠.
Plan
Differentiate xx and yy with respect to θ\theta⁠; find where dxdθ=0\frac{dx}{d\theta} = 0⁠; divide; simplify to cosec⁡θ\operatorname{cosec}\theta⁠; picture the curve.

Basics you need

1Derivatives of sec⁡\sec and tan⁡\tan

ddθtan⁡θ=sec⁡2θ\frac{d}{d\theta}\tan\theta = \sec^2\theta (Table 5.3) and ddθsec⁡θ=sec⁡θtan⁡θ\frac{d}{d\theta}\sec\theta = \sec\theta\tan\theta (Class XI; the book uses it in Example 35). Basics: derivative rules

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

3Sec, tan and cosec in sines and cosines

sec⁡θ=1cos⁡θ\sec\theta = \frac{1}{\cos\theta}⁠, tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta}⁠, cosec⁡θ=1sin⁡θ\operatorname{cosec}\theta = \frac{1}{\sin\theta}⁠. Also sec⁡2θ−tan⁡2θ=1\sec^2\theta - \tan^2\theta = 1 (used only in the check). Basics: trigonometric identities

Solution

  1. Differentiate xx with respect to θ\theta

    dxdθ=asec⁡θtan⁡θ.\frac{dx}{d\theta} = a\sec\theta\tan\theta.
    The constant aa stays in front, and sec⁡θ\sec\theta differentiates to sec⁡θtan⁡θ\sec\theta\tan\theta⁠. (Quick derivation: sec⁡θ=(cos⁡θ)−1\sec\theta = (\cos\theta)^{-1}⁠, so by the chain rule its derivative is −(cos⁡θ)−2(−sin⁡θ)=1cos⁡θ⋅sin⁡θcos⁡θ-(\cos\theta)^{-2}(-\sin\theta) = \frac{1}{\cos\theta}\cdot\frac{\sin\theta}{\cos\theta}⁠.)
    Basic 1; chain rule (Theorem 4, Section 5.3.1). Lesson: chain rule
  2. Differentiate yy with respect to θ\theta

    dydθ=bsec⁡2θ.\frac{dy}{d\theta} = b\sec^2\theta.
    The other rate needed by the formula, straight from Table 5.3.
    ddθtan⁡θ=sec⁡2θ\frac{d}{d\theta}\tan\theta = \sec^2\theta (Table 5.3).
  3. Find where the formula may be used

    We need asec⁡θtan⁡θ≠0a\sec\theta\tan\theta \neq 0⁠. Here a≠0a \neq 0⁠, and sec⁡θ=1cos⁡θ\sec\theta = \frac{1}{\cos\theta} is never zero, so the condition is

    tan⁡θ≠0  ⟺  sin⁡θ≠0  ⟺  θ≠nπ.\tan\theta \neq 0 \iff \sin\theta \neq 0 \iff \theta \neq n\pi.

    Together with cos⁡θ≠0\cos\theta \neq 0 from the given equations, θ\theta must not be any multiple of π2\frac{\pi}{2}⁠.

    We are about to divide by dxdθ\frac{dx}{d\theta}⁠, so its zeros come first. A fraction 1cos⁡θ\frac{1}{\cos\theta} can be large but never zero, so the only possible zeros come from tan⁡θ\tan\theta⁠.
    tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta} is zero exactly when sin⁡θ=0\sin\theta = 0⁠.
  4. Divide

    For θ\theta not a multiple of π2\frac{\pi}{2}⁠,

    dydx=dy/dθdx/dθ=bsec⁡2θasec⁡θtan⁡θ=ba⋅sec⁡θtan⁡θ.\begin{aligned} \frac{dy}{dx} &= \frac{dy/d\theta}{dx/d\theta} = \frac{b\sec^2\theta}{a\sec\theta\tan\theta} \\ &= \frac{b}{a}\cdot\frac{\sec\theta}{\tan\theta}. \end{aligned}
    The yy-rate goes on top. One factor sec⁡θ\sec\theta cancels (it is never zero).
    Parametric formula, Section 5.6. Lesson: parametric differentiation
  5. Simplify to cosec⁡θ\operatorname{cosec}\theta

    sec⁡θtan⁡θ=1cos⁡θ⋅cos⁡θsin⁡θ=1sin⁡θ=cosec⁡θ.\frac{\sec\theta}{\tan\theta} = \frac{1}{\cos\theta}\cdot\frac{\cos\theta}{\sin\theta} = \frac{1}{\sin\theta} = \operatorname{cosec}\theta.

    Hence

    dydx=bacosec⁡θ.\frac{dy}{dx} = \frac{b}{a}\operatorname{cosec}\theta.
    Dividing by tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta} means multiplying by cos⁡θsin⁡θ\frac{\cos\theta}{\sin\theta}⁠; the cos⁡θ\cos\theta (nonzero) cancels. This is the form of the book's answer.
    Basic 3: write everything in sines and cosines. Basics: trigonometric identities
  6. Picture the curve and the excluded points

    At θ=nπ\theta = n\pi⁠, tan⁡θ=0\tan\theta = 0 and sec⁡θ=±1\sec\theta = \pm1⁠, so the point is (±a, 0)(\pm a,\ 0)⁠. There dxdθ=0\frac{dx}{d\theta} = 0 but dydθ=bsec⁡2θ=b\frac{dy}{d\theta} = b\sec^2\theta = b⁠, which is not zero if b≠0b \neq 0⁠: the point moves vertically (up if b>0b \gt 0⁠, down if b<0b \lt 0⁠), the tangent is vertical, and dydx\frac{dy}{dx} does not exist. Indeed ∣cosec⁡θ∣|\operatorname{cosec}\theta| grows without bound as θ\theta approaches nπn\pi⁠.

    x y O −4 −a a 4 −2 2 θ = π/4 θ = 0 θ = π θ = π/4: slope (b/a) cosec(π/4) = √2/2 θ = nπ: dx/dθ = 0, vertical tangents at (±a, 0) asymptotes y = ±(b/a)x
    The curve for a=2a = 2⁠, b=1b = 1 (equal scales): −π2<θ<π2-\frac{\pi}{2} \lt \theta \lt \frac{\pi}{2} gives the right branch, π2<θ<3π2\frac{\pi}{2} \lt \theta \lt \frac{3\pi}{2} the left one. At θ=π4\theta = \frac{\pi}{4}⁠, the point (22,1)(2\sqrt2, 1)⁠, the slope is 12cosec⁡π4=22\frac12\operatorname{cosec}\frac{\pi}{4} = \frac{\sqrt2}{2}⁠.
    The two branches and the vertical tangents at (±a,0)(\pm a, 0) are the familiar features of a hyperbola, as the check below confirms. Far from the centre, ∣cosec⁡θ∣|\operatorname{cosec}\theta| approaches 11 (as θ\theta approaches ±π2\pm\frac{\pi}{2}⁠), so the slope approaches ±ba\pm\frac{b}{a}⁠, the slopes of the dashed asymptotes.
    A vertical line has no slope. Basics: slope at a point
Result dydx=ba⋅sec⁡θtan⁡θ=bacosec⁡θ,\frac{dy}{dx} = \frac{b}{a}\cdot\frac{\sec\theta}{\tan\theta} = \frac{b}{a}\operatorname{cosec}\theta,

for every θ\theta that is not a multiple of π2\frac{\pi}{2}⁠. (Textbook answer: bacosec⁡θ\frac{b}{a}\operatorname{cosec}\theta⁠.)

Check it with numbers

A short chord. Take a=2a = 2⁠, b=1b = 1⁠, θ=1\theta = 1⁠: the point is (3.7016314, 1.5574077)(3.7016314,\ 1.5574077) and the predicted slope is 12cosec⁡1≈0.5941976\frac12\operatorname{cosec}1 \approx 0.5941976⁠. The points at θ=0.999\theta = 0.999 and θ=1.001\theta = 1.001 are (3.695877296, 1.553987531)(3.695877296,\ 1.553987531) and (3.707407233, 1.560838588)(3.707407233,\ 1.560838588)⁠, so

ΔyΔx=0.0068510570.011529936≈0.59420.\frac{\Delta y}{\Delta x} = \frac{0.006851057}{0.011529936} \approx 0.59420.

Eliminating θ\theta⁠, only as a check. sec⁡2θ−tan⁡2θ=1\sec^2\theta - \tan^2\theta = 1 gives x2a2−y2b2=1\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1⁠. Differentiating implicitly, 2xa2−2yb2dydx=0\frac{2x}{a^2} - \frac{2y}{b^2}\frac{dy}{dx} = 0⁠, so for y≠0y \neq 0

dydx=b2xa2y=b2asec⁡θa2btan⁡θ=ba⋅sec⁡θtan⁡θ.\frac{dy}{dx} = \frac{b^2x}{a^2y} = \frac{b^2a\sec\theta}{a^2b\tan\theta} = \frac{b}{a}\cdot\frac{\sec\theta}{\tan\theta}.

The same answer (here b≠0b \neq 0⁠; y≠0y \neq 0 is θ≠nπ\theta \neq n\pi⁠).

Common mistakes
  1. Mixing up the two derivatives. ddθsec⁡θ=sec⁡θtan⁡θ\frac{d}{d\theta}\sec\theta = \sec\theta\tan\theta and ddθtan⁡θ=sec⁡2θ\frac{d}{d\theta}\tan\theta = \sec^2\theta⁠, not the other way round.
  2. Dividing the wrong way round. asec⁡θtan⁡θbsec⁡2θ=absin⁡θ\frac{a\sec\theta\tan\theta}{b\sec^2\theta} = \frac{a}{b}\sin\theta is dxdy\frac{dx}{dy}⁠.
  3. Stopping at basec⁡θtan⁡θ\frac{b}{a}\frac{\sec\theta}{\tan\theta}⁠. Correct, but simplify: it equals bacosec⁡θ\frac{b}{a}\operatorname{cosec}\theta⁠.
  4. Forgetting the conditions. cos⁡θ≠0\cos\theta \neq 0 for the curve, sin⁡θ≠0\sin\theta \neq 0 for the formula.
What to take away
  1. Differentiate both coordinates with respect to the parameter, then divide.
  2. To simplify a ratio of sec⁡\sec⁠, tan⁡\tan⁠, cot⁡\cot⁠, cosec⁡\operatorname{cosec}⁠, write everything in sines and cosines.
  3. Where dxdθ=0\frac{dx}{d\theta} = 0 but dydθ≠0\frac{dy}{d\theta} \neq 0⁠, the tangent is vertical: here, at the vertices (±a,0)(\pm a, 0) of the hyperbola.

Every fact used, and where it comes from

FactUsed inSource
ddθtan⁡θ=sec⁡2θ\frac{d}{d\theta}\tan\theta = \sec^2\thetaStep 2Table 5.3 (Basics: derivative rules)
ddθsec⁡θ=sec⁡θtan⁡θ\frac{d}{d\theta}\sec\theta = \sec\theta\tan\thetaStep 1Class XI, Limits and Derivatives; used in Example 35
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)
sec⁡θ=1cos⁡θ\sec\theta = \frac{1}{\cos\theta}⁠, tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta}⁠, cosec⁡θ=1sin⁡θ\operatorname{cosec}\theta = \frac{1}{\sin\theta}Steps 3, 5Class XI, Trigonometric Functions (Basics: trigonometric identities)
sec⁡2θ−tan⁡2θ=1\sec^2\theta - \tan^2\theta = 1⁠; implicit differentiationCheckClass XI; Section 5.3.2 (Lesson: implicit differentiation)
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 →