Sdtmaths II Lecturenotes
Sdtmaths II Lecturenotes
by
1 Laplace Transform 7
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4.1 Convolutions . . . . . . . . . . . . . . . . . . . . . . . . 24
2 Fourier Series 49
3
2.0.2 Orthogonal functions . . . . . . . . . . . . . . . . . . . . 50
3 Fourier integral 61
4 Fourier Transform 69
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4.2 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4
5.2 Non-linear partial differential equations . . . . . . . . . . . . . 94
5
Shiv Datt Kumar Laplace Transform
6
Chapter 1
Laplace Transform
1.1 Introduction
Laplace transforms replace ODEs with equations which can be solved alge-
braically. Laplace transforms are more advantageous than the classical meth-
ods. Initial values are automatically taken care of when using Laplace trans-
forms. In addition, Laplace transforms increase the types of functions, which
7
Shiv Datt Kumar Laplace Transform
can include as inputs to an ODE, so that non continuous functions and impulses
can be included.
1. Convert and ODE into an algebraic equation using the Laplace transform.
−1 if x < 0,
f (x) = 0 if x = 0
1
if x > 0.
8
Shiv Datt Kumar Laplace Transform
f (t)
|f (t)| ≤ M eαt , t > 0 or lim = f inite number.
t→∞ eαt
This means geometrically that graph of f (t) does not grow faster than the
graph of the function g(t) = M eαt , α > 0. We write f (t) = O(eαt ).
f (t)
Example 1.2.1. 1. f (t) = tn is of exponential order, for limt→∞ =0
eαt
2
4. f (t) = e2t is not of exponential order, for it is not possible to find real
2
numbers α and M such that e2t ≤ M eαt .
3. s > α.
R∞
Then the integral 0
e−st f (t)dt exists and is absolutely convergent and is called
Laplace transform of f (t). The Laplace transform of a function f (t) defined
9
Shiv Datt Kumar Laplace Transform
for t ≥ 0 is
Z ∞
F (s) = L(f (t)) = e−st f (t)dt.
0
The function f (t) is called the inverse Laplace transform of F (s), and we
write f (t) = L−1 (F (s)).
L(a f (t) + b g(t)) = a L(f (t)) + b L(g(t)) for functions f, g and constants
a, b
2. Transform of a derivative:
Z ∞ Z ∞
0 −st 0 −st ∞
L(f ) = e f (t)dt = (e f (t)) 0
+s e−st f (t)dt = sL(f )−f (0).
0 0
L(f 00 ) = sL(f 0 )−f 0 (0) = s[sL(f )−f (0)]−f 0 (0) = s2 L(f )−sf (0)−f 0 (0).
10
Shiv Datt Kumar Laplace Transform
In general
Pn
Lf (n) (t) = sn F (s) − k=1 sn−k f (k−1) (0), where F (s) = L(f (t)).
Rt
Proof. Let φ(t) = 0
f (u) du be piecewise continuous on [0, ∞) and of
exponential order and φ0 (t) = f (t) except for points for which f (t) is
discontinuous. L(f (t)) = L [φ0 (t)] = sLφ(t)−φ(0) = sLφ(t), since φ(0) =
Rt 1 −1 F (s) Rt
0. Therefore L 0 f (u) du = L(f (t) implies L = 0 f (u) du.
s s
6. Shifting theorem
1 1
7. L [f (kt)] = L(f (t) s→s/k
= F (s/k)
k k
11
Shiv Datt Kumar Laplace Transform
R∞
Proof. L(f (t)) = 0
e−st f (t)dt
on the RHS, geometric series converges if |e−sT | < 1, for Re(s) > 0. Then
1
R T
L(f (t)) = e−st f (t) dt
1 − e−sT 0
9. Convolution of functions
Rt
Convolution of f (t) and g(t)= f ∗ g = 0
f (t − λ)g(λ) dλ
where f (t) ∗ g(t) is called the convulsion or falting of f (t) and g(t).
Convolution Theorem:
If L−1 [(F (s)] = f (t), and L−1 [(G(s)] = g(t), then L−1 [(F (s) G(s)] =
Rt
f (t) ∗ g(t) = 0 f (u)g(t − u)du,
Rt
Proof. Let φ(t) = 0
f (u)g(u − t)du. Then
R∞ Rt R∞Rt
L(φ(t)) = 0
e−st [ 0
f (u)g(u − t)du]dt = 0 0
e−st f (u)g(u − t)du dt.
12
Shiv Datt Kumar Laplace Transform
Now change the order for this double integration between the lines u = 0
and u = t
R∞R∞
L(φ(t)) = 0 u
te−st f (u)g(u − t)dt du
R∞ R ∞
e−st f (u)
= 0 u
g(u − t)dt du
Put t − u = v. Then
R ∞ R ∞
e−su f (u) du 0 e−sv g(v) dv .
= 0
= F (s)G(s)
n!
2. Integration by parts shows that L(tn ) = for integers n.
sn+1
13
Shiv Datt Kumar Laplace Transform
∞
at
R∞ −st at
R∞ −(s−a)t e−(s−a)t
3. If f (t) = e , then F (s) = 0
e e dt = 0
e dt = =
−(s − a) 0
1
, provided s > a. The improper integral computed with the Laplace
s−a
transform will normally exist only for certain values of s.
1 s + iω
4. If f (t) = eiωt , then F (s) = = 2 , provided s > ω. Since
s − iω s + ω2)
s ω
eiωt = cos ωt + i sin ωt, then L(cos ωt) = 2 2
and L(sin ωt) = 2
s +ω s + ω2
e + e−at
at
1 at −at 1 1 1
5. L(cosh at) = L = (L(e ) + L(e )) = + =
2 2 2 s−a s+a
s a
. Similarly L(sinh at) = 2 .
s −a
2 2 s − a2
Example 1.2.3. Find the Laplace transform of f (t) = t cos 3t. We have
s
L(cos 3t) = .
s2 +9
d s
Hence L(f (t)) = L(t cos 3t) = − .
dx s2 + 9
Z t
2 2
err(t) = √ e−x dx
π 0
√ 1
Show that L(err( t)) = p .
s (s + 1)
Solution:
√ Z √t Z √t
x4 x6
2 −x 2 2 2
err( t)) = √ e dx = √ 1−x + − + · · · dx
π 0 π 0 2! 3!
√
2 Γ(3/2) Γ(5/2) Γ(7/2)
L(err( t)) = √ − + − ···
π s3/2 3s5/2 5(2!)s7/2
√
1 1 1 1.3 1 1.3.5 1 1
L(err( t)) = 3/2 1 − . + 2
− 3
− +··· = p
s 2 s 2.4 s 2.4.6 s s (s + 1)
If the Laplace transforms of two functions are the same, then the two functions
must be the same as well. This allows us to invert the Laplace transform and
obtain the only function with a given Laplace transform. Inverting a Laplace
transform often involves matching the transformed function up with a function
from a table, and then using the table to invert the transform.
7
Example 1.2.5. 1. Find the inverse Laplace transform of F (s) = 3 , first
s
2 2 7 7 2!
note that 3 is the transform of t . We rewrite F (s) = 3 = , and
s s 2 s3
7
then find the inverse transform as L−1 (F (s)) = t2 .
2
3s + 4
2. Find the inverse Laplace transform of F (s) = , note that the
s2 + 25
transforms of cos(5t) and sin(5t) are s/(s2 + 52 ) and 5/(s2 + 52 ). We
3s + 4 3s 4 5
rewrite F (s) = 2 = 2 + , and then the inverse
s + 25 s + 25 5 s2 + 25
4
transform is 3 cos(5t) + sin(5t).
5
3s + 1
3. Find the inverse Laplace transform of F (s) =
s2 + 3s + 2
3s + 1 5 2
Since = − , then inverse Laplace is f (t) = 5e−2t −
s2 + 3s + 2 s+2 s+1
2e−t .
s−3
Example 1.2.6. 1. L(e3t cos(πt)) = . In other words, multi-
(s − 3)2 + π 2
plication of the function f (t) by eat means that you first find the Laplace
transform of f and the replace each s with s − a.
15
Shiv Datt Kumar Laplace Transform
2! 2!
2. Compute L(t2 e−5t ) = 3
(start by finding L(t2 ) = 3 and the re-
(s + 5) s
place the s with s − (−5)).
3
3. Inverse Laplace transform of is related to the inverse transform
(s − 4)3
3 2 3 32
of 3 . The transform of t2 is 3 , so the inverse transform of 3 =
s s s 2 s3
3 2
is t . Because there was an s − 4 in the original denominator, we have
t
3
to multiply by e4t to obtain the inverse Laplace transform of as
(s − 4)3
3 2 4t
te .
t
s−2
4. Inverse Laplace transform of is found by first obtaining an
(s − 4)2 + 1
s − 4 in the numerator and then breaking the fraction into two parts,
s−4+4−2 s−4 1
= +2 . We then compute the in-
(s − 4) + 1
2 (s − 4) + 1
2 (s − 4)2 + 1
verse transform as e4t cos(t) + 2e4t sin(t).
5. To use the s shifting theorem, we have to complete the square in the de-
s+2 s+2
nominator, as 2 = has Laplace inverse e−2t cos 3t.
s + 4s + 13 (s + 2)2 + 9
The reason the shifting theorem is true is because (here’s the 3 step short
proof )
Z ∞ Z ∞
−st
at
L(e f (t)) = e at
(e f (t))dt = e−(s−a)t f (t)dt = F (s − a).
0 0
by e−as )
0, t < 0
The Heaviside function u(t) =
1, t ≥ 0
can be used as a function which turns other functions on and off.
16
Shiv Datt Kumar Laplace Transform
For example, the function t2 u(t) is zero to the left of 0, and then the function
t2 is turned on at t = 0. The function t2 (u(t) − u(t − 3)) turns on the function
t2 at t = 0 and then turns it off at t = 3. The Heaviside function can be used to
piece together piecewise continuous functions by using this “on-off” approach.
For example,
the function
0, t<0
t2 ,
0≤t≤1
f (t) =
2 − t, 1 < t ≤ π
cos t, π < t
can be written using the Heaviside function as
f (t) = t2 [u(t) − u(t − 1)] + (2 − t)[u(t − 1) − u(t − π)] + cos t[u(t − π)].
or L−1 (e−as F (s)) = f (t − a)u(t − a), where F (s) = L(f (t)). This theorem is
easiest to use when computing inverse transforms, as it says that multiplication
of F (s) by e−as means that you multiply the inverse of F (s) by u(t) and then
replace all the t’s with t − a. For example we can find the inverse transform
2 2
of F (s) = 2 e−3s by first noting that the inverse transform of 2 is
s +4 s +4
sin(2t), and so we multiply by u(t) and replace each t with t − 3 to obtain
17
Shiv Datt Kumar Laplace Transform
L−1 (F (s)) = sin(2(t − 3))u(t − 3). This is just the curve sin(2t) which has been
shifted 3 units to the right and turned on at t = 3.
Notice that the t-shifting theorem has an e−as , while the s shifting theorem
has an eat . Pay attention to this sign difference. The reason the t-shifting theo-
R∞ R∞
rem is true is because 0 f (t−a)u(t−a)e−st dt = a f (t−a)e−st dt. By the sub-
R∞ R∞
stitution w = (t−a), this becomes 0 f (w)e−sw+a dw = e−as 0 f (w)e−sw dw =
e−as F (s). Again it is a fairly short proof.
(meaning replace each t with t + a and then find the transform and multiply
by e−as ). This formula shows that L(t2 u(t − 1)) = e−s L((t + 1)2 ) = e−s L(t2 +
−s 2 2 1
2t + 1)) = e + + as before.
s3 s2 s
Both shifting theorems can be applied simultaneously.
(s − 3)e−2s
If F (s) = , then without the e−2s the inverse transform would
(s − 3)2 + ω 2
be e3t cos(ωt) by the s-shifting theorem. The t-shifting theorem says that the
inverse transform is e3(t−2) cos(ω(t − 2))u(t − 2) (multiply by u(t) and then
18
Shiv Datt Kumar Laplace Transform
Given an ODE, take the Laplace transform of each side, giving what is called
the subsidiary equation. This equation can be solved for L(y) = Y (s) using
only algebra. Then compute L−1 (Y (s)) to find the solution to the IVP y(t).
This may involve finding a partial fraction decomposition. Laplace transforms
reduce many IVPs to a 3 step process (1) convert to the subsidiary equation,
(2) use algebra to solve for Y , performing a partial fraction decomposition if
needed, (3) find inverse Laplace transform.
Taking the Laplace transform both side. Then sL(y) − y(0) + 2L(y) = 0,
and using the notation L(y) = Y , we have sY − 1 + 2Y = 0. Solving for
1
Y gives the equation Y = . The inverse Laplace transform of both
s+2
sides gives y(t) = e−2t .
19
Shiv Datt Kumar Laplace Transform
Consider an example where a factor appears more than once in the denom-
inator of a partial fraction decomposition.
20
Shiv Datt Kumar Laplace Transform
t=0
If the initial conditions are not stated in terms of t0 = 0, then change variables
t̂ = t − t0 so that the initial conditions are at t̂0 = 0.
21
Shiv Datt Kumar Laplace Transform
R∞
which satisfies 0 δ(t − a) dt = 1, and has the sifting property
R∞
0
g(t)δ(t − a) dt = g(a). Dirac delta is really a distribution, and is
technically studied using limits. Consider the function fk (t − a) which has
1 R∞
value k for a < t < t + , yet is zero elsewhere. The integral 0 fk (t) dt =
k
R a+1/k
a
k dt = 1 for all k, so the function fk (t − a) is essentially a short impulse
1
of magnitude k over a time interval of length (so that the total area under
k
the curve is 1). The Dirac delta distribution is studied by considering limits of
fk as k → ∞. The limit limk→∞ fk (t − a) is point-wise the zero function, so it
should have no area underneath. The Dirac delta function is defined so that it
22
Shiv Datt Kumar Laplace Transform
behaves like the limit of the fk functions, but has a positive area under it when
your integral bounds include a. The reason we study this function is because it
is used to describe events which happen instantaneously as in a hammer blow,
flickering a light switch, when lightning strikes, or if a driving force is applied
instantaneously at t = a. In other words, if the force is turned on and then
off essentially instantaneously, then the Dirac delta function is used instead of
the Heaviside function. The Laplace transform of the Dirac delta distribution
R∞
comes easily from the sifting property, as 0 e−st δ(t − a) dt = e−as .
23
Shiv Datt Kumar Laplace Transform
1 e−3s+3 1
Y (s) = − + 30e−6s .
(s − 1)((s + 1) + 1) (s − 1)((s + 1) + 1)
2 2 (s + 1)2 + 1
1 A B(s + 1) + C
Partial fractions gives = + , where
(s − 1)((s + 1) + 1)
2 s−1 (s + 1)2 + 1
I purposefully wrote B(s + 1) + C as we will have to get a multiple of s + 1
in the numerator anyways when we compute the inverse transform which will
involve the first shifting theorem and a cosine. Multiplying both sides by the
denominator on the left gives 1 = A(s2 + 2s + 2) + (B(s + 1) + C)(s − 1) =
s2 (A + B) + s(2A + B + C) + (2A − B − C), which means 0 = A + B, 0 =
2A + C, 1 = 2A − B − C. So B = −A, C = −2A, and the solution is A =
1/5, B = −1/5, C = −2/5. This means we can write
1 (s + 1) 2
Y (s) = − −
5(s − 1) 5((s + 1) + 1) 5((s + 1) + 1)
2 2
1 (s + 1) 2 1
−e−3s e3 − − +30e−6s
5(s − 1) 5((s + 1) + 1) 5((s + 1) +
2 2 1) (s + 1)2 + 1
1 t 1 −t 2 1 t−3 1 −(t−3)
y(t) = e − e cos(t) − e−t sin(t) −e3 u(t−3) e − e cos(t − 3) −
5 5 5 5 5
2 −(t−3)
e sin(t − 3) + 30 e−(t−6) sin(t − 6).
5
1.4.1 Convolutions
The Laplace transform of the product f · g of two functions is not the product
of the Laplace transforms of each (L(f g) 6= L(f )L(g)). Instead, the Laplace
Rt
inverse of H(s) = L(f )L(g) is equal to a quantity h(t) = f ∗g(t) = 0 f (p)g(t−
24
Shiv Datt Kumar Laplace Transform
p)dp called the convolution of f and g (the proof involves interchanging the
order of integration on a double integral). The variable p is a dummy variable
of integration, and could be called anything else. The convolution satisfies
various properties (commutative, distributive, associative), however f ∗ 1 6= f ,
and f ∗ f may be negative.
1 1 1
If H(s) = = 2 = F (s)G(s), where f (t) = t and g(t) =
s2 (s− 1) s (s − 1)
et , then the inverse Laplace transform of H(s) is the convolution of f and
Rt Rt t
g. We compute h(t) = 0 pet−p dp = et 0 pe−p dp = et (−pe−p − e−p ) 0 =
et (−te−t − e−t + 1) = −t−1+et . The convolution is an alternate approach (in-
stead of a partial fraction decomposition) to finding inverse Laplace transforms.
A mass-spring system with ODE my 00 + cy 0 + ky = f (t), y(0) = 0, y 0 (0) = 0 has
1
subsidiary equation s2 mY + scY + kY = F (s) or Y = F (s) =
ms2 + cs + k
W (s)F (s), where W (s) is called the transfer function of the system. Engi-
neers often study mass-spring systems by letting w(t) = L−1 (W (s)) (called the
weight function) and then writing the solution using the convolution y(t) =
w(t) ∗ f (t). This gives an extremely easy way to represent the solution of a
mass-spring system, with a single integral (though the integral may be rather
complex). This formula is called Duhamel’s principle for the system.
Transfer theorems give us rules for computing transforms and inverse trans-
forms of derivatives and integrals. The key transfer theorem we have already
been using is L(y 0 ) = sY − y(0). Also L( ydt), L−1 (F 0 (s)), and L−1 ( F (s)ds)
R R
are important.
25
Shiv Datt Kumar Laplace Transform
Rt F (s)
Laplace transform of f ∗ 1 = f (p)1dp is
0
, which is immediate by
s
1
the convolution theorem since L(1) = . This can be used to find transforms
s
Rt F
of integrals, namely L( 0 f (t)dt) = (remember that the transform of a
s
derivative resulted in multiplying by s, so it seems reasonable the transform of
an integral should involve division by s). Remember that the voltage drop due
Q Rt
to a capacitor is V = , where Q(t) = 0 I(t)dt for the current I(t). Hence
C
the charge is Q(t) = I(t) ∗ 1, the convolution of I and 1, which means that
Q(s) I Q
= . Hence the subsidiary equation of the ODE LI 0 + RI + =
C sC C
E(t) for a power source supplying E(t) volts with I(0) = 0 and Q(0) = 0 is
L(I)
L(sI − I(0)) + RL(I) + = L(E).
sC
Derivative of a transform satisfies the rule L(−tf (t)) = F 0 (s). This can be
1 − s2
d s
used to show that L(−t cos(t)) = = , or that L(−t sin(wt)) =
ds s2 + 1 (s2 + 1)2
d w 2ws
= .
ds s2 + w2 (s2 + w2 )2 R
∞
f (t)
Integral of a transform satisfies the rule L = F (p)dp, provided
t s
f (t)
limt→0+ exists and is finite.
t
eat − e−at
f (t) = sinh(at) =
2
Solution:
eat − e−at
1 1
L(sinh(at)) = L = L(eat ) − L(e−at )
2 2 2
26
Shiv Datt Kumar Laplace Transform
1 1
= −
2(s − a) 2(s + a)
s + a − (s − a) a
= = (1.1)
2(s2 − a2 ) s 2 − a2
f (t) = e2t t2
L e−at f (t) = F (s − a)
(1.2)
2! 2
L t2 = 3 = 3 (1.3)
s s
2
L e2t t2 =
(1.4)
(s − 2)3
The next two questions are about the Laplace transform of f 0 , recall the
formula
L(f 0 ) = sL(f ) − f (0)
d
cosh 3t = 3 sinh 3t
dt
27
Shiv Datt Kumar Laplace Transform
and verify that you get the same answer on each side. The idea is that
you do the right hand side using the table entry for sinh(3t) and the left
hand side using the formula for f 0 with f = cosh(3t). cosh(0) = 1 by the
way.
a s
L(sinh at) = , L(cosh at) = (1.5)
s 2 − a2 s 2 − a2
and cosh 0 = 1 so
d
L cosh 3t = L (3 sinh 3t)
dt
3
sL (cosh 3t) − 1 = 3 2
s −9
s 3
s 2 −1 = 3 2
s −9 s −9
2
s s −9 9
s 2 − 2 = 2
s −9 s −9 s −9
9 9
= 2 (1.6)
s −9
2 s −9
df
2 =1
dt
28
Shiv Datt Kumar Laplace Transform
derivatives, we get
dx
L 2 = L(1)
dt
df 1
2L =
dt s
1
2sF (s) − 8 = (1.7)
s
(1.8)
1
f =4+ t (1.10)
2
To verify that this solves the equation note that f (0) = 4 as required and
f 0 = 1/2.
f 00 − 4f 0 + 3f = 1 (1.11)
Solution: First, take the Laplace transform of the equation. Since f 0 (0) =
f (0) = 0, if L(f ) = F (s) then L(f 0 ) = sF (s) and L(f 00 ) = s2 F (s). Thus,
29
Shiv Datt Kumar Laplace Transform
1
s2 F − 4sF + 3F = (1.12)
s
and so
1
(s2 − 4s + 3)F =
s
1 1
F = (1.13)
s s − 4s + 3
2
1
F = (1.14)
s(s − 3)(s − 1)
1 A B C
= + +
s(s − 3)(s − 1) s s−3 s−1
1 = A(s − 3)(s − 1) + Bs(s − 1) + Cs(s − 3)(1.15)
1 1 1
F = + − (1.16)
3s 6(s − 3) 2(s − 1)
and so
1 1 3t 1 t
f (t) = + e − e (1.17)
3 6 2
30
Shiv Datt Kumar Laplace Transform
f 00 − 4f 0 + 3f = 2et (1.18)
Solution: We have L(2et ) = 2/(s − 1) on the right hand side. This means
that the subsidiary equation is
2
(s2 − 4s + 3)F = (1.19)
s−1
so
2
F = (1.20)
(s − 1)2 (s − 3)
We need to do partial fractions again, but this is one of those cases with
a repeated root:
1 A B C
= + + (1.21)
(s − 1)2 (s − 3) s − 1 (s − 1)2 s − 3
1 1
1 = −A + + (1.23)
2 4
31
Shiv Datt Kumar Laplace Transform
1 1 1
F =− − + (1.24)
2(s − 1) (s − 1) 2 2(s − 3)
and
1 1
f = − et − tet + e3t (1.25)
2 2
f 00 − 4f 0 + 3f = 0 (1.26)
Solution: Since
s2 F − s − 1 − 4sF + 4 + 3F = 0 (1.29)
so
(s2 − 4s + 3)F = s − 3. (1.30)
Hence
1
F = (1.31)
s−1
32
Shiv Datt Kumar Laplace Transform
and
f (t) = et (1.32)
y 00 − 2ay 0 + a2 y = 0 (1.33)
s2 Y − 1 − 2aY + a2 Y = 0 (1.34)
and hence
1
Y = (1.35)
(s − a)2
f 00 + f 0 − 6f = e−3t (1.37)
1
s2 F + sF − 6F = (1.38)
s+3
33
Shiv Datt Kumar Laplace Transform
or
1
F = (1.39)
(s + 3)2 (s − 2)
we do partial fractions
1 A B C
= + +
(s + 3)2 (s − 2) s + 3 (s + 3)2 s − 2
1 = A(s + 3)(s − 2) + B(s − 2) + C(s + 3)2 (1.40)
1 −3t t −3t 1
f =− e − e + e2t (1.42)
25 5 25
f 00 + 6f 0 + 13f = 0 (1.43)
34
Shiv Datt Kumar Laplace Transform
and, hence,
1
F = . (1.45)
s2 + 6s + 13
Now, using minus b plus or minus the square root of b squared minus
four a c all over two a, we get
s2 + 6s + 13 = 0 (1.46)
if
√
−6 ± 36 − 52
s= = −3 ± 2i (1.47)
2
which means
1 A B
= + (1.49)
s2 + 6s + 13 s + 3 − 2i s + 3 + 2i
1 i
A= =− (1.51)
4i 4
35
Shiv Datt Kumar Laplace Transform
and s = −3 − 2i to get
1 i
B=− = (1.52)
4i 4
and so
i 1 i 1
F =− + . (1.53)
4 s + 3 − 2i 4 s + 3 + 2i
i i
f = − e−(3−2i)t + e−(3+2i)t
4 4
i −3t −2it
= e (e − e2it )
4
1 −3t
= e sin 2t (1.54)
2
f 00 + 6f 0 + 13f = et (1.55)
1
s2 F + 6sF + 13F = (1.56)
s−1
so that
1
F = . (1.57)
(s − 1)(s + 3 + 2i)(s + 3 − 2i)
We write
1 A B C
= + + (1.58)
(s − 1)(s + 3 + 2i)(s + 3 − 2i) s + 3 − 2i s + 3 + 2i s − 1
36
Shiv Datt Kumar Laplace Transform
giving
1 = A(s−1)(s+3+2i)+B(s−1)(s+3−2i)+C(s+3−2i)(s+3+2i). (1.59)
s = −3 + 2i gives
so
1 1 8 − 16i 1 + 2i
A=− =− =− (1.61)
8 + 16i 8 + 16i 8 − 16i 40
1 − 2i
B=− (1.62)
40
1 + 2i 1 1 − 2i 1 1 1
F =− − + (1.64)
40 s + 3 − 2i 40 s + 3 + 2i 20 s − 1
and so
1 + 2i −(3−2i)t 1 − 2i −(3+2i)t 1
f = − e − e + et
40 40 20
1 −3t 1
(1 + 2i)e2it + (1 − 2i)e−2it + et
= − e (1.65)
40 20
37
Shiv Datt Kumar Laplace Transform
We then substitute in
to end up with
1 −3t 1
f= e [2 sin 2t − cos 2t] + et (1.67)
20 20
1 − e−cs
(s2 + 2s − 3)F =
s
1 − e−cs
F =
s(s2 + 2s − 3)
1
= (1 − e−cs )
s(s − 1)(s + 3)
−cs A B C
= (1 − e ) + + (1.69)
s s−1 s+3
38
Shiv Datt Kumar Laplace Transform
1 A B C
= + +
s(s − 1)(s + 3) s s−1 s+3
1 = A(s − 1)(s + 3) + Bs(s + 3) + Cs(s − 1)
s=0:
1 = −3A
1
A = −
3
s=1:
1 = 0 + 4B + 0
1
B =
4
s = −3 :
1 = 0 + 012C
1
C =
12
Hence we have
−cs 11 1 1 1 1
F = (1 − e ) − + + (1.70)
3 s 4 s − 1 12 s + 3
1 1 t 1 −3t 11 1 1 1 1
L − + e − e =− + + (1.71)
3 4 12 3 s 4 s − 1 12 s + 3
39
Shiv Datt Kumar Laplace Transform
1 1 t 1 −3t 1 1 (t−c) 1 −3(t−c)
f (t) = − + e + e − Hc (t) − + e + e (1.72)
3 4 12 3 4 12
so the Heaviside function is zero until a and then it is one. The right
hand side is zero until t = 1 and then it is one until t = 2 and then it
is zero again. Consider H1 (t) − H2 (t), this is zero until you reach t = 1,
then the first Heaviside function switches on, the other one remains zero.
Things stay like this until you reach t = 2, then the second Heaviside
function switches on as well and you get 1 − 1 = 0. Thus
0, 0 ≤ t < 1
H1 (t) − H2 (t) = 1, 1 ≤ t < 2 (1.75)
0, t ≥ 2
40
Shiv Datt Kumar Laplace Transform
Now, using
e−as
L(Ha (t)) = (1.76)
s
e−s e−2s
s2 F + 2sF − 3F = − (1.77)
s s
This gives
1 −s
(s2 + 2s − 3)F = e − e−2s
s
1
e−s − e−2s
F = (1.78)
s(s − 1)(s + 3)
Now
1 1 1 1
=− + + (1.79)
s(s − 1)(s + 3) 3s 4(s − 1) 12(s + 3)
1 1 t 1 −3t 1 1 1
L − + e + e =− + + (1.80)
3 4 12 3 4(s − 1) 12(s + 3)
However, we know from the second shifting theorem that the affect of the
exponential e−as is to change t to t − a and to introduce an overall factor
of Ha (t). Thus
1 1 t−1 1 −3t+3 1 1 t−2 1 −3t+6
f = H1 (t) − + e + e − H2 (t) − + e + e
3 4 12 3 4 12
(1.81)
41
Shiv Datt Kumar Laplace Transform
f 00 + 2f 0 − 3f = δ(t − 1) (1.82)
hence
(s2 + 2s − 3)F − 1 = e−s (1.84)
1 1 1
=− + (1.85)
s2 + 2s − 3 4(s + 3) 4(s − 1)
Hence
1 1
1 + e−s
F = − + (1.86)
4(s + 3) 4(s − 1)
Since
1 −3t 1 t 1 1
L − e + e =− + (1.87)
4 4 4(s + 3) 4(s − 1)
1 −3t 1 t 1 −3t+3 1 t−1
f= − e + e + H1 (t) − e + e (1.88)
4 4 4 4
15. Find the convolution (f ∗ g)(t) when f (t) = t, g(t) = e2t (t ≥ 0).
42
Shiv Datt Kumar Laplace Transform
Z t Z t
(f ∗ g)(t) = f (τ )g(t − τ ) dτ = τ e2(t−τ ) dτ
Z0 t Z t0
= τ e2t e−2τ dτ = e2t τ e−2τ dτ
0 0
−2τ
Use integration by parts with u = τ, dv = e dτ
1
du = dτ, v = − e−2τ
Z t 2 Z t
2t 2t t
= e u dv = e [uv]0 − v du
0 0
h Z t
2t τ −2τ it 1 −2τ
= e − e − − e dτ
2 0 0 2
1 t −2τ
Z
2t t −2t
= e − e +0+ e dτ
2 2 0
t
t e2t
1 −2τ
= − + − e
2 2 2 0
2t
t e 1 −2t 1
= − + − e +
2 2 2 2
t 1 1
= − − + e2t
2 4 4
16. Use the convolution theorem to find the function f (t) with
1
L(f ) = .
s2 (s − 4)
1 4t 1
Solution: We know L(t)) = and L(e ) = . From the convolution
s2 s−4
theorem, we see
1
L(f ) = = L(t)L(e4t ) = L(t ∗ e4t )
s2 (s− 4)
43
Shiv Datt Kumar Laplace Transform
Z t
f (t) = τ e4(t−τ ) dτ
Z0 t Z t
4t −4τ
= τe e dτ = e 4t
τ e−4τ dτ
0 0
−4τ
Use integration by parts with U = τ, dV = e dτ
1
dU = dτ, V = − e−4τ
Z t 4 Z t
4t 4t t
= e U dV = e [U V ]0 − V dU
0 0
h Z t
4t τ −4τ it 1 −4τ
= e − e − − e dτ
4 0 0 4
1 t −4τ
Z
4t t −4t
= e − e +0+ e dτ
4 4 0
t
t e4t
1 −4τ
= − + − e
4 4 2 0
4t
t e 1 −4t 1
= − + − e +
4 4 4 4
t 1 1
= − − + e4t
4 16 16
17. Use the formula for the Laplace transform of a periodic function with
period c:
Z c
1
L(f ) = f (t)e−st dt (1.89)
1 − e−cs 0
44
Shiv Datt Kumar Laplace Transform
Z 2π Z π
1 −st 1
L(f ) = f (t)e dt = sin t e−st dt
1 − e−2πs 0 1 − e−2πs 0
We need to do the integral. There are two obvious ways, the first is to
split the sine into exponentials
Z π Z π Z π
−st 1 (i−s)t −(i+s)t
sin te dt = e dt − e dt
0 2i 0 0
1 1 (i−s)π
1 −(i+s)π
= e −1 + e −1
2i i − s i+s
Now, we use
eiπ = e−iπ = −1
and
1 1 −i − s s+i
= =− 2
i−s i − s −i − s s +1
1 1 −i + s s−i
= = 2
i+s i + s −i + s s +1
to get
π
1 + e−sπ
Z
sin te−st dt =
0 1 + s2
or
1 1 + e−sπ 1 1
L(f ) = =
s2 + 1 1 − e−2sπ s2 + 1 1 − e−sπ
45
Shiv Datt Kumar Laplace Transform
π
1 π
Z Z
−st
I= sin te dt = − cos te−st dt
0 s 0
1 1 −πs 1
= − − e +1 + I
s s s
f (t) = sin2 t
eax
Z
eax cos bx dx = (a cos bx + b sin bx) + C
a2 + b 2
to obtain Laplace cos kt directly from the definition of the Laplace trans-
form.
f (t) = t5 e−4t
5s − 6
(a) F (s) =
s2 − 3s
46
Shiv Datt Kumar Fourier Series
1
(b) F (s) =
s4 − 16
47
Shiv Datt Kumar Fourier Series
48
Chapter 2
Fourier Series
There are many functions which are periodic functions but are not sinu-
soidal. For example voltage input to circuit or the force on a spring mass
system may be periodic but possesses discontinuities. These functions can be
expressed as a trigonometric series in terms of sine or cosine function within
desired range. This series is called Fourier series i.e. a series expansion of
a function in terms of trigonometric functions cos mx and sin mx is called
Fourier series. Many functions including some discontinuous periodic func-
tions can be expressed in Fourier series if it satisfies the following Dirichlet
conditions.
49
Shiv Datt Kumar Fourier Series
For the expansion of a function f (x) in Fourier series the following conditions
are to be satisfied:
1
2. f (x) = sin , x 6= 0, can not be expanded as Fourier series in [−π, π].
x
2
Maximum of f (x) occurs at infinite number of points x = . In
(2n − 1)π
the neighbourhood of x = 0, there are infinite number of extreme values.
1
3. f (x) = x2 sin , x 6= 0, can not be expanded as Fourier series in [−π, π].
x
The function f (x) has infinite number of extreme values.
1. A set of continuous functions {f1 (x), f2 (x), . . . , fn (x)}, which do not van-
ish identically in [a, b] is said to be orthogonal if
Rb Rb
a
fm (x) fn (x) dx = 0, if m 6= n and a
fm (x) fn (x) dx 6= 0, if m = n.
50
Shiv Datt Kumar Fourier Series
Rb Rb
a
w(x) fm (x) fn (x) dx = 0, if m 6= n and a
w(x)fm (x) fn (x) dx 6= 0, if
m = n.
Example 2.0.2. 1. Set of functions {1, cos x, sin x, cos 2x, sin 2x, . . . , } is
orthogonal on [−π, π].
πx πx 2πx 2πx
2. Set of functions {1, cos , sin , cos , sin . . . , } is orthogonal on
c c c c
[−c, c].
Useful Integrals
R α+2π R α+2π
α
cos nx dx = α sin nx dx = 0.
R α+2π R α+2π
α
cos mx cos nx dx = α sin mx cos nx dx = 0,
R α+2π R α+2π
α
cos2 nx dx = α sin2 nx dx = π.
Rc mπx nπx Rc mπx nπx
−c
cos cos dx = −c cos sin dx = 0.
c c c c
Rc nπx Rc nπx
−c
cos2 dx = −c sin2 dx = c.
c c
Remark 2.0.1. 1. Sum of periodic functions is also periodic function. Let
1 1 1
f (x) = sin x + sin 2x + sin 3x + sin 4x. Then
2 3 4
period of f (x) = LCM of periods of all functions.
51
Shiv Datt Kumar Fourier Series
where
Z l Z l Z l
1 1 nπx 1 nπx
a0 = f (x) dx, an = f (x)cos dx, bn = f (x)sin dx
l −l l −l l l −l l
Remark 2.0.2. If period of the function f (x) is 2π i.e. f (x) is defined on [−π, π],
then Fourier series is
∞ ∞
a0 X X
f (x) = + an cos nx + bn sin nx (2.1)
2 n=1 n=1
where
Z π Z π Z π
1 1 1
a0 = f (x) dx, an = f (x) cos nx dx, bn = f (x) sin nx dx−−(∗)
π −π π −π π −π
52
Shiv Datt Kumar Fourier Series
in Fourier series.
Theorem 2.0.1. If f (x) and f 0 (x) are piecewise continuous on interval [−l, l],
then Fourier series of f (x) at the point of continuity converges to f (x) and at
f (x + 0) + f (x − 0)
the point of discontinuity, it converges to , where f (x + 0),
2
f (x − 0) denote RHL and LHL respectively.
Remark 2.0.4. At the end points of the interval [−l, l], fourier series converges
f (−l + 0) + f (l − 0)
to .
2
1 1 1 π2
Hence show that 2 + 2 + 2 + . . . =
1 3 5 8
Solution:
∞ ∞
a0 X X
f (x) = + an cos nx + bn sin nx
2 n=1 n=1
where
π 0 0
x2
Z Z
1 1 1 π
a0 = f (x) dx = (π + x) dx = πx + =
π −π π −π π 2 −π 2
53
Shiv Datt Kumar Fourier Series
π
1 0
Z Z
1
an = f (x) cos nx dx = (π + x) cos nx dx,
π −π π −π
1 0 1 0
Z Z
= π cos nx dx + x cos nx dx,
π −π π −π
0
1 πsin nx xsin nx cos nx
= + +
π n n n2 −π
1 1 1
= 2
(1 − cos nπ) = 2
[1 − (−1)n ]
π n πn
0,
if n is even
= ,
2
, if n is odd
πn2
1 π 1 0
Z Z
bn = f (x) sin nx dx = (π + x) sin nx dx,
π −π π −π
0
1 −(π + x)cos nx sin nx
= +
π n n2 −π
1 −π
1 1 1
= (1 − cos nπ) = = −
π n2 π n n
π 2 cos x cos 3x sin x sin 2x
f (x) = + + + ... − + + ...
4 π 12 32 1 2
54
Shiv Datt Kumar Fourier Series
∞
0 πX h nπx nπx i
f (x) = n bn cos − an sin .
l n=1 l l
Theorem 2.0.3. (Term by term integration of Fourier series) Let f (x) be piece-
wise continuous on interval [−l, l] and its Fourier series is given by
∞ ∞
a0 X nπx X nπx
f (x) = + an cos + bn sin
2 n=1
l n=1
l
Z l ∞
a0 l X1h nπx n nπx oi
f (x) dx = (x+l)+ an sin + bn cos nπ − cos
−l 2 π n=1 n l l
Consider the
Fourier series expansion of the function
1
if − π < x < 0
f (x) =
−1
if 0 ≤ x < π
Function is odd. Then Fourier series is
f (x) = ∞
P
n=1 bn sin nπx, where
2 Rπ 2
bn = 0
− sin nx dx = [cos nπ − 1]
π nπ
2 0
if n is even
n
= [(−1) − 1] =
nπ
− 4
if n is odd
nπ
4 sin 3x sin 5x
Then f (x)) = sin x + + +·
nπ 3 5
4sin x 4 sin 3x
Partial sums S1 = , S2 = sin x + ,
nπ nπ 3
55
Shiv Datt Kumar Fourier Series
4 sin 3x sin 5x
S3 = sin x + + , etc
nπ 3 5
Let f (x) be periodic with period 2π and is piecewise continuous on (−π, π).
Then " ∞
#
Z π 2
1 a 0
X
|f (x)|2 dx = π + (a2n + b2n ) ,
π −π 2 n=1
∞ ∞
a0 X X
f (x) = + an cos nx + bn sin nx − − − − − − − − − (1)
2 n=1 n=1
1 Rπ 1 Rπ 1 Rπ
where a0 = f (x) dx, a n = f (x) cos nx dx, b n = f (x) sin nx dx.
π −π π −π π −π
Multiply equation (1) by f (x) and integrate term by term from −π to π, then
1 Rπ 2 a0 R π P∞ Rπ P∞ Rπ
|f (x)| dx = f (x) dx+ n=1 a n f (x) cos nx dx+ n=1 b n f (x) sin nx dx
π −π 2 −π −π −π
a0
= (πa0 ) + ∞
P
n=1 [an (πan ) + bn (πbn )],
2
2
a0 P∞ 2 2
=π + n=1 (an + bn ) ,
2
Example 2.0.5. Using Fourier series expansion of f (x) = |x| in (−π, π), show
π2 1 1 1 π4
= 1 + 2 + 2 + · · · (ii) ∞
P
that (i) n=1 =
8 3 5 (2n − 1)4 96
Proof. Since f (x) = |x| is even function in (−π, π), then bn = 0 and Fourier
series is
∞
a0 X
f (x) = + an cos nx
2 n=1
56
Shiv Datt Kumar Fourier Series
2 Rπ
where a0 = |x| dx = π,
π 0 π
2 Rπ 2 xsin x cos nx 2
an = 0
x cos nx dx = + 2
= 2
[(−1)n − 1].
π π x n 0 nπ
Therefore Fourier series is
π 4 P∞ cos (2n − 1)x
π 4 cos 3x cos 5x
|x| = − cos x + + + ··· = − n=1 .
2 π 32 52 2 π (2n − 1)2
π2 1 1
Put x = 0 to get (i) = 1 + 2 + 2 + ···.
8 3 5
Now apply Parseval’s formula
" ∞
#
Z π 2
π X 16
|x|2 dx = π + 2 (2n − 1)4
,
−π 2 n=1
π
" ∞
#
2π 3 π 2 16 X 1
=π + 2 .
3 2 π n=1 (2n − 1)4
Hence
∞
X 1 π4
= .
n=1
(2n − 1)4 96
We know that eix = cos x + i sin x and e−ix = cos x − i sin x. Thus
eix + e−ix eix − e−ix
cos x = and sin x = .
2 2i
inπx
57
Shiv Datt Kumar Fourier Series
∞ ∞
a0 X inπx X inπx
f (x) = + an cos + bn sin
2 n=1
l n=1
l
∞ inπx X∞ inπx
an − ibn
a0 X an + ibn −
f (x) = + e l + e l
2 n=1
2 n=1
2
a0 an − ibn an + ibn
Let c0 = , cn = , c−n = . Since f (x) is real, cn and c−n are
2 2 2
conjugate of each other.
∞ inπx ∞ inπx
X X −
f (x) = c0 + cn e l + c−n e l ,
n=1 n=1
∞ inπx inπx
1 l
Z
X −
f (x) = cn e l , where cn = f (x) e l dx, n = 0, ±1, ±2, . . . , .
n=−∞
2l −l
Example 2.0.6. Find the complex Fourier series of f (x) = e−x , −π < x < π.
Solution: Then complex form of Fourier series is given by
∞
X
f (x) = cn einx , f or n = 0, ±1, ±2, . . . , where
n=−∞
e−(1+in)π − e(1+in)π
1 R π −x −inx 1 R π −(1+in)x
cn = e e dx = e dx = − ,
2π −π 2π −π 2π(1 + in)
e−π (cos nπ − isin nπ) − eπ (cos nπ + isin nπ)
=−
2π(1 + in)
cos nπ(eπ − e−π ) cos nπ sinh π (1 − in)cos nπ sinh π (−1)n (1 − in) sinh π
= = = =
2π(1 + in) π(1 + in) π(1 + n2 ) π(1 + n2 )
58
Shiv Datt Kumar Fourier Series
Hence
∞
!
sinh π X (−1)n (1 − in) inx
f (x) = 2)
e
π n=−∞
(1 + n
Example 2.0.7. Find the frequency spectrum of the periodic pulse defined by
−1, if − 1 < x < 0
f (x) = , and f (x + 2) = f (x)
1,
if 0 ≤ x < 1
∞ inπx inπx
1 l
Z
X −
f (x) = cn e l , where cn = f (x) e l dx, n = 0, ±1, ±2, . . . , .
n=−∞
2l −l
Z 1 Z 0 Z 1
1 1
c0 = f (x) dx = − dx + dx = 0,
2 −1 2 −1 0
Z 1
1 i
cn = f (x)e−inx dx = [1 − cos nπ] , n 6= 0
2 −1 nπ
59
Shiv Datt Kumar Fourier Series
1 0,
if n is even
|cn | = [1 − (−1)n ] =
|nπ| 2
, if n is odd
|nπ|
60
Chapter 3
Fourier integral
If a function f (x) is not periodic, then it can not be expanded by Fourier series
over the entire real line. However we may be able to represent f (x) in an
integral form.
Theorem 3.1.1. Let the function f (x) have the following properties:
R∞
2. f (x) is absolutely integrable on the x-axis i.e. −∞
|f (x)| dx converges.
3. At every x on the real line, f (x) has left and right hand derivatives.
1 ∞
Z
f (x) = [A(ω) cos ωx + B(ω) sin ωx ] dω,
π 0
R∞ R∞
where A(ω) = −∞ f (t)cosωt dt and B(ω) = −∞ f (t)sin ωt dt.
61
Shiv Datt Kumar Fourier integral
Proof. Consider the Fourier series representation of f (x) on the interval [−l, l].
∞ ∞
a0 X nπx X nπx
f (x) = + an cos + bn sin (3.1)
2 n=1
l n=1
l
where
Z l Z l Z l
1 1 nπx 1 nπx
a0 = f (x) dx, an = f (x) cos dx, bn = f (x) sin dx
l −l l −l l l −l l
nπ nπ (n − 1)π π 1 δω
Set ωn = , ∆ω = ωn − ωn−1 = − = . Thus = Then
l l l l l π
expression (3.1) can be written as
Z l ∞ Z l
∆ω 1X
f (x) = f (t)dt + f (t)cosωn t dt cos(ωn x) ∆ω
2π −l π n=1 −l
∞ Z l
1X
+ f (t) sinωn tdt sinωn x ∆ω
π n=1 −l
∆ω R l R∞
As l → ∞, ∆ω → 0 and −l
f (t) dt → 0, since −∞ |f (x)| dx converges,
2π
the summation resembles with Riemann sum of definite integral, we have
Z ∞ Z ∞ Z ∞
1
f (x) = f (t) cosωt dt cos ωx + f (t) sin ωt dt sinωx dω
π 0 −∞ −∞
(3.2)
R∞ R∞
Denote A(ω) = −∞
f (t)cosωt dt and B(ω) = −∞
f (t)sin ωt dt. Then
equation (3.2) can be written as
Z ∞
1
f (x) = [A(ω) cos ωx + B(ω) sin ωx ] dω
π 0
62
Shiv Datt Kumar Fourier integral
3. At every x on the real line, f (x) has left and right hand derivatives,
Z ∞
1
f (x) = [A(ω) cos ωx + B(ω) sin ωx ] dω
π 0
∞
1 − cos ω
Z
1 sin ω
= cos ωx + sin ωx dω
π 0 ω ω
Z ∞
2 1 1
= sin (ω/2) cos ω (x − ) dω
π 0 ω 2
2 R ∞ sin(ω/2) R ∞ sin(x/2) π
Now put x = 1/2. Then 1 = 0
dω. Hence 0 dx = .
π ω x 2
63
Shiv Datt Kumar Fourier integral
Example 3.1.2.
Find the Fourier integral representation of the function
cos x , if |x| < π/2
f (x) =
0 ,
otherwise
Solution:
Then Fourier integral representation of the function is
Z ∞
1
f (x) = [A(ω) cos ωx + B(ω) sin ωx ] dω,
π 0
R∞ R π/2
where A(ω) = −∞ f (t)cos ωt dt = −π/2 cos t cos ωt dt
R π/2
= 0 [cos (ω + 1)t + cos (ω − 1) t]dt
π/2 π/2
sin(ω − 1)t
sin(ω + 1)t
= +
1+ω o ω−1 o
1
= 2 [ω (sin (1 + ω)π/2 + sin(ω − 1)π/2 + sin(ω − 1)π/2 − sin(ω + 1)π/2)]
(ω − 1)
2 cos (ωπ/2)
= .
(1 − ω 2 )
R∞ R π/2
B(ω) = −∞ f (t)sin ωt dt = −π/2 cos t. sin ωt dt = 0, for it is an odd function.
2 R ∞ cos (ωπ/2)
Hence f (x) = cos ωx dω, ω 6= 1
π 0 (1 − ω 2 )
Let f (x) be defined on half interval. Assume f (x) is defined [0, ∞) and
R∞
0
|f (x)| dx converges. To obtain Fourier cosine integral, we use even ex-
tension of f (x) to
whole real line.
f (x) ,
x≥0
Define g(x) =
f (−x) , x < 0
R∞
Since g(x) is even function. A(ω) = 2 0
g(t)cos ωt dt and
R∞
B(ω) = −∞ f (t)sin ωt dt = 0.
64
Shiv Datt Kumar Fourier integral
3. At every x ∈ (0, ∞), f (x) has left and right hand derivatives,
then Fourier cosine and sine integral representation converges to f (x) at the
f (x + 0) + f (x − 0)
point of continuity and converges to at the point of dis-
2
continuity.
65
Shiv Datt Kumar Fourier integral
1 R∞ 1 R∞ 2k
f (x) = A(ω) cos ωx dω = cos ωx dω.
π 0 π 0 k2 + ω2
R ∞ sin cω cos ωx
Hence evaluate 0
dω
ω
1 R∞ a Rc 2a
Solution: A(ω) = −∞
f (t)cos ω t dt = −c
cos ωt dt = sin cω.
π π πω
1 R∞ 1 Rc
B(ω) = −∞
f (t)sin ωt dt = a sin ωt dt = 0.
π π −c
R ∞ 2a 2a R ∞ sin cω cos ωx
f (x) = 0 sin cω cos ωx dω = dω.
πω π 0 ω
Since x = c is the point of discontinuity,
1 a
f (c) = [limx→c−0 f (x) + limx→c+0 f (x)] = .
2 2
Hence
π/2 , −c < x < c
∞
Z
sin cω cos ωx π
dω = f (x) = π/4 , x = ±c
0 ω 2a
0 ,
|x| > c
66
Shiv Datt Kumar Fourier integral
1 , |x| < 1
Example 3.2.4. Express the function f (x) =
0 , |x| > 1
R∞ sin ω cos ωx
as Fourier integral and hence evaluate 0
dω.
ω
Z ∞ Z ∞ Z ∞ Z 1
1 1
f (x) = f (t)cos ω(t − x) dω dt = cos ω(t − x) dω dt
π −∞ −∞ π ω=0 t=−1
∞ 1 ∞
sin ω(t − x) sin ω(1 − x) − sin ω(−1 − x)
Z Z
1 1
= dω = dω
π ω=0 ω −1 π ω=0 ω
1 R ∞ 2 sin ω cos ωx
= dω.
π ω=0 ω
R ∞ sin ω cos ωx π
Hence 0 dω = f (x).
ω 2
R ∞ sin ω π
Put x = 0, then 0 dω = .
ω 2
67
Shiv Datt Kumar Fourier integral
68
Chapter 4
Fourier Transform
4.1 Introduction
69
Shiv Datt Kumar Fourier Transform
processing. Duality between the time and frequency domains is another im-
portant property of Fourier transforms. This property relates to the fact that
the analysis equation and synthesis equation look almost identical except for
a factor of 1/2π and the difference of a minus sign in the exponential in the
integral.
Two major properties that form the basis for a wide array of signal process-
ing systems are the convolution and modulation properties. According to the
convolution property, the Fourier transform maps convolution to multiplica-
tion; that is, the Fourier transform of the convolution of two time functions is
the product of their corresponding Fourier transforms. For the analysis of lin-
ear, time-invariant systems, this is particularly useful because through the use
of the Fourier transform we can map the sometimes difficult problem of eval-
uating a convolution to a simpler algebraic operation, namely multiplication.
Furthermore, the convolution property highlights the fact that by decomposing
a signal into a linear combination of complex exponentials, which the Fourier
transform does, we can interpret the effect of a linear, time invariant system
as simply scaling the (complex) amplitudes of each of these exponentials by
a scale factor that is characteristic of the system. This ”spectrum” of scale
factors which the system applies is in fact the Fourier transform of the system
impulse response. This is the underlying basis for the concept and implemen-
tation of filtering.
70
Shiv Datt Kumar Fourier Transform
4.2 Definition
Definition 4.2.1. Let f (x) be a function defined for all x ∈ R with values in
C. Then Fourier transform of f (x) denoted as F(f (x)) is defined by
Z ∞
F (s) = F(f (x)) = f (x)e−isx dx. (4.1)
−∞
Z ∞
−1 1
f (x) = F (f (s)) = F (s)eisx ds. (4.2)
2π −∞
p 1
Remark 4.2.1. Some authors take the coefficient 2/π, in place of 1 and
2π
in (4.1) and (4.2).
form
Let f (x) be function defined on 0 < x < ∞. Then Fourier cosine transform of
f (x) denoted as Fc (f (x)) is defined by
Z ∞
Fc (s) = Fc (f (x)) = f (x) cos sx dx. (4.3)
0
Z ∞
2
f (x) = Fc−1 (f (s)) = Fc (s) cos sx ds. (4.4)
π 0
71
Shiv Datt Kumar Fourier Transform
Z ∞
Fs (s) = Fs (f (x)) = f (x) sin sx dx. (4.5)
0
Z ∞
2
f (x) = Fs−1 (f (s)) = Fs (s) sin sx ds. (4.6)
π 0
p
Remark 4.2.2. 1. Some authors take the coefficient 2/π, in place of 1 and
1
.
2π
2. Some authors define Fourier transform
Z ∞
F (s) = F(f (x)) = f (x)eisx dx. (4.7)
−∞
Z ∞
−1 1
f (x) = F (f (s)) = F (s)e−isx ds. (4.8)
2π −∞
transform
Define
e−xt φ(t) ,
t>0
f (t) =
0 ,
t<0
72
Shiv Datt Kumar Fourier Transform
Z ∞ Z 0 Z ∞
−iyt −iyt
F(f (t)) = e f (t) dt = e f (t) dt + e−iyt f (t) dt
−∞ −∞ 0
Z 0 Z ∞ Z ∞
−iyt −iyt −xt
= e .0 dt + e e φ(t) dt = e−(x+iy)t φ(t) dt
−∞ 0 0
R∞
= 0
e−st φ(t) dt = L(φ(t)), where s = x + iy.
F(a f (t)+b g(t)) = a F(f (t))+b F(g(t)), for functions f, g and constants
a, b.
1
2. Change of scale property: If F[f (t)] = F (s), then F[f (at)] = F (s/a),
a
a > 0.
F(f1 (t) ∗ f2 (t)) = F(f1 (t).F(f2 (t)) = F1 (s).F2 (s) (convolution with re-
spect to time t). Then
1
F(f1 (t)f2 (t)) = [F1 ∗ F2 ](s) (convolution with respect to frequency s).
2π
73
Shiv Datt Kumar Fourier Transform
We can use this formula to get F(f 00 (t)) = −s2 F (s). and
74
Shiv Datt Kumar Fourier Transform
Proof:
Z ∞ Z ∞
0 d −ist d
F (s) = f (t)e dt = [f (t)e−ist ] dt
ds −∞ −∞ ds
Z ∞
= −i tf (t) e−ist dt = −iF(tf (t)).
−∞
Z ∞ Z −a Z a Z ∞
−ist −ist −ist
F(f (t)) = e f (t) dt = e f (t) dt+ e f (t) dt+ e−ist f (t) dt
−∞ −∞ −a a
Z a Z a Z ∞
−ist
= isy
e f (−y) (−dy) + e t dt + e−ist . 0 dt
∞ −a a
75
Shiv Datt Kumar Fourier Transform
.
∞ a
e−ist t e−ist
Z
isy
= e f (−y) dy + + 2
a −is s −a
Z ∞
isy a −isa isa 1 −isa isa
= e .0 dy + − (e + e ) + 2 (e −e )
a is s
ia 1 2i
= .2cos sa + 2 (−2i sin sa) = 2 (as cos sa − sin sa)
s s s
y
A
t [s]
−T T
Z ∞ Z −T Z T Z ∞
−iωt −iωt −iωt
F(f (t)) = e f (t) dt = e f (t) dt+ e f (t) dt+ e−iωt f (t) dt
−∞ −∞ −T T
T
eiωT − e−iωT
Z
−iωt 2A sin(T ω)
= e A dt = = 2A
−T ω 2i ω
76
Shiv Datt Kumar Fourier Transform
F
sin(T ω)
2T A 2A
ω
ω [rad/s]
3π 2π π π 2π 3π
− − −
T T T T T T
pulse function)
u(t) − u(t − a)
or δ(t) = lima→0 ,
a
where u(t) is the unit
step function and
0, t<0
u(t) − u(t − a) = 1 , 0 < t < a
0 , t ≥ a
77
Shiv Datt Kumar Fourier Transform
Solution:
R∞
Fourier cosine transform
is given by Fc (ω) = 0
f (t) cos ωt dt.
−1 , 0 < ω < 1
Then Fc (ω) =
1 ,
1<ω<2
Taking inverse Fourier cosine transform
Z ∞
2
f (t) = Fc−1 (f (ω) = Fc (ω) cos ωt dω
π 0
1 2
2(sin 2t − 2 sin t)
Z Z
2
= (−1). cos ωt dω + 1. cos ωt dω = .
π 0 1 πt
If F(f (t) = F (ω). Then graph (ω, |F (ω)|) is called the amplitude spectrum of
function f (t) and ω is called frequency of the spectrum.
78
Shiv Datt Kumar Fourier Transform
R∞ R2
Solution: F (ω) = F(f (t) = f (t) e−iωt dt = −2 3 e−iωt dt
−∞
2 6
= −3 [e−iωt ]−2 = sin 2ω.
ω
Graph of ω verses |F (ω)| is the amplitude spectrum of f (t).
Z ∞ Z ∞
2 1
|f (t)| dt = |F (ω|2 dω
−∞ 2π −∞
Proof. Let F(g(t)) = G(ω) and ḡ(t) = F −1 (Ḡ(ω)), where bar denotes complex
conjugate. Then by definition of inverse Fourier transform
Z ∞ Z ∞ Z ∞
1 iωt
f (t)ḡ(t) dt = f (t) Ḡ(ω)e dω dt
−∞ −∞ 2π −∞
Z ∞ Z ∞
1 iωt
= Ḡ(ω) f (t)e dt dω
2π −∞ −∞
Z ∞
1
= Ḡ(ω)F (ω) dω.
2π −∞
Z ∞ Z ∞
2 1
|f (t)| dt = |F (ω|2 dω.
−∞ 2π −∞
79
Shiv Datt Kumar Fourier Transform
Z ∞ Z ∞
2
Fc (ω)Gc (ω) dω = f (t)g(t) dt
π 0 0
Z ∞ Z ∞
2 1 1
dω = e−t e−t dt =
π 0 (ω + 1)2
2
0 2
This implies
Z ∞
1 π
dt =
0 (t2 + 1) 2 4
1 2
(ii) Let f (t) = e−t , g(t) = e−2t , t > 0. Then Fc (ω) = , Gc (ω) = .
ω2 + 1 ω2 + 4
Now using Parseval indenty we have
Z ∞
1 π
dt =
0 (a2 + t2 )(b2 + t2 ) 2ab(a + b)
This implies
Z ∞
1 π
dt = .
0 (t2 2
+ 1)(t + 4) 12
80
Chapter 5
An equation in which unknown function and its partial derivatives appear lin-
early is called linear PDE. An equation containing x, y, z, p, q i.e. f (x, y, z, p, q) =
81
Shiv Datt Kumar Partial Differential Equations
0 defines a first order P DE. Most general second order linear PDE in two in-
∂ 2z ∂ 2z ∂ 2z ∂z ∂z
dependent variables is a 2 + b +c 2 +d +e + f z = g, where
∂x ∂x∂y ∂y ∂x ∂y
a, b, c, d, e, f, g are functions of x and y. In other words F (x, y, z, p, q, r, s, t) = 0
is a second order PDE.
Two planes intersect along tangent line to the curve. Solving equations
82
Shiv Datt Kumar Partial Differential Equations
stants
∂f ∂f ∂z
+p = 0, where p = . (5.2)
∂x ∂z ∂x
∂f ∂f ∂z
+q = 0, where q = . (5.3)
∂y ∂z ∂y
Eliminating a and b between 1.1, 1.2, and 1.3 we obtain first order PDE
g(x, y, z, p, q) = 0.
83
Shiv Datt Kumar Partial Differential Equations
tions
PDE can also be formed by eliminating arbitrary functions from a given equa-
tion. First order PDE can be obtained by eliminating one arbitrary constant.
Second order PDE can be obtained by eliminating two arbitrary constants.
However it may not be always possible to obtain n order PDE by eliminating
n arbitrary constants. We may require higher order PDE and such PDE may
be not be unique.
Solution:
∂f ∂u ∂u ∂f ∂v ∂v
+p + +p = 0 − − − − − − − − − (1) and
∂u ∂x ∂z ∂v ∂x ∂z
∂f ∂u ∂u ∂f ∂v ∂v
+q + +q = 0 − − − − − − − − − (2)
∂u ∂y ∂z ∂v ∂y ∂z
84
Shiv Datt Kumar Partial Differential Equations
∂u ∂u ∂u ∂v
= 2x, = 2y, = 0, = −2z
∂x ∂y ∂z ∂z
∂f ∂f
2x + (2x − 2zp) = 0 − − − − − − − − − (3)
∂u ∂v
.
∂f ∂f
2y − 2zq = 0 − − − − − − − − − − − −(4)
∂u ∂v
.
∂f ∂f
Eliminating and
∂u ∂v
2x 2x − 2pz
= 0 or xqz + xy = pyz.
2y −2qz
∂φ ∂u ∂u ∂φ ∂v ∂v
+p + +p = 0 − − − − − − − − − (1) and
∂u ∂x ∂z ∂v ∂x ∂z
∂φ ∂u ∂u ∂φ ∂v ∂v
+q + +q = 0 − − − − − − − − − (2)
∂u ∂y ∂z ∂v ∂y ∂z
85
Shiv Datt Kumar Partial Differential Equations
∂u ∂u ∂u ∂v ∂v ∂v
= yz, = xz, = xy, = = = 1.
∂x ∂y ∂z ∂z ∂y ∂z
∂φ ∂φ
[yz + xyp] + [1 + p] = 0 − − − − − − − − − (3)
∂u ∂v
.
∂φ ∂φ
[xz + xyq] + [1 + q] = 0 − − − − − − − − − − − −(4)
∂u ∂v
.
∂φ ∂φ
Eliminating and
∂u ∂v
yz + xyp 1 + p
= 0 or px(y − z) + qy(z − x) = z(x − y).
xz + xyq 1 + q
dx dy dz
= =
P Q R
∂f ∂u ∂u ∂f ∂v ∂v
+p + +p = 0 − − − − − − − − − (1) and
∂u ∂x ∂z ∂v ∂x ∂z
86
Shiv Datt Kumar Partial Differential Equations
∂f ∂u ∂u ∂f ∂v ∂v
+q + +q = 0 − − − − − − − − − (2)
∂u ∂y ∂z ∂v ∂y ∂z
∂f ∂f
Eliminating and
∂u ∂v
∂u ∂u ∂v ∂v
+p +p
∂x ∂z ∂x ∂z =0
∂u ∂u ∂v ∂v
+q +q
∂y ∂z ∂y ∂z
i.e.
∂u ∂v ∂u ∂v ∂u ∂v ∂u ∂v ∂u ∂v ∂u ∂v
p − +q − = −
∂x ∂y ∂y ∂z ∂x ∂z ∂z ∂x ∂y ∂x ∂x ∂y
. Or
p P +q Q=R
∂u ∂u ∂u
dx + dy + dz = 0
∂x ∂y ∂z
.
∂v ∂v ∂v
dx + dy + dz = 0.
∂x ∂y ∂z
dx dy dz
= = ,
P Q R
87
Shiv Datt Kumar Partial Differential Equations
88
Shiv Datt Kumar Partial Differential Equations
particular solution.
Singular solution: The equation of the envelope of two parameter family
of surfaces representing the complete integral of given PDE is called singular
solution. If f (x, y, z, a, b) = 0 is complete solution, then by eliminating a and
∂f ∂f
b from f = 0, = 0, = 0 we get singular solution, which is constant free
∂a ∂b
and is also called envelope.
3. (x + y 2 )p + yq = z + x2
5. p cos (x + y) + q sin (x + y) = z
Solution:
(1)
dx dy dz
= = ,
x2 −y −z
2 2 2xy 2zx
dy dz dy dz
= ⇒ = or log y = log z + log C1 ⇒ y/z = C1 .
2xy 2zx y z
x dx + y dy + z dz dz
N ow =
x(x2 + y 2 + z 2 ) 2xz
2x dx + 2y dy + 2z dz dz x2 + y 2 + z 2
= ⇒ = C2
x2 + y 2 + z 2 z z
89
Shiv Datt Kumar Partial Differential Equations
Answer: x2 + y 2 + z 2 = zf (y/z).
dx dy dz
= 2 = 2 ,
x2 − yz y − zx z − xy
.
x dx + y dy + z dz dx + dy + dz
N ow = 2
x + y + z − 3xyz
3 3 3 x + y + z 2 − yz − zx − xy
2
x dx + y dy + z dz
= dx + dy + dz
x+y+z
Z Z
x dx + y dy + z dz = (x + y + z)dx + dy + dz ⇒ xy + yz + zx = C2
x−y
Answer : = f (xy + yz + zx)
y−z
(3)
dx dy dz
2
= =
x+y y z + x2
dx x 1 dx x
From first two − = y or − 2 = 1 or x/y = y + a
dy y y dy y
dy dz
Using this relation we have =
y z + y (y + a)2
2
1 dz z y 1
− 2 = (y + a)2 or = (y + a)3 + b.
y dy y z 3
x − y 2 3zy 2 − x3
General solution is φ (a, b) = 0 or φ , = 0.
y 3y 3
(4) px(z − 2y 2 ) + qy(z − y 2 − 2x3 ) = z(z − y 2 − 2x3 )
90
Shiv Datt Kumar Partial Differential Equations
dx dy dz
= =
x(z − 2y )
2 y(z − y − 2x )
2 3 z(z − y 2 − 2x3 )
dy dz
= ⇒ y = az.
y z
dx dz
= , U sing y = az
x(z − 2a z )
2 2 z(z − a z 2 − 2x3 )
2
z 2 dx − a2 z 3 dx − 2x3 dx = xz dz − 2a2 xz 2 dz
2
xdz − zdx 2 (2xz dz − z dx) z a2 z 2
Or − a + 2x dx or − + x2 + b.
x2 x2 x x
(5)
dx dy dz
= =
cos (x + y) sin (x + y) z
dx + dy dz 1 1
= or √ cosec (π/4 + x + y)(dx + dy) = dz
sin (x + y) + cos (x + y) z 2 z
√ √
2
log tan(π/8 + (x + y)/2) + log C1 = 2 log z or C1 = z cot(π/8 + (x + y)/2).
91
Shiv Datt Kumar Partial Differential Equations
Now
dx + dy dx − dy
=
sin (x + y) + cos (x + y) cos (x + y) − sin (x + y)
cos (x + y) − sin (x + y)
(dx + dy) = dx − dy
sin (x + y) + cos (x + y)
1 √ 1
√ sin(π/4 + x + y) = C2 ex−y or 2e(x−y) cosec (π/4 + x + y) = = C2 .
2 a
Hence general solution is
√ √
φ(z 2 cot(π/8 + (x + y)/2), 2e(x−y) cosec (π/4 + x + y) = 0
dx dy dz xdx + zdz
= = =
3 − 2yz x(2z − 1) 2x(y − 3) −3x(2z − 1)
92
Shiv Datt Kumar Partial Differential Equations
∂f ∂f ∂f
N1 ⊥ N2 ⇒ N1 .N2 = 0 ⇒ p +q − = 0. Hence surface orthogonal
∂x ∂y ∂z
to surface f (x, y, z) = c are the surfaces generated by solution of curves of the
equation
dx dy dz
= =
∂f ∂f ∂f
∂x ∂y ∂z
.
Example 5.1.6. Find the equation of surface which cuts orthogonally the fam-
ily of surfaces z 2 = c(x2 + y 2 ). Obtain particular surface which pass through
the circle z = 3, x2 + y 2 = 9.
∂f ∂f ∂f
= 2cx, = 2cy, = −2z
∂x ∂y ∂z
93
Shiv Datt Kumar Partial Differential Equations
dx dy dx
= =
2cx 2cy −2z
dx dy x
From first two we have = or = C1 . Also
x y y
This is general method for complete integral of non-linear PDE. Consider the
partial differential equation f (x, y, z, p, q) = 0 − − − − − − − − − − − − − (1)
∂z ∂z
Since z depends on x and y, dz = dx + dy = p dx + q dy − − − − − −(2)
∂x ∂y
Now if we can find another relation involving x, y, z, p, q such that
φ(x, y, z, p, q) = 0 − − − − − − − − − − − − − −(3)
then we can solve (1) and (3) for p and q and substitute in (2). This will give
a solution provided (2) is integrable. To determine φ, we differentiate (1) and
94
Shiv Datt Kumar Partial Differential Equations
∂f ∂f ∂f ∂p ∂f ∂q
+ p+ + . = 0 − − − − − − − − − (4)
∂x ∂z ∂p ∂x ∂q ∂x
∂φ ∂φ ∂φ ∂p ∂φ ∂q
+ p+ + . = 0 − − − − − − − − − (5)
∂x ∂z ∂p ∂x ∂q ∂x
∂f ∂f ∂f ∂p ∂f ∂q
+ q+ + . = 0 − − − − − − − − − (6)
∂y ∂z ∂p ∂y ∂q ∂y
∂φ ∂φ ∂φ ∂p ∂φ ∂q
+ q+ + . = 0 − − − − − − − − − (7)
∂y ∂z ∂p ∂y ∂q ∂y
∂p
Eliminating between (4) and (5)
∂x
∂f ∂φ ∂φ ∂f ∂f ∂φ ∂φ ∂f ∂f ∂φ ∂φ ∂f ∂q
− + − p+ − = 0−−−−−−(8)
∂x ∂p ∂x ∂p ∂z ∂p ∂z ∂p ∂q ∂p ∂q ∂p ∂x
∂q
Eliminating between (6) and (7)
∂y
∂f ∂φ ∂φ ∂f ∂f ∂φ ∂φ ∂f ∂f ∂φ ∂φ ∂f ∂p
− + − q+ − = 0−−−−−−(9)
∂y ∂q ∂y ∂q ∂z ∂q ∂z ∂q ∂p ∂q ∂p ∂q ∂y
∂p ∂ 2z ∂q
Adding (8) and (9) and using = = we find that last term in both
∂y ∂x∂y ∂x
cancel and we get
∂f ∂f ∂φ ∂f ∂f ∂φ ∂f ∂f ∂φ ∂f ∂φ ∂f ∂φ
+p + +q + −p −q + − + − =0
∂x ∂z ∂p ∂y ∂z ∂q ∂p ∂q ∂z ∂p ∂x ∂q ∂y
∂f ∂φ ∂f ∂φ ∂f ∂f ∂φ ∂f ∂f ∂φ ∂f ∂f ∂φ
− + − + −p −q + +p + +q =0
∂p ∂x ∂q ∂y ∂p ∂q ∂z ∂x ∂z ∂p ∂y ∂z ∂q
95
Shiv Datt Kumar Partial Differential Equations
dx dy dz dp dq
= = = =
∂f ∂f ∂f ∂f ∂f ∂f ∂f ∂f
− − −p −q +p +q
∂p ∂q ∂p ∂q ∂x ∂z ∂y ∂z
dx dy dz dp dq
Or = = = =
fp fq fp + qfq −(fx + pfz ) −(fy + qfz )
These are called Charpit’s equations. Solving these equations taking in pair
gives required solution.
dx dy dz dp dq
= = = =
fp fq −fp − qfq 0 0
dx dy dz dp dq
= = = =
fp fq −fp − qfq −pfz −qfz
From last two equations log p = a = log q + log a or p = aq. Now solve for
96
Shiv Datt Kumar Partial Differential Equations
dx dy dz dp dq
= = = =
fp −gq pfp − qgq −fx gy
dx dp
= or fx dx + fp dp = 0 Or d(f (x, p)) = 0 ⇒ f (x, p) = a (constant).
fp −fx
Similarly g(y, q) = b. Now solve for p and q. Then complete integral is given
by dz = p dx + q dy.
dx dy dz dp dq
= = = =
fp fq fp + qfq −(fx + pfz ) −(fy + qfz )
dx dy dz dp dq
= = = =
2
3x + 4y p y 2 2
3px + 4y p + qy −p q − 4y 2 p2
dy dp
From second and fourth = ⇒ log y+log p = log a or py = a or p = a/y.
y −p
2z − y 2 p2 − 3xp 2z − 2a2 − 3xa/y 2zy − 2a2 y − 3ax
From (1) q = = = .
y y y2
2a2
2zy a 3ax
dz − dy = dx − dy − dy
y2 y y2 y
z ax a2 ax
Integrating we get 2 = 3 + 2 + b ⇒ z = + a2 + by 2 , where a, b are
y y y y
constants.
Example 5.2.5. Find the singular solution of the following differential equa-
tions
98
Shiv Datt Kumar Partial Differential Equations
dx dy dz dp dq
= = = =
fp fq pfp + qfq −(fx + pfz ) −(fy + qfz )
dx dy dz dp dq
= = = =
(−6xy + q) 2
(−3y + p) −[p(−6xy + q) + q(−3y + p)]
2 0 −(6z − 6px)
From fourth and any other term, we get p = a and from given differential
6y(z − ax) 6y(z − ax)
equation q = . Therefore dz = p dx + q dy = adx + dy.
3y 2 − a 3y 2 − a
dz − a dx z − ax z − ax
6y dy
Then + 2 =0⇒ d =0⇒ 2 = b(constant).
z − ax 3y − a 3y − a
2 3y − a
∂φ
= −x + b = 0 ⇒ x = b.
∂a
,
∂φ
= −(3y 2 − a) = 0 ⇒ y 2 = a/3.
∂b
99
Shiv Datt Kumar Partial Differential Equations
dx dq dx dq
= ⇒ = ⇒ qx2 = a.
fp −(fy + qfz ) x −(q + q)
a2 a −a2 ay
xdz + zdx = dx + (xdy − ydx) ⇒ xz = + +b
x3 x2 2x2 x
∂φ ∂φ
= 2xy − 2a = 0, = 2x2 = 0
∂a ∂b
Thus a = xy and x = 0 ⇒ a = 0.
∂φ ∂φ
Therefore no singular solution exists, for = 2xy−2a = 0, = 2x2 = 0.
∂a ∂b
Thus a relation can not be obtained by eliminating a and b. Hence no singular
solution exists.
∂ nz ∂ nz ∂ nz
a0 + a1 + . . . + a n = g(x, y), (5.4)
∂xn ∂xn−1 ∂y ∂y n
100
Shiv Datt Kumar Partial Differential Equations
∂ 2z ∂ 2z ∂ 2z
a0 + a 1 + a 2 =0
∂x2 ∂x∂y ∂y 2
0 02 0 0
(a0 D2 + a1 DD + a2 D )z = (D − m1 D )(D − m2 D )z = 0 (5.5)
Case (i): If m1 6= m2 .
0
Equation (1.5) will be satisfied by the solution of (D − m2 D )z = 0 or
p − m2 q = 0, (5.6)
dx dy dz
= =
1 −m2 0
101
Shiv Datt Kumar Partial Differential Equations
dx dy dz
= =
1 −m f (y + mx)
First and second gives y + mx = C1 and first and third gives dz = f (C1 ) dx i.e.
z = xf (C1 ) + C2 = xf (y + mx) + f (C1 ). Thus z = f (y + mx) + xf (y + mx).
0
Remark 5.3.1. For homogeneous linear PDE, put D = m, D = 1. Then
auxiliary equation is a0 m2 + a1 m + a2 = (m − m1 )(m − m2 ) = 0. Then CF is
z = f1 (y + m1 x) + f2 (y + m2 x).
0
Consider the equation (D − mD − a)z = 0. Then auxiliary equation is
dx dy dz
= =
1 −m az
First and second give y + mx = C1 and first and third give z = eax C2 .
Combining these two we have solution z = eax f (y + mx).
102
Shiv Datt Kumar Partial Differential Equations
0 0 0n
F (D, D )z = (a0 Dn + a1 Dn−1 D + . . . + an D )z = 0. (5.7)
0
We have observed that z = φ(y + mx) is a solution of (D − mD )z = 0.
0
Suppose z = φ(y + mx) is a solution of (1.7). Then F (D, D )z = (a0 mn +
a1 mn−1 + . . . + an )φ(y + mx) = 0. If m1 , m2 , . . . , mn are distinct roots of
the equation a0 mn + a1 mn−1 + . . . + an = 0, then φi (y + mi x) are solutions
0 0 0 0
of F (D, D )z = (D + m1 D )(D + m2 D ) . . . (D + mn D )z = 0. The general
solution is
z = φ1 (y + m1 x) + φ2 (y + m2 x) + . . . + φn (y + mn x).
0 0 0 0
If PDE is F (D, D )z = (D + m1 D + a1 )(D + m2 D + a2 ) . . . (D + mn D + an )z.
eax+by eax+by
1. If g(x, y) = eax+by , then P I = = , if f (a, b) 6= 0.
f (D, D0 ) f (a, b)
eax+by eax+by
If f (a, b) = 0, then = x ,
f (D, D0 ) d
0
f (D, D )
dD
sin(ax + by) sin(ax + by)
2. if g(x, y) = sin(ax + by), P I = 02
= if
2 0
f (D , DD , D ) f (−a2 , −ab, −b2 )
103
Shiv Datt Kumar Partial Differential Equations
xm y n 0
4. If g(x, y) = xm y n , then P I = = f (D, D )−1 (xm y n ). Expand
f (D, D0 )
0 0
f (D, D )−1 in ascending powers of D, D and operate on xm y n term by
term.
104
Shiv Datt Kumar Partial Differential Equations
0
solution for G(D, D ) is obtained by using method of case (i) and also
φ(ax + by) xm φ(ax + by)
making use of the following formula = .
(bD − aD0 )m bm m!
0 0
Example 5.3.1. (D2 − DD + D − 1) z = cos(x + 2y) + ey
0
Solution: Given PDE is (D − 1)(D − D + 1) z = cos(x + 2y) + ey
dx dy dz
= =
1 0 z
log z = x + C ⇒ z = ex C2 = ex φ1 (y).
0
Now consider (D − D + 1) z = 0. Then auxiliary equation is
dx dy dz
= =
1 −1 −z
cos(x + 2y) ey
= +
(−1 + 2 + D0 − 1) (D2 − D(D0 + 1) + (D0 + 1) − 1)
cos(x + 2y) 1
= 0 + ey 2
D (D − DD − D + D0 )
0
0
ey D 0
− D − D)−1 (1)
R
= cos(x + 2y)dy + (1 −
−D D
1
= sin(x + 2y) − xey
2
1
Complete solution z = ex φ1 (y) + e−x φ2 (y + x) + sin(x + 2y) − xey .
2
0 02
Example 5.3.2. (D2 − 4DD + D ) z = ex+2y
105
Shiv Datt Kumar Partial Differential Equations
0
Solution: Put D = m and D = 1. Auxiliary equation is m2 − 4m + 1 = 0.
1 1
Then m = , .
2 2
CF = f1 (2y + x) + xf2 (2y + x)
ex+2y
PI =
4D2 − 4DD0 + D0 2
ex+2y
=x
d
(4D2 − 4DD0 + D0 2 )
dD
ex+2y ex+2y x2 ex+2y
=x 0 = x2 = .
(8D − 4D ) d 0 8
(8D − 4D )
dD
ex+2y
Complete solution z = f1 (2y + x) + xf2 (2y + x) + x2 .
8
106
Shiv Datt Kumar Partial Differential Equations
x2 − yz
(a) p + zxq = y 2
x
∂z ∂z
(b) x(z 2 − y 2 ) + y(x2 − z 2 ) = z(y 2 − x2 ).
∂x ∂y
(c) (x2 − y 2 − z 2 )p + 2xyq = 2xz. Ans: x2 + y 2 + z 2 = zf (y/z)
x−y
(d) x2 − yz)p + (y 2 − zx)q = z 2 − xy. Ans: = f (xy + yz + zx)
y−z
(e) (2y + z)p + (y + 2x)q = 4xy − z. Also find particular solution which
pass through z = 1, x = y.
107
Shiv Datt Kumar Applications of PDE
108
Chapter 6
Applications of PDE
Most of the partial differential equations of interest arise in physics and en-
gineering applications. Laplacian operator is the most physically important
∂2 ∂2 ∂2
differential operator, given by ∇2 = + + .
∂x2 ∂y 2 ∂z 2
109
Shiv Datt Kumar Applications of PDE
2. Parabolic: if B 2 − 4AC = 0;
∂ 2u ∂ 2u
For e.g, Laplace’s equation + 2 = 0 is elliptic, one dim heat equation
2 ∂x2 ∂y
∂u ∂ u ∂ 2u 2
2∂ u
= c2 is parabolic, and wave equation = c is hyperbolic.
∂t ∂x2 ∂t2 ∂x2
It is useful to classify equations because solution techniques, and properties
of the solutions are different, depending on whether the equation is elliptic,
parabolic, or hyperbolic. Also, the physical nature of the corresponding prob-
lems are different. For instance, elliptic equations often arise in steady-state
and equilibrium problems; parabolic equations arise in diffusion problems; hy-
perbolic problems arise in wave motion and vibrational problems.
∂ 2u 2
2∂ u
= c ,
∂t2 ∂x2
∂ 2u
where u represents a displacement from rest situation, is a term for how
∂t2
∂ 2u
the displacement accelerates, is a term for how the displacement is varying
∂x2
at the point x in one of the dimensions.
110
Shiv Datt Kumar Applications of PDE
The equation states that at any given instance, at any given point, the
way the displacement accelerates is proportional to the way the displacement’s
changes are squashed up in the surrounding area.
Then using Newton Second Law of motion, the equation of motion in ver-
tical direction is given by
∂ 2u
m δs = T2 sin β − T1 sin α,
∂t2
mδs ∂ 2 u
T2 sin β T1 sin α
= − .
T ∂t2 T2 cos β T1 cos α
111
Shiv Datt Kumar Applications of PDE
mδs ∂ 2 u
∂u ∂u
= − .
T ∂t2 ∂x x+δx ∂x x
Using the notations of Newtonian mechanics and vector calculus, the wave
equation can be written ü = c2 ∇2 u.
Step 1: We find all solutions of (1) that are of the special form u(x, t) =
X(x)T (t) for some function X(x) that depends on x but and some function
T (t) that depends on t. Once again, if we find a bunch of solutions Xi (x)Ti (t)
P
of this form, then since (1) is a linear equation, ai Xi (x)Ti (t) is also a solution
for any choice of the constants ai .
Example 6.2.1. A string is stretched and fastened to two points l apart. Mo-
tion is started by displacing the string into the form y = k(lx − x2 ) from which
it is released at time t = 0. Find the displacement of any point on the string
at a distance of x from one end at time t.
∂ 2u 2
2 ∂ u
= c − − − − − − − − − − − − − − − − − −(1).
∂t2 ∂x2
Since the end points of the string are fixed for all time,
y(0, t) = 0 for all t > 0————————- (3)
113
Shiv Datt Kumar Applications of PDE
∂y
= c2 sin px(−c3 cp sin cpt + c4 cp cos cpt)——–(7).
∂t
∂y
By equation (5), = 0 we get c2 c4 cp sin px = 0, which gives c4 = 0,
∂t t=0
as c2 6= 0.
114
Shiv Datt Kumar Applications of PDE
∞
X 8l2 nπx nπct
y(x, t) = 3 3
sin cos .
n=1
n π l l
Consider the heat flow in a uniform thin bar (rod) of length l. Let u(x, t)
denote the temperature at position x and time t in a long, from x = 0 to x = l.
Assume that the sides of the rod are insulated so that heat energy neither
enters nor leaves the rod through its sides. Also assume that heat energy is
neither created nor destroyed in the interior of the rod. Then u(x, t) obeys the
heat equation.
rate of increase of heat in the slab = amount of heat retained by the slab
∂u ∂u ∂u
ρSAδx = kA −
∂t ∂x x+δx ∂x x
115
Shiv Datt Kumar Applications of PDE
∂u ∂u
−
∂u k ∂x
x+δx ∂x x
= .
∂t ρS δx
∂ 2u
∂u k
= c2 , where c2 = ., − − − − − − −(1)
∂t ∂x2 ρS
Also there is some given function f (x) such that the initial condition
116
Shiv Datt Kumar Applications of PDE
Example 6.3.1. The ends A and B of a 30 cm long rod have the temperature
at 20o and at 80o until steady state reaches. The temperature of the ends of rod
are changed to 30o and 60o respectively. Find the temperature distribution in
the at time t.
Solution 6.3.2. Let u1 (x, t) be the transient temperature distribution and u2 (x)
be the steady state temperature distribution in the rod. To get u(x, t) in the
intermediate period, reckoning time from the instant, when end temperature
were changed, we assume
u = u1 (x, t) + u2 (x)
∂ 2u
∂u
= c2 − − − − − − − (1)
∂t ∂x2
2 2
Its solution is given by u(x, t) = (ak cos kx + bk sin kx) e−c k t . The initial
(80 − 20)x
temperature distribution in the rod is u = 20 + = 20 + 2x and the
30
final distribution in steady state is
(60 − 30)x
u = 30 + = 30 + x.
30
2 2
Hence u is of the form u = 30 + x + (ak cos kx + bk sin kx) e−c k t
P
nπ
When x = 0, u = 30, and when x = 30, u = 80, ak = 0, k = .
30
nπ !2
P∞ n nπx o −c2 t
Hence u = 30 + x + n=1 bn sin e 30 .
30
Using the initial condition u = 20 + 2x at t = 0,
P nπx
20 + 2x = 30 + x + bn sin
30
117
Shiv Datt Kumar Applications of PDE
P nπx
x − 10 = bn sin − − − − − − − − − (2),
R 30
2 30 nπx 20
where bn = (x − 10) sin dx = [(−1)n+1 2 − 1] .
30 0 30 nπ
Putting the value of bn in (2) we get the required solution.
−c2 t nπ 2
!
20 nπx
Hence u = 30 + x + ∞ [(−1)n+1 2 − 1] sin 30 .
P
n=1 e
nπ 30
When heat flow is along all the curves lying in parallel planes, then the flow is
called two dimensional. Consider heat flow in a metal plane in the xoy plane.
Let h = thickness of metal plate, ρ = density, k = thermal conductivity, S=
specific heat. Consider a rectangular element ABCD of the plate with sides
δx, δy, edges being parallel to the coordinate axes.
Then the quantity of heat entering the element ABCD per second through
∂u ∂u
the surface AB and AD is −k δx.h, and −k δy.h, respectively.
∂y y ∂x x
∂u
The rate of gain heat by element ABCD is also given by ρδx.δ[Link]. .
∂t
The total gain of heat by rectangular element ABCD per sec = inflow-
outflow
118
Shiv Datt Kumar Applications of PDE
∂u ∂u ∂u ∂u
− −
∂u ∂x
x+δx ∂x x
∂x y+δy ∂x
y
ρδx.δ[Link]. = khδxδy + .
∂t δx δy
∂u ∂u ∂u ∂u
− −
∂u k ∂x
x+δx ∂x x
∂x y+δy ∂x
y
= + .
∂t ρS δx δy
∂ 2u ∂ 2u
+ = 0.
∂x2 ∂y 2
while the two long edges x = 0 and x = 10 as well as other short edges
are kept at 0o C. Find the steady state temperature at any point P (x, y) of the
plate.
119
Shiv Datt Kumar Applications of PDE
∂ 2u ∂ 2u
+ = 0.
∂x2 ∂y 2
nπ
Using these conditions we get c1 = c3 = 0, k = .
10
u(0, y) = 0 implies c1 (c3 eky + c4 e−ky = 0. Then c1 = 0. Thus
nπ
u(10, y) = 0 implies sin10k = 0. This implies k = .
10
u(x, ∞) = 0 implies c3 = 0. Let bn = c2 c4 . Then
∞
X
u(x, y) = bn sin kx e−ky ,
i=0
Z 5 Z 10
2 2
bn = 20x sinkx dx + (10 − x) sinkx dx
10 0 10 5
120
Shiv Datt Kumar Applications of PDE
800 nπ 400
= 2 2
sin − 2 2 sinnπ
nπ 2 nπ
800
= (−1)n+1 , if n = odd , bn = 0 if n = even
n2 π 2
∞ (2n − 1)πy
800 X (−1)n+1 (2n − 1)πx
−
u(x, y) = 2 sin e 10 .
π n=1 (2n − 1)2 10
6.4 Exercises
∂u ∂ 2u
= c2 .
∂t ∂x2
121
Shiv Datt Kumar Applications of PDE
122
Chapter 7
Definition 7.0.1. Binary Operation: Let S be any non empty set. Then a
mapping ? : S × S → S is a binary operation on the set S iff a ? b ∈ S for all
a, b ∈ S and a ? b is the unique element of S.
7.1 Group
123
Shiv Datt Kumar Matrix Theory and Linear Algebra
Example 7.1.3. 1. (Z, +), (Q, +), (R, +), (C, +) are abelian groups.
2. (Q∗ , ·), (R∗ , ·), (C∗ , ·) are abelian groups, where Q∗ = Q − {0} etc.
124
Shiv Datt Kumar Matrix Theory and Linear Algebra
2. H1 = {e, a}, H2 = {e, b}, H3 = {e, c} are all proper subgroups of Kliens
four group V4 = {e, a, b, c}.
Theorem 7.1.1. Let Z = [a] be a cyclic group and o(G) = n. Then G = [ar ],
where (r, n) = 1, r < n. Therefore number of generators of G = φ(n).
125
Shiv Datt Kumar Matrix Theory and Linear Algebra
126
Shiv Datt Kumar Matrix Theory and Linear Algebra
Example 7.2.3. Set of Real numbers (R, +, .), set of rational numbers (Q, +, .),
and set of Complex numbers (C, +, .), (Zp , +, 0), where Zp = {0̄, 1̄, . . . , (p − 1)}
are rings with multiplicative identity 1.
127
Shiv Datt Kumar Matrix Theory and Linear Algebra
(Zm , +, .), where Zm = {0̄, 1̄, . . . , (m − 1)} is a ring with multiplicative iden-
tity 1̄.
2. (F ∗ , .) is an abelian group.
4. Field (Zp , +, .), where p is any prime and Zp = {0̄, 1̄, . . . , (p − 1)} is a
set of residue classes modulo p.
128
Shiv Datt Kumar Matrix Theory and Linear Algebra
3. α.(β.x) = (αβ).x,
1. a.0 = 0, ∀ a ∈ F
2. 0.x = 0
2. 0.x = (0 + 0).x, ∀ x ∈ V
129
Shiv Datt Kumar Matrix Theory and Linear Algebra
3. Since 0 = 0.x,
0 = a.x + (−a).x,
−a.x = 0 + (−a).x
(a−1 .a)x = 0
1.x = 0
x = 0, a contradiction. Hence a = 0
Exercises
130
Shiv Datt Kumar Matrix Theory and Linear Algebra
Properties
131
Shiv Datt Kumar Matrix Theory and Linear Algebra
Rb
Exercise 7.3.2. 1. Show that the set V = {f : [a, b] −→ R| a
f (x) dx = 0}
is a vector space over R.
Rb
2. Show that the set V = {f : [a, b] −→ R| a
f (x) dx = 2} is not a vector
space over R.
4. The set {(1, 0, 0), (1, 1, 0), (1, 1, 1)} is linearly independent.
5. The set {(1, 1, 1), (−1, 0, 1), (0, −2, 1)} is linearly independent.
6. The set {(1, 0, 0), (0, 1, 0), (1, 1, 1), (−1, 1 − 1)} is linearly dependent.
7. Determine whether the set {u, v, w}, where u = (2, 2, 0), v = (3, 0, 2), w =
(2, −2, 2) forms a basis of R3 over R? Ans: The set {u, v, w} is linearly
independent and if (x, y, z) = a(2, 2, 0) + b(3, 0, 2) + c(2, −2, 2) implies
2a = 2c + y, −b = x − y − 2z, 2c = 2x − 2y − 3z. Verify?
132
Shiv Datt Kumar Matrix Theory and Linear Algebra
(i) V = W1 + W2
(ii) W1 ∩ W2 = {0}.
Hence V 6= W1 + W2 .
133
Shiv Datt Kumar Matrix Theory and Linear Algebra
= αT (f ) + βT (g)
134
Shiv Datt Kumar Matrix Theory and Linear Algebra
−1 0
6. Reflection with respect to y-axis: A2 = .
0 1
7. Double
stretching
along y-direction and reflection with respect to y-axis:
−1 0
A3 =
0 2
cos θ −sin θ
8. Rotation by an angle θ: A4 = .
sin θ cos θ
π 0 −1
9. Rotation by an angle θ = : A5 = .
2 1 0
1 1
10. Shear: A6 = .
0 1
1 −1
11. Shear and rotation : A7 = .
0 1
mation
.. .. .. ..
. . . .
135
Shiv Datt Kumar Matrix Theory and Linear Algebra
Example 7.5.1. 1. Find the matrix, rank and nullity of linear transforma-
tion T : R3 −→ R2 defined by T (x, y, z) = (x + y, −x + z).
136
Shiv Datt Kumar Matrix Theory and Linear Algebra
Answer:
1 1 0
M atrix (T ) =
−1 0 1
d
2. Linear transformation T : P4 −→ P3 be defined by T (f (x)) = (f (x)).
dx
Since T (constant polynomial) = 0. This implies null space N (T ) = F
(Field) and nullity = 1.
137
Shiv Datt Kumar Matrix Theory and Linear Algebra
7.6 Exercises
138
Shiv Datt Kumar Matrix Theory and Linear Algebra
Theorem 7.6.1. Let V be a finite dimensional vector space over a field F and
T : V → V is a linear transformation on V . Then the following are equivalent:
(i) λ is a eigen value of T .
(ii) The operator (T − λI) is singular.
(iii) |T − λI| = 0.
139
Shiv Datt Kumar Matrix Theory and Linear Algebra
a trival solution. We need to find values of λ for which non trivial solution of
this homogeneous system exists. The values of λ for which nontrival solution
of AX = λX exists are eigen values and corresponding eigen vector are solu-
tions. If X is a solution, then αX is also a solution, where α is scalar. Hence
eigen vector is unique up to constant multiple. Thus problem of determining
the eigen values and corresponding eigen vectors of a square matrix A is called
eigen value problem.
−B1 = I
AB1 − B2 = −c1 I
AB2 − B3 = c2 I
..
.
ABn = (−1)n cn I
140
Shiv Datt Kumar Matrix Theory and Linear Algebra
Example 7.6.1. Find eigen values and eigen vectors of the matrix
1 1 2
A=
−1 2 1 .
0 1 3
Hence (i) find A3 and A−1 (ii) Verify that eigen values of A2 are squares of
eigen values of A. (iii) Find spectral radius.
−1 4 4 −1 10 12
A2 = 3 2
0 3 4 and A = A .A = 1 11 10
.
0 6 5 −1 16 17
141
Shiv Datt Kumar Matrix Theory and Linear Algebra
−3 −2 4
1 1
T hen A−1
= [A2 − 3A + I] = 3 1 −2 .
3 3
−3 0 3
Example 7.6.3. If
1 0 0
A=
1 0 1 .
0 1 0
1−λ 0 0
Proof. |A−λI| = −λ 1 = λ3 −λ2 −λ+1 = (1−λ)(λ2 −1) = 0.
1
0 1 −λ
A3 − A2 − A + I = 0
A3 − A2 = A − I
A4 − A3 = A2 − A
..
.
An − An−1 = An−2 − I.
1 0 0
A2 =
1 1 0 .
1 0 1
1 0 0 1 0 0 1 0 0
Hence A50 1 1 0 − 24 0 1 0
= 25 = 25 1 0
1 0 1 0 0 1 25 0 1
−1
1. Unitary if AT = (A) .
3. Hermitian if A = AT or A = (A)T .
T T
5. Positive definite if X AX > 0, for X 6= 0 and X AX = 0, iff X = 0.
143
Shiv Datt Kumar Matrix Theory and Linear Algebra
4. Matrix A−1 has eigen value λ−1 , for Ax = λx implies A−1 Ax = λA−1 x
implies A−1 x = λ−1 x.
1
5. Matrix (A − k I)−1 has eigen value .
λ−k
11. All the eigen values of a Hermitian matrix (A = AT ) are real. A matrix
T is Hermitian if < T (x), y >=< y, T (x) >, ∀ x, y ∈ V . Then λ <
x, x >=< λx, x >=< T (x), x >=< x, T (x) >=< x, λx >= λ̄ < x, x >.
Hence λ = λ̄.
12. All the eigen values of a real symmetric matrix are real, for real symmetric
matrix can be taken as complex Hermitian matrix.
13. All nonzero eigen values of a skew Hermitian matrix are pure imaginary.
14. Eigen values of a positive definite matrix are real and positive.
144
Shiv Datt Kumar Matrix Theory and Linear Algebra
1−λ −1 2
Solution: Characteristic equation |A − λI| = 0 2−λ 3 = 0.
0 0 3−λ
(1 − λ)(2 − λ)(3 − λ) = 0 i.e. λ = 1, 2, 3.
For
λ = 1, wehave (A − λ
1 I)X= 0 i.e.
0 −1 2 x 0
0 1 3 y = 0 or −y + 2z = 0, y + 3z = 0, 2z = 0 i.e.
0 0 2 z 0
y = 0, z = 0, x = arbitrary. Then eigen vector is X1 = (1, 0, 0). Similarly for
145
Shiv Datt Kumar Matrix Theory and Linear Algebra
X2 = (1, −1,
λ = 2, eigen vector X3 = (3, −2,
0), for λ = 3, eigen vector 2).
1 1 3 2 2 −1
, |P | = −2, P −1 = 1 0 −2 −2 ,
Modal matrix P = 1 −1 0
2
0 0 3 0 0 1
1 0 0
P −1 AP = D = 0 2 0 .
0 0 3
6 −2 2
Example 7.6.7. Let A = −2 3 −1 . Find matrix P such that P −1 AP
2 −1 3
is a diagonal matrix.
6−λ −2 2
Solution: Characteristic equation |A − λI| = −2 3−λ −1 = 0.
2 −1 3−λ
or (λ − 2)2 (λ − 8) = 0 i.e. λ = 2, 2, 8.
For λ = 2, eigen vector is given by (A − 2I)X = 0 i.e.
4 −2 2 x 0 2 −1 1 x 0
−2 1 −1 y = 0 or 0 0 0
= 0
y
2 −1 1 z 0 0 0 0 z 0
or 2x − y + z = 0. This equation is satisfied by x = 0, y = 1, z = 1 and x = 1,
y = 3, z = 1. Then eigen vectors are X1 = (0, 1, 1) and X2 = (1, 3, 1),.
For λ = 8, eigen vector
−1, 1).
X3 = (2,
0 1 2 4 1 −7
−1 1
Modal matrix P = , |P | = −6, P = − 6 −2 −2 2
3 −1 ,
1
1 1 1 −2 1 −1
146
Shiv Datt Kumar Matrix Theory and Linear Algebra
2 0 0
P −1 AP = D =
0 2 0 .
0 0 8
1 2 3
Example 7.6.8. Check whether the matrix
0 1 2
0 0 1
is diagonalizable or not ?
1−λ 2 3
Solution: Characteristic equation |A − λI| = 0 1−λ 2 = 0.
0 0 1−λ
3
(1 − λ) = 0 i.e. λ = 1, 1, 1.
For λ = 1, we have
(A − λ1
I)X = 0 i.e.
0 2 3 x 0
0 0 2 y = 0 Implies 2y +3z = 0, 2z = 0. Therefore x =
0 0 0 z 0
arbitrary, y = 0, z = 0. Hence eigen vector can be taken as (1, 0, 0), (2, 0, 0),
(3, 0, 0). These vectors are linearly dependent. Hence diagonalization is not
possible.
147
Shiv Datt Kumar Matrix Theory and Linear Algebra
a h g x
2. ax2 +by 2 +cz 2 +2hxy+2f yz+2gzx+2hxy = x y z
h b f y .
g f c z
Exercise 7.6.5. 1. Obtain the symmetric matrix A for the quadratic form
(i) 4x21 + 5x1 x2 + x22 (ii) x21 + 2x1 x2 − 6x1 x3 + 8x2 x3 − 5x22 + 4x23 .
148
Shiv Datt Kumar Matrix Theory and Linear Algebra
3−λ 1 1
Characteristic equation |A − λI| = 1 3−λ −1 = 0.
1 −1 3−λ
λ3 − 9λ2 + 24λ − 16 = 0 or λ = 1, 4, 4.
x1 + 2x2 − x3 = 0
x1 − x2 + 2x3 = 0
149
Shiv Datt Kumar Matrix Theory and Linear Algebra
−1 2
√ 0 √
3 6
1 1 1
Matrix of transformation is P = √ √ √ .
3 2 6
1 −1 1
√ √ √
3 2 6
Rank = 3, Index = p = 3, Signature = 2r − p = 3.
X = P Y implies Y = P −1 X
−1 1 1
√ √ √
y1 3 3 3
x1
1 −1
y = 0 √ √ .
2 x2
2 2
2 1 1
y3 √ √ √ x3
6 6 6
Example 7.6.13. Solve by matrix method
d2 y dy 0
2
− 5 + 6y = 0, y(0) = 1, y (0) = 2
dx dx
.
dy1
Solution: Let y = y1 and = y2 − − − − − − − − − − − − − (1).
dx
dy2
Then = −6y1 + 5y2 − − − − − − − − − − − − − − − −(2)
dt
Differential equations (1) and (2) can be written in matrix form as
d y1 0 1 y1
=
dx y
2 −6 5 y2
−λ 1
Characteristic equation |A − λI| = = 0.
−6 5 − λ
2
λ− 5λ
+6= 0 or λ = 2, 3. Eigen vector
for
λ = 2 and λ= 3 are
1 1 1 1 3 −1
and . Modal matrix P = and P −1 =
2 3 2 3 −2 1
150
Shiv Datt Kumar Matrix Theory and Linear Algebra
2x
1 1 e 0 3 −1
P eλx P −1 =
3x
2 3 0 e −2 1
2x 3x 2x 3x
3e − 2e −e + e
=
6e2x − 6e3x −2e2x + 3e3x
2x 3x
y1 3e − 2e −e2x + e3x 1 e2x
=
=
2x 3x 2x 3x
y2 6e − 6e −2e + 3e 2 2e2x
.
dy
y1 = y = e2x and y2 = = 2e2x .
dx
Exercise 7.6.6. Solve by matrix method
d2 x 0
+ 4x = 0, x(0) = 1, x (0) = 0
dt2
151
Shiv Datt Kumar Matrix Theory and Linear Algebra
1. Trace A = Trace B
3. Eigenvalues of A = Eigenvalues of B.
4. Det A = Det B.
152
Shiv Datt Kumar Matrix Theory and Linear Algebra
Elementary matrix
The matrix obtained from unit matrix I after one or more row elementary
transformations.
Canonical matrix
The matrix obtained by applying a series of elementary row or column op-
erations such that there are some non-zero rows in the top and remaining rows
consists of all zeros.
153
Shiv Datt Kumar Matrix Theory and Linear Algebra
2 0 3 5
0 1 2 0
A= Row echelon form
0 0 5 0
0 0 0 0
154
Shiv Datt Kumar Matrix Theory and Linear Algebra
0 1 −3 −1
1 0 1 1
∼ Using R3 − R1 , R4 − R1
3 0 3 3
1 0 1 1
0 1 −3 −1
1 0 1 1
∼ Using R3 − 3R2 , R4 − R2
0 0 0 0
0 0 0 0
Hence Rank(A) = 2.
tions
155
Shiv Datt Kumar Matrix Theory and Linear Algebra
a11 . . . a1n . b1
. .. .. .. ..
Augmented matrix à = (A|b) = ..
. . . . .
am1 . . . amn . bm
A system of equations is said to be consistent if solution exists otherwise
non-consistent. There are three possibilities given in the following theorem.
x + 2y + z = 3
2x + 3y + 2z = 5
3x − 5y − 5z = 2
3x + 9y − z = 4
1 2 1 : 3
2 3 2 : 5
Proof. Ã =
3 −5 5 : 2
3 9 −1 : 4
156
Shiv Datt Kumar Matrix Theory and Linear Algebra
1 2 1 : 3
0 −1 0 : −1
∼ Using R2 − 2R1 , R3 − 3R1 , R4 − 3R1
0 −11 2 : −7
0 3 4 : −5
1 2 1 : 3
0 −1 0 : −1
∼ Using R3 − 11R2 , R4 + 3R2
0 0 2 : 4
0 0 −4 : −8
1 2 1 : 3
0 −1 0 : −1
∼ Using R4 + 2R2
0 0 2 : 4
0 0 0 : 0
Rank A = Rank à = 3 = no. of variables. Thus unique solution exists.
−2x + y + z = 2
x − 2y + z = 2
x + y − 2z = 2
−2 1 1 : 2
Proof. Ã =
1 −2 1 : 2
1 1 −2 : 2
157
Shiv Datt Kumar Matrix Theory and Linear Algebra
1 1 −2 : 2
∼
1 −2 1 Using R13
: 2
−2 1 1 : 2
1 1 −2 : 2
∼
0 −3 3 : Using R2 − R1 , R3 + 2R1
0
0 3 −3 : 6
1 1 −2 : 2
∼
0 −3 3 : Using R3 + R2
0
0 0 0 : 6
Rank A = 2, Rank à = 3 = no. of variables. Thus system is inconsistent.
x+y+z =6
x + 2y + 3z = 10
x + 2y + λz = µ
1 1 1 : 6
Proof. Ã =
1 2 3 : 10
1 2 λ : µ
1 1 1 : 6
∼ 0 1 2 : 4 Using R2 − R1 , R3 − R1
0 1 λ−1 : µ−6
158
Shiv Datt Kumar Matrix Theory and Linear Algebra
1 0 −1 : 2
∼
0 −1 2 : 4 Using R1 − R2 , R3 − R2
0 0 λ − 3 : µ − 10
159
Shiv Datt Kumar Matrix Theory and Linear Algebra
160
Chapter 8
Frequency distribution
The frequency (f ) is the number of times the value occurs in the data.
The distribution of a variable is the pattern of frequencies associated with these
values. Frequency distributions are portrayed as frequency tables or charts.
161
Shiv Datt Kumar Statistics and Probability
Mean
P
xi
If x1 , x2 , . . . , xn are n values of a variable, then mean x̄ = . For a
n
grouped data, if x1 , x2 , . . . , xn are mid values of class intervals having frequen-
P
f i xi
cies f1 , f2 , . . . , fn , then x̄ = P is called the weighted mean.
fi
Remark 8.1.1. If x̄1 and x̄2 are the means of two samples of size n1 and n2 ,
n1 x̄1 + n2 x̄2
then mean is given by x̄ = .
n1 + n2
Median
It is a number such that half of the values of the data have values less than
and half values are greater than it.
162
Shiv Datt Kumar Statistics and Probability
Mode
The value or number in a data set, which has the highest frequency is called
mode or modal value.
The mode value depends on the given dataset. Mode for grouped data is
found using the following mode formula.
h(fm − f1 )
Mode formula =L +
(fm − f1 ) + fm − f2 )
where,
Example 8.1.1. For the following data calculate (i) Mean (ii) Median (iii)
Mode
Frequency: 14 17 22 26 23 18
(i) Consider the mid value (x) of each class, for finding mean:
x: 5 15 25 35 45 55
f 14 17 22 26 23 18
163
Shiv Datt Kumar Statistics and Probability
P
f i xi 3810
Mean x̄ = P = = 31.75
fi 120
Frequency: 14 17 22 26 23 18
P N
(ii) N = f = 120, h = 10. Now = 60. Cumulative frequency just greater
2
than 60 is 79 and corresponding class is 30 − 40. Then median class = 30 − 40,
L = 30, f = 26, C = 53.
N
− C .h
2 (60 − 53)10
Median = L + = 30 + = 32.69.
f 26
(iii) For the given data maximum frequency = 26. Then modal class =30 −
40, L = 30, fm = 26, f1 = 22, f2 = 23.
h(fm − f1 ) (26 − 22)10
Mode formula =L + = 30 + =
(fm − f1 ) + fm − f2 ) (26 − 22) + (26 − 23)
35.7143.
8.2 Probability
164
Shiv Datt Kumar Statistics and Probability
Axioms of Probability:
Let S be a sample space and A, B are two mutually exclusive events. Then
1. 0 ≤ P (A) ≤ 1, 0 ≤ P (B) ≤ 1.
2. P (S) = 1
3. P (A ∪ B) = P (A) + P (B).
165
Shiv Datt Kumar Statistics and Probability
If all outcomes are equally likely, the probability of an event A happening is:
P (A ∩ B) = P (A)P (B)
P (A|B) = P (A)
P (B|A) = P (B)
166
Shiv Datt Kumar Statistics and Probability
does not imply independence, and independence does not imply condi-
tional independence.
Bayes’ Rule: Bayes’ Rule unites marginal, joint, and conditional probabili-
ties. We use this as the definition of conditional probability.
P (A ∩ B) P (B|A)P (A)
P (A|B) = =
P (B) P (B)
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
+ P (A ∩ B ∩ C).
167
Shiv Datt Kumar Statistics and Probability
P (A) = P (A ∩ B1 ) + P (A ∩ B2 ) + · · · + P (A ∩ Bn )
P (A) = P (A ∩ B) + P (A ∩ B c )
X
pX (x) ≥ 0 and pX (x) = 1
x
168
Shiv Datt Kumar Statistics and Probability
P P
E(X) = xi P (X = xi ) = p i xi
i i
p
SD(X) = var(X)
169
Shiv Datt Kumar Statistics and Probability
The distribution obtained by taking the possible values of random variable to-
gether with their respective probabilities is called the probability distribution.
Example 8.3.1. For sample space of tossing of two coins S = {HH, T H, HT, T T },
X : S → R, for the number of heads X(HH) = 2, X(T H) = X(HT ) = 1,
X(T T ) = 0.
(i) pi ≥ 0,
P
(ii) pi = 1.
X x1 x2 . . . xn
P (X = xi ) p1 p2 . . . pn
170
Shiv Datt Kumar Statistics and Probability
171
Shiv Datt Kumar Statistics and Probability
Example 8.3.3. Two players A and B play tennis game. Their chances of
winning game are in the ratio of 3 : 2 respectively. Find A0 s chance of winning
game atleast twice out four game played.
172
Shiv Datt Kumar Statistics and Probability
Example 8.3.4. An irregular six faced dice is thrown 12 times. The expecta-
tion that it will give six even number is twice the expectation that it will give 5
even number. If 1000 sets, each of exactly 12 trials are made. How many sets
are expected not to give any even number ?
Solution: Let X = number of even number obtained in 12 throws.
p = probability of getting an even number It is given that
P (X = 6) = 2 P (X = 5) or 12 C6 p6 q 6 = 2 12 C5 p5 q 7
7 12 7
p = 2q = 2(1 − p) ⇒ p = and q = .
6 19 19
P (probability of getting no even number) =P (X = 0) = q 12
12
7
Number of sets having no even number = 1000 × P (X = 0) = 1000 ×
19
= 0.0063.
173
Shiv Datt Kumar Statistics and Probability
Properties:
P∞ mr e−m P∞ mr
1. r=0 = em r=0 = e−m em = 1
r! r!
Px m r
Px −m
2. Distribution function: f (x) = P [X ≤ x] = r=0 P [X = r] = e r=0 ,
x!
x = 0, 1, 2, 3, . . . ,.
mx e−m
P∞ P∞
3. Mean = x=0 x P [X = x] = x=0 x
x!
2
√ f r2
P P
f r
4. Variance = σ 2 = m, Standard deviation = m= P − P .
f f
m
6. Recurrence formula = P (r + 1) = P (r).
r+1
Example 8.3.5. Let the probability of an individual coal miner being killed in
1
a mine accident during a year is . Use appropriate statistical distribution
2400
174
Shiv Datt Kumar Statistics and Probability
to calculate the probability that in a mine employing 300 miners, there will be
atleast one fatal accident.
1 300 1
Solution: Let p = , n = 200, m = np = = .
2400 2400 8
mr e−m
Now P (r) = ,
r!
P (probability of atleast one killed) =P (1 or 2 or · · · 300)
175
Shiv Datt Kumar Statistics and Probability
176
Shiv Datt Kumar Statistics and Probability
1. Mean = µ
2. Variance = σ 2
3. Standard deviation = σ.
p
4. Mean deviation= σ 2/π
E(X)
P (X ≥ r) ≤ , provided E(X) exists.
r
Proof. We prove it for discrete RVs, for continuous RVs, sums are replaced by
integrals.
P
By definition, E(X) = xP (X = x)
x
We split this sum into two pieces, depending on whether or not x ≥ r.
P P
E(X) = xP (X = x) + xP (X = x)
x≥r x<r
P
= r P (X = x) + 0 (since in the first sum we assumed x ≥ r.
r≥r
P
=r P (X = x) .
x≥r
P
=r P (X ≥ r).
x≥r
177
Shiv Datt Kumar Statistics and Probability
Remark 8.4.1. Markov’s inequality tells us that as long as X does not take
negative values, the probability that X is twice as large as its expected value
1
is at most , which we can see by setting r = 2E(X). More generally, the
2
probability that a random variable is at least k times its expected value is at
1
most . Notice that the only things we assumed about this random variable
k
are that it can not be negative and has finite mean. Knowledge of its variance
or it’s probability distribution, in general.
Example 8.4.2. Suppose a fair coin is flipped 100 times. Find a bound on the
probability that the number of times the coin lands on heads is at least 60 or at
most 40.
Proof. Let X be the number of times the coin lands on heads. We know X has
a binomial distribution with expected value 50 and variance 1000.50.5 = 25.
By Chebyshev, we have
25 1
P (X < 40 ∪ X > 60) = P (|X − µ| ≥ 10) ≤ 2
= . The actual
10 4
probability of this happening is close to 5%..
179