Inverse laplace in matlab gives iota

  • Context: MATLAB 
  • Thread starter Thread starter indianaronald
  • Start date Start date
  • Tags Tags
    Inverse Laplace Matlab
Click For Summary

Discussion Overview

The discussion revolves around the application of the Laplace transform to a spring-mass system, specifically addressing the occurrence of complex roots in the solutions for the system's motion. Participants explore the implications of these complex roots in the context of both damped and undamped systems.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant notes that their MATLAB code for the Laplace transform yields complex roots for the position function x(t), which they find unexpected given that they can solve the same problem using traditional methods to obtain real roots.
  • Another participant explains that a damped harmonic system can yield complex conjugate roots, which can be expressed in terms of exponential and trigonometric functions, suggesting that complex roots do not necessarily lead to complex solutions if the coefficients and initial conditions are real.
  • A participant questions the meaning of the term "solution pair" and expresses confusion about interpreting the complex roots, particularly since their system lacks damping.
  • A later reply reiterates the explanation of solution pairs and emphasizes that without more specific information about the participant's system and calculations, it is challenging to provide targeted assistance.

Areas of Agreement / Disagreement

Participants exhibit some agreement regarding the nature of complex roots in damped systems, but there is disagreement or uncertainty about the implications for undamped systems and the specific participant's situation, as well as the interpretation of solution pairs.

Contextual Notes

The discussion highlights potential limitations in understanding the relationship between complex roots and the nature of solutions in different types of systems, particularly the lack of damping in the participant's case and the need for more specific details about their system.

indianaronald
Messages
21
Reaction score
0
I'm applying laplace transform to a spring-mass system, the most basic one. I write this code which takes initial values x(0) and v(0) as input and I'm computing x(t) in matlab. But for some values it gives me complex roots for x(t) which doesn't seem possible. If not for laplace I can solve the same question traditional differential equation solving way and get real roots. So what's happening here?
 
Physics news on Phys.org
Remember that a damped harmonic system may give you complex conjugate roots ##a\pm bi## with a solution pair ##\{e^{(a+bi)t},e^{(a-bi)t}\}##. But this is equivalent to the solution pair ##\{e^{at}\cos(bt),e^{at}\sin(bt)\}##. Complex roots don't necessarily cause complex solutions. In fact, if the coefficients and initial conditions are all real, you will not have complex solutions.
 
What is the meaning of solution pair? Yes, it gives me a±bi. How do I interpret it? And I don't even have damping in my system.
 
LCKurtz said:
Remember that a damped harmonic system may give you complex conjugate roots ##a\pm bi## with a solution pair ##\{e^{(a+bi)t},e^{(a-bi)t}\}##. But this is equivalent to the solution pair ##\{e^{at}\cos(bt),e^{at}\sin(bt)\}##. Complex roots don't necessarily cause complex solutions. In fact, if the coefficients and initial conditions are all real, you will not have complex solutions.

indianaronald said:
What is the meaning of solution pair? Yes, it gives me a±bi. How do I interpret it? And I don't even have damping in my system.

By a "solution pair" I mean the general solution is$$
y = Ae^{at}\cos(bt)+e^{at}\sin(bt)$$Without actually seeing what your system is and what your work looks like, I can't be more specific about your problem.
 

Similar threads

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