Help solving differential equation using Laplace Transforms

Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order ordinary differential equation (ODE) using Laplace transforms. The original poster presents their steps in applying the Laplace transform to the equation x''(t) + 3 x'(t) + 2x(t) = 0, along with initial conditions x(0) = 2 and x'(0) = -2, and seeks feedback on their approach.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster outlines their method for applying the Laplace transform and expresses uncertainty about potential errors in their calculations. Some participants point out specific mistakes, such as the incorrect use of 's' terms and suggest corrections to the equations. Others question the simplification steps and the validity of the resulting expressions.

Discussion Status

Participants are actively engaging in correcting and clarifying the original poster's steps. There are indications of productive guidance being offered, with suggestions for simplifications and checks against initial conditions. However, there is no explicit consensus on the final solution, as some participants express doubts about the correctness of the derived expressions.

Contextual Notes

Participants note the importance of verifying that the solution satisfies both the initial conditions and the original differential equation. There is also mention of potential confusion regarding the notation used in the transformations.

abc617
Messages
11
Reaction score
0
In this engineering course I'm taking I'm learning how to solve Laplace transforms. Now my ODE class only barely touched on this so I'm not sure if I'm doing this correct so I'd like some help pointing out where I went wrong, if I went wrong anywhere.


x''(t) + 3 x'(t) + 2x(t) = 0, x(0) = 2, x'(0) = -2

My Steps:
-Convert everything into its Laplace Transform
(s^2X - sx(0) - x'(0)) + 3(s'X - x(0)) + /2X) = 0

-Replace with initial values
(s^2X - 2s - (-2) ) + 3(s'X - 2) + 2X) = 0

-Distribute
s^2X - 2s + 2 + 3s'X - 6 + 2X = 0

-Add like terms
s^2X - 2s + 3s'X +2X - 4 = 0

-Group the s terms, then simplify
X(s^2 - 3s' + 2) - 2s - 4 = 0

-Isolate X
X = \frac{2s + 4}{s^2 - 3s' + 2}


Now I'm not sure if I'm done since I missed one lecture. I'd appreciate it if someone could check over and point over/highlight any errors I made. Please and thank you!
 
Physics news on Phys.org
There shouldn't be any s' terms.

Also, there is an error in the next to last line. You should have X(s2 + 3s + 2)

With this correction, your last equation can be simplified:
X = \frac{2s + 4}{s^2 + 3s + 2} = \frac{2(s + 2)}{(s + 2)(s + 1)}

...
Finally, take the inverse Laplace transform to find x(t).
 
Thanks, apparently I put in s^1 and mistook it for s'

Alright so I rewrote
X = \frac{2s + 4}{s^2 + 3s + 2} = \frac{2(s + 2)}{(s + 2)(s + 1)}

as

X = \frac{2}{(s+2)(s+1)} * \frac{s+2}{(s+2)(s+1)}

-I was then able to cancel s+2 in the 2nd term.

-Then by using a Laplace transform table, I got:
x(t) = 2(e^{-t}- e^{-2t}) (e^{-t})
 
abc617 said:
Thanks, apparently I put in s^1 and mistook it for s'

Alright so I rewrote
X = \frac{2s + 4}{s^2 + 3s + 2} = \frac{2(s + 2)}{(s + 2)(s + 1)}
Why not just cancel the s + 2 factors? Wouldn't that be simpler? You'll get X(s) = 2/(s + 1). Finding the inverse Laplace will be pretty easy from that.
abc617 said:
as

X = \frac{2}{(s+2)(s+1)} * \frac{s+2}{(s+2)(s+1)}

-I was then able to cancel s+2 in the 2nd term.

-Then by using a Laplace transform table, I got:
x(t) = 2(e^{-t}- e^{-2t}) (e^{-t})

I don't think this is right, but I didn't take the time to check. You can check by verifying that this function satisfies the initial conditions and the differential equation.
 
Alright so factoring out and canceling:

X = \frac{2s + 4}{s^2 + 3s + 2} = \frac{2(s + 2)}{(s + 2)(s + 1)} = 2\frac{1}{s+1}

So then I would take the inverse Laplace transform of
2\frac{1}{s+1}

To get:
x(t) = e^{-t}
 
It's easy enough to check whether your solution is correct. As I mentioned before, your solution has to satisfy the initial conditions (it doesn't) and the differential equation (it doesn't).

\mathcal{L}^{-1}(\frac{1}{s + 1}) = e^{-t}

but you have 2/(s + 1), so ...?
 
Oh, I forgot the 2, so it should've been

x(t) = 2e^{-t}?
 
Why the question mark? Are you asking me whether this is the solution?

Check it for yourself.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K