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

Miscellaneous · Q22: y=eacos⁡−1xy=e^{a\cos^{-1}x} satisfies (1−x2)y′′−xy′−a2y=0(1-x^2)y''-xy'-a^2y=0

Miscellaneous ExerciseSecond order derivative · Miscellaneous Exercise
The question

If y=eacos⁡−1xy = e^{a\cos^{-1}x}⁠, −1≤x≤1-1 \le x \le 1⁠, show that

(1−x2)d2ydx2−xdydx−a2y=0.(1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} - a^2y = 0.
Exam answer

Here y=eacos⁡−1xy = e^{a\cos^{-1}x}⁠, −1<x<1-1 \lt x \lt 1⁠. By the chain rule,

dydx=eacos⁡−1x⋅−a1−x2\frac{dy}{dx} = e^{a\cos^{-1}x}\cdot\frac{-a}{\sqrt{1 - x^2}} ⇒ 1−x2 dydx=−ay\Rightarrow\ \sqrt{1 - x^2}\,\frac{dy}{dx} = -ay

Differentiating again w.r.t. xx (product rule on the left),

1−x2 d2ydx2−x1−x2dydx=−adydx\begin{aligned} &\sqrt{1 - x^2}\,\frac{d^2y}{dx^2} - \frac{x}{\sqrt{1 - x^2}}\frac{dy}{dx} \\ &= -a\frac{dy}{dx} \end{aligned}

Multiplying by 1−x2\sqrt{1 - x^2}⁠,

(1−x2)d2ydx2−xdydx=−a1−x2 dydx=−a(−ay)=a2y\begin{aligned} &(1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} \\ &= -a\sqrt{1 - x^2}\,\frac{dy}{dx} \\ &= -a(-ay) = a^2y \end{aligned}

∴ (1−x2)d2ydx2−xdydx−a2y=0\therefore\ (1 - x^2)\dfrac{d^2y}{dx^2} - x\dfrac{dy}{dx} - a^2y = 0⁠. Hence proved.

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

The one idea this problem is built on

The first derivative is yy times −a1−x2\frac{-a}{\sqrt{1-x^2}}⁠. Instead of differentiating that fraction directly, first clear the root: 1−x2 y′=−ay\sqrt{1-x^2}\,y' = -ay⁠. Differentiating this simpler equation with the product rule, and multiplying through by 1−x2\sqrt{1-x^2} once more, gives the required relation with no roots left. This is the method of Example 38.

Given, to show, and the plan
Given
y=eacos⁡−1xy = e^{a\cos^{-1}x}⁠, aa a constant, −1≤x≤1-1 \le x \le 1⁠.
To show
(1−x2)y′′−xy′−a2y=0(1 - x^2)y'' - xy' - a^2y = 0⁠.
Plan
(1) Where do the derivatives exist? (2) y′y' by the chain rule. (3) Rewrite as 1−x2 y′=−ay\sqrt{1-x^2}\,y' = -ay⁠. (4) Differentiate again with the product rule. (5) Multiply by 1−x2\sqrt{1-x^2} and use step (3).

Basics you need

1Derivative of cos⁡−1x\cos^{-1}x

ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = -\frac{1}{\sqrt{1-x^2}}⁠, for −1<x<1-1 < x < 1 only (table after Example 24, Section 5.3.3). Lesson: derivatives of inverse trig functions

2Derivative of eue^u and the chain rule

ddxeu=eududx\frac{d}{dx}e^{u} = e^{u}\frac{du}{dx} (Theorem 5, Section 5.4, with the chain rule, Theorem 4). Basics: exponentials and logarithms

3Product rule

(uv)′=u′v+uv′(uv)' = u'v + uv' (Section 5.3, rule (2)). Basics: derivative rules

4Second order derivative

