Second order differential equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 1K views
lumpyduster
Messages
15
Reaction score
0

Homework Statement


So I'm in pchem right now and I haven't taken dif eq (it's not required, but I wish I had taken it now!)

I am asked to solve this differential equation:

y''+y'-2y=0

Homework Equations



I know for a second order differential equation I can solve for the roots first. If there is one root then the solution will take the form y=c1erx+c2xerx

If there are two distinct roots I will get something like:
y=c1er1x+c2er2x

The Attempt at a Solution



I tried to find the roots

r2+r-2=0
r= -2 and r=1

So I get:

y=c1e-2x+c2ex

I am pretty sure this is correct (I checked to see if I got zero if I did y''+y'-2y and I did), but is there a way to find c1 and c2?
 
on Phys.org
lumpyduster said:

Homework Statement


So I'm in pchem right now and I haven't taken dif eq (it's not required, but I wish I had taken it now!)

I am asked to solve this differential equation:

y''+y'-2y=0

Homework Equations



I know for a second order differential equation I can solve for the roots first. If there is one root then the solution will take the form y=c1erx+c2xerx

If there are two distinct roots I will get something like:
y=c1er1x+c2er2x

The Attempt at a Solution



I tried to find the roots

r2+r-2=0
r= -2 and r=1

So I get:

y=c1e-2x+c2ex

I am pretty sure this is correct (I checked to see if I got zero if I did y''+y'-2y and I did), but is there a way to find c1 and c2?

Not unless you have some initial values to work with, such as y(0) = 0 and y'(0) = 0. You'll need two initial values to determine c1 and c2.