Skip to main content

Differential Equations MCQ: The solution of the differential equation (d y)/(d…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of the differential equation dydx+ycot⁡x=2cos⁡x\frac{d y}{d x}+y \cot x=2 \cos x is
View answer and explanation
Correct option: D
2ysin⁡x+cos⁡2x=c2 y \sin x+\cos 2 x=c
Option D (2ysin⁡x+cos⁡2x=c2 y \sin x+\cos 2 x=c) is correct because it represents the solution to the given linear differential equation after finding the integrating factor and integrating.
Solution approach
  1. Correct Answer + Core Reason: 2ysin⁡x+cos⁡2x=c2 y \sin x+\cos 2 x=c. This is the solution obtained after solving the linear differential equation using the integrating factor method.

    Step-by-Step Solution:

    Step 1: Identify the given differential equation: dydx+ycot⁡x=2cos⁡x\frac{{dy}}{{dx}} + y \cot x = 2 \cos x.

    Step 2: Recognize that this is a linear differential equation of the form dydx+Py=Q\frac{{dy}}{{dx}} + Py = Q, where P=cot⁡xP = \cot x and Q=2cos⁡xQ = 2 \cos x.

    Step 3: Calculate the integrating factor (I.F.): I.F. =e∫Pdx=e∫cot⁡xdx=elog⁡∣sin⁡x∣=sin⁡x= e^{\int P dx} = e^{\int \cot x dx} = e^{\log |\sin x|} = \sin x.

    Step 4: Multiply the differential equation by the integrating factor: (sin⁡x)dydx+ycot⁡xsin⁡x=2cos⁡xsin⁡x(\sin x) \frac{{dy}}{{dx}} + y \cot x \sin x = 2 \cos x \sin x.

    Step 5: Simplify: (sin⁡x)dydx+ycos⁡x=2sin⁡xcos⁡x(\sin x) \frac{{dy}}{{dx}} + y \cos x = 2 \sin x \cos x.

    Step 6: Recognize that the left side is the derivative of ysin⁡xy \sin x with respect to xx: ddx(ysin⁡x)=2sin⁡xcos⁡x\frac{{d}}{{dx}}(y \sin x) = 2 \sin x \cos x.

    Step 7: Integrate both sides with respect to xx: ∫ddx(ysin⁡x)dx=∫2sin⁡xcos⁡xdx\int \frac{{d}}{{dx}}(y \sin x) dx = \int 2 \sin x \cos x dx.

    Step 8: Evaluate the integrals: ysin⁡x=∫sin⁡2xdx=−12cos⁡2x+cy \sin x = \int \sin 2x dx = -\frac{{1}}{{2}} \cos 2x + c.

    Step 9: Multiply by 2: 2ysin⁡x=−cos⁡2x+2c2y \sin x = -\cos 2x + 2c.

    Step 10: Rearrange to get the final solution: 2ysin⁡x+cos⁡2x=c2y \sin x + \cos 2x = c, where cc is an arbitrary constant (replacing 2c2c with cc).

    Why other options are wrong:
    - Option A: ysin⁡x+cos⁡2x=2cy \sin x+\cos 2 x=2 c: This option has an incorrect constant on the right-hand side. The constant should absorb the factor of 2.
    - Option B: 2ysin⁡x+cos⁡x=c2 y \sin x+\cos x=c: This option has an incorrect term, cos⁡x\cos x, instead of cos⁡2x\cos 2x.
    - Option C: ysin⁡x+cos⁡x=cy \sin x+\cos x=c: This option has both an incorrect constant and an incorrect term, cos⁡x\cos x, instead of cos⁡2x\cos 2x.

    Key Concepts:
    - Linear Differential Equations
    - Integrating Factor
    - Integration of Trigonometric Functions

    Memory Aids:
    - Remember the formula for the integrating factor: e∫Pdxe^{\int P dx}
    - Remember the integration of sin⁡2x\sin 2x is −12cos⁡2x-\frac{{1}}{{2}} \cos 2x

    Quick Tips:
    - Always identify the form of the differential equation first.
    - Double-check your integration and algebraic manipulations.

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.