y′′=ddx(y′)y'' = \frac{d}{dx}(y') (Section 5.7). Lesson: second order derivative

Solution

  1. Where the derivatives exist

    yy is defined for −1≤x≤1-1 \le x \le 1⁠, but cos⁡−1x\cos^{-1}x is differentiable only for −1<x<1-1 < x < 1⁠. So dydx\frac{dy}{dx} and d2ydx2\frac{d^2y}{dx^2}⁠, and hence the relation to be shown, make sense for −1<x<1-1 < x < 1⁠. We work there.

    At x=±1x = \pm 1 the formula for y′y' found below has 1−x2=0\sqrt{1-x^2} = 0 in the denominator, so it cannot be used there; the definition decides. At x=1x = 1⁠, y(1)=e0=1y(1) = e^0 = 1⁠. Put x=1−ux = 1 - u with small u>0u > 0 and θ=cos⁡−1(1−u)\theta = \cos^{-1}(1 - u)⁠, so θ>0\theta > 0⁠, θ→0\theta \to 0 as u→0+u \to 0^+ (cos⁡−1\cos^{-1} is continuous, as remarked in Section 5.3.3), and u=1−cos⁡θ=2sin⁡2θ2u = 1 - \cos\theta = 2\sin^2\frac{\theta}{2}⁠. For a≠0a \ne 0 the left-hand difference quotient is y(1−u)−y(1)−u=−a⋅eaθ−1aθ⋅θu,uθ=θ2(sin⁡(θ/2)θ/2)2→0.\begin{aligned} \frac{y(1-u) - y(1)}{-u} &= -a\cdot\frac{e^{a\theta} - 1}{a\theta}\cdot\frac{\theta}{u}, \\ \frac{u}{\theta} &= \frac{\theta}{2}\left(\frac{\sin(\theta/2)}{\theta/2}\right)^2 \to 0. \end{aligned} The middle factor tends to 1 (it is the difference quotient of exe^x at 0, and the derivative of exe^x at 0 is e0=1e^0 = 1⁠, Theorem 5), and sin⁡tt→1\frac{\sin t}{t} \to 1 (Class XI, Limits and Derivatives), so θu\frac{\theta}{u} grows without bound and so does the quotient: yy has no derivative at 1. With θ=π−φ\theta = \pi - \varphi and φ\varphi small, the same computation works at x=−1x = -1⁠. The book writes −1≤x≤1-1 \le x \le 1 for the function; the relation itself holds on the open interval. (For a=0a = 0⁠, y=1y = 1 and everything is trivially 0.)
    Domain of the derivative of cos⁡−1\cos^{-1}⁠: (−1,1)(-1, 1) (Section 5.3.3; Basic 1). Lesson: derivatives of inverse trig functions
  2. First derivative by the chain rule

    Outer function eue^u⁠, inner function u=acos⁡−1xu = a\cos^{-1}x with dudx=−a1−x2\frac{du}{dx} = -\frac{a}{\sqrt{1-x^2}}⁠:

    dydx=eacos⁡−1x⋅(−a1−x2)=−ay1−x2.\begin{aligned} \frac{dy}{dx} &= e^{a\cos^{-1}x}\cdot\left(-\frac{a}{\sqrt{1-x^2}}\right) \\ &= -\frac{ay}{\sqrt{1-x^2}}. \end{aligned}
    The derivative of eue^u with respect to uu is eue^u itself, which is yy⁠. Multiplying by the inner derivative gives the result. Writing it in terms of yy keeps the next steps short.
    ddxex=ex\frac{d}{dx}e^x = e^x (Theorem 5, Section 5.4); chain rule (Theorem 4); Basic 1. Lesson: chain rule
  3. Clear the square root

    Multiply both sides by 1−x2\sqrt{1-x^2} (positive for −1<x<1-1 < x < 1⁠):

    1−x2 dydx=−ay.(1)\sqrt{1-x^2}\,\frac{dy}{dx} = -ay. \qquad (1)
    Differentiating −ay1−x2-\frac{ay}{\sqrt{1-x^2}} directly would need the quotient rule and messy roots. Equation (1) has no fraction, so the product rule handles it cleanly. Example 38 uses the same idea.
    Multiplying both sides of an equation by the same non-zero quantity. Basics: solving for dy/dx
  4. Differentiate equation (1) with the product rule

    Left side: u=1−x2u = \sqrt{1-x^2} with u′=−2x21−x2=−x1−x2u' = \frac{-2x}{2\sqrt{1-x^2}} = -\frac{x}{\sqrt{1-x^2}}⁠, and v=y′v = y' with v′=y′′v' = y''⁠. Right side: −ay′-a y'⁠. So

    1−x2 d2ydx2−x1−x2 dydx=−adydx.\begin{aligned} & \sqrt{1-x^2}\,\frac{d^2y}{dx^2} - \frac{x}{\sqrt{1-x^2}}\,\frac{dy}{dx} \\ &= -a\frac{dy}{dx}. \end{aligned}
    Equation (1) holds for every xx in (−1,1)(-1, 1)⁠, so both sides are the same function and we may differentiate both. The derivative of 1−x2\sqrt{1-x^2} uses the chain rule with inner function 1−x21 - x^2⁠.
    Product rule (rule (2), Section 5.3); ddxw=12wdwdx\frac{d}{dx}\sqrt{w} = \frac{1}{2\sqrt w}\frac{dw}{dx}⁠; second order derivative (Section 5.7). Lesson: second order derivative
  5. Multiply by 1−x2\sqrt{1-x^2} and use (1) again

    Multiplying every term by 1−x2\sqrt{1-x^2}⁠:

    (1−x2)d2ydx2−xdydx=−a1−x2 dydx.(1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} = -a\sqrt{1-x^2}\,\frac{dy}{dx}.

    By (1), 1−x2 dydx=−ay\sqrt{1-x^2}\,\frac{dy}{dx} = -ay⁠, so the right side is −a(−ay)=a2y-a(-ay) = a^2y⁠:

    (1−x2)d2ydx2−xdydx=a2y,(1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} = a^2y, (1−x2)d2ydx2−xdydx−a2y=0.(1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} - a^2y = 0.
    Multiplying by 1−x2\sqrt{1-x^2} turns 1−x2⋅1−x2\sqrt{1-x^2}\cdot\sqrt{1-x^2} into 1−x21 - x^2 and removes the fraction. The leftover 1−x2 y′\sqrt{1-x^2}\,y' is exactly the left side of (1), which we replace by −ay-ay⁠. Two minus signs give +a2y+a^2y⁠.
    Substituting a known relation, equation (1). Basics: solving for dy/dx
Result

For −1<x<1-1 < x < 1 (where y′y' and y′′y'' exist), y=eacos⁡−1xy = e^{a\cos^{-1}x} satisfies

(1−x2)d2ydx2−xdydx−a2y=0,(1 - x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} - a^2y = 0,

as was to be shown. Along the way, dydx=−ay1−x2\dfrac{dy}{dx} = -\dfrac{ay}{\sqrt{1-x^2}}⁠.

Check it with numbers

Take a=2a = 2⁠, x=0.3x = 0.3⁠: cos⁡−10.3≈1.2661037\cos^{-1}0.3 \approx 1.2661037⁠, y=e2(1.2661037)≈12.5812467y = e^{2(1.2661037)} \approx 12.5812467⁠, y′=−2y0.91≈−26.3774602y' = -\frac{2y}{\sqrt{0.91}} \approx -26.3774602⁠, and a numerical second derivative gives y′′≈46.6063171y'' \approx 46.6063171⁠.

Then (1−0.09)y′′≈42.4117486(1 - 0.09)y'' \approx 42.4117486⁠, −xy′≈7.9132381-xy' \approx 7.9132381 and −a2y≈−50.3249867-a^2y \approx -50.3249867⁠. Sum: 42.4117486+7.913238142.4117486 + 7.9132381 −50.3249867=0.0000000- 50.3249867 = 0.0000000⁠. ✓

Common mistakes
  1. Sign of the derivative of cos⁡−1x\cos^{-1}x: it is −11−x2-\frac{1}{\sqrt{1-x^2}}⁠. With the wrong sign the final step gives −a2y-a^2y on the right.
  2. Forgetting the product rule in Step 4: 1−x2\sqrt{1-x^2} depends on xx⁠, so its derivative contributes the −xy′-xy' term.
  3. Claiming the relation at x=±1x = \pm 1⁠. The derivatives do not exist there (for a≠0a \ne 0⁠).
What to take away
  1. To get a second-derivative relation, first rearrange y′y' so that no fractions or roots remain, then differentiate.
  2. Reuse the first-derivative relation to eliminate leftover terms: the answer is usually built from yy⁠, y′y' and y′′y'' only.

Every fact used, and where it comes from

FactUsed inSource
ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = -\frac{1}{\sqrt{1-x^2}}⁠, −1<x<1-1 < x < 1Steps 1, 2Section 5.3.3, table after Example 24 (Lesson: derivatives of inverse trig functions)
lim⁡t→0sin⁡tt=1\lim_{t\to0}\frac{\sin t}{t} = 1⁠; cos⁡−1\cos^{-1} is continuousStep 1Class XI, Limits and Derivatives; remark at the start of Section 5.3.3
ddxex=ex\frac{d}{dx}e^x = e^xSteps 1, 2Theorem 5, Section 5.4 (Lesson: exponential and logarithmic functions)
Chain ruleSteps 2, 4Theorem 4, Section 5.3.1
Product ruleStep 4Rule (2), Section 5.3
Second order derivative; the same methodSteps 4, 5Section 5.7, Example 38 (Lesson: second order derivative)
Numerical valuesCheckRecomputed 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 →