General solution of third order DE

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

Homework Statement



y'''-3y'+2y=0

initial conditions y(0)=0, y'(0)=1,y''(0)=1

Homework Equations



Assume [itex]y=e^{rt}[/itex]


The Attempt at a Solution



By the substitution I'm left with

[itex]r^3-3r+2=0[/itex]

which gives me the roots of -2 and 1.

my question is a lot of times with this type of question I can get three roots and get a general solution of

[itex]y=c_1e^{rx}+c_2e^{rx}+c_3e^{rx}[/itex]

this time my solution is

[itex]y=c_1e^{-2x}+c_2e^{t}[/itex]
therefore
[itex]y'=c_1-2e^{-2x}+c_2e^{t}[/itex]
and
[itex]y''=c_14e^{-2x}+c_2e^{t}[/itex]

because I've only got the two constants I solved for [itex]c_1=\frac{-1}{3}[/itex] and [itex]c_2=\frac{1}{3}[/itex]


The problem is when I substitue back into the solutions for y,y',y''

I'm getting

initial conditions y(0)=0, y'(0)=1 which is good but I'm getting y''(0)=-1.


can some please let me know where I'm going wrong?
 
Physics news on Phys.org
If you have a third-order differential equation, you need three linearly independent solutions. You only have two because one of the roots is repeated. What do you usually do when you have a repeated root? You do the same thing here.
 
So I have the roots of -2 ,1 and the repeated root 1.
forgive my ignorance but I don't know what to do with a repeated root
 
Hi Vela,

I see that pesky extra x sneaking in there when r1=r2.

So my general solution should be

[itex]y=c_1e^{-2x}+c_2e^{x}+c_2xe^{x}[/itex]
 
Last edited:
Hi Guys,
using the general solution I found the following.

[itex]y=c_1e^{-2x}+c_2e^{x}+c_3xe^{x}[/itex]
[itex]y'=c_1-2e^{-2x}+c_2e^{x}+c_3e^{x}+xe^{x}[/itex]
[itex]y''=c_14e^{-2x}+c_2e^{x}c_32e^{x}+xe^{x}[/itex]


Using the coefficients and initial conditions in a matrix.

[itex]\[ \left( \begin{array}{cccc}<br /> 1 & 1 & 1 & 0 \\<br /> -2 & 1 & 1 & 1\\<br /> 4 & 1 & 2 & 1\end{array} \right)\][/itex]

I solved for the row reduced echelon matrix.

[itex]\[ \left( \begin{array}{cccc}<br /> 1 & 0 & 0 & -\frac{1}{3} \\<br /> 0 & 1 & 0 & -\frac{5}{3}\\<br /> 0 & 0 & 1 & 2\end{array} \right)\][/itex]


which gives the solution of

[itex]y=-\frac{1}{3}e^{-2x}+-\frac{5}{3}e^{x}+2xe^{x}[/itex]

which satisfies

[itex]y(0)=0[/itex]
[itex]y'(0)=1[/itex]
[itex]y''(0)=1[/itex]


thanks for all your help guys.

It was a pretty challenging problem!