Question
Mathematics Question on Differential Equations
If y=y(x) is the solution of the differential equation dxdy+2y=sin(2x),y(0)=43,then y(8π) is equal to:
A
e−π/8
B
e−π/4
C
eπ/4
D
eπ/8
Answer
e−π/4
Explanation
Solution
Given differential equation:
dxdy+2y=sin(2x),y(0)=43
The integrating factor (I.F) is:
I.F=e∫2dx=e2x
Multiplying through by the integrating factor:
ye2x=∫e2xsin(2x)dx
To solve the integral, we use integration by parts:
ye2x=e2x(4+42sin2x−2cos2x)+C
ye2x=e2x(4sin2x−cos2x)+C
Using the initial condition y(0)=43:
43=(41(0−2))+C
43=−41+C⟹C=1
Thus, the solution is:
y=8sin2x−cos2x+e−2x
To find y(8π):
y(8π)=81(2sin4π−2cos4π)+e−π/4
Since sin4π=cos4π=22: y(8π)=0+e−π/4=e−π/4