Let y=y(x) be the solution of the differential equation xdxdy−y=x2cotx, x∈(0,π). If y(2π)=2π, then6y(6π)−8y(4π) is equal t...
Solutions · 1
Official solution
The given equation is:
xdxdy−y=x2cotx
To get it into the standard form dxdy+P(x)y=Q(x), we divide the entire equation by x :
dxdy−x1y=xcotx
Here, P(x)=−x1 and Q(x)=xcotx.
Finding the Integrating Factor (I.F.)
The integrating factor is calculated as:
=e∫P(x)dx=e∫−x1dx=e−lnx=eln(x−1)=x1
The solution to the differential equation is:
y⋅(I.F.)=∫Q(x)⋅(I.F.)dxxy=∫(xcotx)⋅x1dxxy=∫cotxdxxy=ln(sinx)+Cy=xln(sinx)+Cx
Applying the Initial Condition
We are given y(2π)=2π. Plugging these values in:
2π=2πln(sin2π)+C(2π)
So, the particular solution is y=xln(sinx)+x.
We need to find the value of 6y(6π)−8y(4π).
Calculate y(6π) :
y(6π)=6πln(sin6π)+6π=6πln(21)+6π=6π(1−ln2)
Calculate y(4π) :
y(4π)=4πln(sin4π)+4π=4πln(21)+4π=4πln(2−1/2)+4π=4π(1−21ln2)
Calculate y(4π) :
y(4π)=4πln(sin4π)+4π=4πln(21)+4π=4πln(2−1/2)+4π=4π(1−21ln2)
Now, substitute these into the expression:
6y(6π)−8y(4π)=6[6π(1−ln2)]−8[4π(1−21ln2)]=π(1−ln2)−2π(1−21ln2)=π−πln2−2π+πln2=−π