Skip to content
NCERT Exemplar · Q94

Q.Solution of the differential equation dydx+yx=sin⁡x\frac{dy}{dx}+\frac{y}{x}=\sin x is:
(A) x(y+cos⁡x)=sin⁡x+cx(y+\cos x)=\sin x+c
(B) x(y−cos⁡x)=sin⁡x+cx(y-\cos x)=\sin x+c
(C) xycos⁡x=sin⁡x+cxy\cos x=\sin x+c
(D) x(y+cos⁡x)=cos⁡x+cx(y+\cos x)=\cos x+c

Telangana TsbieMCQ· 1mImportance★★★★★
Appeared in past exams:MHT-CET 2023· Set pcm-2023-05-11-E· 2mexact
96% · 214/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 →

Linear DE solved by the integrating factor xx; integrating gives xy=−xcos⁡x+sin⁡x+cxy=-x\cos x+\sin x+c, i.e. x(y+cos⁡x)=sin⁡x+cx(y+\cos x)=\sin x+c — option (A).

1. Identify the type

The equation dydx+yx=sin⁡x\frac{dy}{dx}+\frac{y}{x}=\sin x has the form dydx+P(x) y=Q(x)\frac{dy}{dx}+P(x)\,y=Q(x) with P=1xP=\frac{1}{x} and Q=sin⁡xQ=\sin x. It is linear (not separable), so we use an integrating factor.

2. Build the integrating factor

I.F.=e∫P dx=e∫1x dx=elog⁡x=x.\text{I.F.}=e^{\int P\,dx}=e^{\int \frac{1}{x}\,dx}=e^{\log x}=x.

3. Collapse the left side

Multiplying the whole equation by xx:

xdydx+y=xsin⁡x.x\frac{dy}{dx}+y=x\sin x.

The left side is exactly ddx(xy)\frac{d}{dx}(xy), so

ddx(xy)=xsin⁡x.\frac{d}{dx}(xy)=x\sin x.

4. Integrate

Using integration by parts with u=x, dv=sin⁡x dxu=x,\ dv=\sin x\,dx (so du=dx, v=−cos⁡xdu=dx,\ v=-\cos x):

∫xsin⁡x dx=−xcos⁡x+∫cos⁡x dx=−xcos⁡x+sin⁡x.\int x\sin x\,dx=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x.

Hence …

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.