How Do You Solve the Homogeneous Part of Second Order Differential Equations?

Click For Summary

Homework Help Overview

The discussion revolves around solving the homogeneous part of second-order differential equations, specifically focusing on the characteristic equation and its solutions. Participants are exploring the transition from first-order to second-order equations and the implications of having second derivatives in the equations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the formation of the characteristic equation from the homogeneous part of the differential equation and the process of finding its roots. Questions arise about the interpretation of multiple solutions and the correct form of the complementary function.

Discussion Status

Some participants have provided insights into the nature of the characteristic equation and the expected number of solutions for second-order differential equations. There is an ongoing exploration of terminology, such as the distinction between the general solution and the complementary function, with various interpretations being discussed.

Contextual Notes

Participants express uncertainty regarding the application of methods learned from previous examples, particularly in the context of second-order differential equations. There is mention of a lack of formal instruction on these topics, which contributes to the confusion in applying the concepts correctly.

jamesbob
Messages
63
Reaction score
0
[tex]\ddot{x} + 10\dot{x} + 34x = 50e^{-t}[/tex]

Im stuck on getting the homogeneous equation. I am used to equations with just first derivatives, not second derivatives as well. Usually, i'd set the left hand side equal to zero and say:

[tex]set \left x = Ae^{\lambda{t}} \left and \left so \left \dot{x} = A \lambda e ^{\lambda{t}}[/tex]

id then put in the coefficients and get something like LAMBDA = -2.

But when there's a second derivative i have an extra lamba squared expression and therefore a polynomial that is equal to zero. This results in 2 solutions - is that okay for the homogeneous equation? Il work thru this question as i would:

[tex]\ddot{x} + 10\dot{x} + 34x = 50e^{-t}[/tex]

[tex]Homogeneous: \ddot{x} + 10\dot{x} + 34x = 0[/tex]

[tex]set: \left x = Ae^{\lambda{t}} \left and \left \dot{x} = A \lambda e^{\lambda{t}} \left and \left \ddot{x} = A \lambda^2 e^{\lambda{t}}[/tex]

putting in the coef's we have:

[tex]A \lambda^2 e^{\lambda{t}} + 10A \lambda e^{\lambda{t}} + 34Ae^{\lambda{t}} = 0[/tex]

this simplifies to:

[tex]\lambda^2 + 10\lambda + 34 = 0[/tex]

Do i now perform the quadratic formula to get 2 results for LAMBDA thus giving me something along the lines of

[tex]Homogeneous eq = Ae^{xt} + Ae^{yt}[/tex] ?
 
Last edited:
Physics news on Phys.org
jamesbob said:
[tex]\ddot{x} + 10\dot{x} + 34x = 50e^{-t}[/tex]

Im stuck on getting the homogeneous equation. I am used to equations with just first derivatives, not second derivatives as well. Usually, i'd set the left hand side equal to zero and say:

[tex]set \left x = Ae^{\lambda{t}} \left and \left so \left \dot{x} = A \lambda e ^{\lambda{t}}[/tex]

id then put in the coefficients and get something like LAMBDA = -2.

But when there's a second derivative i have an extra lamba squared expression and therefore a polynomial that is equal to zero. This results in 2 solutions - is that okay for the homogeneous equation? Il work thru this question as i would:

[tex]\ddot{x} + 10\dot{x} + 34x = 50e^{-t}[/tex]

[tex]Homogeneous: \ddot{x} + 10\dot{x} + 34x = 0[/tex]

[tex]set: \left x = Ae^{\lambda{t}} \left and \left \dot{x} = A \lambda e^{\lambda{t}} \left and \left \ddot{x} = A \lambda^2 e^{\lambda{t}}[/tex]

putting in the coef's we have:

[tex]A \lambda^2 e^{\lambda{t}} + 10A \lambda e^{\lambda{t}} + 34Ae^{\lambda{t}} = 0[/tex]

this simplifies to:

[tex]\lambda^2 + 10\lambda + 34 = 0[/tex]

Do i now perform the quadratic formula to get 2 results for LAMBDA thus giving me something along the lines of

[tex]Homogeneous eq = Ae^{xt} + Ae^{yt}[/tex] ?

You should do that business of setting [itex]y= e^{\lamba}t[/itex] a few times to see how it works. By the time you have done it three or four times, it should have dawned on you that the "characteristic equation" for, say, Ay"+ By'+ C= 0, is Ax2+ Bx+ C= 0 and be able to just write down the equation. Since this is a second order d.e. the characteristic equation is a quadratic equation. Solving that will, in general, give two solutions. That's exactly what you want. The set of all solutions to a second order d.e. form a two-dimensional vector space so you need two independent solutions.

I am not crazy about your writing
[tex]Homogeneous eq = Ae^{xt} + Ae^{yt}[/tex]
for several reasons.

