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

Example 38: y=sin⁡−1xy=\sin^{-1}x satisfies (1−x2)y′′−xy′=0(1-x^2)y''-xy'=0

ExamplesSecond order derivative · Section 5.7
The question

If y=sin⁡−1xy = \sin^{-1}x⁠, show that (1−x2)d2ydx2−xdydx=0(1 - x^2)\dfrac{d^2y}{dx^2} - x\dfrac{dy}{dx} = 0⁠.

Exam answer

Here y=sin⁡−1xy = \sin^{-1}x⁠, −1<x<1-1 < x < 1⁠.

dydx=11−x2\frac{dy}{dx} = \frac{1}{\sqrt{1 - x^2}} ⇒ 1−x2 dydx=1\Rightarrow\ \sqrt{1 - x^2}\,\frac{dy}{dx} = 1

Differentiating both sides w.r.t. xx (product rule),

1−x2 d2ydx2+dydx⋅−x1−x2=0\begin{aligned} &\sqrt{1 - x^2}\,\frac{d^2y}{dx^2} \\ &\quad + \frac{dy}{dx}\cdot\frac{-x}{\sqrt{1 - x^2}} = 0 \end{aligned}

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

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

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

The one idea this problem is built on

Differentiating 11−x2\frac{1}{\sqrt{1-x^2}} directly is messy. Instead, first rewrite the first derivative without a fraction,

1−x2 dydx=1,\sqrt{1-x^2}\,\frac{dy}{dx} = 1,

and differentiate this equation with the product rule. The result rearranges straight into the required relation.

Given, to show, and the plan
Given
y=sin⁡−1xy = \sin^{-1}x⁠. It is defined for −1≤x≤1-1 \le x \le 1⁠, but its derivative exists only for −1<x<1-1 \lt x \lt 1 (Example 24), so we work on the open interval (−1,1)(-1, 1)⁠.
To show
(1−x2)d2ydx2−xdydx=0(1 - x^2)\dfrac{d^2y}{dx^2} - x\dfrac{dy}{dx} = 0 for every xx in (−1,1)(-1, 1)⁠.
Plan
Write dydx\frac{dy}{dx}⁠, clear the square root, differentiate both sides (product rule and chain rule), and multiply through by 1−x2\sqrt{1-x^2}⁠. Then repeat with the book's alternative (square first), and confirm by computing d2ydx2\frac{d^2y}{dx^2} directly.

Basics you need

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

For −1<x<1-1 \lt x \lt 1⁠, ddxsin⁡−1x=11−x2\dfrac{d}{dx}\sin^{-1}x = \dfrac{1}{\sqrt{1-x^2}} (Example 24 and the table after it, Section 5.3.3). At x=±1x = \pm 1 the denominator is 0 and there is no derivative. Lesson: derivatives of inverse trig functions

2Product rule

ddx(uv)=u dvdx+v dudx\frac{d}{dx}(uv) = u\,\frac{dv}{dx} + v\,\frac{du}{dx} (Section 5.3). Basics: derivative rules

3Derivative of 1−x2\sqrt{1-x^2}

Chain rule with outer function u\sqrt{u} (derivative 12u\frac{1}{2\sqrt u}⁠) and inner function u=1−x2u = 1 - x^2 (derivative −2x-2x⁠):

ddx1−x2=−2x21−x2=−x1−x2,\begin{aligned} \frac{d}{dx}\sqrt{1-x^2} &= \frac{-2x}{2\sqrt{1-x^2}} \\ &= \frac{-x}{\sqrt{1-x^2}}, \end{aligned}

valid for −1<x<1-1 \lt x \lt 1⁠. Lesson: chain rule

4Second order derivative (Section 5.7)

d2ydx2=ddx(dydx)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right)⁠, also written y2y_2⁠, with y1=dydxy_1 = \frac{dy}{dx}⁠. Lesson: second order derivative

