Find the particular solution of a differential equation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 13K views
TrueStar
Messages
94
Reaction score
0

Homework Statement



Find the particular solution of the differential equation dy/dx = (x-4)e^(-2y)

Satisfying initial condition y(4)=ln(4)

Homework Equations



N/A

The Attempt at a Solution



I separated this into dy/e^(-2y) = (x-4)dx

I then integrated it to get e^(2y)/2 = x^2/2 - 4x

I then tried to isolate y and got y= 1/2ln(x^2-8x+C)

Plugging in the values, I get ln(4)=1/2ln(-16+C)

What do I do with that 1/2 out in front? If it wasn't a part of the equation, C would equal 20. That is, if I'm correct so far.
 
Last edited:
Physics news on Phys.org
You add the +C after you integrate. Not at the very end. So you should have gotten e^(2y)/2 = x^2/2 - 4x + C. You can actually solve for C at that step as well. Then isolate y.
 
Yeah I realized that, but the 1/2 is still throwing me off. I'm sure it's something simple that I've forgotten.
 
TrueStar said:
Yeah I realized that, but the 1/2 is still throwing me off. I'm sure it's something simple that I've forgotten.

I'm not sure what's throwing you off. C isn't 20. It's something else. Solve for it!
 
I forgot the rule that Simon posted. It makes complete sense now. I will look at it the other way as well. Thank you both!