Stuck on a 2nd order linear differential equation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
jumbogala
Messages
414
Reaction score
4

Homework Statement


y'' - 2y'+ 6y = 0

y(0) = 3
y(5) = 7

Find a solution y(t).

Homework Equations


The Attempt at a Solution


I found the characteristic equation: x2 - 9x = 0, which has roots at 0 and 9.

Therefore y(t) = C1e0x + C2e9x

Using the initial conditions to solve this:
3 = C1 + C2

7 = C1 + C2(e^9)

And solving the system of equations gives
C1 = 3
C2 = 4.937

Therefore y(t) = 3 + 4.937e^9.

But this isn't the correct answer... where did I go wrong? It seems like it should work =\
 
Last edited:
Physics news on Phys.org
jumbogala said:
Therefore y(t) = 3 + 4.937e^9.
Some questions have already been raised about the constants, but also, your solution should be a function of t.
 
Whoops, somehow my C2 is off by a factor of 10000. Silly mistake... thanks! And yeah, I changed the x's to t's.