Solution

  1. First derivative, and clear the fraction

    For −1<x<1-1 \lt x \lt 1⁠, by Basic 1,

    dydx=11−x2,\frac{dy}{dx} = \frac{1}{\sqrt{1-x^2}},

    so, multiplying both sides by 1−x2\sqrt{1-x^2}⁠,

    1−x2 dydx=1.\sqrt{1-x^2}\,\frac{dy}{dx} = 1.
    Multiplying by 1−x2\sqrt{1-x^2} (which is positive on (−1,1)(-1,1)⁠) removes the fraction. Differentiating a product is easier than differentiating a quotient containing a square root, and the right side becomes the constant 1, whose derivative is 0.
    On (−1,1)(-1, 1)⁠, 1−x2>01 - x^2 \gt 0⁠, so 1−x2>0\sqrt{1-x^2} \gt 0⁠. Lesson: derivatives of inverse trig functions
  2. Differentiate both sides with respect to xx

    The left side is a product u vu\,v with u=1−x2u = \sqrt{1-x^2} and v=dydxv = \frac{dy}{dx}⁠. By the product rule (Basic 2):

    1−x2 d2ydx2+dydx⋅ddx1−x2=0.\sqrt{1-x^2}\,\frac{d^2y}{dx^2} + \frac{dy}{dx}\cdot\frac{d}{dx}\sqrt{1-x^2} = 0.
    If two expressions are equal for every xx in an interval, their derivatives are equal too. The derivative of v=dydxv = \frac{dy}{dx} is, by definition, d2ydx2\frac{d^2y}{dx^2} (Basic 4). The right side, 1, has derivative 0.
    Product rule (Section 5.3). Basics: derivative rules
  3. Differentiate the square root

    By Basic 3, ddx1−x2=−x1−x2\frac{d}{dx}\sqrt{1-x^2} = \frac{-x}{\sqrt{1-x^2}}⁠. Substituting into Step 2:

    1−x2 d2ydx2−x1−x2 dydx=0.\sqrt{1-x^2}\,\frac{d^2y}{dx^2} - \frac{x}{\sqrt{1-x^2}}\,\frac{dy}{dx} = 0.
    This is the chain rule: the derivative of the outer square root, 121−x2\frac{1}{2\sqrt{1-x^2}}⁠, times the derivative of the inside, −2x-2x⁠. The 2s cancel, as in the book's line with 2x21−x2\frac{2x}{2\sqrt{1-x^2}}⁠.
    Chain rule, Theorem 4 (Section 5.3.1). Lesson: chain rule
  4. Multiply through by 1−x2\sqrt{1-x^2}

    Multiply every term by 1−x2\sqrt{1-x^2}⁠, using 1−x2⋅1−x2=1−x2\sqrt{1-x^2}\cdot\sqrt{1-x^2} = 1 - x^2⁠:

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

    This is the required result, for every xx in (−1,1)(-1, 1)⁠.

    The target has 1−x21 - x^2 in front of d2ydx2\frac{d^2y}{dx^2} and no fractions. Multiplying by the positive number 1−x2\sqrt{1-x^2} achieves exactly this, and since it is not zero it does not change which equations are true.
    (p)2=p\left(\sqrt{p}\right)^2 = p for p≥0p \ge 0⁠.
  5. The book's alternative: square first

    Write y1=dydxy_1 = \frac{dy}{dx}⁠, y2=d2ydx2y_2 = \frac{d^2y}{dx^2}⁠. Squaring 1−x2 y1=1\sqrt{1-x^2}\,y_1 = 1 gives

    (1−x2) y12=1.(1-x^2)\,y_1^2 = 1.

    Differentiate with the product rule, using ddx(y12)=2y1y2\frac{d}{dx}(y_1^2) = 2y_1y_2 (chain rule):

    (1−x2)⋅2y1y2+y12 (0−2x)=0.(1-x^2)\cdot 2y_1y_2 + y_1^2\,(0 - 2x) = 0.

    Divide by 2y12y_1⁠, which is allowed because y1=11−x2>0y_1 = \frac{1}{\sqrt{1-x^2}} \gt 0⁠:

    (1−x2) y2−x y1=0.(1-x^2)\,y_2 - x\,y_1 = 0.
    Squaring removes the square root completely, so no chain rule on 1−x2\sqrt{1-x^2} is needed. The price is a division by 2y12y_1 at the end, which the book does not comment on; it is valid because y1y_1 is never zero on (−1,1)(-1,1)⁠.
    ddx(1−x2)=0−2x\frac{d}{dx}(1 - x^2) = 0 - 2x⁠. Basics: derivative rules
  6. Direct check: compute d2ydx2\frac{d^2y}{dx^2} itself

    Write dydx=(1−x2)−12\frac{dy}{dx} = (1-x^2)^{-\frac12} and use the chain rule:

    d2ydx2=−12(1−x2)−32⋅(−2x)=x(1−x2)32.\begin{aligned} \frac{d^2y}{dx^2} &= -\frac12(1-x^2)^{-\frac32}\cdot(-2x) \\ &= \frac{x}{(1-x^2)^{\frac32}}. \end{aligned}

    Then

    (1−x2)⋅x(1−x2)32=x1−x2=x dydx,(1-x^2)\cdot\frac{x}{(1-x^2)^{\frac32}} = \frac{x}{\sqrt{1-x^2}} = x\,\frac{dy}{dx},

    so (1−x2)d2ydx2−xdydx=0(1-x^2)\frac{d^2y}{dx^2} - x\frac{dy}{dx} = 0 once more.

    This brute-force route needs fractional powers but confirms the result independently. It also gives the actual second derivative, which the numerical check below uses.
    Power rule with n=−12n = -\frac12⁠, and (1−x2)1(1−x2)3/2=(1−x2)−12\frac{(1-x^2)^{1}}{(1-x^2)^{3/2}} = (1-x^2)^{-\frac12}⁠.
