Let y = y ( x ) be the solution of the differential equation cos x ( 3 sin x + cos x + 3 ) d y = ( 1 + y sin…

Let y=y(x) be the solution of the differential equation cosx(3sinx+cosx+3)dy=(1+ysinx(3sinx+cosx+3))dx, 0xπ2, y0=0. Then, yπ3 is equal to:
  1. 2loge23+96
  2. 2loge23+1011
  3. 2loge3+72
  4. 2loge33-84

Solution

Given cosx(3sinx+cosx+3)dy=(1+ysinx(3sinx+cosx+3))dx

dydx=(1+ysinx(3sinx+cosx+3))cosx(3sinx+cosx+3)

dydx=1cosx(3sinx+cosx+3)+ysinx(3sinx+cosx+3))cosx(3sinx+cosx+3)

dydx-(tanx)y=1(3sinx+cosx+3)cosx

This is a linear differential equation of the type dydx+Py=Q, where P=-tanx and Q=1cosx3sinx+cosx+3.

Now, the integrating factor I.F.=ePdx=e-tanxdx

=elncosx=cosx

=cosx  0xπ2.

The solution of the given differential equation is yI.F.=QI.F.dx+C

ycosx=(cosx)·1cosx(3sinx+cosx+3)dx+C

ycosx=dx3sinx+cosx+3dx+C

Using sin2θ=2tanθ1+tan2θ & cos2θ=1-tan2θ1+tan2θ

ycosx=13×2tanx21+tan2x2+1-tan2x21+tan2x2+3dx+C

ycosx=1+tan2x26tanx2+1-tan2x2+3+3tan2x2dx+C

ycosx=sec2x22tan2x2+6tanx2+4dx+C

Let I1=sec2x22tan2x2+3tanx2+2dx+C

Put tanx2=t12sec2x2dx=dt

I1=dtt3+3t+2=dtt+2(t+1)

I1=1t+1-1t+2dt

I1=loget+1-loget+2

I1=loget+1t+2

I1=logetanx2+1tanx2+2

So, the solution is ycosx=loge1+tanx22+tanx2+C

ycosx=loge1+tanx22+tanx2+C for 0xπ2.

Now, it is given y(0)=0

0=loge12+C  C=loge2

ycosx=loge1+tanx22+tanx2+loge2

Now, for x=π3, y12=loge1+132+13+loge2

y·12=loge3+123+1+loge2

y·12=loge3+123+1×23-123-1+loge2

y·12=loge5+311+loge2

y=2loge23+1011.

Asked in: JEE Main 2021 (17 Mar Shift 2)

Practice more Differential Equations questions on Aicharya