GS of Differential Equation

In summary: CF would be e^{-5t}[A\cos{t}+B\sin{t}] In summary, the equation x+4x+5x=34e^{2t} has a complementary function x_CF=e^{-2t}[A\cos{t}+B\sin{t}].
  • #1
jamesbob
63
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
  • #2
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:
  • #3
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?
 
  • #4
[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:
  • #5
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]
 
  • #6
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:
  • #7
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"!)
 
  • #8
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:

1. What is a differential equation?

A differential equation is a mathematical equation that relates a function to its derivatives. It describes the rate of change of a variable in terms of its current value and the values of other related variables.

2. What is the use of differential equations in science?

Differential equations are used in many areas of science, such as physics, engineering, biology, and economics. They are used to model and understand complex systems and phenomena, and to make predictions about their behavior over time.

3. What is the difference between an ordinary differential equation and a partial differential equation?

An ordinary differential equation involves a single independent variable, while a partial differential equation involves multiple independent variables. Ordinary differential equations are typically used to model one-dimensional systems, while partial differential equations are used for multi-dimensional systems.

4. How are differential equations solved?

There are various methods for solving differential equations, including separation of variables, substitution, and numerical methods such as Euler's method and Runge-Kutta methods. Some equations can also be solved analytically using special techniques.

5. What are some real-world applications of differential equations?

Differential equations are used in many real-world applications, such as predicting the weather, designing aircraft and other vehicles, modeling the spread of diseases, and understanding the behavior of electrical circuits. They are also used in economics to model financial markets and in biology to model population growth and dynamics.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
293
  • Calculus and Beyond Homework Help
Replies
1
Views
703
  • Calculus and Beyond Homework Help
Replies
7
Views
553
  • Calculus and Beyond Homework Help
Replies
4
Views
599
  • Calculus and Beyond Homework Help
Replies
5
Views
521
  • Calculus and Beyond Homework Help
Replies
7
Views
275
  • Calculus and Beyond Homework Help
Replies
2
Views
521
  • Calculus and Beyond Homework Help
Replies
6
Views
530
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
532
Back
Top