Result

For y=sin⁡−1xy = \sin^{-1}x and −1<x<1-1 \lt x \lt 1⁠: dydx=11−x2\dfrac{dy}{dx} = \dfrac{1}{\sqrt{1-x^2}}⁠, d2ydx2=x(1−x2)3/2\dfrac{d^2y}{dx^2} = \dfrac{x}{(1-x^2)^{3/2}}⁠, and

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

At x=±1x = \pm 1 the derivatives do not exist, so the relation is about the open interval (−1,1)(-1, 1)⁠.

Check it with numbers

Take x=0.5x = 0.5⁠, where y=sin⁡−10.5=π6≈0.5235988y = \sin^{-1}0.5 = \frac{\pi}{6} \approx 0.5235988⁠. Then dydx=10.75≈1.1547005\frac{dy}{dx} = \frac{1}{\sqrt{0.75}} \approx 1.1547005 and d2ydx2=0.50.753/2≈0.7698004\frac{d^2y}{dx^2} = \frac{0.5}{0.75^{3/2}} \approx 0.7698004⁠. So

(1−x2) y′′≈0.75×0.7698004≈0.5773503,x y′≈0.5×1.1547005≈0.5773503,\begin{aligned} (1 - x^2)\,y'' &\approx 0.75 \times 0.7698004 \\ &\approx 0.5773503, \\ x\,y' &\approx 0.5 \times 1.1547005 \\ &\approx 0.5773503, \end{aligned}

and the difference is 00 to seven decimal places.

From values of sin⁡−1\sin^{-1} alone, with h=0.001h = 0.001⁠: y(0.501)−y(0.499)0.002≈1.154701\frac{y(0.501) - y(0.499)}{0.002} \approx 1.154701 and the second difference y(0.501)−2y(0.5)+y(0.499)0.000001\frac{y(0.501) - 2y(0.5) + y(0.499)}{0.000001} is about 0.769800.76980⁠, matching both derivatives.

Common mistakes
  1. Forgetting the domain. dydx\frac{dy}{dx} and d2ydx2\frac{d^2y}{dx^2} exist only for −1<x<1-1 \lt x \lt 1⁠; the relation is not claimed at x=±1x = \pm 1⁠.
  2. Differentiating only one factor. ddx(1−x2 y1)\frac{d}{dx}\left(\sqrt{1-x^2}\,y_1\right) needs the product rule; writing just 1−x2 y2\sqrt{1-x^2}\,y_2 loses the −x1−x2y1-\frac{x}{\sqrt{1-x^2}}y_1 term.
  3. Missing the inner derivative of 1−x21-x^2⁠. ddx1−x2\frac{d}{dx}\sqrt{1-x^2} is −x1−x2\frac{-x}{\sqrt{1-x^2}}⁠, not 121−x2\frac{1}{2\sqrt{1-x^2}}⁠.
  4. Dividing by something that could be zero. In the alternative method, dividing by 2y12y_1 is fine only because y1>0y_1 \gt 0⁠. Say so.
What to take away
  1. Before differentiating a second time, rearrange dydx\frac{dy}{dx} into a product form without fractions or roots (here 1−x2 y1=1\sqrt{1-x^2}\,y_1 = 1⁠, or (1−x2)y12=1(1-x^2)y_1^2 = 1⁠).
  2. Then the product rule produces y2y_2 and y1y_1 together, which is exactly the shape of relations like (1−x2)y2−xy1=0(1-x^2)y_2 - xy_1 = 0⁠.
  3. The same trick (clear the fraction, then use the product rule) handles Exercise 5.7, Question 17, y=(tan⁡−1x)2y = (\tan^{-1}x)^2⁠, and Question 22 of the Miscellaneous Exercise on Chapter 5, y=eacos⁡−1xy = e^{a\cos^{-1}x}⁠.

Every fact used, and where it comes from

FactUsed inSource
ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1-x^2}}⁠, −1<x<1-1 \lt x \lt 1Steps 1, 5, 6Example 24 and table, Section 5.3.3 (Lesson: derivatives of inverse trig functions)
Product ruleSteps 2, 5Algebra of derivatives, Section 5.3
Chain rule; ddx1−x2=−x1−x2\frac{d}{dx}\sqrt{1-x^2} = \frac{-x}{\sqrt{1-x^2}}Steps 3, 5, 6Theorem 4, Section 5.3.1 (Lesson: chain rule)
d2ydx2=ddx(dydx)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right)⁠; notation y1y_1⁠, y2y_2Steps 2, 5Section 5.7 (Lesson: second order derivative)
ddxxn=n xn−1\frac{d}{dx}x^n = n\,x^{n-1} (here n=−12n = -\frac12⁠)Step 6Table 5.3, Section 5.3
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 →