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]
(3)
x dy-y dx=x2cotx dx
x2 d(yx)=x2cotx dx
d(yx)=cotx dx
∫d(yx)=∫cotx dx
yx=loge(sinx)+C
given y(π2)=π2⇒C=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]=-π