Q.

Let y=y(x) be the solution of the differential equation xdydx-y=x2cotx,  x(0,π). If y(π2)=π2, then 6y(π6)-8y(π4) is equal to:   [2026]

1 π  
2 3π  
3 -π  
4 -3π  

Ans.

(3)

xdy-ydx=x2cotxdx

x2d(yx)=x2cotxdx

d(yx)=cotxdx

d(yx)=cotxdx

yx=loge(sinx)+C

given y(π2)=π2C=1

y=x(loge(sinx)+1)

y(π6)=π6[-loge2+1]

y(π4)=π4[-12loge2+1]

6y(π6)-8y(π4)

=π[(-loge2+1)+2(12loge2-1)]

=π[1-2]=-π