Problem:
y″−y′=x
Solution:
y is missing from the equation, so we can simply let z=y′ and so y″=z′. The equation is reduced to
dzdx−z=x
This is a first order linear equation, by inspection, the integrating factor is e−x, we have
ddx(e−xz)=e−xdzdx−e−xz=e−x(dzdx−z)=xe−x.
Therefore e−xz=∫xe−xdx=−xe−x−e−x+C1.
Then we have z=−x−1+C1ex
Last but not least, y=∫zdx=−x22−x+C1ex+C2.
y″−y′=x
Solution:
y is missing from the equation, so we can simply let z=y′ and so y″=z′. The equation is reduced to
dzdx−z=x
This is a first order linear equation, by inspection, the integrating factor is e−x, we have
ddx(e−xz)=e−xdzdx−e−xz=e−x(dzdx−z)=xe−x.
Therefore e−xz=∫xe−xdx=−xe−x−e−x+C1.
Then we have z=−x−1+C1ex
Last but not least, y=∫zdx=−x22−x+C1ex+C2.
No comments:
Post a Comment