Solving IVP using Laplace Transforms

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 8K views
daemon_dkm
Messages
6
Reaction score
0

Homework Statement



"Use Laplace transforms to solve the initial value problem" from section 4.2 in Elementary Differential Equations (6th ed.) Edwards & Penny

x'' + x = cos3t; x(0) = 1 & x'(0) = 0


Homework Equations



L{coskt} = s/(s²+k²)
Apparently the answer is 1/8[9cos(t)-cos(3t)].

The Attempt at a Solution




x'' + x = cos3t
L{x''} = s²*X(s) - s*1 - 0
s²X(s) - s + X(s) = s/(s²+3²)
X(s)(s²+1) = s/(s²+3²) + s
X(s) = s/[(s²+3²)(s²+1)] + s/(s²+1)

This is where I get stuck. Do I get a common denominator then do partial fractions?
 
Physics news on Phys.org
What do I do with the right most part then?
Would I set it up like
s/[(s²+3²)(s²+1)] + s/(s²+1)
= (As+B)/(s²+3²) + (Cs+D)/(s²+1) + s/(s²+1)
s = (As+B)(s²+1) +(Cs+D)(s²+3) + s(s²+3²)
 
You can ignore the last part for now, so you want to start with

[tex]\frac{s}{(s^3+3^2)(s^2+1)} = \frac{As+B}{s^2+3^2}+\frac{Cs+D}{s^2+1}[/tex]

Then

[tex]X(s) = \frac{As+B}{s^2+3^2}+\frac{Cs+D}{s^2+1} + \frac{s}{s^2+1}[/tex]
 
Thank you! That's just what I needed to know!

Because then

0s3 = A3 + C3 => A = -C
0 = B2+D2
0 = B + 3D
s = As + 9Cs
1 = -C + 9C
1 = 8C => C = 1/8 so A = -1/8
[tex] X(s) = -\frac{1}{8}\frac{s}{s^2+3^2}+\frac{1}{8}\frac{s}{s^2+1} + \frac{8}{8}\frac{s}{s^2+1}[/tex]

[tex] x(t) = L{X(s)} = -\frac{1}{8}\cos(3t)+\frac{9}{8}\cos(t)[/tex]