We start with the given first-order linear differential equation
sinxdxdy+ycosx=4x,x∈(0,π).
In order to recognise it in the standard linear form, we divide every term by sinx(=0 for x∈(0,π)). This gives
dxdy+sinxcosxy=sinx4x.
The fraction sinxcosx is the trigonometric function cotx and sinx1 is cscx, so we can rewrite the equation compactly as
dxdy+ycotx=4xcscx.
For a linear differential equation of the form
dxdy+P(x)y=Q(x),
the integrating factor (I.F.) is defined by the formula
I.F.=e∫P(x)dx.
Here P(x)=cotx, so we compute
∫P(x)dx=∫cotxdx=∫sinxcosxdx=ln∣sinx∣.
Exponentiating, we obtain the integrating factor
I.F.=eln∣sinx∣=∣sinx∣.
Because x∈(0,π), we have sinx>0 and therefore the absolute value can be dropped, giving simply
I.F.=sinx.
We multiply the whole differential equation by this integrating factor:
sinx(dxdy)+sinx⋅ycotx=sinx⋅4xcscx.
The right-hand side simplifies because sinx⋅cscx=1:
sinxdxdy+y(sinxcotx)=4x.
Recalling that cotx=sinxcosx, we have sinxcotx=cosx, so the left-hand side is
sinxdxdy+ycosx.
Thus the equation has become
sinxdxdy+ycosx=4x,
which is in fact the same expression we started with, confirming that we have used the correct integrating factor.
By construction of the integrating factor, the left-hand side now represents the derivative of the product ysinx, because
dxd(ysinx)=sinxdxdy+ycosx.
Therefore we can rewrite the differential equation compactly as
dxd(ysinx)=4x.
We integrate both sides with respect to x:
∫dxd(ysinx)dx=∫4xdx.
The integral on the left simply returns the product ysinx, while the integral on the right is
∫4xdx=4⋅2x2=2x2.
Adding the constant of integration C, we have
ysinx=2x2+C.
Solving for y gives the general solution
y(x)=sinx2x2+C.
We now use the initial condition y(2π)=0 to find the constant C. Substituting x=2π, and recalling that sin2π=1, we get
0=y(2π)=12(2π)2+C.
Simplifying inside the numerator,
2(2π)2=2⋅4π2=2π2.
Thus
0=2π2+C⟹C=−2π2.
Substituting this value of C back into the expression for y(x), we obtain
y(x)=sinx2x2−2π2.
For later convenience we multiply numerator and denominator by 2, giving an equivalent but slightly tidier form:
y(x)=2sinx4x2−π2.
Now we evaluate y(6π). First, sin6π=21. Substituting x=6π into the numerator, we compute
4x2−π2=4(6π)2−π2=4⋅36π2−π2=9π2−π2.
Hence
y(6π)=2⋅219π2−π2.
The denominator 2⋅21 equals 1, so it disappears, leaving simply
y(6π)=9π2−π2.
Combining the terms inside the numerator by taking a common denominator of 9, we obtain
9π2−π2=9π2−99π2=9−8π2.
Therefore
y(6π)=−98π2.
Among the given options, this value corresponds to Option D.
Hence, the correct answer is Option D.