Jump to content

Science:Math Exam Resources/Courses/MATH215/December 2013/Question 02 (a)/Solution 1

From UBC Wiki

We begin with y+x3y=3x3,y(0)=8. We can use an integrating factor here, taking μ(x)=ex3dx=ex44 where we chose the arbitrary constant to be 0. Multiplying both sides of the equation by μ(x) gives

ex44y+ex44x3y=3x3ex44 or
(ex44y)=3x3ex44.

We can integrate both sides of the equation (doing a simple substitution on the right-hand side) giving us

ddx(ex44y(x))dx=3x3ex44dx
ex44y=3euduu=x4/4,du=x3dx=3eu+C=3ex44+C
y=3+Cex44.

If y(0)=8 then 8=3+C so C=5 and the final answer is

y(x)=3+5ex44.