Professional Documents
Culture Documents
Introduction
20.4
In this Block we employ the Laplace transform to solve constant coecient ordinary dierential equations. In particular we shall consider initial value problems. We shall nd that the initial conditions are automatically included as part of the solution process. The idea is simple; the Laplace transform of each term in the dierential equation is taken. If the unknown function is y (t) then, on taking the transform, an algebraic equation involving Y (s) = L{y (t)} is obtained. This equation is solved for Y (s) which is then inverted to produce the required solution y (t) = L1 {Y (s)}.
Prerequisites
Before starting this Block you should . . .
y be able to nd inverse Laplace transforms using a variety of techniques z understand what an initial-value problem is
Learning Outcomes
Learning Style
After completing this Block you should be able To achieve what is expected of you . . . to . . . solve initial-value problems using the Laplace transform method allocate sucient study time briey revise the prerequisite material attempt every guided exercise and most of the other exercises
and
Substituting these expressions into the transformed version of the dierential equation gives: [3 + sY (s)] + 2Y (s) = Solving for Y (s) we have (s + 2)Y (s) = Therefore Y (s) = 12 3 + 3s +3= s3 s3 3(s + 1) (s + 2)(s 3) 12 s3
Now, using partial fractions, this last expression can be written in a more convenient form: Y (s) = and then, inverting: L1 { y (t) = L1 {Y (s)} = 3 5 thus y (t) = 3 e2t u(t) + 5
12 3t e u(t) 5
3/5 12/5 + (s + 2) (s 3)
1 }+ s+2
12 1 L { 5
1 } s3
Try each part of this exercise The equation governing the build up of charge, q (t), on the capacitor of an RC circuit is
1 dq + q = v0 dt C
where v0 is the constant d.c. voltage. Initially, the circuit is relaxed and the circuit closed at t = 0 and so q (0) = 0 is the initial condition for the charge. Use the Laplace transform method to solve the dierential equation for q (t). Assume the forcing term v0 is causal. Part (a) Begin by nding an expression for Q(s) = L{q (t)} Answer Part (b) Now expand the expression using partial fractions Answer Part (c) Now obtain q (t) by taking inverse Laplace transforms Answer The Laplace transform method is also applied to higher-order dierential equations in a similar way.
y (0) = 0 y (0) = 0
Solution Inserting the initial conditions and rearranging: Y (s)[s2 + 2s + 2] = i.e. Then, using partial fractions: (s + 1)(s2 1 (s + 1) 1 = 2 + 2s + 2) s + 1 s + 2s + 2 1 (s + 1) = s + 1 (s + 1)2 + 1 Y (s) = 1 s+1 (s + 1)(s2 1 + 2s + 2)
where we have completed the square in the second term of the right-hand-side. We can now take the inverse Laplace transform: y (t) = L1 {Y (s)} = L1 { 1 s+1 } L1 { } s+1 (s + 1)2 + 1 = (et et cos t)u(t)
which is the solution to the initial value problem. More exercises for you to try Use Laplace transforms to solve: d2 x 1. + x = 2t x(0) = 0 x (0) = 5 dt2 2. dx + x = 9e2t dt x(0) = 3 Answer
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
and the command Dsolve2 iv(p, q, r, x, y, x0, y 0, v 0) which provides a solution to the second-order initial value problem: d2 y dy + p ( x ) + q (x)y = r(x) dx2 dx y (x0) = y 0, y (x0) = v 0
MAPLE will solve a wide range of ordinary dierential equations using the command dsolve(deqns,vars,eqns) where: deqns ordinary dierential equation in vars, or set of equations and/or initial conditions. vars variable or set of variables to be solved for eqns optional equation of the form keyword=value For example to solve d2 y dy + 2 + 2y = et y (0) = 0, y (0) = 0 2 dt dt we would key in > dsolve({di(y(t),t$2)+2*di(y(t),t)+2*y(t)=exp(-t),y(0)=0, D(y)(0)=0},y(t),type=exact); 1 cos(t) MAPLE responds with . et If your dierential equation involves either a step function or a delta function then you must use method=laplace optional equation as part of the eqns list. This ensures that the dierential equation will be solved using Laplace transforms which is necessary as the normal dsolve commands do not recognise step or delta functions. For example to solve d2 y dy + 2 + 2y = et u(t) y (0) = 0, y (0) = 0 2 dt dt 5
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
we would key in > dsolve({di(y(t),t$2)+2*di(y(t),t)+2*y(t)=exp(-t)*Heaviside(t), y(0)=0,D(y)(0)=0},y(t), method=laplace); MAPLE responds with y (t) = e(t) e(t) cos(t)
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
v0 C since, taking the Laplace transform of each term in the s(RCs + 1) dq 1 } + L{q } = L{v0 } dt C v0 1 R[q (0) + sQ(s)] + Q(s) = C s RL{
v0 . s
i.e.
where, we emphasize, the Laplace transform of the constant term v0 is we have, after some rearrangement, Q(s) = v0 C s(RCs + 1)
Inserting q (0) = 0
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
RC 1 s RCs + 1
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
You should obtain q (t) = v0 C (1 et/RC )u(t) since 1 L1 { } = 1 s and L1 { RC 1 } = L1 { } = et/RC RCs + 1 s + (1/RC )
q(t) v0 C
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform
10
2. x(t) = 3e2t
11
Engineering Mathematics: Open Learning Unit Level 1 20.4: The Laplace Transform