Skip to main content

Differential Equations MCQ: The solution of dy = cos x(2 - ycosecx)dx, where y…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of dy=cos⁡x(2−ycosecx)dxdy = \cos x\left( {2 - y\mathrm{cosec}x} \right)dx, where y=2y = \sqrt 2, when x=π4x = \frac{\pi }{4} is
View answer and explanation
Correct option: A
y=sin⁡x+12cosecxy = \sin x + \frac{1}{2}\mathrm{cosec}x
Option A (y=sin⁡x+12cosecxy = \sin x + \frac{1}{2}\mathrm{cosec}x) is correct because it satisfies the given differential equation and the initial condition y=2y = \sqrt 2 when x=π4x = \frac{\pi }{4}.
Solution approach
  1. Correct Answer + Core Reason: y=sin⁡x+12cosecxy = \sin x + \frac{1}{2}\mathrm{cosec}x. This solution satisfies the given differential equation and initial condition.

    Step-by-Step Solution:

    Step 1: Given differential equation: dy=cos⁡x(2−ycosecx)dxdy = \cos x(2 - y\mathrm{cosec}x)dx.

    Step 2: Rewrite the equation in the form dydx+P(x)y=Q(x)\frac{{dy}}{{dx}} + P(x)y = Q(x).
    dydx=2cos⁡x−ycos⁡xcosecx\frac{{dy}}{{dx}} = 2\cos x - y\cos x\mathrm{cosec}x
    dydx+ycot⁡x=2cos⁡x\frac{{dy}}{{dx}} + y\cot x = 2\cos x

    Step 3: Calculate the integrating factor (IF) using the formula IF=e∫P(x)dxIF = {e^{\int {P(x)dx} }}.
    IF=e∫cot⁡xdx=elog⁡(sin⁡x)=sin⁡xIF = {e^{\int {\cot xdx} }} = {e^{\log (\sin x)}} = \sin x

    Step 4: Find the general solution using the formula y(IF)=∫Q(x)×IFdx+cy(IF) = \int {Q(x) \times IF dx + c}.
    ysin⁡x=∫2cos⁡xsin⁡xdx+c=∫sin⁡2xdx+cy\sin x = \int {2\cos x\sin xdx + c} = \int {\sin 2xdx + c}

    Step 5: Evaluate the integral ∫sin⁡2xdx\int {\sin 2xdx}.
    ∫sin⁡2xdx=−cos⁡2x2\int {\sin 2xdx} = -\frac{{\cos 2x}}{2}

    Step 6: Substitute the integral back into the general solution.
    ysin⁡x=−cos⁡2x2+cy\sin x = -\frac{{\cos 2x}}{2} + c

    Step 7: Apply the initial condition y=2y = \sqrt 2 when x=π4x = \frac{\pi }{4}.
    2sin⁡π4=−cos⁡π22+c\sqrt 2 \sin \frac{\pi }{4} = -\frac{{\cos \frac{\pi }{2}}}{2} + c
    212=−02+c\sqrt 2 \frac{1}{{\sqrt 2 }} = -\frac{0}{2} + c
    1=c1 = c

    Step 8: Substitute the value of c back into the general solution.
    ysin⁡x=−cos⁡2x2+1y\sin x = -\frac{{\cos 2x}}{2} + 1
    y=−cos⁡2x2sin⁡x+1sin⁡x=−1−2sin⁡2x2sin⁡x+1sin⁡x=−12sin⁡x+sin⁡x+1sin⁡x=sin⁡x+12sin⁡x=sin⁡x+12cosecxy = -\frac{{\cos 2x}}{{2\sin x}} + \frac{1}{{\sin x}} = -\frac{{1 - 2{{\sin }^2}x}}{{2\sin x}} + \frac{1}{{\sin x}} = -\frac{1}{{2\sin x}} + \sin x + \frac{1}{{\sin x}} = \sin x + \frac{1}{{2\sin x}} = \sin x + \frac{1}{2}\mathrm{cosec}x

    Why other options are wrong:
    - Option B: This is incorrect because it does not satisfy the differential equation and the initial condition.
    - Option C: This is incorrect because it does not satisfy the differential equation and the initial condition.
    - Option D: This is incorrect because it does not satisfy the differential equation and the initial condition.

    Key Concepts:
    - Linear differential equations
    - Integrating factor

    Memory Aids:
    - The integrating factor is e∫Pdxe^{\int P dx}

    Quick Tips:
    - Always rewrite the differential equation in standard form before finding the integrating factor.

More Questions from Differential Equations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.