Class 12 Maths, Worked in Full Past papersGet updates
Chapter 9 · Differential Equations

Exercise 9.3 · Q2: General solution of dydx=4−y2\frac{dy}{dx} = \sqrt{4 - y^2}⁠, −2<y<2-2 < y < 2

Exercise 9.3Variables separable · Section 9.4.1
The question

For each of the differential equations in Exercises 1 to 10, find the general solution:

2. dydx=4−y2\dfrac{dy}{dx} = \sqrt{4 - y^2}  (−2<y<2)(-2 < y < 2)

Exam answer

Since −2<y<2-2 < y < 2⁠, 4−y2≠0\sqrt{4 - y^2} \ne 0⁠. Separating the variables,

dy4−y2=dx\frac{dy}{\sqrt{4 - y^2}} = dx

Integrating both sides, using ∫dya2−y2=sin⁡−1ya\int\frac{dy}{\sqrt{a^2 - y^2}} = \sin^{-1}\frac{y}{a}⁠,

∫dy22−y2=∫dxsin⁡−1y2=x+Cy2=sin⁡(x+C)\begin{aligned} \int\frac{dy}{\sqrt{2^2 - y^2}} &= \int dx \\ \sin^{-1}\frac{y}{2} &= x + C \\ \frac{y}{2} &= \sin(x + C) \end{aligned}

∴\therefore y=2sin⁡(x+C)y = 2\sin(x + C) is the general solution.

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

The one idea this problem is built on

The slope depends on yy alone. Dividing by 4−y2\sqrt{4 - y^2}⁠, which the condition −2<y<2-2 < y < 2 keeps away from 0, separates the variables, and the left side is the standard sin⁡−1\sin^{-1} integral. Taking sine of both sides gives yy explicitly. Because sin⁡−1\sin^{-1} only returns angles between −π2-\frac{\pi}{2} and π2\frac{\pi}{2}⁠, each solution is the rising part of a sine curve.

Given, to find, and the plan
Given
dydx=4−y2\frac{dy}{dx} = \sqrt{4 - y^2}⁠, with −2<y<2-2 < y < 2⁠.
To find
The general solution, with one arbitrary constant.
Plan
(1) Recognise the separable form and check that we may divide by 4−y2\sqrt{4 - y^2}⁠. (2) Separate. (3) Integrate with the sin⁡−1\sin^{-1} formula, one constant. (4) Solve for yy and find where the formula holds. (5) Check by substituting back, and draw a few members of the family.

Basics you need

1Variables separable

If dydx=g(x) h(y)\frac{dy}{dx} = g(x)\,h(y) with h(y)≠0h(y) \ne 0⁠, then ∫dyh(y)=∫g(x) dx\int\frac{dy}{h(y)} = \int g(x)\,dx (Section 9.4.1). Lesson: separate, then integrate

2The sin⁡−1\sin^{-1} integral

∫dxa2−x2=sin⁡−1xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac{x}{a} + C for −a<x<a-a < x < a (Section 7.4, formula (5)). Basics: every method ends with an integral

3Range of sin⁡−1\sin^{-1}

The principal value sin⁡−1t\sin^{-1}t lies in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠, and sin⁡(sin⁡−1t)=t\sin(\sin^{-1}t) = t (Chapter 2).

4One arbitrary constant

A first order equation has one arbitrary constant in its general solution. Basics: order n gives n constants

