Skip to content

In summary:

← Back to Fundamentals of Electric Circuits Overview

\nx1=Δ1Δx2=Δ2Δxn=ΔnΔ\n\begin{aligned}\nx_1 &= \frac{\Delta_1}{\Delta} \\ x_2 &= \frac{\Delta_2}{\Delta} \\ &\vdots \\ x_n &= \frac{\Delta_n}{\Delta}\n\end{aligned}

\n(A.5)

where the ∆‘s are the determinants given by

Δ=a11a12a1na21a22a2nan1an2ann,Δ1=b1a12a1nb2a22a2nbnan2ann\Delta = \begin{vmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \cdots & \vdots \\ a_{n1} & a_{n2} & \cdots & a_{nn} \end{vmatrix}, \qquad \Delta_1 = \begin{vmatrix} b_1 & a_{12} & \cdots & a_{1n} \\ b_2 & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \cdots & \vdots \\ b_n & a_{n2} & \cdots & a_{nn} \end{vmatrix} Δ2=a11b1a1na21b2a2nan1bnann,,Δn=a11a12b1a21a22b2an1an2bn\Delta_2 = \begin{vmatrix} a_{11} & b_1 & \cdots & a_{1n} \\ a_{21} & b_2 & \cdots & a_{2n} \\ \vdots & \vdots & \cdots & \vdots \\ a_{n1} & b_n & \cdots & a_{nn} \end{vmatrix}, \dots, \Delta_n = \begin{vmatrix} a_{11} & a_{12} & \cdots & b_1 \\ a_{21} & a_{22} & \cdots & b_2 \\ \vdots & \vdots & \cdots & \vdots \\ a_{n1} & a_{n2} & \cdots & b_n \end{vmatrix} (A.6)(A.6)

Notice that ∆ is the determinant of matrix A and ∆ k is the determinant of the matrix formed by replacing the kth column of A by B. It is evi dent from Eq. (A.5) that Cramer’s rule applies only when ∆ ≠ 0. When ∆ = 0, the set of equations has no unique solution, because the equations are linearly dependent.

The value of the determinant ∆, for example, can be obtained by expanding along the first row:

Δ=a11a12a13a1na21a22a23a2na31a32a33a3nan1an2an3ann\Delta = \begin{vmatrix} a_{11} & a_{12} & a_{13} & \cdots & a_{1n} \\ a_{21} & a_{22} & a_{23} & \cdots & a_{2n} \\ a_{31} & a_{32} & a_{33} & \cdots & a_{3n} \\ \vdots & \vdots & \vdots & \cdots & \vdots \\ a_{n1} & a_{n2} & a_{n3} & \cdots & a_{nn} \end{vmatrix}

= a11M11a12M12+a13M13++(1)1+na1nM1na_{11}M_{11} - a_{12}M_{12} + a_{13}M_{13} + \cdots + (-1)^{1+n}a_{1n}M_{1n} (A.7)

where the minor Mij is an ( n − 1) × ( n − 1) determinant of the matrix formed by striking out the ith row and jth column. The value of ∆ may also be obtained by expanding along the first column:

Δ=a11M11a21M21+a31M31++(1)n+1an1Mn1\Delta = a_{11}M_{11} - a_{21}M_{21} + a_{31}M_{31} + \dots + (-1)^{n+1}a_{n1}M_{n1}

(A.8)

We now specifically develop the formulas for calculating the deter minants of 2 × 2 and 3 × 3 matrices, because of their frequent occurrence in this text. For a 2 × 2 matrix,

Δ=a11a12a21a22=a11a22a12a21\Delta = \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix} = a_{11}a_{22} - a_{12}a_{21}

(A.9)

1 n 1 n

For a 3 × 3 matrix,

