Question about linear second order ODE solution coefficients

Click For Summary

Discussion Overview

The discussion revolves around the nature of coefficients in the general solution of linear second order ordinary differential equations (ODEs), particularly focusing on whether the coefficients can be complex numbers when the roots of the characteristic polynomial are complex.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions whether the coefficients C_1 and C_2 in the general solution of linear second order ODEs can be complex, given that the general solution is expressed in terms of complex roots.
  • Another participant suggests that while the general solution can be derived using complex solutions, the real-valued solutions can be obtained from the real and imaginary parts of these complex solutions, which are linearly independent.
  • A third participant agrees that complex solutions are valid but emphasizes that in classical physical boundary value problems, the solutions are typically real, suggesting a lack of clarity in literature regarding the nature of the coefficients.
  • One participant expresses satisfaction with the clarification that the coefficients can indeed be complex, as initially assumed.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of explicitly stating that coefficients can be complex. While some agree that complex coefficients are mathematically valid, others emphasize the context of physical problems where real solutions are preferred. The discussion remains somewhat unresolved regarding the explicit treatment of coefficients in literature.

Contextual Notes

There is an implicit assumption that the focus is primarily on real-valued solutions in many applications, which may not be clearly articulated in all texts. The discussion highlights the potential oversight in addressing the nature of coefficients in the context of complex solutions.

meldraft
Messages
280
Reaction score
2
Hey all,

there is something that has always bugged me in linear second order ODEs. We say that the general solution is:

[tex]y=C_1e^{r_1x}+C_2e^{r_2x}[/tex]

where r_1 and r_2 are the solutions of the characteristic polynomial.

The cases where r1, r2 are real are pretty straightforward. If they are complex, however:

[tex]r_1=a+ib , r_2=a-ib[/tex]

after algebraic manipulation we come up with the following:

[tex]y=e^{ax}[(C_1+C_2)cos(bx)+i(C_1-C_2)sin(bx)]=e^{ax}[c_1 cos(bx)+c_2 sin(bx)][/tex]

We then say, that this is the general solution of the ODE, and if c_1, c_2 are real, the solutions are also real.

This would imply that the C_1 and C_2 coefficients are considered to be complex. However, I have not seen such an assumption in any book or description so far. In fact, they are sometimes not defined at all, simply referred to as "arbitrary constants". Does this assumption cover the possibility that they may be complex numbers? Am I missing something obvious?
 
Last edited:
Physics news on Phys.org
Generally you look for real valued solutions. There is another way to come up with the general solution. It is straightforward to prove that if y=u+iv is a complex valued solution of this type of equation then both u and v are real valued solutions and they are linearly independent (try it). The two complex solutions immediately yield the same two real solutions and the general solution is a linear combination of u and v.
 
Certainly, a similar thing happens with harmonic conjugates. However, unless I am mistaken, even though the solution is real, it is (or rather, it can be) the superposition of complex functions. Therefore, wouldn't it make sense to explicitly state that the C_1 and C_2 coefficients can be complex?
 
I agree. From a strictly mathematical point of view, a complex solution is a solution. But if we are solving a classical physical boundary value problem then the solutions are real. I think that author's are sometimes sloppy in not properly motivating or explaining exactly what solutions we are interested in.

Sorry. To answer the original question, they can be complex as you assume.
 
This clears things up! Thank you!
 

Similar threads

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