Solution

  1. Recognise the form: variables separable

    dydx=1⋅4−y2=g(x) h(y),\frac{dy}{dx} = 1\cdot\sqrt{4 - y^2} = g(x)\,h(y),

    with g(x)=1g(x) = 1 and h(y)=4−y2h(y) = \sqrt{4 - y^2}⁠. For −2<y<2-2 < y < 2 we have y2<4y^2 < 4⁠, so 4−y2>04 - y^2 > 0 and h(y)>0h(y) > 0⁠.

    Separating means dividing by h(y)h(y)⁠, which is allowed only where h(y)≠0h(y) \ne 0⁠. The zeros of hh are y=±2y = \pm 2⁠, and the question has excluded them. (The constant functions y=2y = 2 and y=−2y = -2 do satisfy the equation, but they lie outside −2<y<2-2 < y < 2⁠.)
    Section 9.4.1: separation needs h(y)≠0h(y) \ne 0⁠. Lesson: separate, then integrate
  2. Separate the variables

    Divide both sides by 4−y2\sqrt{4 - y^2} (positive) and multiply by dxdx⁠:

    dy4−y2=dx.\frac{dy}{\sqrt{4 - y^2}} = dx.
    Now the left side has only yy and the right side only xx⁠. The square root is of a positive number, so the left side is defined all along.
    Separating: yy with dydy⁠, xx with dxdx⁠. Basics: dy = y′ dx
  3. Integrate both sides, with one constant

    ∫dy22−y2=∫dx⇒ sin⁡−1y2=x+C.\begin{aligned} \int\frac{dy}{\sqrt{2^2 - y^2}} &= \int dx \\ \Rightarrow\ \sin^{-1}\frac{y}{2} &= x + C. \end{aligned}

    Check each integral by differentiating: ddx(x)=1\frac{d}{dx}(x) = 1⁠, and by the chain rule

    ddysin⁡−1y2=11−y24⋅12=14−y2.\frac{d}{dy}\sin^{-1}\frac{y}{2} = \frac{1}{\sqrt{1 - \frac{y^2}{4}}}\cdot\frac{1}{2} = \frac{1}{\sqrt{4 - y^2}}.
    Writing 4=224 = 2^2 shows the standard form ∫dya2−y2\int\frac{dy}{\sqrt{a^2 - y^2}} with a=2a = 2⁠, valid for −2<y<2-2 < y < 2⁠, exactly our range. The two constants of integration combine into one CC⁠.
  4. Solve for yy⁠, and say where it holds

    Take sine of both sides of sin⁡−1y2=x+C\sin^{-1}\frac{y}{2} = x + C⁠:

    y2=sin⁡(x+C)  ⇒  y=2sin⁡(x+C).\frac{y}{2} = \sin(x + C) \;\Rightarrow\; y = 2\sin(x + C).

    Since sin⁡−1y2\sin^{-1}\frac{y}{2} lies strictly between −π2-\frac{\pi}{2} and π2\frac{\pi}{2} (as −1<y2<1-1 < \frac{y}{2} < 1⁠), the relation holds for the xx with

    −π2<x+C<π2.-\frac{\pi}{2} < x + C < \frac{\pi}{2}.
    sin⁡(sin⁡−1t)=t\sin(\sin^{-1}t) = t⁠, so taking sine undoes sin⁡−1\sin^{-1}⁠. This is the book's form of the general solution. The interval matters: on it yy rises from −2-2 to 22⁠. Beyond it the formula 2sin⁡(x+C)2\sin(x + C) starts to fall, while the equation demands a slope 4−y2≥0\sqrt{4 - y^2} \ge 0⁠.
    Principal value branch of sin⁡−1\sin^{-1} (Chapter 2). Lesson: general and particular solutions
  5. Check: substitute back, and see the curves

    Let u=x+Cu = x + C with −π2<u<π2-\frac{\pi}{2} < u < \frac{\pi}{2}⁠, so cos⁡u>0\cos u > 0⁠. For y=2sin⁡uy = 2\sin u⁠:

    dydx=2cos⁡u,4−y2=4−4sin⁡2u=4cos⁡2u=2∣cos⁡u∣=2cos⁡u.\begin{aligned} \frac{dy}{dx} &= 2\cos u, \\ \sqrt{4 - y^2} &= \sqrt{4 - 4\sin^2u} = \sqrt{4\cos^2u} \\ &= 2|\cos u| = 2\cos u. \end{aligned}

    Both sides agree, and −2<y<2-2 < y < 2 there. So L.H.S. = R.H.S. for every CC⁠.

    X Y O y = 2 y = −2 C = π/2 C = 0 C = −π/2
    Three members of the family y=2sin⁡(x+C)y = 2\sin(x + C)⁠, drawn with equal scales on the slope field of dydx=4−y2\frac{dy}{dx} = \sqrt{4 - y^2}⁠: C=π2C = \frac{\pi}{2}⁠, C=0C = 0 and C=−π2C = -\frac{\pi}{2}⁠. Each is the rising part of a sine curve, from y=−2y = -2 to y=2y = 2 (dashed lines).
    The check needs ∣cos⁡u∣=cos⁡u|\cos u| = \cos u⁠, which is exactly why the interval −π2<x+C<π2-\frac{\pi}{2} < x + C < \frac{\pi}{2} was needed. The picture shows each curve following the slope marks, which are steepest at y=0y = 0 and flatten towards y=±2y = \pm 2⁠.
