-a.3.2.96 Convert a 2nd order homogeneous ODE into a system of first order ODEs

In summary, a 2nd order homogeneous ODE is a mathematical equation involving a dependent variable, its derivatives, and independent variables where the highest derivative is second order and all terms are homogeneous. Converting it into a system of first order ODEs separates the second order derivative into two first order derivatives, making it easier to solve using numerical methods or specialized software. This process also provides a clearer understanding of the system and its dynamics. However, it can result in a larger and more complex system of equations and may not be suitable for all equations. Careful consideration is necessary before converting into a system of first order ODEs.
  • #1
karush
Gold Member
MHB
3,269
5
given the differential equation
$\quad y''+5y'+6y=0$
(a)convert into a system of first order (homogeneous) differential equation
(b)solve the system.

ok just look at an example the first step would be
$\quad u=y'$

then
$\quad u'+5u+6=0$

so far perhaps?
 
Last edited:
Physics news on Phys.org
  • #2
Not quite. Your system of first order equations is
y'= u
u'+ 5u+ 6y= 0. You forgot the "y" in "6y"!

You could also write that as the matrix equation $\begin{pmatrix}y' \\ u'\end{pmatrix}= \begin{pmatrix}0 & 1 \\ -6 &-5 \end{pmatrix}\begin{pmatrix}y \\ u \end{pmatrix}$
 
  • #3
HallsofIvy said:
Not quite. Your system of first order equations is
y'= u
u'+ 5u+ 6y= 0. You forgot the "y" in "6y"!

You could also write that as the matrix equation $\begin{pmatrix}y' \\ u'\end{pmatrix}= \begin{pmatrix}0 & 1 \\ -6 &-5 \end{pmatrix}\begin{pmatrix}y \\ u \end{pmatrix}$

so are you suggesting the u substitution is not the best way to go
in then now we have 2 variables u and y
 
  • #4
Since it is, initially, a "second order linear equation with constant coefficients", about the easiest kind of equation there is, I personally would not change it to two first order equations. The "characteristic equation" is [tex]r^2+ 5r+ 6= (r+ 2)(r+ 3)= 0[/tex] which has solution r= -2 and r= -3. The general solution to the equation is [tex]y(x)= Ae^{-2x}+ Be^{-3x}[/tex].

But I know that some people just feel more comfortable with systems of first order equations or matrix equations (I suspect those are engineers who use computer solvers). The method I first learned to solve a pair of equations like [tex]y'= u[/tex], [tex]u'= -5u- 6y[/tex] was to differentiate the first equation again, to get [tex]y''= u'[/tex] and then replace u' and u in the second equation to get [tex]y''= -5y'+ 6y[/tex] again!


 
Last edited by a moderator:
  • #5
karush said:
so are you suggesting the u substitution is not the best way to go
in then now we have 2 variables u and y
Perhaps you are not understanding what the question is asking. There is no "u substitution" in the "Calculus" sense. We are introducing the new variable u so that instead or a single (second order) equation in y we have two equations (first order) in y and u. That was what the problem asked you to do- change the single second order equation to two first order equations. In order to have two equations we have to have two "unknowns".
 
  • #6
HallsofIvy said:
Not quite. Your system of first order equations is
y'= u
u'+ 5u+ 6y= 0. You forgot the "y" in "6y"!

You could also write that as the matrix equation $\begin{pmatrix}y' \\ u'\end{pmatrix}= \begin{pmatrix}0 & 1 \\ -6 &-5 \end{pmatrix}\begin{pmatrix}y \\ u \end{pmatrix}$

so I was going to the eiganvalues of the matrix but we have y' and u'
 
Last edited:
  • #7
Why is that a problem? Yes, find the eigenvalues of the matrix. Calling them $\lambda_1$ and $\lambda_2$, the general solution is $y(x)= C_1e^{\lambda_1 x}+ C_2e^{\lambda_2 x}$. You don't need to find u.
 
  • #8
$\left[ \begin{array}{rr} - \lambda & 1 \\ -6 & - \lambda - 5 \end{array} \right]
=- \lambda \left(- \lambda - 5\right) + 6=\lambda^2+5\lambda+6=(\lambda+3)(\lambda+2)$
the roots are
$\lambda_1=-3$
$\lambda_2=-2$

so the general solution is

$$\displaystyle y(x)= Ae^{-2x}+ Be^{-3x}$$
 
Last edited:
  • #9
Yes, that is correct. Recall that the original second order differential equation was y''+ 5y'+ 6y= 0. If you "try" a solution of the form [tex]y(x)= e^{\lambda x}[/tex] the equation becomes [tex]\lambda^2 e^{\lambda x}+ 5\lambda e^{\lambda x}+ 6e^{\lambda x}= (\lambda^2+ 5\lambda+ 6)e^{\lambda x}= 0[/tex] and since [tex]e^{\lambda x}[/tex] is never 0 so we must have [tex]\lambda^2+ 5\lambda+ 6= 0[/tex], the same as the "characteristic equation" (or "eigenvalue equation") for that matrix. That equation, [tex](\lambda+ 3)(\lambda+ 2)= 0[/tex], has roots [tex]\lambda= -3[/tex] and [tex]\lambda= -2[/tex] so [tex]e^{-3x}[/tex] and [tex]e^{-2x}[/tex] are solutions and the "general solution" is, as you say, [tex]y(x)= Ae^{-3x}+ Be^{-2x}[/tex].
 

1. What is a 2nd order homogeneous ODE?

A 2nd order homogeneous ODE (ordinary differential equation) is a mathematical equation that describes the relationship between a function and its derivatives up to the second order, where the function and its derivatives are all of the same degree.

2. What does it mean to convert an ODE into a system of first order ODEs?

Converting an ODE into a system of first order ODEs involves rewriting the original equation as a set of first order equations, where each equation represents one of the derivatives of the original function. This allows for easier numerical or analytical solution of the equation.

3. Why would one want to convert a 2nd order homogeneous ODE into a system of first order ODEs?

Converting a 2nd order homogeneous ODE into a system of first order ODEs can make the equation easier to solve, especially for numerical methods. It also allows for more flexibility in manipulating and analyzing the equation.

4. How do you convert a 2nd order homogeneous ODE into a system of first order ODEs?

To convert a 2nd order homogeneous ODE into a system of first order ODEs, you can introduce new variables to represent the derivatives of the original function. Then, rewrite the original equation in terms of these new variables and their derivatives. This will result in a system of first order equations.

5. Are there any limitations or drawbacks to converting a 2nd order homogeneous ODE into a system of first order ODEs?

One limitation of converting a 2nd order homogeneous ODE into a system of first order ODEs is that it can result in a larger system of equations, which may be more complex to solve. Additionally, the process of converting the equation may introduce errors or inaccuracies. It is important to carefully check the resulting system of equations to ensure accuracy.

Similar threads

Replies
1
Views
931
  • Differential Equations
Replies
2
Views
1K
Replies
3
Views
788
  • Differential Equations
Replies
7
Views
2K
  • Differential Equations
Replies
4
Views
2K
Replies
2
Views
2K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
9
Views
2K
  • Differential Equations
Replies
12
Views
2K
Back
Top