Adv Math Lessons1-6
Adv Math Lessons1-6
COMPLEX NUMBERS
1.1 Definition
The Complex Number z is the number z = x + jy
where:
x is the real part
jy is the imaginary part
and j = √-1
(Note j and i are used interchangeably )
Example 1
Simplify the following:
a. j243
b. j132
c. j182
Solution:
a. Divide 243 by 4 and get the remainder.
243 /4 = 60 ¾
j = ( j4)60 j3 = 1(-j) = - j
243
Example 3
Find the values of x and y if
( 3x + 4y) + ( 7x – 2y + 5)j = 4 + 2j
Solution:
3x + 4y = 4 and 7x – 2y + 5 = 2 or 7x – 2y = -3
Solve simultaneously:
3x + 4y = 4
7x – 2y = - 3
x = -2/17 and y = 37/34
Example 4:
Find the two square roots of - 3 – 4j .
Solution:
Let x + jy = √ ( - 3 – 4j )
Then ( x + jy )2 = - 3 - 4j
x2 + 2xyj + j2y2 = - 3 – 4j
x2 – y2 + 2xy j = - 3 – 4j
Example 4
Find the polar . general polar , exponential and general exponential form of - 5 – 7j .
Solution: Let z = - 5 – 7j
x = -5 , y = - 7 ( 3rd quadrant )
r2 = x2 + y2 = (-5)2 + (-7)2
r= 8.6023
tan α= y/x = 7/ 5 ( Assume x and y are both + )
∝ = 54.460
Then θ = -180 + 54.460 = -125.540
( quadrant 3 ) Note θ is the principal value.
Polar Form:
z = 8.6023 ∟ -125.540
General Polar Form:
z = 8.6023∟[ -125.54 + k(360)]
Exponential Form:
Convert -125.540 to rad
-125.540 = -2.191 rad
Exponential Form:
z = 8.6023 e-2.191j
General Exponential Form
z = 8.6023 e-2.191j+ k(2π)
Example 6
e2 j e j
Evaluate
2j
Solution:
e2j + ej = 1∟(2 x 57.30 ) + 1 ∟ (1 x 57.30)
Note: 1 rad = 57.3 deg
= 1 ∟114.60 + 1 ∟ 57.30
= -0.416 + 0.909 j + 0.54 + 0.841j
= 0.124 + 1.75j
e2 j e j
Then = ( 0.124 + 1.75j)/ ( 2j )
2j
= 0.875 - 0.062j
LESSON 2
POWER AND LOGARITHM OF COMPLEX NUMBERS
Example 1
Find the principal value of ( -j)j
Convert – j to exponential form.
Solution: - j = 1e-π/2j
Then (-j)j = ( 1 e-π/2 j )j
= eπ/2 = 4.81
Example 2
Find the principal values of the following.
a. ln ( 3 – 4j )
Solution:
ln ( 3 – 4j ) = ln ( 5 e-0.927j )
= ln 5 + ln e-0.927j
= 1.61 – 0.927j
Alternative Solution:
MODE 2 Shift to Radian Mode
Store 3 – 4i to A
ENTER: ln| A| + arg(A) i
Result: 1.609 – 0.927j
b. log ( - 5 – 2j )
Solution:
log ( - 5 – 2j ) = log ( 5.385 e-2.761 )
= log 5.385 + log e-2.761j
= 0.731 – 2.761log e j
= 0.731 – 1.2 j
Alternative Solution:
MODE 2
Store -5 – 2i to B:
ENTER: log|B| + arg(B) (log e) i
Result: 0.731 – 1.199j
c. log2 + j ( 3- 5j )
Solution:
Let x = log2 + j ( 3- 5j )
then
( 2 + j )x = 3 – 5j
ln ( 2 + j)x = ln ( 3 – 5j )
x ln ( 2 + j) = ln ( 3 – 5j )
x = ln ( 3 – 5j )/ ln ( 2 + j )
ln 𝑏
Note: log 𝑎 𝑏 =
ln 𝑎
ln ( 3 – 5j ) = ln 5.83e-1.03j
= ln 5.83 – 1.03j
= 1.763 -1.03 j
ln ( 2 + j) = ln ( 2.236 e0.463j )
= ln 2.236 + 0.463j
= 0.804 + 0.463j
Then log2 + j ( 3- 5j ) =
( 1.763 -1.03 j)/( 0.804 + 0.463j )
= 1.1 – 1.91j
d. ( 3 + 4j)1+2j
Solution:
3 + 4j = 5e0.927j = eln 5 + 0.927j
= e1.609 + 0.927j
Therefore:
( 3 + 4j)1+2j = (e1.609 + 0.927j )1+2j
= e-0.245 + 4.145j
= e-0.245e4.145j
= 0.783e4.145j
= -0.42 – 0.66j
Alternative Solution:
Store 3 + 4j to A
Store 1 + 2j to B
ENTER: (ln(|𝐴|) + arg(𝐴)𝑖)(𝐵)
Result: -0.245 + 4.14617i Store to C
|C|cos(arg ( C ) ) Store to D
|C|sin (arg ( C ) ) Store to E
ENTER: 𝑒 𝐷 ∟E
Result: -0.4198 – 0.66i
15
e. ( 1 + j)15 = (√2∟450) 15 = (√2) ∟(15 x 45 )
181.0193 ∟(675) = -163.59 + 77.5 j
Then:
zp/q = rp/q ∟ [ p/q( θ + k(360) ]
Example 3
Find the distinct roots of ( 1 + j)1/4
Solution:
There are 4 roots.
1 + j = √2 ∟[ 45 + k( 360)]
45 k (360 0 )
Then ( 1 + j)1/4 = ( √2 )1/4 ∟
4
Let k = 0 root 1 = ( √2 )1/4 ∟11.25
root 1 = 1.069 + 0.213j
Example 4
Evaluate ( 3 – 2j)7
Solution:
3 – 2j = √13 ∟ -33.690
Therefore:
( 3 – 2j)7 = (√13 ∟ -33.690)7
= (√13 )7 ∟ -235.83
= 7921.396∟ -235.83
= -4449 + 6554i
Thus:
cos 3θ = cos3 θ - 3 cos θ sin2 θ
and sin 3θ = 3 cos2 θ sin θ - sin 3θ
Example 6
Let z = cos x + j sin x
Prove that: z + 1/z = 2 cos x
and z – 1/z = 2j sin x
Solution:
z = cos x + j sin x
1/z = ( cos x + j sin x )-1 = cos (-x) + j sin(-x) = cos x – j sin x
Thus:
z + 1/z = cos x + j sin x + cos x – j sin x
z + 1/z = 2 cos x
and
z – 1/z = cos x + j sin x – ( cos x – j sin x)
z – 1/z = 2j sin x
Example 1
Evaluate sin ( 3 + 4j)
Solution:
sin ( 3 + 4j) = sin 3 cosh 4 + j cos 3 sinh 4
= 0.1411( 27.308) + j (-0.99)(27.29)
= 3.853 – 27.017 j
Example 2
Evaluate tan ( 3 – 7j)
Solution:
tan ( 3 – 7j) = sin ( 3 – 7j) / cos ( 3 – 7j)
sin ( 3 – 7j) = sin 3 cosh (-7) + cos 3 sinh (-7)
= 0.1411 ( 548.317) + -0.99( -548.31)j
= 77.37 + 542.83j
Example 3
Evaluate sin-1 ( 1 + 2j )
Solution:
Let x = sin-1 ( 1 + 2j )
sin x = 1 + 2j
(ejx - e-jx) /2j = 1 + 2j
ejx - e-jx = ( 1 + 2j)(2j )
ejx - e-jx = -4 + 2i
Mulitply both sides by ejx
(ejx)2 -1 = ( -4 + 2j) ejx
( ejx)2 + ejx ( 4 – 2j) -1 = 0
( 4 2 j ) ( 4 2 j )2 4(1)(1)
e jx
2(1)
4 2 j 16 16i
e jx
2
√ ( 16 – 16j ) = √ 22.627 ∟ -22.50
= 4.395 – 1.82i
4 2 j ( 4.395 1.82i )
e jx
2
ejx = 0.1975 + 0.09i
and ejx = -4.1975 + 1.91i
jx = ln ( 0.1975 + 0.09i) =
ln ( 0.217e0.4276j )
jx = ln ( 0.217) + 0.4276j
( jx = -1.528 + 0.4276j) = divide by j
x = 1.528 / j + 0.4276
x = 0.4276 – (1) (1.528 / j)
x = 0.4276 + j2 (1.5380) / j
x=
Example 4
Evaluate tan-1 ( 3 + 4j )
Solution:
let x = tan-1 ( y) where y = 3 + 4j
tan x = y
[( ejx – e-jx)/ 2j ] / [( ejx + e-jx )/ 2 ] = y
ejx – e-jx = j ( ejx + e-jx ) y
Multiply both sides by ejx
( ejx )2 -1 = j ( (ejx)2 + 1 ) y
( ejx)2 ( 1 – y) = 1 + jy
( ejx)2 = ( 1 + jy )/ ( 1 –jy )
Substitute y = 3 + 4j and use calculator.
( ejx)2 = -0.7059 + 0.1765 j
ejx = ( 0.728ej2.897)1/2
= 0.853 e1.4485j
jx = ln (0.853 e1.4485j) =
ln 0.853 + 1.4485j
jx = -0.159 + 1.4485j
x = 1.4485 + 0.159j
e x jy e ( x jy )
cosh( x jy )
2
= ½ ( e e + e e )
x jy -x -jy
Example 1
Evaluate sinh ( 2 + 3j )
Solution:
sinh ( 2 + 3j) = sinh 2 cos 3 + cosh 2 sin 3
= 3.6269 ( -0.99) + 3.7622 (0.1411)
= -3.5906 + 0.5308j
Example 2
Evaluate sech ( 1 – 2j )
Solution:
sech ( 1 – 2j) = 1/ cosh ( 1 – 2j )
= 1/( cosh 1 cos (-2) + j sin h 1 sin ( -2) )
= 1/ [ 1.543 ( -0.416) + j 1.175 (-0.9093) ]
= 1/ [ -0.6419 – j 1.068 ]
= 1/ 1.246∟-1210
= 0.8025 ∟ 1210 = -0.4133 + 0.689 j
y ln e = ln ( 2.1116 + 3.799i )
y = ln ( 4.348e1.0626j)
= ln 4 .348 + 1.04792j
= 1.4697 + 1.04793j
sinh-1 ( 1 + 2j ) = 1.4697 + 1.04793j
The other value:
Laplace Transforms is used to simplify solutions of differential equations. The tedious calculus solution will be
simplified to using algebra concepts.
5.1 Definition
e
st
L f (t) = f (t )dt provided the limit exists.
0
Example 1
Let f(t)= t
L(t) = e st tdt
0
L(t) = [t( -1/s e-st )] - 1/ se st dt
0 0
= 0 - 0 - 1/s2 ( 0 - 1)
L (t) = 1/ s2
Example 2
Find L f(t) if f(t) = sin 2t
Solution:
e j 2t e j 2t
sin 2t
2j
e 2 jt e 2tj e t ( 2 j s ) e t ( 2 j s )
dt
st
L( sin 2t ) = e
0
2j 0
2j
= 1/(2j) [ 1/(2j-s) e2jt e-st- 1/( 2j + s )e-2tj e-st ]
0
1/(2j) [ ( 0 - 0 ) - ( 1(2j-s) - 1/( 2j + s ) )
1 1 1
= 2 j s 2 j s =
2j
1 (2 j s ) (2 j s ) 4j 2
= = 2
2 j (2 j s )(2 j s ) 2 j (4 j s ) s 4
2 2
−𝑠 𝑏
Thus: ∫ 𝑒 −𝑠𝑡 cos 𝑏𝑡 𝑑𝑡 = 𝑒 −𝑠𝑡 (𝑎2 +𝑏2 cos 𝑏𝑡 + 𝑎2 +𝑏2 sin 𝑏𝑡 )
Example 3
Using the table , the laplace transforms of the following are:
L( e4t ) = 1/( s – 4)
L( e-3t) = 1/( s + 3)
L( t4) = 4!/s4+1 = 24/s5
L( sin 4t) = 4/(s2 + 16)
L( cosh 2t) = s/(s2 – 4)
Example 4
L( 3cos 4t + 7t2- 8e-2t)
= 3L(cos 4t) + 7 L( t2) – 8 L (e-2t)
= 3s/(s2 + 16) + 7(2!)/s3 – 8/(s + 2)
= 3s/(s2 + 16) + 14/s3 - 8/( s + 2 )
Example 6
L(t3e-6t ) = L( t3 ) s→ s + 6
= 3!/(s4) s→ s + 6
= 6/(s + 6)4
LESSON 6
LAPLACE TRANSFORMS 2
Further Properties
u(t –a ) = 1 t> a
0 t< a
Graph of u(t–a)
Graph:
Example 3
Convert f(t) unit step function
(y-y2) = m(x-x2)
(y-0) = 1(x-0)
y =x,
y=f(t), x=t
f(t) = t
2t t 1
f (t )
t t 1
2t t t 1
= t
0 t 1
1 t 1
= t (2 2t )
0 t 1
= t + (2 – 2t) u( t -1)
f(t) = t + 2(1 – t) u( t -1)
6.4 The 2nd shifting theorem
Theorem: Lf(t-a)u(t-a) = e-as Lf(t)
Example 4
a. L (t -1) u(t -1) = e-1s L (t)
= e-s(1/s2)
L ( t2 + 1 ) u( t -1) =
L ( t -1)2 u( t -1) + 2 L( t-1) u( t -1) + 2 L ( t -1 )
1
=
s(s 1)2
Example 2
t
1 1 3! 6
L t 3dt L(t 3 ) 4
5
0
s ss s
Example 3
L( t cos t ) = (-1)1 d1/ds1 L( cos t )
= - d/ds ( s/( s2 + 1 ) )
(s 2 1)(1) s(2s )
=
(s 2 1)2
s2 1
(s 2 1)2
Example 4
Find Lf(t) if f(t) = ( et - e3t )/ t
Solution:
L ( et - e3t )/ t =
1 1
L(e e )ds
t 3t
ds
s
s
s 1 s 3
= ln( s -1) – ln ( s -3)
s
= ln ( s -1)/( s – 3)
s
= ln 1 - ln ( s -1)/( s – 3)
= ln( s – 3)/s -1
Example 5
Find Lf(t) if f(t) = (sin t)/t
Solution:
L sin t)/t =
1
L(sin t )
s s
s 1
2
ds [tan 1 s ] s / 2 tan 1 s
𝑒 𝑎𝑡 −𝑒 𝑏𝑡 𝑠−𝑏
Generally: 𝐿 = 𝑙𝑛 𝑠−𝑎
𝑡
A function is periodic of period p if f(t + p) = f(t) . It means every p units, the graph of f(t) will be
repeated.
f (t )e
st
dt
then: Lf (t ) 0
1 e ps
Example 6
Find the Laplace transform of f(t)
Solution:
f(t) is periodic of period 2 . p=2
f(t) = t 0 ≤ t ≤ 1
2–t 1 < t≤ 2
period = 2
p
f (t )e
st
dt
Lf (t ) 0
1 e ps
1 2
te dt (2 t )e st dt
st
0 1
1 e 2s
Example 7
Given f(t) = t -1 < t < 1 , period = 2, graph f(t) and find the laplace transform.
Solution:
e
st
tdt
1
Lf(t) =
1 e 2 s
1
e st ( st 1)
1 / ( 1 – e-2s )
s2
Standard Forms:
L-1 (1/s) = 1
L-1 (1/(s – a)) = eat
L-1 (1/sn) = tn-1/ (n – 1)! n = 1, 2…
L (1 / (s-a) = e t /( n -1)! n = 1, 2…
-1 n at n-1
a
L-1 ( 2 ) = (1/a) sin at
s a2
s
L-1 ( 2 ) = cos at
s a2
s
L-1 ( 2 )= sinh at
s a2
a
L-1 ( 2 )= 1/a sinh at
s a2
s
L-1 2 = (t/2a) sin at
(s a 2 )2
1
L-1 = 1/(2a3 ) [ sin at – at cos at ]
(s a 2 )2
2
Example 1
a. L-1 ( 3/s2) = 3t
b. L-1 1/( s2 + 9) = (1/3) sin 3t
c. L-1 (s / (s2 + 2) ) = cos √2 t
d. L-1 (1/s5 ) = t4/4! = (1/24) t4
s9 s 9
e. L-1 L1 2 L1 2
s 16
2
s 16 s 16
= cos 4t + (9/4) sin 4t
s
f. L-1 = 1/ (2 x 3) t sin 3t
(s 9 )2
2
= (t/6) sin 3t
1
g. L-1 =
(s 9 )2
2
1/( 2 x 33) ( sin 3t – 3t cos 3t)
1/54 ( sin 3t – 3t cos 3t )
Example 2
s 1
a. L-1 2 =
s 9
L-1 s/(s2 + 9) + L-1 ( 1/ ( s2 + 9 ) )
= cos 3t + 1/3 sin 3t
s2 s 1
b. L-1 =
s7
L-1 1/s5 + L-1 1/s6 + L-1 1/s7
= 1/ 4! t4 + 1/ 5! t5 + 1/ 6! t6
= 1/24t4 + 1/120 t5 + 1/ 720 t6
= L1 4 / 3s 7 / 3
L1
4 / 3s 7 / 3
s 2 5s (5 / 2) 2 3 (5 / 2) 2 (s 5 / 2) 2 13 / 4
4/3s + 7/3 = a( s + 5/2) + b
4/3 s + 7/3 = as + 5/2 a + b
a = 4/3 and 5/2a + b = 7/3
then b = -1
Then 4/3s + 7/3 = 4/3( s + 5/2) – 1
4s 7 4 / 3(s 5 / 2) 1
L1 L1
3s 2 5s 9 (s 5 / 2)2 ( 13 / 2)2
4 / 3(s 5 / 2) 1 s 1
L1 L1 4 / 3e 5 / 2t L1 2 e 5 / 2t L1 2
(s 5 / 2)2 ( 13 / 2)2 (s 5 / 2)2 ( 13 / 2)2 s ( 13 / 2) 2 s ( 13 / 2) 2
2s + 5 = a( s + 2 ) + b
2s + 5 = as + 2a + b
a = 2 2a + b = 5 , b = 1
2s + 5 = 2( s + 2 ) + 1
2(s 2) 1 2(s 2) 1
L1 2
L1 2
L1 2
( s 2) 5
2
( s 2) 5
2
( s 2) 2 5
2e-2t cos √5 t + e-2t/√5 sin √5 t
LESSON 9
INVERSE LAPLACE TRANSFORMS (PARTIAL FRACTIONS)
4s2 + 3s – 5 = A( s -3)2 + B( s – 3 ) + C
4s2 + 3s – 5 = A( s2 – 6s + 9) + B( s – 3) + C
= s2 A + s( -6A + B) + 9A – 3B + C
A = 4 -6A + B = 3
and 9A – 3B + C = -5
A = 4 B = 27 and C = 40
then:
4s 2 3s 5 A B C
(s 3 )3
s 3 (s 3 ) 2
(s 3)3
4s 2 3s 5 4 27 5
L1 L1 L1 L1
(s 3 )3
s 3 (s 3 ) 2
(s 3)3
= 4e3t + 27te3t - 5/2 e3tt2
4 15 3
12
--------------------------
4 27
A=4 B = 27 and C = 40
Example 3
Evaluate: L1 s 3s 3 6s 8
3 2
(2s 1) (s 4)
Solution:
s 3 3s 2 6s 8 A B C D
L1 L1 L1 L1 L1
(2s 1) (s 4)
3
2s 1 (2s 1)2
(2s 1)3
s4
s3 + 3s2 + 6s – 8 = A( s-4)( 2s + 1)2
+ B( s-4)(2s + 1) + C( s -4) + D( 2s + 1)3
4A + 8D = 1
- 12A + 2B + 12D = 3
-15A – 7B + C + 6D = 6
-4A – 4B – 4C + D = - 8
Let s = 4
43 + 3(42) + 6(4) – 8 = D(9)3
D = 128/729
The other unknowns are:
A = -295/2916 B = -13/81 C = 83/36
= 4s2 + 3s + 5
A+C=0
B+D= 4
9A + 4C = 3
9B + 4D = 5
Solve the system simultaneously.
A = 3/5 B = -11/5 C = -3/5 D= 31/5
Then:
4s 2 3s 5 3 / 5s 11/ 5 1 3 / 5s 31/ 5
L1 L1 L
(s 4)(s 9)
2 2
s2 4 s2 9
= 3/5 sin 2t - 11/10 sin 2t - 3/5 cos 3t + 31/15 sin 3t
Example 5
4s 3 s 2 2s 1 As B Cs D
L1 L1 2 L1 2
(s 2s 5)(s 4)
2 2
s 2s 5 s 4
4s3 + s2 + 2s – 1 = ( As + B)(s2 + 4) +
( Cs+ D)( s2 + 2s + 5)
= As3+ Bs2 + 4As + 4B + Cs3 + 2Cs2
+Ds2 + 5Cs + 2Ds + 5D
= s3( A + C) + s2( B + 2C + D) +
s( 4A + 5C + 2D ) + 4B + 5D
Then: A + C = 4
B + 2C + D = 1
4A + 5C + 2D = 2
4B + 5D = -1
Then A = 72/17 B = 142/17 C = -4/17 D = -117/7
4s 3 s 2 2s 1 72 / 17s 142 / 17 4 / 17s 117 / 7
L1 L1 L1
(s 2 2s 5)(s 2 4) s 2 2s 5 s2 4
72 / 17s 142 / 17 72 / 17s 142 / 17
L1 L1
s 2s 5
2
(s 1)2 4
72 / 17(s 1) 70 / 17 72 / 17s 70 / 17
L1 e t L1
(s 1) 4
2
s2 4
= 72/17 e-t cos 2t + 35/17 e-t sin 2t
4 / 17s 117 / 7
L1 =
s2 4
- 4/17cos 2t - 117/14 sin 2t
10.2 If f(s) has a denominator s , suppress the denominator s and integrate the remaining f(s)
from 0 to t.
Example 2
t t
1 1
L1 L1 dt sin tdt
s(s 2 1) 0
s 1
2
0
= 1 - cos t
Example 3
2s 2s
L1 tL1 2 ds
(s 1)
2 2
s
(s 1)2
= t L-1 [ -1/ (s2 + 1) ] s∞
= t L-1 (1/(s2 +1 )
= t sin t
Example 4
1
Find the L-1 of
(s 1)2
2
Solution:
t t
1 2s 1 2s 1
L 1
L1 L1 2 dt t sin tdt ( From example 1 )
(s 1)
2 2
2s(s 1)
2 2
2 0 (s 1) 2
20
= sin t - t cos t
10.4 From the rule
L ( t f(t) ) = - d/ds f(s) where Lf(t) = f(s)
Then: tf(t) = -L-1 d/ds f(s)
L1f ' (s )
f (t )
t
Example 5
s2 1 d s2 1 1 1 e t e 2t
L1 ln L1 ln L1( )
s 1 t ds s 1 t s 2 s 1 t
10.5 Inverse Laplace Transforms of partial fractions with repeated non factorable quadratic factors.
Example 6
3s 2 2s 1 As B 1 Cs D E
L1 L1 2 L L1
(s 1) (s 5)
2 2
s 1 (s 1)
2 2
s 5
3s2 + 2s + 1 = (As + B)(s2 + 1)( s – 5)
+ ( Cs + D)( s – 5) + E (s2 + 1)2
3s2 + 2s + 1 = As4 – 5As3 + Bs3 + As2 – 5Bs2 - 5As + B s - 5B + Cs2 – 5Cs + Ds – 5D + Es4 +
2Es2 + E
= s4(A + E) + s3( - 5A + B) + s2( A – 5B + C + 2E ) +
s( B -5C + D) + - 5B – 5D + E
A+E =0
- 5A + B = 0
A – 5B + C + 2E = 3
B -5C + D = 2
- 5B – 5D + E = 1
We can compute E
Let s = 5
3(52) + 2(5) + 1 = E( 52 + 1)2
E = 43/338
Then A = - 43/338
B = - 215/338
C = - 4/13
D = 6/13
L1
3s 2 2s 1
L1
43 / 338s 215 / 338
L1
4 / 13s 6 / 13
+ L1 43 / 338
(s 2 1)2 (s 5) s2 1 (s 2 1)2 s 5
= - 43/338 cos t – 215/338 sin t - 4/13 t sin t +
3/13 ( sin t - t cos t ) + 43/338 e5t
Ly’(t) = s Ly – y(0)
L y’’(t) = s2Ly – sy(0) –y’(0)
L y’’’(t) = s3Ly - s2y(0) – sy’(0) – y’’(0)
Example 7
Solve the ODE y’+ y = t y(0) = 1
Solution:
L ( y’ + y ) = L t
Ly’ + Ly = 1/s2
sLy – y(0) + Ly = 1/s2
sLy – 1 + Ly = 1/s2
Ly ( s + 1) = 1 + 1/s2
s2 1
Ly = 2
s (s 1)
s2 + 1 = As( s + 1) + B( s + 1) + Cs2
= As2 + As + Bs + B + Cs2
= s2 ( A + c) + s( A + B) + B
Then A + C = 1 A + B = 0 and B = 1
B=1
A = -1
and C = 2
Thus: y = L-1 ( -1/s) + L-1 ( 1/s2) +
L-1 2/(s+1)
y = -1 + t + 2e-t
Example 8
Solve y’’ + 4y’ + 4y = sin 2t
y(0) = 0 y’( 0) = 1
Solution:
L (y’’ + 4y’ + 4y) = L sin 2t
L y’’ + 4Ly’ + 4Ly = 2/(s2 + 4)
s2Ly - sy(0) – y’(0) + 4( Ly – sy(0) ] + 4 Ly
= 2/(s2 + 4)
s2 Ly – s(0) – 1 + 4Ly – 4s(1) + 4Ly
= 2/(s2+4)
Ly( s2 + 4) = 1 + 4s + 2/(s2 + 4)
4s 3 s 2 16s 6
Ly =
(s 2 4)(s 2 4)
4s 3 s 2 16s 6
y = L-1
(s 2 4 ) 2
4s 3 s 2 16s 6
1 As B Cs D
L L1 2 L1 2
(s 4 )
2 2
(s 4 ) (s 4 ) 2
4s3 + s2 + 16s + 6 = ( As + B)(s2 +4) + Cs + D
= As3 + Bs2
+ 4As + 4B + Cs + D
= s A + s B + s( 4A + C) + 4B + D
3 2
A=4 B =1 4A + C = 6 4B + D = 6
A=4
B= 1
C= 0
D= 2
4s 1 2
y L1 L1 2
(s 4)
2
(s 4)2
y = 4 cos 2t + 1/2 sin 2t + 2/16( sin 2t – 2t cos 2t)
or y = 4 cost 2t + 5/8 sin 2t - ¼ t cos 2t
s + 3 = A s(s+4) + B( s + 4) + Cs2
when s = 0 3 = 4B B = ¾
when s = -4 - 4 + 3 = C(-4)2
C = -1/16
when s = 1
1 + 3 = A(1)(5) + ¾(1+4) + -1/16(1)2
A = 1/16
Then:
s3
L-1 = L-1 [ 1/16/ s + ¾ / s2 + -1/16 / ( s + 4 )]
s ( s 4)
2
Solve simultaneously.
a = -2 c = 3/2 b = 1 d = -1/2
2 1
A-1 =
3 / 2 1/ 2
12. 4 Elementary Matrices are matrices obtained by subjecting the identity matrix to elementary
transformations.
Examples of Elementary Matrices
1 0 0
I3 0 1 0
0 0 1
a. Swap Row 1 and Row 2
0 1 0
1 0 0
0 0 1
b. Column 3 x k
1 0 0
0 1 0
0 0 k
c. 2 Row 1 + Row 2
1 0 0
2 1 0
0 0 1
Solution:
Form the augmented matrix
Result:
4 3 2 - 5 | -4
0 -17 -34 19 | -60
0 1 -14 25 | 60
0 -39 -2 57 | 144
Row 2 x 1 + Row 2 x 17
Row 2 x -39 + Row 3 x 17
Result:
4 3 2 -5 | - 4
0 -17 -34 19 | -60
0 0 -272 444| 960
0 0 1292 228| 4788
Result:
4 3 2 -5 | - 4
0 -17 -34 19 | -60
0 0 -272 444| 960
0 0 0 635664| 2542656
Then:
635664w = 2542656 w = 4
-272z + 444w = 960
-272z = 960 – 444(4) = -816
z= 3
-17y – 34z + 19w = -60
-17y – 34(3) + 19(4) = -60
y= 2
4x + 3y + 2z – 5w = - 4
4x + 3(2) + 2(3) – 5(4) = - 4
x=1
(This process is called back substution. )
LESSON 13
Determinant and its Properties
Example 3
Find the minor of element 7 and 2 of
2 1 3 5
2 7 8 1
A
3 5 5 1
8 1 9 4
Solution:
2 3 5
Minor of 7 = det 3 5 1 = -66
8 2 4
1 3 5
Minor of 2 = det 5 5 1 = -336
1 9 4
Cof (aij ) = -(1)i+j Mij where Mij is the minor of the matrix found in row i and column j.
Example 4
Find the cofactor of element 7 and element 2 in the matrix A of example 3.
Solution:
Cof( aij) of 7 = (-1)2+2 M22 = M22 = -66
Cof(aij) of 2 = ( -1)2+1 = -M21
= -( -336) = 336
13.5 Laplace Expansion
The determinant of any square matrix is equal to the sum of the product of element of any row
(column) to its corresponding cofactors.
Example 5
Evaluate det( A), by Laplace Expansion using the 1st row and the 3rd column.
2 4 1
A 1 3 2
6 5 1
Solution: (Using the 1st row )
det(A) = 2 Cof (a11) + 4 Cof( a12 ) + -1 Cof(a13)
3 2 1 2 1 3
= 2 (-1)1+1 + 4 (-1)1+2 -1(-1)1+3
5 1 6 1 6 5
det(A) =
-1Cof( a13) + 2 Cof ( a23 ) + -1Cof(a33)
1 3 2 4 2 4
= -1 (-1)1+3 + 2(-1) 2+ 3 + (1)(-1)1+3
6 5 6 5 1 3
= -1( -13) + 2( 14) + 1( 2) = 43
Example 6
2 4 1 1
3 1 6 1
Find the det (A) if A = using Laplace expansion of the 1st row.
8 2 1 4
9 2 3 1
Solution:
det(A) = 2 Cof( a11 ) + 4 Cof( a12 ) -1 Cof (a13 ) + 1 Cof ( a14 )
1 6 1 3 6 1
= 2 (-1)1+1 2 1 4 + 4(-1)1+2 8 1 4
2 3 1 9 3 1
3 1 1 3 1 6
+ -1 (-1)1+3 8 2 4 + 1(-1)1+4 8 2 1
9 2 1 9 2 3
Example 7
1 2 1 1 3 1
Let A = 3 4 2 ,then AT =
2 4 4
1 4 7 1 2 7
det (A ) = - 26
13.7 If the elements of any row or column of a matrix is zero , the determinant equals zero.
(It is obvious that if we expand the determinant in terms of the elements of the row or column with
zero elements, the result is zero).
13.8 If any 2 rows or columns of a given matrix are equal or proportional, the determinant is zero.
Example 8
The determinants
1 2 2 1 2 2 a 3a b
a. 1 2 2 b. 1 2 2 c. a 3a b
8 1 9 8 16 9 a 3a 2b
are all zero.
a has 2 equal rows.
b. has 2 proportional columns
c. has 2 proportional columns
13. 9
Swapping the position of any two rows or columns of a given determinant will make the determinant
negative of the original determinant.
Example 9
1 2 3 5 1 2 a d g d a g
5 1 2 = 1 2 3 b e h e b h
2 1 6 2 1 6 c f i f c i
Example 11
4 3 5 1 3 2 3 0 3
1 2 6 1 2 61 2 6
3 1 5 3 1 5 3 1 5
68 = 41 + 27
13.12 If a constant is multiplied to any row or column and added to another row or column of a
determinant, the determinant is unchanged .
Example 12
3 2 1
Let A 4 3 1
1 5 2
then det ( A) = 8
Let us verify the rule:
Row 1 x -4 + Row 2 will give
3 2 1
A' 8 5 3
1 5 2
det ( A’) = 8
Example 13
2 3 1 5
7 1 1 2
Find the det ( A ) if A
1 3 2 1
5 2 3 4
Row 3 x -2 + Row 2
Row 3 x – 7 + Row 2
Row 3 x 5 + Row 4
0 3 3 3
0 20 15 5
det (A ) = det
1 3 2 1
0 17 13 9
3 3 3
= 1(-1)3+1 20 15 5 = -90
17 13 9
Solution:
Factor a from the 1st row, b from the 2nd row and c from the 3rd row.
a b c
abc a b c = 0
a b c
( since row 1 and row 3 are the same)
Example 14
Prove that
1 a a3
1 b b 3 (a b )(b c )(c a )(a b c )
1 c c3
Solution:
Row 2 x -1 +Row 1
Row 3 x -1 + Row 2
0 a b a3 b3
3 1 a b a3 b3
= 0 b c b 3 c 3 (1) 1
3 b c b3 c 3
1 c c
1 a 2 ab b 2
= (a b )(b c )
1 b 2 bc c 2
= (a – b)( b – c)( b2 + bc + c2 – ( a2 + ab + b2)]
= (a-b)( b – c) ( bc + c2 – ab - a2)
= ( a – b)( b –c)( b [ c – a] + c2 – a2 )
= ( a – b)( b – c)( c-a ) ( b + a + c )
LESSON 14
Solution of System of Linear Equations
Example 1
Solve for C in the system of linear equations using Cramer’s Rule.
3A – 2B + 5C – D = 10
2A + B + 5C – 4D = 3
3A + B – C + D = 6
A + B + C + 9D = 42
Solution:
3 2 5 1 3 2 10 1
2 1 5 4 2 1 3 4
D D(C )
3 1 1 1 3 1 6 1
1 1 1 9 1 1 42 9
T
4 5 2 5 2 4
1 2 7 2 7 1
3 1 2 1 2 3
Adj ( A ) =
1 2 7 2 7 1
3 1 2 1 2 3
4 5
7 2
2 4
3 7 19
31 11 12
26 19 2
3 7 19
31 11 12
A 1
26 19 2
125
3 7 19
31 11 12
3 / 125 7 / 125 19 / 125
26 19 2
1
A 31/ 125 11/ 125 12 / 125
125
26 / 125 19 / 125 2 / 125
14.3 Solution of System of Linear
( Unique Solution )
Example 3
Solve the system
3A + 2B = 4
2A – B = -9
A + 3B = 13
Solution:
Form the augmented matrix
3 2 4
2 1 9
1 3 13
Swap row 1 and row 3
1 3 13 1 3 13
2 1 9 → 0 7 35
3 2 4 0 7 35
Row 1 x – 2 + Row 2
Row 1 x -3 + Row 3
The system is equivalent to
A + 3B = 13
-7B = -35
-7B = - 35
Thus: B = 7 and A = - 8
Solution:
Form the augmented matrix.
3 3 -1 | 1
3 -4 3 | -1
2 -1 1 | -3
3 1 -2 | 4
Row 1 x -3 + Row 2 x 3
Row 1 x -2 + Row 3 x 3
Row 1 x -3 + Row 4 x 3
Result:
3 3 -1 | 1
0 -21 12| -6
0 -9 5 | -11
0 -6 -3 | 9
Row 2 x – 9 + Row 3 x 21
Row 2 x -6 + Row 3 x 21
Result:
3 3 -1 | 1
0 -21 12| -6
0 0 -3| 177
0 0 -135| 225
Solution:
Swap row 1 and row 4
1 -2 3 -2 1 f
3 -6 8 -9 5 3f
2 - 4 9 5 -4 2f
4 - 8 11 - 11 6 4f
Row 1 x – 3 + Row 2
Row 1 x – 2 + Row 3
Row 1 x – 4 + Row 4
1 -2 3 -2 1 f
0 0 -1 -3 2 0
0 0 3 9 -6 0
0 0 -1 -3 2 0
Row 2 / -1
1 -2 3 -2 1 f
0 0 1 3 -2 0
0 0 3 9 -6 0
0 0 -1 -3 2 0
Row 2 x – 3 + Row 3
Row 2 + Row 1
1 -2 3 -2 1 f
0 0 1 3 -2 0
0 0 0 0 0 0
0 0 0 0 0 0
A = 2B + 11D - 7E + f
B = B
C = -3D + 2E
D = D
E =E
A 0 2 0 11 7 1
B 0 1 0 0 0 0
C A 0 B 0 C 0 D 3 E 2 f 0
D 0 0 0 1 0 0
E 0 0 0 0 1 0
Let B= c1 D = c2 E = c3 where c1, c2 and c3 are arbitrary constants.
Then:
A = 2c1 + 11c2 – 7c3 + f
B = c1
C = - 3c2 + 2c3
D = c2
E = c3
(A B C D E) =
( 2c1 + 11c2 – 7c3 + f c1 - 3c2 + 2c3 c2 c3 )
Row 1 x 1 + Row 2
Row 1 x -2 + Row 3
1 2 3 0
0 5 5 0
0 -3 -8 0
Row 2 / 5
1 2 3 0
0 1 1 0
0 -3 -8 0
Row 2 x 3 + Row 3
1 2 3 0
0 1 1 0
0 0 -5 0
This is equivalent to
A + 2B + 3C = 0
B+ C =0
-5C = 0
The solution is A = 0, B = 0 , C = 0 (trivial)
Example 7
Solve the system
A + 4B + C = 0
2A – 3B – 9C = 0
-A + 2B + 5C = 0
Solution:
Form the augmented matrix
1 4 1 0
2 -3 -9 0
-1 2 5 0
Row 1 x – 2 + Row 2
Row 1 x 1 + Row 3
1 4 1 0
0 -11 -11 0
0 6 6 0
Row 2/ -11
Row 3/ 6
1 4 1 0
0 1 1 0
0 1 1 0
Row 2 x -1 + Row 3
1 4 1 0
0 1 1 0
0 0 0 0
The system is the same as
A + 4B + C = 0
B+ C=0
0= 0
B=-C
A + 4(-C) + C = 0
A = 3C
Let C = r ( r is any constant )
Then A = 3r
B=-r
( A B C ) = ( 3r -r r ) = r ( 3 -1 1)
LESSON 15
EQUATIONS INVOLVING MATRICES, EIGENVALUES, and EIGENVECTORS
1 1
1 3 1 3 x 1 3 1
3 4 3 4 y 3 4 2
1
1 0 x 1 3 1 10 / 13
0 1 y 3 4 2 1/ 13
x 10 / 13
y = 1/ 13
1 1
a b 2 1 2 1 3 2 2 1
c d 3
2 3 2 1 5 3 2
a b 1 0 0 1
c d 0
1 17 11
a b 0 1
c d = 17 11
a = 0 b = 1 c = -17 d = 11
Example 3
Solve for [A]
A [ A]
3 3 2 3
4 5 5 1
Solution:
3 3 1 0 2 3
[ A] [ A]
4 5 0 1 5 1
4 3 2 3
[A]
4 6 5 1
1 1
4 3 4 3 2 3 4 3
[ A]
4 6 4 6 5 1 4 6
A
1 0 0 1/ 2
0 1 13 / 6 11/ 12
A =
0 1/ 2
13 / 6 11/ 12
-X1 + X2 = 0
- 2X1 + 2X2 = 0
Let X2 = C Then X1 = C (any real)
Summary: For w = 2
1
Associated Eigenvector = c
1
The length of the vector is √(12 + 12 ) = √2
For w = 3 :
1
Associated Eigenvector = c / 2
2
The length of the vector is √( 12 + 22 ) = √5
Example 5
−4 −6
Diagonalize 𝐴 = [ ]
3 5
A short cut way to determine the eigenvalues is this formula:
𝑤 2 − 𝑡𝑟𝑎𝑐𝑒(𝐴) + det(𝐴) = 0
𝑤 2 − ( −4 + 5) + (−4)(5) − (−6)(3) = 0
𝑤 = 2, −1
1 2
𝑃−1 = [ ]
−1 −1
Then
1 2 −4 −6 −1 −2
𝑃−1 𝐴 𝑃 = [ ][ ][ ]
−1 −1 3 5 1 1
2 0
= [ ]
0 −1
LESSON 16
FOURIER SERIES
16.1 The Fourier Series Expansion of a periodic function f(t) with period 2p where
f( t + 2p) = f(t) is given by :
nt nt
f(t) = a0/2 + (a
0
n cos
p
bn sin
p
)
where
d 2 p
1 nt
an
p
d
f (t ) cos
p
dt
1 d 2 p nt
bn
p d
f (t ) sin
p
dt
Example 5
Find the Fourier Series Expansion of f(t)
f(t) = -1 -π ≤ t ≤ 0
= 1 0 ≤ t ≤ π period = 2π
Solution:
f(t) = -1 -π ≤ t ≤ 0
= 1 0≤ t ≤ π
2p = 2π then p = π and d = 0.
d 2 p
nt nt nt
0
1 1 1
an
p
d
f (t ) cos
p
dt 1cos
dt 1cos
0
dt
sin( n ) sin( n )
an 0
n n
0
1 1
a0
1dt 1dt 0
0
d 2p
nt nt nt
0
1 1 1
bn
p
d
f (t ) sin
p
dt 1sin
dt sin
0
dt
Example 6
What is the Fourier expansion of the periodic function whose definition in one period is
f(t) = cos t 0 ≤ t ≤ π
Solution: Use d = 0.
d 2 p
1 nt
an
p
d
f (t ) cos
p
dt
1 nt 2
/2 0
cos t cos
/2
dt cos t cos( 2nt )dt
0
Note:
cos ( A + B) = cos A cos B – sin A sin B
cos ( A – B) = cos A cos B + sin A sin B
cos A cos B = ½ cos ( A + B) + ½ cos ( A – B)
1 1
cos(𝑡) cos(2𝑛𝑡) = cos(𝑡 + 2𝑛𝑡) + cos(𝑡 − 2𝑛𝑡)
2 2
1 1
= cos[𝑡(2𝑛 + 1)] + cos[𝑡(2𝑛 − 1)]
2 2
Integrate:
sin t (2n 1) sin t (2n 1)
an [ ] 0
(2n 1) (2n 1)
1 1
an ( ) sin(2n )
(2n 1) (2n 1)
an = 0 for n = 1 , 2, 3 …
1 n ( 0 )
a0
/2 0
cos 0 cos
/2
dt 2
1 d 2 p nt
bn
p d
f (t ) sin
p
dt
1 d 2 p nt 1 nt 2
bn f (t ) sin dt cos t sin dt bn cos t sin( 2nt )dt
p d p /2 0 /2 0
Note:
sin ( A + B) = sin A cos B + sin B cos A
sin ( A – B) = sin A cos B - sin B cos A
then:
sin A cos B = ½ sin (A + B) + ½ sin ( A – B)
1 1 1 1
bn ( ) cos( 2n )
(2n 1) (2n 1) (2n 1) (2n 1)
n = 1 b1 = 8/(3π)
n = 2 b2 = 16/(15π)
n = 3 b3 = 24/(35π)
n = 4 b4 = 32/(63π)
and so on
For an odd function, the Fourier series will have only sine terms in the series so a n = 0.
nt
p
2
and bn f (t ) sin( )dt
p0 p
For an even function, the Fourier series will have only cosine terms so b n = 0.
nt
p
2
an f (t ) cos dt
p0 p
Example 7
Find the Fourier Series Expansion of
f(t) = -1 -π ≤ t≤ 0
1 0≤ t ≤π period = 2π
Solution:
f(t) is an odd function. The Fourier series will have only sin terms, an = 0
nt
p
2
bn
p0 f (t ) sin(
p
)dt
2 nt
bn 1sin( )dt
0
cos( nt )
= (2/π) [ ] 0
n
1 cos( n )
bn
n n
b1 = 2
b2 = 0
b3 = 2/3
b4 = 0
b5 = 2/5 and so on
Then:
f(t) = 2 sin (πt/π) + 2/3 sin ( 3πt/π) + 2/5 sin ( 3πt/π ) + ….
Example 8
Find the Fourier Series Expansion of
f(t) = t2 - 1 ≤ t ≤ 1 period = 2
Solution:
f(t) = is an even function so it will contain only cosine terms. bn = 0 and p =1
nt
p
2
an f (t ) cos dt
p0 p
nt
1
2
an t 2 cos dt
10 1
Let u = nπt du = nπ dt
and t = u/(nπ)
nt
1
2 2 u2 du
10
t cos
1
dt 2 n
2 2
cos u
n
n 3
2
3
u 2
sin u 2u cos u 2 sin u
2
[( nt ) 2 2nt cos nt 2 sin nt ] 0
1
n 3 3
2
n 2 2
Then:
2 2 2
f(t) = 1 2 [cos t ] 2 2 [cos 2t ] 2 2 [cos 3t ] ...
3 2 3
16.3 DIRICHLET’S CONDITION
In the Fourier Series Expansion, at the point of of finite discontinuity, x = c ( jump) , f(c) is the average
of the left and the right side limit.
Example 8
Find the Fourier Series expansion of
f(x) = - π -π < t < 0
t 0 < t < π and deduce
that π /8 = 1 + 1/32 + 1/52 + …
2
Solution:
nt nt
0
1 1
an
cos
dt
t cos
0
dt
sin (nπ) = 0
Thus:
1
an 2 (cos(n ) 1)
n
0
1
a0 [ dt tdt ] = -π/2
0
2 2
a1 a = 0 a3
2 2
(1) (3 ) 2
2
a4 = 0 a5 ……
(5)2
nt nt
0
1 1
bn
sin(
)dt
t sin
0
dt
1 sin( n ) cos( n )
[1 cos( n )]
n n2 n
sin (nπ) = 0
1 cos( n )
bn (1 cos n )
n n
b1 = (2) + 1
b1 = 3
b2 = -1/2
b3 = 1
b4 = -1/4
….
f(t) = -π/4 - 2/π ( cos t + cos 3t /32 + cos 5t / 52 + ) + 3 sin t - sin 2t/2 + sin 3t / 3 - sin 4t / 4 +
….
at t = 0 , f(t) is discontinuous
f(0) = average of the left and the right side limit
= ( ½ [ - π + 0 ]) = -π/2
Thus:
-π/2 = -π/4 - 2/π ( cos t + cos 3t /32 + cos 5t / 52 + … ) + 3 sin t - sin 2t/2 + sin 3t / 3 - sin 4t /
4 + ….
when t = 0
Solution:
p=2
2𝜋
1 1
𝑑𝑛 = 2 ∫−1 𝑡𝑒 −𝑛∗( 2 )𝑡 𝑑𝑡
1 1 1
𝑑𝑛 = ∫−1 𝑡𝑒 −𝑛𝜋 𝑑𝑡 = 2 2 [𝑛𝜋(𝑒 𝑖𝑛𝜋 + 𝑒 −𝑖𝑛𝜋 ) − (𝑒 𝑖𝑛𝜋 − 𝑒 −𝑖𝑛𝜋 )]𝑒 𝑖𝑛𝜋𝑡
2 2𝑛 𝜋
1
𝑑𝑛 = [2𝑖𝑛𝜋 cos(𝑛𝜋) − 2𝑖𝑠𝑖𝑛(𝑛𝜋)]
2𝑛2 𝜋 2
1
𝑑𝑛 = 2𝑛2 𝜋2 (2𝑖𝑛𝜋(−1)𝑛 − 0)
1
𝑑𝑛 = 𝑛𝜋 (−1)𝑛
∞
𝑖
𝑓(𝑡) = ∑ (−1)𝑛 𝑒 𝑛𝜋𝑖𝑡
𝑛𝜋
−∞
𝑖 ∞ 1
𝑓(𝑡) = ∑∞ 𝑛 𝑛𝑡𝜋𝑖
1 𝑛𝜋 (−1) 𝑒 + ∫1 −𝑛𝜋 (−1)−𝑛 𝑒 −𝑛𝑡𝜋𝑖
∞ ∞
𝑖 2(−1)𝑛+1
𝑓(𝑡) = ∑ (−1)𝑛 (𝑒 𝑖𝑛𝜋𝑡 − 𝑒 −𝑖𝑛𝜋𝑡 ) = ∑ sin(𝑛𝜋𝑡)
𝑛𝜋 𝑛𝜋
1 1