If sin y x = log e | x | + α 2 is the solution of the differential equation x cos y x d y d x = y cos y x +…

If sinyx=loge|x|+α2 is the solution of the differential equation xcosyxdydx=ycosyx+x and y(1)=π3, then α2 is equal to
  1. 3
  2. 12
  3. 4
  4. 9

Solution

Given: xcosyxdydx=ycosyx+x

cosyxdydx=yxcosyx+1

Putting, y=vx

dydx=v+xdvdx

cosvv+xdvdx=vcosv+1

v+xdvdx=v+1cosv

xdvdx=1cosv

cosvdv=dxx

cosvdv=dxx

sinv=logx+c

sinyx=logx+c

Now, f1=π3

sinπ3=log1+c

32=c

sinyx=logx+32

So, on comparing we get,

α=3

α2=3

Asked in: JEE Main 2024 (29 Jan Shift 2)

Practice more Differential Equations questions on Aicharya