2nd order homogenous constant coefficient ODE question

Click For Summary

Discussion Overview

The discussion revolves around solving a constant coefficient second order homogeneous ordinary differential equation (ODE) and the confusion surrounding the use of different solution forms. Participants explore the equivalence of solutions expressed in exponential and trigonometric forms, and the implications of initial conditions on determining constants in these solutions.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that the general solution of a second order homogeneous ODE can be expressed in two forms: an exponential form (c1e^{wx} + c2e^{\overline{w}x}) and a trigonometric form (e^x(Acos(bx) + Bsin(bx)).
  • One participant expresses confusion about why the exponential form does not yield correct constants when applying initial conditions, leading to an inconsistent system of equations.
  • Another participant suggests that the initial conditions may have been applied incorrectly due to a typographical error in the differential equation.
  • It is noted that the assumption that c1 and c2 are real may have contributed to the confusion, as complex solutions could lead to different systems of equations.
  • Some participants assert that working with complex numbers is valid and can be converted back to real numbers if needed.

Areas of Agreement / Disagreement

Participants generally agree that the forms of the solutions are equivalent, but there is disagreement regarding the application of initial conditions and the nature of the constants involved. The discussion remains unresolved regarding the best approach to apply initial conditions in this context.

Contextual Notes

There are limitations regarding the assumptions made about the nature of the constants c1 and c2, as well as the potential impact of typographical errors in the differential equation on the solution process.

quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
If we have a constant coefficient second order homogeneous ODE, the way to solve this is to suppose a solution of the exponential type. This yields a second order polynomial equation (the "characteristic equation") that the exponent must satisfy. In case the solutions of the characteristic equation are complex, we get a solution of the form c1e^{wx}+c2e^{\overline{w}x} (call this form 1). The general solution of the ODE is usually presented in the form e^x(Acos(bx)+Bsin(bx)) (call this form 2) by using Euler's formula for e^{a+ib}.

To my eyes, forms 1 and 2 are equivalent. So then, how come trying to solve an initial value problem with form 1 does not work?!?

Consider for instance y''-2y+2=0 with y(0)=1, y'(0)=0. The roots of the char. equ. are 1+i and 1-i. If we try to find c1 and c2 using the initial values given we are lead to the impossible system c1 + c2 = 1, c1 + c2=0, c1 - c2=0. With form 2 however, we find A=1, B=-1.

Thanks, I'm confused!
 
Physics news on Phys.org
quasar987 said:
If we have a constant coefficient second order homogeneous ODE, the way to solve this is to suppose a solution of the exponential type. This yields a second order polynomial equation (the "characteristic equation") that the exponent must satisfy. In case the solutions of the characteristic equation are complex, we get a solution of the form c1e^{wx}+c2e^{\overline{w}x} (call this form 1). The general solution of the ODE is usually presented in the form e^x(Acos(bx)+Bsin(bx)) (call this form 2) by using Euler's formula for e^{a+ib}.

To my eyes, forms 1 and 2 are equivalent. So then, how come trying to solve an initial value problem with form 1 does not work?!?

Consider for instance y''-2y+2=0 with y(0)=1, y'(0)=0.
Surely you meant y'' - 2y' + 2y = 0, based on the characteristic equation you have.
quasar987 said:
The roots of the char. equ. are 1+i and 1-i. If we try to find c1 and c2 using the initial values given we are lead to the impossible system c1 + c2 = 1, c1 + c2=0, c1 - c2=0. With form 2 however, we find A=1, B=-1.

Thanks, I'm confused!

If you checked your solution against what you wrote -- y'' - 2y + 2 = 0 -- that's a problem right there.

Either pair of functions e(1 + i)x, e(1 - i)x and excos(x), exsin(x), is a basis for the solution space of your differential equation. Due to your typo, you might have been trying to calculate the constants that go with your initial conditions using the wrong DE.
 
So there are three things we can do.
They are all equivalent.
1)Work freely with complex numbers
2)Use complex numbers but convert back to real numbers at the end.
3)Work only with real numbers.

As far as your example your equations seem to result from a false assumption that c1 and c2 are real.
The initial conditions give the system (or some variation of it)
c1+c2=0
c1-c2=i

which is easily solved
 
quasar987 said:
If we try to find c1 and c2 using the initial values given we are lead to the impossible system c1 + c2 = 1, c1 + c2=0, c1 - c2=0. With form 2 however, we find A=1, B=-1.

Thanks, I'm confused!

Regardless of what equation you were trying to solve, I'm confused about how you got 3 equations from 2 initial conditions.
 
So sorry, the correct DE is y'' - 2y' + 2y = 0.

But anyhow, I see what I did wrong there. My mistake was indeed that I assumed for a second that c1 and c2 are real! Thanks for the help.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K