Result

The general solution is sin⁡−1y2=x+C\sin^{-1}\frac{y}{2} = x + C⁠, that is y=2sin⁡(x+C)y = 2\sin(x + C)⁠, where CC is an arbitrary constant; each solution lives on −π2<x+C<π2-\frac{\pi}{2} < x + C < \frac{\pi}{2}⁠. (Textbook answer: y=2sin⁡(x+C)y = 2\sin(x + C)⁠.)

Check it with numbers

Take C=0C = 0⁠, the curve y=2sin⁡xy = 2\sin x⁠. At x=0.5x = 0.5⁠, y≈0.9588510772y \approx 0.9588510772⁠, and the equation gives the slope 4−y2≈1.75516512\sqrt{4 - y^2} \approx 1.75516512⁠.

The curve itself: y(0.501)≈0.9606057626y(0.501) \approx 0.9606057626 and y(0.499)≈0.9570954330y(0.499) \approx 0.9570954330⁠, so

0.9606057626−0.95709543300.002≈1.7552.\begin{aligned} &\frac{0.9606057626 - 0.9570954330}{0.002} \\ &\approx 1.7552. \end{aligned}
Common mistakes
  1. ∫dy4−y2=sin⁡−1y\int\frac{dy}{\sqrt{4 - y^2}} = \sin^{-1}y⁠. With a=2a = 2 the formula gives sin⁡−1y2\sin^{-1}\frac{y}{2}⁠.
  2. Writing y=2sin⁡x+Cy = 2\sin x + C⁠. The constant sits inside the sine: y=2sin⁡(x+C)y = 2\sin(x + C)⁠.
  3. Using the formula on the whole real line. Where cos⁡(x+C)<0\cos(x + C) < 0⁠, 2sin⁡(x+C)2\sin(x + C) falls, but the equation never allows a negative slope.
What to take away
  1. Before dividing by h(y)h(y)⁠, check where it is 0; here the question's condition −2<y<2-2 < y < 2 does that.
  2. ∫dya2−y2=sin⁡−1ya\int\frac{dy}{\sqrt{a^2 - y^2}} = \sin^{-1}\frac{y}{a}⁠, then take sine to get yy⁠.
  3. An inverse-function answer carries its range with it: here −π2<x+C<π2-\frac{\pi}{2} < x + C < \frac{\pi}{2}⁠.

Every fact used, and where it comes from

FactUsed inSource
Variables separable; divide by h(y)≠0h(y) \ne 0 and integrateSteps 1, 2Section 9.4.1 (Lesson)
∫dxa2−x2=sin⁡−1xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac{x}{a} + CStep 3Section 7.4, formula (5) (Basics)
One arbitrary constant for a first order equationStep 3Section 9.3 (Basics)
−π2≤sin⁡−1t≤π2-\frac{\pi}{2} \le \sin^{-1}t \le \frac{\pi}{2}⁠; sin⁡(sin⁡−1t)=t\sin(\sin^{-1}t) = tStep 4Chapter 2, principal value branch
1−sin⁡2u=cos⁡2u1 - \sin^2u = \cos^2u⁠; c2=∣c∣\sqrt{c^2} = |c|Step 5Class XI trigonometry
A solution makes L.H.S. = R.H.S.; solution curves follow the slope fieldStep 5Section 9.3 (Basics)
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 →