Solving IVP using Laplace Transforms

In summary, the initial value problem of x'' + x = cos3t with x(0) = 1 and x'(0) = 0 can be solved using Laplace transforms. The solution is x(t) = -1/8cos(3t) + 9/8cos(t).
  • #1
daemon_dkm
6
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
  • #2
There's no need to get a common denominator. Just use partial fractions to break up the first term.
 
  • #3
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²)
 
  • #4
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]
 
  • #5
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]
 

FAQ: Solving IVP using Laplace Transforms

How do Laplace transforms help solve initial value problems (IVPs)?

Laplace transforms are a mathematical tool that can be used to simplify the solution of differential equations, such as those found in IVPs. By transforming a differential equation into an algebraic equation, it becomes easier to solve using standard algebraic methods.

What types of initial conditions can be solved using Laplace transforms?

Laplace transforms can be used to solve IVPs with initial conditions of both zero and non-zero initial values. This includes problems where the initial value of the function is known, as well as problems where the initial value of the derivative of the function is known.

Are there any limitations or restrictions when using Laplace transforms to solve IVPs?

While Laplace transforms can provide a simplified solution to many IVPs, there are some limitations and restrictions to keep in mind. The function being solved must be continuous and have a finite number of discontinuities, and the Laplace transform must exist for the function being solved.

Can Laplace transforms be used to solve IVPs with more than one independent variable?

No, Laplace transforms are only applicable to IVPs with a single independent variable. If the problem involves multiple independent variables, other methods such as the Fourier transform may be used.

How do I know if I should use Laplace transforms to solve a particular IVP?

Laplace transforms are most useful for solving IVPs where the differential equation is linear and the initial conditions are known. If the problem meets these criteria, then Laplace transforms can provide a more efficient and simplified solution compared to traditional methods.

Back
Top