Δ=a11a12a13a21a22a23a31a32a33=a11(1)2a22a23a32a33+a21(1)3a12a13a32a33\Delta = \begin{vmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{vmatrix} = a_{11}(-1)^2 \begin{vmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{vmatrix} + a_{21}(-1)^3 \begin{vmatrix} a_{12} & a_{13} \\ a_{32} & a_{33} \end{vmatrix}
  • a31(1)4a12a13a22a23a_{31}(-1)^4 \begin{vmatrix} a_{12} & a_{13} \\ a_{22} & a_{23} \end{vmatrix}
    = a11(a22a33a32a23)a21(a12a33a32a13)a_{11}(a_{22}a_{33} - a_{32}a_{23}) - a_{21}(a_{12}a_{33} - a_{32}a_{13})
  • a31(a12a23a22a13)a_{31}(a_{12}a_{23} - a_{22}a_{13}) (A.10)

An alternative method of obtaining the determinant of a 3 × 3 matrix is by repeating the first two rows and multiplying the terms diagonally as follows.

=a11a22a33+a21a32a13+a31a12a23a13a22a31a23a32a11= a_{11}a_{22}a_{33} + a_{21}a_{32}a_{13} + a_{31}a_{12}a_{23} - a_{13}a_{22}a_{31} - a_{23}a_{32}a_{11}

-a33a12a21 (A.11)

In summary:

The solution of linear simultaneous equations by Cramer’s rule boils down to finding

xk=ΔkΔ,k=1,2,,n(A.12)x_k = \frac{\Delta_k}{\Delta}, \qquad k = 1, 2, \dots, n \tag{A.12}

where ∆ is the determinant of matrix A and ∆k is the determinant of the matrix formed by replacing the kth column of A by B.

You may not find much need to use Cramer’s method described in this appendix, in view of the availability of calculators, computers, and software packages such as MATLAB, which can be used easily to solve a set of linear equations. But in case you need to solve the equations by hand, the material covered in this appendix becomes useful. At any rate, it is important to know the mathematical basis of those calculators and software packages.

Example A.1 Solve the simultaneous equations

4x13x2=17,3x1+5x2=214x_1 - 3x_2 = 17, \qquad -3x_1 + 5x_2 = -21

Solution:

The given set of equations is cast in matrix form as

[43 35][x1 x2]=[17 21]\begin{bmatrix} 4 & -3 \ -3 & 5 \end{bmatrix} \begin{bmatrix} x_1 \ x_2 \end{bmatrix} = \begin{bmatrix} 17 \ -21 \end{bmatrix}

The determinants are evaluated as

Δ=4335=4×5(3)(3)=11\Delta = \begin{vmatrix} 4 & -3 \\ -3 & 5 \end{vmatrix} = 4 \times 5 - (-3)(-3) = 11

\n

Δ1=173215=17×5(3)(21)=22\Delta_1 = \begin{vmatrix} 17 & -3 \\ -21 & 5 \end{vmatrix} = 17 \times 5 - (-3)(-21) = 22

\n

Δ2=417321=4×(21)17×(3)=33\Delta_2 = \begin{vmatrix} 4 & 17 \\ -3 & -21 \end{vmatrix} = 4 \times (-21) - 17 \times (-3) = -33

One may use other methods, such as matrix inversion and elimination. Only Cramer’s method is covered here, because of its simplicity and also because of the availability of powerful calculators.

Hence,

x1=Δ1Δ=2211=2x_1 = \frac{\Delta_1}{\Delta} = \frac{22}{11} = 2

, x2=Δ2Δ=3311=3x_2 = \frac{\Delta_2}{\Delta} = \frac{-33}{11} = -3

Find the solution to the following simultaneous equations:

3x1x2 = 4, −6x1 + 18x2 = 16

Answer: x1 = 1.833, x2 = 1.5.

Determine x1, x2, and x3 for this set of simultaneous equations:

25x15x220x3=5025x1 - 5x2 - 20x3 = 50 5x1+10x24x3=0-5x1 + 10x2 - 4x3 = 0 5x14x2+9x3=0-5x1 - 4x2 + 9x3 = 0

Solution:

In matrix form, the given set of equations becomes

25−5−20x150
−510−4x2=0
[
−5
−4]
9
[
]
x3
[
]
0

We apply Eq. (A.11) to find the determinants. This requires that we repeat the first two rows of the matrix. Thus,

\Delta = \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & -4 & 9 \end{vmatrix} = \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & -5 & 10 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\ -5 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 25 & -5 & -20 \\ -5 & 10 & -4 \\

Similarly,

Δ1=505200104049=505200104505050104+50520044+010\Delta_1 = \begin{vmatrix} 50 & -5 & -20 \\ 0 & 10 & -4 \\ 0 & -4 & 9 \end{vmatrix} = \begin{vmatrix} 50 & -5 & -20 \\ 0 & 10 & -4 \\ 50 & 50 & 5 \\ 0 & 10 & -4 \end{vmatrix} + \begin{vmatrix} 50 & -5 & -20 \\ 0 & 4 & 4 \\ + & 0 & 10 \end{vmatrix}

Practice Problem A.1

Example A.2

=0+0+100000+2250=3250= 0 + 0 + 1000 - 0 - 0 + 2250 = 3250

= 0 + 1000 + 0 + 2500 − 0 − 0 = 3500

Hence, we now find

x1=Δ1Δ=3700125=29.6x_1 = \frac{\Delta_1}{\Delta} = \frac{3700}{125} = 29.6 x2=Δ2Δ=3250125=26x_2 = \frac{\Delta_2}{\Delta} = \frac{3250}{125} = 26 x3=Δ2Δ=3500125=28x_3 = \frac{\Delta_2}{\Delta} = \frac{3500}{125} = 28

Obtain the solution of this set of simultaneous equations: Practice Problem A.2

3x1x2 − 2x3 = 1 −x1 + 6x2 − 3x3 = 0 −2x1 − 3x2 + 6x3 = 6

Answer: x1 = 3 = x3, x2 = 2.

A.2 Matrix Inversion

The linear system of equations in Eq. (A.3) can be solved by matrix inversion. In the matrix equation AX = B, we may invert A to get X, i.e.,

X=A1B(A.13)\mathbf{X} = \mathbf{A}^{-1} \mathbf{B} \tag{A.13}

where A1 is the inverse of A. Matrix inversion is needed in other applications apart from using it to solve a set of equations.

By definition, the inverse of matrix A satisfies

A1A=AA1=I\mathbf{A}^{-1}\mathbf{A} = \mathbf{A}\mathbf{A}^{-1} = \mathbf{I}

(A.14)

where I is an identity matrix. A1 is given by

A1=adj Adet AA^{-1} = \frac{\text{adj } A}{\text{det } A}

(A.15)

where adj A is the adjoint of A and det A = |A| is the determinant of A. The adjoint of A is the transpose of the cofactors of A. Suppose we are given an n × n matrix A as

A=[a11a12a1na21a22a2nan1an2ann]\mathbf{A} = \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{n1} & a_{n2} & \cdots & a_{nn} \end{bmatrix}

(A.16)

The cofactors of A are defined as

C=cof(A)=[c11c12c1nc21c22c2ncn1cn2cnn]\mathbf{C} = \text{cof}(\mathbf{A}) = \begin{bmatrix} c_{11} & c_{12} & \cdots & c_{1n} \\ c_{21} & c_{22} & \cdots & c_{2n} \\ \vdots & & & \\ c_{n1} & c_{n2} & \cdots & c_{nn} \end{bmatrix}

(A.17)

where the cofactor cij is the product of ( −1)i+j and the determinant of the (n − 1) × (n − 1) submatrix is obtained by deleting the ith row and jth column from A. For example, by deleting the first row and the first column of A in Eq. (A.16), we obtain the cofactor c11 as

c11=(1)2a22a23a2na32a33a3nan2an3annc_{11} = (-1)^2 \begin{vmatrix} a_{22} & a_{23} & \cdots & a_{2n} \\ a_{32} & a_{33} & \cdots & a_{3n} \\ \vdots & & & \\ a_{n2} & a_{n3} & \cdots & a_{nn} \end{vmatrix}

(A.18)

Once the cofactors are found, the adjoint of A is obtained as

adj(A)=[c11c12c1nc21c22c2ncn1cn2cnn]T=CTadj (A) = \begin{bmatrix} c_{11} & c_{12} & \cdots & c_{1n} \\ c_{21} & c_{22} & \cdots & c_{2n} \\ \vdots & & & \\ c_{n1} & c_{n2} & \cdots & c_{nn} \end{bmatrix}^T = C^T

(A.19)

where T denotes transpose.

In addition to using the cofactors to find the adjoint of A, they are also used in finding the determinant of A which is given by

A=j=1naijcij|\mathbf{A}| = \sum_{j=1}^{n} a_{ij} c_{ij}

(A.20)

where i is any value from 1 to n. By substituting Eqs. (A.19) and (A.20) into Eq. (A.15), we obtain the inverse of A as

A1=CTA(A.21)\mathbf{A}^{-1} = \frac{\mathbf{C}^T}{|\mathbf{A}|} \tag{A.21}

For a 2 × 2 matrix, if

A=[abcd](A.22)\mathbf{A} = \begin{bmatrix} a & b \\ c & d \end{bmatrix} \tag{A.22}

its inverse is

A1=1A[dbca]=1adbc[dbca]\mathbf{A}^{-1} = \frac{1}{|\mathbf{A}|} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

(A.23)

For a 3 × 3 matrix, if

A=[a11a12a13a21a22a23a31a32a33]\mathbf{A} = \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{bmatrix}

(A.24)

we first obtain the cofactors as

C=[c11c12c13c21c22c23c31c32c33]\mathbf{C} = \begin{bmatrix} c_{11} & c_{12} & c_{13} \\ c_{21} & c_{22} & c_{23} \\ c_{31} & c_{32} & c_{33} \end{bmatrix}

(A.25)

where

c11=a22a23a32a33,\tc12=a21a23a31a33,\tc13=a21a22a31a32,c_{11} = \begin{vmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{vmatrix}, \t c_{12} = -\begin{vmatrix} a_{21} & a_{23} \\ a_{31} & a_{33} \end{vmatrix}, \t c_{13} = \begin{vmatrix} a_{21} & a_{22} \\ a_{31} & a_{32} \end{vmatrix},

\n

c21=a12a13a32a33,\tc22=a11a13a31a33,\tc23=a11a12a31a32,c_{21} = -\begin{vmatrix} a_{12} & a_{13} \\ a_{32} & a_{33} \end{vmatrix}, \t c_{22} = \begin{vmatrix} a_{11} & a_{13} \\ a_{31} & a_{33} \end{vmatrix}, \t c_{23} = -\begin{vmatrix} a_{11} & a_{12} \\ a_{31} & a_{32} \end{vmatrix},

\n

c31=a12a13a22a23,\tc32=a11a13a21a23,\tc33=a11a12a21a22c_{31} = \begin{vmatrix} a_{12} & a_{13} \\ a_{22} & a_{23} \end{vmatrix}, \t c_{32} = -\begin{vmatrix} a_{11} & a_{13} \\ a_{21} & a_{23} \end{vmatrix}, \t c_{33} = \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix}

\n(A.26)

The determinant of the 3 × 3 matrix can be found using Eq. (A.11). Here, we want to use Eq. (A.20), i.e.,

A=a11c11+a12c12+a13c13|\mathbf{A}| = a_{11}c_{11} + a_{12}c_{12} + a_{13}c_{13}

(A.27)

The idea can be extended n > 3, but we deal mainly with 2 × 2 and 3 × 3 matrices in this book.

Example A.3 Use matrix inversion to solve the simultaneous equations

2x1 + 10x2 = 2, −x1 + 3x2 = 7

Solution:

We first express the two equations in matrix form as

[210 13][x1 x2]=[2 7]\begin{bmatrix} 2 & 10 \ -1 & 3 \end{bmatrix} \begin{bmatrix} x_1 \ x_2 \end{bmatrix} = \begin{bmatrix} 2 \ 7 \end{bmatrix}

or

AX=BX=A1BAX = B \longrightarrow X = A^{-1}B

where

A=[21013],X=[x1x2],B=[27]\mathbf{A} = \begin{bmatrix} 2 & 10 \\ -1 & 3 \end{bmatrix}, \qquad \mathbf{X} = \begin{bmatrix} x_1 \\ x_2 \end{bmatrix}, \qquad \mathbf{B} = \begin{bmatrix} 2 \\ 7 \end{bmatrix}

The determinant of A is |A| = 2 × 3 − 10(−1) = 16, so the inverse of A is

A1=116[31012]\mathbf{A}^{-1} = \frac{1}{16} \begin{bmatrix} 3 & -10 \\ 1 & 2 \end{bmatrix}

Hence,

X=A1B=116[31012][27]=116[6416]=[41]\mathbf{X} = \mathbf{A}^{-1} \mathbf{B} = \frac{1}{16} \begin{bmatrix} 3 & -10 \\ 1 & 2 \end{bmatrix} \begin{bmatrix} 2 \\ 7 \end{bmatrix} = \frac{1}{16} \begin{bmatrix} -64 \\ 16 \end{bmatrix} = \begin{bmatrix} -4 \\ 1 \end{bmatrix}

i.e., x1 = −4 and x2 = 1.

Solve the following two equations by matrix inversion. Practice Problem A.3

2y1y2=4,y1+3y2=92y_1 - y_2 = 4, \quad y_1 + 3y_2 = 9

Answer: y1 = 3, y2 = 2.

Determine x1, x2, and x3 for the following simultaneous equations using Example A.4 matrix inversion.

x1+x2+x3=5x_1 + x_2 + x_3 = 5

-x1 + 2x2 = 9

4x1+x2x3=24x_1 + x_2 - x_3 = -2

Solution:

In matrix form, the equations become

[111 120 411 ][x1 x2 x3]=[5 9 2]\begin{bmatrix} 1 & 1 & 1 \ -1 & 2 & 0 \ 4 & 1 & -1 \ \end{bmatrix} \begin{bmatrix} x_1 \ x_2 \ x_3 \end{bmatrix} = \begin{bmatrix} 5 \ 9 \ -2 \end{bmatrix}

or

AX=BX=A1BAX = B \longrightarrow X = A^{-1}B

where

A=[111120411],X=[x1x2x3],B=[592]\mathbf{A} = \begin{bmatrix} 1 & 1 & 1 \\ -1 & 2 & 0 \\ 4 & 1 & -1 \end{bmatrix}, \quad \mathbf{X} = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix}, \quad \mathbf{B} = \begin{bmatrix} 5 \\ 9 \\ -2 \end{bmatrix}

We now find the cofactors

c11=2011=2,c12=1041=1,c13=1241=9c_{11} = \begin{vmatrix} 2 & 0 \\ 1 & -1 \end{vmatrix} = -2, \quad c_{12} = -\begin{vmatrix} -1 & 0 \\ 4 & -1 \end{vmatrix} = -1, \quad c_{13} = \begin{vmatrix} -1 & 2 \\ 4 & 1 \end{vmatrix} = -9 c21=1111=2,c22=1141=5,c23=1141=3c_{21} = -\begin{vmatrix} 1 & 1 \\ 1 & -1 \end{vmatrix} = 2, \quad c_{22} = \begin{vmatrix} 1 & 1 \\ 4 & -1 \end{vmatrix} = -5, \quad c_{23} = -\begin{vmatrix} 1 & 1 \\ 4 & 1 \end{vmatrix} = 3 c31=1120=2,c32=1110=1,c33=1112=3c_{31} = \begin{vmatrix} 1 & 1 \\ 2 & 0 \end{vmatrix} = -2, \quad c_{32} = -\begin{vmatrix} 1 & 1 \\ -1 & 0 \end{vmatrix} = -1, \quad c_{33} = \begin{vmatrix} 1 & 1 \\ -1 & 2 \end{vmatrix} = 3

The adjoint of matrix A is

adjA=[219253213]T=[222151933]adj \mathbf{A} = \begin{bmatrix} -2 & -1 & -9 \\ 2 & -5 & 3 \\ -2 & -1 & 3 \end{bmatrix}^T = \begin{bmatrix} -2 & 2 & -2 \\ -1 & -5 & -1 \\ -9 & 3 & 3 \end{bmatrix}

We can find the determinant of A using any row or column of A. Because one element of the second row is 0, we can take advantage of this to find the determinant as

A=1c21+2c22+(0)c23=1(2)+2(5)=12|\mathbf{A}| = -1c_{21} + 2c_{22} + (0)c_{23} = -1(2) + 2(-5) = -12

Hence, the inverse of A is

A1=112[222151933]\mathbf{A}^{-1} = \frac{1}{-12} \begin{bmatrix} -2 & 2 & -2 \\ -1 & -5 & -1 \\ -9 & 3 & 3 \end{bmatrix} X=A1B=112[222151933][592]=[142]\mathbf{X} = \mathbf{A}^{-1} \mathbf{B} = \frac{1}{-12} \begin{bmatrix} -2 & 2 & -2 \\ -1 & -5 & -1 \\ -9 & 3 & 3 \end{bmatrix} \begin{bmatrix} 5 \\ 9 \\ -2 \end{bmatrix} = \begin{bmatrix} -1 \\ 4 \\ 2 \end{bmatrix}

i.e.,

x1=1x_1 = -1

, x2=4x_2 = 4 , x3=2x_3 = 2 .

Practice Problem A.4 Solve the following equations using matrix inversion.

y1y3=1y_1 - y_3 = 1

2y1 + 3y2 - y3 = 1

y1y2y3=3y_1 - y_2 - y_3 = 3

Answer: y1 = 6*, y*2 *= −*2, y3 = 5.

Appendix B

Complex Numbers

The ability to manipulate complex numbers is very handy in circuit analysis and in electrical engineering in general. Complex numbers are particularly useful in the analysis of ac circuits. Again, although calculators and computer software packages are now available to manipulate complex numbers, it is still advisable for a student to be familiar with how to handle them by hand.

B.1 Representations of Complex Numbers

A complex number z may be written in rectangular form as

z=x+jy(B.1)z = x + jy \tag{B.1}

where j = √ ___ −1 ; x is the real part of z while y is the imaginary part of z; that is,

x=Re(z),y=Im(z)(B.2)x = \text{Re}(z), \qquad y = \text{Im}(z) \tag{B.2}

The complex number z is shown plotted in the complex plane in Fig. B.1. Because j = √ ___ −1 ,

1j=j\frac{1}{j} = -j

\n

j2=1j^{2} = -1

\n

j3=jj2=jj^{3} = j \cdot j^{2} = -j

\n

j4=j2j2=1j^{4} = j^{2} \cdot j^{2} = 1

\n

j5=jj4=jj^{5} = j \cdot j^{4} = j

\n

\vdots

\n

nn+4=jnn^{n+4} = j^{n}

\n(B.3)

The complex plane looks like the two-dimensional curvilinear coordinate space, but it is not.

A second way of representing the complex number z is by specifying its magnitude r and the angle it makes with the real axis, as Fig. B.1 shows. This is known as the polar form. It is given by

j

z=zθ=rθz = |z| \underline{\theta} = r \underline{\theta}

(B.4)

where

r=x2+y2r = \sqrt{x^2 + y^2}

, θ=tan1yx\theta = \tan^{-1} \frac{y}{x} (B.5a)

or

x=rcosθ,y=rsinθ(B.5b)x = r \cos \theta, \qquad y = r \sin \theta \tag{B.5b}

that is,

z=x+jy=r/θ=rcosθ+jrsinθz = x + jy = r/\theta = r\cos\theta + jr\sin\theta

(B.6)