Answer on question #79058 – Math – Differential Equations
Question
Solve the initial value problem
y′−2xy=1,y(0)=y0y=e∧−x2(∫x0e∧−t2dt+y0)y=e∧x2(∫x0e∧−t2dt+y0)y=e∧x2(∫x0e∧t2dt−y0)y=(∫x0e∧−t2dt+y0)Solution
Let's rewrite the differential equation in the general form:
y′+p(x)y=g(x)
Multiplying both sides by some function μ=μ(x), so that the left side is a total derivative. Hence,
μ(y′+p(x)y)=(μy)′=μy′+μ′y
From this equation we get
μp(x)y=μ′yμ′=μp(x)
Integrating:
μ(x)=e∫p(x)dx[e∫p(x)dxy]′=e∫p(x)dxg(x)e∫p(x)dxy=∫g(x)e∫p(x)dxdx
Hence,
y=e−∫p(x)dx∫g(x)e∫p(x)dxdx
If having an IVP, we can rewrite the above equation as the following:
y=e−∫x0x∫p(τ)dτ[∫x0xg(τ)e∫p(τ)dτdτ+y0]
So now we can use this general solution for our IVP, as p(x)=−2x, g(x)=1, x0=0. Hence,
y=e−∫0x∫−2τdτ[∫0xe∫−2τdτdτ+y0]=ex2[∫0xe−τ2dτ+y0]
So, the correct answer is the second one from the list.
Answer: y=ex2[∫0xe−τ2dτ+y0]
Answer provided by https://www.AssignmentExpert.com