We are given the differential equation eydxdy−2eysinx+sinxcos2x=0 with the initial condition y(2π)=0.
Let t=ey. Then dxdt=eydxdy. Substituting into the equation:
dxdt−2tsinx+sinxcos2x=0
Rearranging: dxdt−2sinx⋅t=−sinxcos2x −(1)
This is a first-order linear ODE of the form dxdt+P(x)t=Q(x), where P(x)=−2sinx and Q(x)=−sinxcos2x.
The integrating factor is IF=e∫P(x)dx=e∫−2sinxdx=e2cosx.
Multiplying both sides of (1) by the integrating factor:
dxd[t⋅e2cosx]=−sinxcos2x⋅e2cosx
Integrating both sides: t⋅e2cosx=∫−sinxcos2x⋅e2cosxdx+C
To evaluate the integral, we substitute u=cosx, so du=−sinxdx:
∫−sinxcos2x⋅e2cosxdx=∫u2e2udu
We evaluate ∫u2e2udu using integration by parts twice.
First application: let f=u2, dg=e2udu, so df=2udu, g=2e2u.
∫u2e2udu=2u2e2u−∫u⋅e2udu
Second application: let f=u, dg=e2udu, so df=du, g=2e2u.
∫u⋅e2udu=2u⋅e2u−∫2e2udu=2u⋅e2u−4e2u
Combining: ∫u2e2udu=2u2e2u−2u⋅e2u+4e2u=4e2u(2u2−2u+1)
Substituting back u=cosx:
t⋅e2cosx=4e2cosx(2cos2x−2cosx+1)+C −(2)
Applying the initial condition y(2π)=0: at x=2π, t=e0=1 and cos2π=0.
1⋅e0=4e0(0−0+1)+C
1=41+C⟹C=43
Now, to find y(0): at x=0, cos0=1. Substituting into (2):
t⋅e2=4e2(2−2+1)+43=4e2+43
t=41+43e−2
Since t=ey, we have ey(0)=41+43e−2.
Therefore y(0)=loge(41+43e−2).
Comparing with y(0)=loge(α+βe−2), we get α=41 and β=43.
So 4(α+β)=4(41+43)=4×1=4.