Inactive Tutor answered 07/11/15
Kurtis G.
asked 07/11/15How to solve this Differential Equation?
xy + y' = 160x
More
2 Answers By Expert Tutors
Tutor
New to Wyzant
Since we have only a first derivate term, this is a linear first-order differential equation. This differential equation is usually in the form.
y' + p(x)y = g(x)
y' + xy = 160x
Next, we find the integrating factor, u(t).
u(t) = e∫p(x)dt
= e∫xdx
= e(1/2)x^2
Multiply both sides of the equation by the integrating factor.
y'e(1/2)x^2 + xye(1/2)x^2 = 160xe(1/2)x^2
You should end up with something like this.
d/dx[ ]= 160xe(1/2)x^2
In this part, we must find the anti-derivative of the left side of the equation. Apply the integration by parts method that you learned in your previous calculus classes. Insert that anti-derivative into the bold brackets.
After that, integrate both sides of the equation. This will undo the d/dx notation. The left side will have a y term rather than a y' term. Then use simple algebraic manipulation to solve for y.
To start solve for y'
y'=x(-y+160) now divide both sides by (-y+160)
y'/(-y+160)=x now integrate both sides wrt x
∫dy/dx/(-y+160)dx=∫xdx
-ln(-y+160)=1/2x2+c where c i a constant now solve for y and you have the answer
Hope this helps
Jim
Kurtis G.
I got this far but i keep getting the wrong answer. Could you finish it out so i see exactly what my mistakes are?
Report
07/11/15
Inactive Tutor
Hi Jim.
Wouldn't the integral sign and dy/dx cancel each other out? You will end up with
1 / (-y + 160) = (1/2)x2 + C ?
Report
07/11/15
Jim S.
tutor
you have ∫dy/(-y+160) on the LHS which integrates to -ln(-y+160) so y=160-e^(1/2)x^2-c
QED
Jim
Report
07/11/15
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Kurtis G.
07/11/15