Complex Numbers and Linear Algebra Lecture Notes
Complex Numbers and Linear Algebra Lecture Notes
A complex number, z is an ordered pair (x, y) that can be written in In the case of multiplication and division of complex numbers, as
the form well as raising a complex number to a certain power or taking the
root of a complex number, the exponential form becomes more
𝒛 = 𝒙 + 𝒋𝒚 convenient to use. To derive the exponential form of z, the following
where Taylor series expansions are useful:
x = real part of z, Re (z)
𝑥2 𝑥3
y = imaginary part of z, Im (z) 𝑒𝑥 = 1 + 𝑥 + + +⋯
2! 3!
j = imaginary unit
𝑥2 𝑥4 𝑥6
cos 𝑥 = 1 − + − +⋯
The Imaginary Unit 2! 4! 6!
𝑥3 𝑥5 𝑥7
The imaginary unit j is equal to the expression 𝒋 = √−𝟏. Thus, sin 𝑥 = 𝑥 − + − +⋯
3! 5! 7!
𝒋𝟐 = −𝟏, 𝒋𝟑 = −𝒋, 𝒋𝟒 = 𝟏
𝒆𝒋𝜽 = 𝐜𝐨𝐬 𝜽 + 𝒋 𝐬𝐢𝐧 𝜽 → Euler’s identity
Example:
Simplify the expression 2𝑗1824 − 4𝑗1986 + 𝑗 2017 − 3𝑗 2499 Now, the complex number z can be represented as
𝑧 = 𝑥 + 𝑗𝑦 𝑥 = 𝑟 cos 𝜃 𝑦 = 𝑟 sin 𝜃
The Complex Plane
𝑧 = 𝑟 cos 𝜃 + 𝑗 𝑟 sin 𝜃 = 𝑟(cos 𝜃 + 𝑗 sin 𝜃)
The complex plane consists of a real and an imaginary axis It is
sometimes called Argand diagram. 𝒛 = 𝒓𝒆𝒋𝜽 ≡ 𝒓𝒆𝒋(𝜽+𝟐𝒏𝝅) → exponential form of z
Complex Arithmetic
The negative of a complex number can be obtained by multiplying Powers of a Complex Number
both the real and the imaginary parts by -1.
In raising a complex number to a certain power n, it is convenient to
use the exponential form of the complex number.
The conjugate of z is obtained by changing the sign of the imaginary
part.
(𝐜𝐨𝐬 𝜽 + 𝒋 𝐬𝐢𝐧 𝜽)𝒏 = 𝐜𝐨𝐬 𝒏𝜽 + 𝒋 𝐬𝐢𝐧 𝒏𝜽 de Moivre’s theorem
Example:
Evaluate (3 – j4)5. Express answer in both rectangular and
exponential forms
In obtaining the roots of a complex number, again, the exponential A matrix is a rectangular array of numbers or functions enclosed in
form is much more convenient. First, get the root of the absolute brackets. The numbers (or functions) in a matrix are called entries or
value. Then divide the argument by the value of n. The root of a elements.
complex number is multivalued. ➢ horizontal entries: rows
➢ vertical entries: columns
Examples:
(a) Solve the equation z3 – 1 = 0 a11 a12 a13
0.3 −5 a a23 ,
1/4
1
(b) Evaluate (40.5 + j70.148) 0 −0.2 16 , a22
21
a31 a32 a33
Complex Logarithms
e − x 4
2x2 1
The natural logarithm of a complex number z can be obtained by 6x , a1 a2 a3 ,
e 4x
expressing z in exponential form. 2
Indices are used to specify the location of the entries in a matrix.
𝐥𝐧 𝒛 = 𝐥𝐧 𝒓 + 𝒋(𝜽 + 𝟐𝒏𝝅) principal argument: −𝜋 < 𝜃 ≤ 𝜋
𝒂𝟐𝟑 → 2nd row, 3rd column
Trigonometric Functions in Terms of Complex Exponentials aa==aa11 aa22 aann.. For instance, a =a=−2 −25 50.8 0.8
Forinstance, 0 10 . 1 .
Using Euler’s identity, it can be shown the following relations Column vector:
𝑒 𝑗𝑥 + 𝑒 −𝑗𝑥 b1
cos 𝑥 = b 4
2 b = 2 . For instance, b = 0 .
𝑒 𝑗𝑥 − 𝑒 −𝑗𝑥 −7
sin 𝑥 = bm
𝑗2
Two matrices are equal if and only if (1) they have the same size and
Hyperbolic Functions (2) the corresponding entries are equal. Matrices that are not equal
are called different. Thus, matrices of different sizes are always
The two fundamental hyperbolic functions are defined as different.
𝑒 𝑥 + 𝑒 −𝑥
cosh 𝑥 =
2 Matrix Operations: Matrix Addition and Scalar Multiplication
𝑒 𝑥 − 𝑒 −𝑥 Two matrices can be added only if they have the same size. The sum
sinh 𝑥 = of two matrices A and B (written A + B) has the entries obtained by
2
adding the corresponding entries of A and B.
Trigonometric-Hyperbolic Relations
The product of m × n matrix A and a scalar k is a matrix written as kA
cos 𝑥 = cosh 𝑗𝑥 sin 𝑗𝑥 = 𝑗 sinh 𝑥 having the same size, obtained by multiplying each entry of A by k.
𝐌 = 𝐀 × 𝐁
[𝒎 × 𝒏] [𝒎 × 𝒓] [𝒓 × 𝒏]
Example:
Determine the product of the two matrices A and B
3 5 −1 2 −2 3 1 22 −2 43 42
➢ Diagonal matrix – square matrix all of whose entries are
AB = 4 0 2 5 0 7 8 = 26 −16 14 6 zero except the main diagonal
−6 −3 2 9 −4 1 1 −9 4 −37 −28 ➢ Scalar matrix – a diagonal matrix whose main diagonal
entries are all the same
Answer: 𝐀𝐒 = 𝐒𝐀 = 𝑐𝐀
−2 3 1 22 −2 43 42 ➢ Identity matrix – scalar matrix whose main diagonal entries
are all 1.
0 7 8 = 26 −16 14 6
𝐀𝐈 = 𝐈𝐀 = 𝐀
−4 1 1 −9 4 −37 −28
[A, B] = AB – BA
Example
Find the commutator [A, B]
Inverse Matrix
➢ The inverse of a square matrix denoted by A-1 satisfies the
relation AA-1 = I
Transposition
➢ Not all square matrices have an inverse
➢ Obtained by writing the rows as columns and vice versa ➢ A matrix that has an inverse is called nonsingular.
➢ The transpose of matrix A is AT
➢ Can be used to convert row vectors to column vectors and
conversely
Example: