Question:

Find the general solution of the differential equation \(\dfrac{dy}{dx} + y\cot x = \csc x\).

Show Hint

For linear differential equations \( \frac{dy}{dx}+Py=Q \), first compute the integrating factor \(e^{\int Pdx}\). Multiplying the equation by it converts the left side into an exact derivative.
Updated On: Apr 17, 2026
  • \(y\sin x = x + c\)
  • \(y\cos x = x + c\)
  • \(y\sin x = c - x\)
  • \(y\cos x = c + x\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Concept: The given differential equation is a linear differential equation of the form \[ \frac{dy}{dx} + Py = Q \] where \(P = \cot x\) and \(Q = \csc x\). The integrating factor (I.F.) is: \[ I.F. = e^{\int P\,dx} \]

Step 1:
Find the integrating factor. \[ I.F. = e^{\int \cot x\,dx} \] \[ = e^{\ln(\sin x)} \] \[ = \sin x \]

Step 2:
Multiply the equation by the integrating factor. \[ \sin x \frac{dy}{dx} + y\sin x \cot x = \sin x \csc x \] Since \[ \sin x \cot x = \cos x \] the equation becomes \[ \sin x \frac{dy}{dx} + y\cos x = 1 \]

Step 3:
Recognize the derivative form. \[ \frac{d}{dx}(y\sin x) = 1 \]

Step 4:
Integrate both sides. \[ y\sin x = \int 1\,dx \] \[ y\sin x = x + c \] Thus, the general solution is \[ \boxed{y\sin x = x + c} \]
Was this answer helpful?
0
0