Skip to content
Miscellaneous Exercise · Q11

Q.Find a particular solution of the differential equation dydx+ycot⁡x=4xcosec⁡x (x≠0)\frac{dy}{dx} + y \cot x = 4x \operatorname{cosec} x\ (x \neq 0), given that y=0y = 0 when x=π2x = \frac{\pi}{2}.

Haryana BsehTextbookSubjective· 3mImportance★★★★★
Appeared in past exams:MHT-CET 2024· Set pcm-2024-05-04-M· 2mreworded
52% · 116/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a first-order linear ODE solved using the Integrating Factor method. The particular solution satisfying y(π/2)=0y(\pi/2)=0 is y=2x2−π22sin⁡xy = \frac{2x^2 - \frac{\pi^2}{2}}{\sin x}.

The equation dydx+ycot⁡x=4xcosec⁡x\frac{dy}{dx} + y \cot x = 4x \operatorname{cosec} x is in the standard linear form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x). The key idea: we multiply through by an integrating factor (IF) that turns the left side into the derivative of a product, making it directly integrable.

Why does this work? The IF is e∫P dxe^{\int P\,dx}. When we multiply the ODE by this factor, the left side becomes ddx(y⋅IF)\frac{d}{dx}(y \cdot \text{IF}), because the derivative of the IF itself gives the PP term we need. This is the core trick — it converts a sum into a single derivative.

Let’s apply it step by step.

  1. Identify P(x)P(x) and Q(x)Q(x)

    Here P(x)=cot⁡xP(x) = \cot x and Q(x)=4xcosec⁡xQ(x) = 4x \operatorname{cosec} x.

  2. Compute the integrating factor

IF=e∫cot⁡x dx=elog⁡∣sin⁡x∣=sin⁡x\text{IF} = e^{\int \cot x \, dx} = e^{\log|\sin x|} = \sin x

(Since x≠0x \neq 0 and we’re near x=π/2x = \pi/2, sin⁡x>0\sin x > 0, so we drop the absolute value.)

  1. Multiply the ODE by the IF

sin⁡x⋅dydx+ysin⁡xcot⁡x=4xcosec⁡x⋅sin⁡x\sin x \cdot \frac{dy}{dx} + y \sin x \cot x = 4x \operatorname{cosec} x \cdot \sin x

Simplify: sin⁡xcot⁡x=cos⁡x\sin x \cot x = \cos x, and cosec⁡x⋅sin⁡x=1\operatorname{cosec} x \cdot \sin x = 1. So we get:

sin⁡xdydx+ycos⁡x=4x\sin x \frac{dy}{dx} + y \cos x = 4x

  1. Recognize the left side as a derivative Notice that ddx(ysin⁡x)=sin⁡xdydx+ycos⁡x\frac{d}{dx}(y \sin x) = \sin x \frac{dy}{dx} + y \cos x. Exactly our left side! So:

ddx(ysin⁡x)=4x\frac{d}{dx}(y \sin x) = 4x

  1. Integrate both sides

ysin⁡x=∫4x dx=2x2+Cy \sin x = \int 4x \, dx = 2x^2 + C

  1. Apply the initial condition Given y=0y = 0 when x=π2x = \frac{\pi}{2}: 0⋅sin⁡(π2)=2(π2)2+C⇒0=π22+C0 \cdot \sin\left(\frac{\pi}{2}\right) = 2\left(\frac{\pi}{2}\right)^2 + C \quad \Rightarrow \quad 0 = \frac{\pi^2}{2} + C …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.