For one thing, it is the solution y, not the equation, that is equal to that.
Second, since y was being used as the symbol for the dependent function, it is not a good idea to use y (or x) to represent a number.
Finally, there is no reason to believe that the coefficient of each exponential will be the same (i.e. don't use "A" on both).

A correct solution to the homogeneous equation, assuming the characteristic equation has roots [itex]\lambda_1[/itex] and [itex]\lambda_2[/itex] is
[tex]y_h(t)= Ae^{\lambda_1 t}+ Be^{\lamba_2 t}[/tex].
 
Last edited by a moderator:
I found a similar question in a past paper that has solutions and from it learned things about the characteristic equation you mentioned, and also to use A + B.

This question is: [tex]\ddot{x} + 4\dot{x} + 5x = 34e^{2t}[/tex]

You get the characteristic quadratic: [tex]\lambda^2 + 4\lambda + 5 = 0[/tex]

So [tex]\lambda = \frac{-4 \pm 2i}{2} = -2 \pm i[/tex]

We had never been given any tutoring on differentials with second derivatives and thus have never had to deal with an answer as such. In this example, the answers gave the complimentary function:

[tex]x_{CF} = e^{-2t}[A\cos{t} + B\sin{t}][/tex]

As i said, i have never seen anything like this before - but i can see that with solutions like this, you use the first as the power of e (ie -2) and for i, you say Acost + Bsint - where t has the same coefficient as i.

Applying this to my original question, where the solution i found were [tex]-5 \pm 3i[/tex]
I get:
[tex]x_{CF} = e^{-5t}[A\cos{3t} + B\sin{3t}][/tex]

Is this correct. If so, can someone explain why these rules apply?
 
[tex]e^{a+ bi}= e^a e^{bi}= e^a(cos(b)+ i sin(b))[/tex]

It just the same as eax except that a is complex and so the exponential of the imaginary part become sine and cosine.
 
Last edited by a moderator:
Ah rite i see how that works. If i get two solutions for lambda, is my complimentary function:

[tex]Ae^{\lambda_1} + Be^{\lambda_2}[/tex]

or

[tex]Ae^{\lambda_1 + \lambda_2} ?[/tex]
 
Another example of this question type that I am stuck on is:

[tex]\ddot{x} + 7\dot{x} + 12x = 24[/tex]

Find the particular solution where [tex]x(0) = 3, \left \dot{x}(0) = -2[/tex]

My working is:

[tex]Homogeneous:[/tex]

For this we read off the characteristic quadratic:

[tex]\lambda^2 + 7\lambda + 12 = 0[/tex]

Find soloutions:

[tex]x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} = \frac{-7 \pm \sqrt{49 - 4 \times 12}}{2 \times 1} = \frac{-7 \pm 1}{2}[/tex]

This gives solutions [tex]x = -3, -4[/tex]

So we have [tex]x_{CF} = Ae^{-3} + Be^{-4} \left (or \left Ae^{-3 + -4} = Ae^{-7} \left) ?[/tex]

[tex]Particular \left Integral:[/tex]

This is what i did but I am not sure its right:

[tex]set \left x = \alpha, \Rightarrow \dot{x} = 0 \Rightarrow \ddot{x} = 0[/tex]

Subbing in:

[tex]12\alpha = 24 \Rightarrow \alpha = 2[/tex]

[tex]General Solution:[/tex]

[tex]x(t) = Ae^{-3} + Be^{-4} + 2[/tex]
OR
[tex]x(t) = Ae^{-7} + 2[/tex]

So that's what i get as a general solution. I am pretty sure this is wrong as if i now try to get the particular solution, what do i do with the values given for [tex]x[/tex] and [tex]\dot{x}[/tex] ?
 
Last edited:
jamesbob said:
Ah rite i see how that works. If i get two solutions for lambda, is my complimentary function:

[tex]Ae^{\lambda_1} + Be^{\lambda_2}[/tex]

or

[tex]Ae^{\lambda_1 + \lambda_2} ?[/tex]
"Complimentary function"? Do you mean the general solution to the homogeneous equation? As I said before, if [itex]\lambda_1[/itex] and [itex]\lambda_2[/itex] are solutions to the characteristic equation, then
[tex]Ae^{\lambda_1 t}+ Be^{\lambda_2 t}[/tex]
is the solution to the homogeneous equation. (Don't forget the "t"!)
 
jamesbob said:
Another example of this question type that I am stuck on is:

[tex]\ddot{x} + 7\dot{x} + 12x = 24[/tex]

Find the particular solution where [tex]x(0) = 3, \left \dot{x}(0) = -2[/tex]

My working is:

[tex]Homogeneous:[/tex]

For this we read off the characteristic quadratic:

[tex]\lambda^2 + 7\lambda + 12 = 0[/tex]

Find soloutions:

[tex]x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} = \frac{-7 \pm \sqrt{49 - 4 \times 12}}{2 \times 1} = \frac{-7 \pm 1}{2}[/tex]

This gives solutions [tex]x = -3, -4[/tex]
I always feel a little foolish using the quadratic formula and then discovering that the roots are integers! 12= 3(4) and 3+ 4= 7. the equation factors as (x+ 4)(x+ 3)= 0.

So we have [tex]x_{CF} = Ae^{-3} + Be^{-4} \left (or \left Ae^{-3 + -4} = Ae^{-7} \left) ?[/tex]

[tex]Particular \left Integral:[/tex]

This is what i did but I am not sure its right:

[tex]set \left x = \alpha, \Rightarrow \dot{x} = 0 \Rightarrow \ddot{x} = 0[/tex]

Subbing in:

[tex]12\alpha = 24 \Rightarrow \alpha = 2[/tex]

[tex]General Solution:[/tex]

[tex]x(t) = Ae^{-3} + Be^{-4} + 2[/tex]
OR
[tex]x(t) = Ae^{-7} + 2[/tex]

So that's what i get as a general solution. I am pretty sure this is wrong as if i now try to get the particular solution, what do i do with the values given for [tex]x[/tex] and [tex]\dot{x}[/tex] ?
Actually, neither of those is a function! they are constants. Don't forget the variable!

e-3t and e-4t are solutions to the homogeneous equation. e-7t is NOT.

Aren't you learning any of the theory behind this? The set of all solutions to a homogeneous nth order differential equation for an n-dimensional vector space. Any n independent solutions for a basis for that space so any solution can be written as a linear combination of those solutions. A linear combination is something like Af+ Bg where A and B are numbers.
 
Last edited by a moderator:

Similar threads

Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K