Stuck on a 2nd order linear differential equation

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
Why is it that if you take the C1 and C2 you found, that C1+C2 isn't equal to 3?
 
You solved your system of equations incorrectly

3 = C1 + C2

7 = C1 + C2(e^9)

If C1=3, then the first equation says C2=0
 
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.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top