Professional Documents
Culture Documents
Em 2 Sol 2
Em 2 Sol 2
Em 2 Sol 2
t ∈ [0, π2 );
0
sin(t),
13. y − y = y(0) = 4.
0, elsewhere,
t ∈ [0, 1);
t,
14. ẋ − x = x(0+) = −1.
0, elsewhere,
15. Use the Laplace transform to find the general solution of y 00 + y = 8e2t sin(t).
t ∈ [0, 1);
t,
16. Consider the function f (t) =
1, t ∈ [1, 2).
Find its Fourier series, its sine Fourier series, and its cosine Fourier series.
For each series determine its sum.
EM2 Solved problems—Laplace & Fourier transform pHabala 2003
Solutions
1. We first use the rule for L{t f (t)} to get rid of t:
d
0 4p
L{sin(2t)} = − p22+4 =
L{t sin(2t)} = − dp (p2 +4)2 .
2. We first use the rule for L{eat f (t)} to get rid of the exponential:
L{e−3t cos(3t)} = L{cos(3t)} = p2p+9 p+3
= (p+3) 2 +9 =
p+3
p2 +6p+18 .
p−(−3) p+3
It is also possible to first get rid of 3t, since it is everywhere in the function. We use the choice
f (t) = e−t cos(t), then f (3t) is the given function. Using the appropriate formula we get rid
of 3t, then we continue as above (get rid of exponential, transform cosine). When doing two
operations, one has to be careful about the proper order of grammar rules:
−3t −t
1 1
= 31 p2p+1
L{e cos(3t)} = 3 L{e cos(t)} = 3 L{cos(t)}
p/3 p−(−1) p/3 p+1 p/3
p 1
1 p+1 1 p/3+1 9+3 p+3
= 3 2
(p+1) +1
= 3 (p/3+1)2 +1 = p2 2p
= p2 +6p+18 .
p/3 9 + 3 +2
4. We have to use the shift rule. There are two ways to do it:
a) We change the given function t + 2 to feature the expression t − 3 just like the jump function,
then use the shift rule:
L{(t + 2) · H(t − 3)} = L{([t − 3] + 5) · H(t − 3)} = e−3p L{(t + 5) · H(t)} = e−3p p12 + p5 .
b) It is also possible to use the shift rule and think of it as a substitution, for t − 3 one puts,
say, s, so t = s + 3:
L{(t + 2) · H(t − 3)} = e−3p L{([s + 3] + 2) · H(s)} = e−3p L{(s + 5) · H(s)} = e−3p p12 + p5 .
5. There are two possibilities. First, one can use the definition:
R∞ Rπ
L{f (t)} = f (t)e−pt dt = sin(t)e−pt dt.
0 0
This integral is standard (two integrations by parts, then solving an equation), but it is a long
calculation. It might be easier to express the given function as a product of sine and a discrete
unit signal on the interval [0, π]:
f (t) = sin(t) · [H(t) − H(t − π)] = sin(t)H(t) − sin(t)H(t − π).
Thus (see the previous problem)
L{f (t)} = L{sin(t)H(t) − sin(t)H(t − π)} = L{sin(t)H(t)} − L{sin(t)H(t − π)}
= 1
p2 +1 − e−πp L{sin(s + π)H(s)} = 1
p2 +1 − e−πp L{− sin(s)H(s)}
e−πp +1
= 1
p2 +1 + e−πp p21+1 = p2 +1 .
6. There is no rule for the absolute value. One possibility is to use the definition, but integrating
absolute value is a problem, such an integral would have to be split depending on whether the
sine is positive or negative.
It will be therefore easier to think of f as a function that is periodic with T = π, since indeed,
when you draw the graph, you find out that the function f is actually just one “hill” of the sine
repeated over and over. In fact, the first period, fT , is exactly the function from part d). By
the theorem on periodic functions and the previous part,
L{fT } e−πp +1
L{f (t)} = 1−e −πp = (p2 +1)(1−e−πp ) .
7. To find the
inverse, it is enough
to decompose the fraction into partial fractions:
L−1 (p2 +1)(p+1)
2p
= L−1 pp+1
2 +1 − 1
p+1
8. First we will use the appropriate rule to get rid of the exponential. The inverse Laplace of
the remaining fraction is done first by completing a square, then by using the shift rule for the
inverse Laplace and finally using the dictionary:
−3p
L−1 p28e −1 8 −1 8
+2p+5 = L 2
p +2p+5 t−3
· H(t − 3) = L (p+1) +4 t−3 · H(t − 3)
2
= e−t L−1 p2 +2 · H(t − 3) = e−t 4 sin(2t)
8
2 · H(t − 3)
t−3 t−3
0, t ∈ [0, 3);
3−t
= 4e sin 2(t − 3) · H(t − 3) = 3−t
4e sin 2(t − 3) , t ≥ 3.
When rewriting the answer as a split function, we used the fact that H(t − 3) = 0 for t < 3 and
H(t − 3) = 1 for t ≥ 3.
Note how t − 3 was substituted back: It also became a part of the exponential, due to the order
in which the rules were used. It is possible to also first handle the shift, then the rest:
−3p −1 8e−3(p+1)+3
−3p+3 3 −3p
L−1 p28e = e−t L−1 8ep2 +4 = e−t L−1 4·2e e
+2p+5 = L (p+1)2 +4 p2 +4
−3p
= e−t 4e3 L−1 2e = 4e3−t L−1 p2 +2
2
p2 +4 2 · H(t − 3)
t−3
= 4e3−t sin(2t) · H(t − 3) = 4e3−t sin 2(t − 3) · H(t − 3).
t−3
Now the substitution of t − 3 applied only to the sine part itself, because e3−t was already done,
it was not a part of the inverse Laplace when the “get rid of exponential” rule was applied.
9. We just have to use the rule for getting rid of exponential and then the dictionary:
−p
e−p e−p
L−1 1−e −1 1 −1
−p 1 1 1
p 2 − p + p−1 = L p 2 − L e p2 + p − p−1
−1 1 1 1
· H(t − 1) = t − t + 1 − et
=t−L p2 + p − p−1
· H(t − 1)
t−1 t−1
t−1 t−1
= t − ([t − 1] + 1 − e ) · H(t − 1) = t + (e − t) · H(t − 1)
0, t < 0;
= t, t ∈ [0, 1);
t−1
e , t ≥ 1.
y
0 1 x
10. We apply the Laplace transform to both sides of the equation, denoting Y = L{y}:
L{y 0 − y} = L{(x + 2)e2x } =⇒ L{y}0 − L{y} = L{x + 2}
p−2
1 2
=⇒ [pL{y} − y(0+ )] − L{y} = p2 + p
p−2
1 2
=⇒ pY − 3 − Y = (p−2) 2 + p−2
1 2
=⇒ (p − 1)Y = 3 + (p−2) 2 + p−2 .
3 1 2
Therefore Y (p) = p−1 + (p−1)(p−2)2 + (p−1)(p−2) .
To find y(t) we use the inverse Laplace transform. First we need to replace the rational functions
in Y with partial fractions:
EM2 Solved problems—Laplace & Fourier transform pHabala 2003
2 2 2
(p−1)(p−2) = p−2 − p−1
1 1 1 1
(p−1)(p−2)2 = p−1 − p−2 + (p−2)2 .
2 1 1
Thus Y (p) = p−1 + p−2 + (p−2) 2.
Consequently
y(t) = L−1 p−1 = L−1 + L−1 + L−1
2 1 1
2
1
1
+ p−2 + (p−2)2 p−1 p−2 (p−2)2
Since the equation and the solution exist on the whole real line, it is very likely that the solution
actually works on IR. This would have to be checked by substituting y into the equation and
indeed it works.
11. We apply the Laplace transform to both sides. It might be a good idea to first figure out
the Laplace transform on the right. We can do it by definition, since this should be easy:
Rπ −pt π −πp
L{f (t)} = e−pt dt = e−p 0 = 1−ep .
0
Alternative:
L{f (t)} = L{H(t) − H(t − π)} = p1 − e−πp L{H(t)} = p1 − e−πp p1 .
The left hand-side transforms (denoting Y = L{y}) like this:
L{ÿ + y} = [p2 Y − 2p − 1] + Y = Y (p2 + 1) − 2p − 1.
Therefore the equation becomes
Y (p2 + 1) = 1 + 2p + p1 − e−πp p1 =⇒ Y = p21+1 + p22p 1
+1 + p(p2 +1) − e
−πp 1
p(p2 +1) .
Thus y(t) = L−1 p21+1 + p22p 1 −πp 1
+1 + p(p2 +1) − e p(p2 +1) . The inverse Laplace of the first two
terms is easy, for the other two we use the partial fractions decomposition:
1 2p 1 p −πp 1 p
Y (p) = p2 +1 + p2 +1 + p − p2 +1 − e p − 2
p +1
1 1 p −πp 1 p
= p + p2 +1 + p2 +1 − e p − p2 +1
Thus
y(t) = L−1 p1 + p21+1 + p2p+1 − e−πp p1 − p2p+1
−π2 pL
L{f (t)} = L{sin(t)H(t)} − L sin(t)H t − π2 = 1 π
p2 +1 − e sin s + 2 H(s)
π π
= p21+1 − e− 2 p L{cos(s)H(s)} = p21+1 − e− 2 p p2p+1 .
Thus the whole equation transforms as
π π
pY − 4 − Y = p21+1 − e− 2 p p2p+1 =⇒ Y = p−1 4 1
+ (p2 +1)(p−1) p
− e− 2 p (p2 +1)(p−1) .
Partial fractions decomposition yields
1 1 1 1
1 2 p+ 2 p − 12 p+ 12
(p2 +1)(p−1) = p−1 − p2 +1 , (p2 +1)(p−1) = p−1 + p2 +1 .
2 2
Thus 9 1 1
1
− 12 p+ 12
2 p+ 2 −π p
Y = p−1 − p2 +1 − e
2 2
p−1 + p2 +1
2
.
Consqeuently
π
y(t) = L−1 92 p−1 − 12 p2p+1 − 12 p21+1 − e− 2 p 12 p−1 − 12 p2p+1 + 12 p21+1
1 1
2π
16. a) The Fourier series: T = 2, ω = T = π.
RT R1 R2
a0 = T2 f (t) dt = t dt + 1 dt = 32 ;
0 0 1
2
RT R1 R2
ak = T f (t) cos(kωt) dt = t cos(kπt) dt + cos(kπt) dt
0 0 1
h
1
i1
1
R1 h
1
i2
= t kπ sin(kπt) − kπ sin(kπt) dt + kπ sin(kπt)
0 0 1
h i1
1 1 −1 1 1
= kπ sin(kπ) − kπ kπ cos(kπt) + kπ sin(2kπ) − kπ sin(kπ)
0
= 0 + k21π2 (cos(kπ) − cos(0)) + 0 = k21π2 ((−1)k − 1).
RT R1 R2
bk = T2 f (t) sin(kωt) dt = t sin(kπt) dt + sin(kπt) dt
0 0 1
h i1 h R1 i2
= t −1
kπ cos(kπt) cos(kπt) dt + −1
+ 1
kπ
kπ cos(kπt)
0 0 1
i1
h
= −1 1 1 1
kπ cos(kπ) + kπ kπ sin(kπt) − kπ cos(2kπ) − cos(kπ)
0
= −1 1 1 1
k
kπ (−1) + k2 π 2 sin(kπ) − sin(0) − kπ 1 − (−1)k = − kπ .
∞
Thus f ∼ 12 · 23 + 1 1
P k
k2 π 2 ((−1) − 1) cos(kπt) − kπ sin(kπt) .
k=1
On the left: Periodic extension of f . On the right: The sum of this series by the Jordan criterion.
−4 −2 0 1 2 4 −4 −2 0 1 2 4
π π
b) The sine Fourier series: T = 2, ω = = T 2.
a0 = an = 0;
RT R1 R2
bk = T2 f (t) sin(kωt) dt = t sin k π2 t dt + sin k π2 t dt
0 0 1
h i 1 R1 h i 2
t −2 k π2 t 2
k π2 t −2
k π2 t
= kπ cos + kπ cos dt + kπ cos
0 0 1
i1
h
= −2 2 π 2 π 2
cos(kπ) − cos k π2
kπ cos k 2 + kπ kπ sin k 2 t − kπ
0
= −2 π 4 π 2
(−1)k − cos k π2 = 4
sin k π2 − kπ
2
kπ cos k 2 + 2
k π 2 sin k 2 − sin(0) − kπ k2 π 2 (−1)k .
∞
4 π 2
sin k π2 t .
P k
Thus f ∼ k2 π 2 sin k 2 − kπ (−1)
k=1
On the left: Odd periodic extension of f . On the right: The sum of this series by the Jordan
criterion.
−4 −2 0 1 2 4 −4 −2 0 1 2 4
b) The cosine Fourier series: T = 2, ω = Tπ = π
2.
RT R1 R2
bn = 0; a0 = T2 f (t) dt = t dt + 1 dt = 32 ;
0 0 1
2
RT R1 R2
t cos k π2 t dt + cos k π2 t dt
ak = T f (t) cos(kωt) dt =
0 0 1
2
h i 1 R1 i 2 h
sin k π2 t 2
sin k π2 t dt + kπ
2
sin k π2 t
= t kπ − kπ
0 0 1
h i1
2 −2
sin k π2 − 2 π 2
sin(kπ) − sin k π2
= kπ kπ kπ cos k 2 t + kπ
0
EM2 Solved problems—Laplace & Fourier transform pHabala 2003
2
sin k π2 + k24π2 cos k π2 − cos(0) − kπ 2
sin k π2 = 4
cos k π2 − 1 .
= kπ k2 π 2
∞
Thus f ∼ 34 + 4 π π
P
2
k π 2 cos k 2 − 1 cos k 2 .
t
k=1
Even periodic extension of f , it is also the sum of this series by the Jordan criterion.
−4 −2 0 1 2 4