Key Concepts and Formulas
- Substitution Method: Transforming a differential equation into a simpler form by introducing a new variable.
- First-Order Linear Differential Equation: A differential equation of the form dxdv+P(x)v=Q(x), which has the solution v(x)=e−∫P(x)dx[∫Q(x)e∫P(x)dxdx+C], where e∫P(x)dx is the integrating factor.
- Integration by Parts: ∫udv=uv−∫vdu.
Step-by-Step Solution
Step 1: Rewrite the given differential equation.
The given differential equation is:
eydxdy−2eysinx+sinxcos2x=0
We can rewrite it as:
eydxdy=2eysinx−sinxcos2x
Step 2: Apply a suitable substitution.
Let v=ey. Then dxdv=eydxdy. Substituting this into the equation, we get:
dxdv=2vsinx−sinxcos2x
dxdv−2vsinx=−sinxcos2x
Step 3: Identify the equation as a first-order linear differential equation.
The equation is now in the standard form of a first-order linear differential equation: dxdv+P(x)v=Q(x), where P(x)=−2sinx and Q(x)=−sinxcos2x.
Step 4: Calculate the integrating factor (IF).
The integrating factor is given by e∫P(x)dx. So,
IF=e∫−2sinxdx=e2cosx
Step 5: Find the general solution of the linear differential equation.
The general solution is given by:
v⋅IF=∫Q(x)⋅IFdx+C
v⋅e2cosx=∫(−sinxcos2x)e2cosxdx+C
ve2cosx=−∫sinxcos2xe2cosxdx+C
Step 6: Evaluate the integral using substitution.
Let t=cosx, then dt=−sinxdx. The integral becomes:
−∫t2e2t(−dt)=∫t2e2tdt
Now, we use integration by parts twice. First, let u=t2 and dv=e2tdt. Then du=2tdt and v=21e2t.
∫t2e2tdt=t2(21e2t)−∫21e2t(2tdt)=21t2e2t−∫te2tdt
Now, we integrate ∫te2tdt by parts. Let u=t and dv=e2tdt. Then du=dt and v=21e2t.
∫te2tdt=t(21e2t)−∫21e2tdt=21te2t−41e2t
Substituting this back, we get:
∫t2e2tdt=21t2e2t−(21te2t−41e2t)=21t2e2t−21te2t+41e2t
So,
∫cos2xe2cosx(−sinx)dx=e2cosx(21cos2x−21cosx+41)
Step 7: Substitute back into the general solution.
ve2cosx=e2cosx(21cos2x−21cosx+41)+C
v=21cos2x−21cosx+41+Ce−2cosx
Step 8: Substitute back v=ey.
ey=21cos2x−21cosx+41+Ce−2cosx
Step 9: Apply the initial condition y(2π)=0.
When x=2π, y=0. So, e0=1 and cos(2π)=0.
1=21(0)2−21(0)+41+Ce−2(0)
1=41+C
C=43
Step 10: Write the particular solution.
ey=21cos2x−21cosx+41+43e−2cosx
Step 11: Find y(0).
When x=0, cos(0)=1.
ey(0)=21(1)2−21(1)+41+43e−2(1)
ey(0)=21−21+41+43e−2
ey(0)=41+43e−2
ey(0)=41+43e−2=41+3e−2
Step 12: Compare with the given form.
We are given that y(0)=loge(α+βe−2). Therefore,
ey(0)=α+βe−2
Comparing this with ey(0)=41+43e−2, we get α=41 and β=43.
Step 13: Calculate 4(α+β).
4(α+β)=4(41+43)=4(44)=4(1)=4×21=2
Therefore, 4(α+β)=2.
Common Mistakes & Tips
- Sign Errors: Be very careful with signs, especially when integrating and differentiating.
- Integration by Parts: Remember to apply integration by parts correctly and potentially multiple times. Choose u and dv wisely.
- Integrating Factor: Double-check the calculation of the integrating factor.
Summary
We solved the given differential equation by using the substitution v=ey to transform it into a linear differential equation. We then found the integrating factor and solved for v. Substituting back ey and applying the initial condition, we obtained the particular solution. Finally, we evaluated y(0) and compared it to the given form to find α and β, and ultimately computed 4(α+β), which is equal to 2.
Final Answer
The final answer is \boxed{2}.