Skip to content

Appendix C. Real and Complex Numbers

Linear algebra is usually developed over a field of scalars. The two most common scalar fields are the real numbers R\mathbb{R} and the complex numbers C\mathbb{C}. A real vector space allows real scalar multiplication. A complex vector space allows complex scalar multiplication. This distinction affects eigenvalues, inner products, matrix factorizations, and spectral theory.

C.1 The Real Numbers

The real numbers form the number system used for ordinary measurement. They include integers, rational numbers, and irrational numbers.

ZQR. \mathbb{Z} \subseteq \mathbb{Q} \subseteq \mathbb{R}.

A real number may be positive, negative, or zero. It can be placed on the real line. Addition and multiplication of real numbers satisfy the usual algebraic laws:

LawFormula
Associativity of addition(a+b)+c=a+(b+c)(a+b)+c=a+(b+c)
Commutativity of additiona+b=b+aa+b=b+a
Additive identitya+0=aa+0=a
Additive inversea+(a)=0a+(-a)=0
Associativity of multiplication(ab)c=a(bc)(ab)c=a(bc)
Commutativity of multiplicationab=baab=ba
Multiplicative identitya1=aa\cdot 1=a
Multiplicative inversea0    a1 existsa\neq 0 \implies a^{-1}\text{ exists}
Distributivitya(b+c)=ab+aca(b+c)=ab+ac

These laws make R\mathbb{R} a field. A field is a scalar system in which addition, subtraction, multiplication, and division by nonzero elements are possible.

C.2 Order on the Real Numbers

The real numbers are ordered. For real numbers aa and bb, one may write

a<b,ab,a>b,ab. a < b, \qquad a \leq b, \qquad a > b, \qquad a \geq b.

The order is compatible with addition:

ab    a+cb+c. a \leq b \implies a+c \leq b+c.

It is also compatible with multiplication by nonnegative numbers:

ab, c0    acbc. a \leq b,\ c \geq 0 \implies ac \leq bc.

If c<0c < 0, the inequality reverses:

ab, c<0    acbc. a \leq b,\ c < 0 \implies ac \geq bc.

Order is important in topics such as length, norm, positivity, optimization, and positive definite matrices. Complex numbers do not have an order compatible with field operations in the same way.

C.3 Absolute Value

The absolute value of a real number xx is

x={x,x0,x,x<0. |x| = \begin{cases} x, & x \geq 0, \\ -x, & x < 0. \end{cases}

It measures distance from zero on the real line.

For example,

5=5,5=5. |5|=5, \qquad |-5|=5.

The absolute value satisfies:

PropertyFormula
Nonnegativity(
Definiteness(
Multiplicativity(
Triangle inequality(

The triangle inequality is the one-dimensional prototype of norm inequalities in vector spaces.

C.4 Distance on the Real Line

The distance between two real numbers aa and bb is

ab. |a-b|.

For example, the distance between 33 and 2-2 is

3(2)=5=5. |3-(-2)| = |5| = 5.

This formula generalizes to Euclidean distance in Rn\mathbb{R}^n. If

x=(x1,,xn),y=(y1,,yn), x=(x_1,\ldots,x_n), \qquad y=(y_1,\ldots,y_n),

then the Euclidean distance is

(x1y1)2++(xnyn)2. \sqrt{(x_1-y_1)^2+\cdots+(x_n-y_n)^2}.

Thus the absolute value is the first example of a norm.

C.5 Square Roots and Positivity

For every nonnegative real number aa, there exists a unique nonnegative real number a\sqrt{a} such that

(a)2=a. (\sqrt{a})^2=a.

For example,

9=3. \sqrt{9}=3.

The equation

x2=a x^2=a

has two real solutions when a>0a>0:

x=aandx=a. x=\sqrt{a} \quad \text{and} \quad x=-\sqrt{a}.

It has one real solution when a=0a=0, and no real solution when a<0a<0.

The failure of the equation

x2=1 x^2=-1

to have a real solution leads to the complex numbers.

C.6 The Complex Numbers

The complex numbers extend the real numbers by adjoining a new number ii, called the imaginary unit, satisfying

i2=1. i^2=-1.

Every complex number has the form

z=a+bi, z=a+bi,

where a,bRa,b\in\mathbb{R}. The number aa is the real part of zz, and bb is the imaginary part of zz. The set of all complex numbers is denoted by C\mathbb{C}.

We write

Re(z)=a,Im(z)=b. \operatorname{Re}(z)=a, \qquad \operatorname{Im}(z)=b.

For example, if

z=34i, z=3-4i,

then

Re(z)=3,Im(z)=4. \operatorname{Re}(z)=3, \qquad \operatorname{Im}(z)=-4.

A real number is a complex number with imaginary part zero:

a=a+0i. a = a+0i.

Thus

RC. \mathbb{R} \subseteq \mathbb{C}.

C.7 Addition and Multiplication in C\mathbb{C}

Complex numbers are added componentwise:

(a+bi)+(c+di)=(a+c)+(b+d)i. (a+bi)+(c+di)=(a+c)+(b+d)i.

For example,

(2+3i)+(5i)=7+2i. (2+3i)+(5-i)=7+2i.

Multiplication is defined by the distributive law and the relation i2=1i^2=-1:

(a+bi)(c+di)=ac+adi+bci+bdi2. (a+bi)(c+di) = ac+adi+bci+bd i^2.

Since i2=1i^2=-1,

(a+bi)(c+di)=(acbd)+(ad+bc)i. (a+bi)(c+di) = (ac-bd)+(ad+bc)i.

For example,

(2+3i)(4i)=82i+12i3i2=11+10i. (2+3i)(4-i) = 8-2i+12i-3i^2 = 11+10i.

The complex numbers form a field. Addition, subtraction, multiplication, and division by nonzero complex numbers are all defined.

C.8 Complex Conjugation

The complex conjugate of

z=a+bi z=a+bi

is

z=abi. \overline{z}=a-bi.

Conjugation changes the sign of the imaginary part and leaves the real part unchanged.

For example,

3+5i=35i. \overline{3+5i}=3-5i.

Important identities include:

IdentityFormula
Conjugate of a sumz+w=z+w\overline{z+w}=\overline{z}+\overline{w}
Conjugate of a productzw=zw\overline{zw}=\overline{z}\,\overline{w}
Double conjugationz=z\overline{\overline{z}}=z
Real criterionzR    z=zz\in\mathbb{R}\iff z=\overline{z}

Conjugation is essential in complex inner product spaces. It appears in Hermitian matrices, unitary matrices, and the complex spectral theorem.

C.9 Modulus of a Complex Number

The modulus of

z=a+bi z=a+bi

is

z=a2+b2. |z|=\sqrt{a^2+b^2}.

Geometrically, this is the distance from the origin to the point (a,b)(a,b) in the complex plane.

The modulus satisfies

z0, |z| \geq 0, z=0    z=0, |z|=0 \iff z=0, zw=zw, |zw|=|z||w|,

and

z+wz+w. |z+w|\leq |z|+|w|.

The product of a complex number with its conjugate is real and nonnegative:

zz=z2. z\overline{z}=|z|^2.

Indeed, if z=a+biz=a+bi, then

zz=(a+bi)(abi)=a2+b2. z\overline{z} = (a+bi)(a-bi) = a^2+b^2.

This identity is used to divide by complex numbers.

C.10 Division in C\mathbb{C}

If z0z\neq 0, then

z1=zz2. z^{-1}=\frac{\overline{z}}{|z|^2}.

For

z=a+bi, z=a+bi,

this gives

1a+bi=abia2+b2. \frac{1}{a+bi} = \frac{a-bi}{a^2+b^2}.

For example,

12+3i=23i22+32=213313i. \frac{1}{2+3i} = \frac{2-3i}{2^2+3^2} = \frac{2}{13}-\frac{3}{13}i.

Thus division by a nonzero complex number reduces to multiplication by its conjugate divided by its squared modulus.

C.11 The Complex Plane

A complex number

z=a+bi z=a+bi

can be represented by the point (a,b)(a,b) in the plane. The horizontal axis is the real axis, and the vertical axis is the imaginary axis.

This identifies C\mathbb{C} with R2\mathbb{R}^2 as a real vector space:

a+bi(a,b). a+bi \leftrightarrow (a,b).

However, C\mathbb{C} has more structure than R2\mathbb{R}^2, because complex numbers can be multiplied.

Multiplication by ii sends

a+bi a+bi

to

i(a+bi)=ai+bi2=b+ai. i(a+bi)=ai+b i^2=-b+ai.

In coordinate form,

(a,b)(b,a). (a,b) \mapsto (-b,a).

This is rotation by 9090^\circ counterclockwise.

Thus complex multiplication has a geometric interpretation: it combines scaling and rotation.

C.12 Polar Form

A nonzero complex number can be written in polar form:

z=r(cosθ+isinθ), z=r(\cos\theta+i\sin\theta),

where

r=z r=|z|

and θ\theta is an argument of zz.

The number rr is the distance from the origin. The angle θ\theta is measured from the positive real axis.

If

z=a+bi, z=a+bi,

then

a=rcosθ,b=rsinθ. a=r\cos\theta, \qquad b=r\sin\theta.

Polar form is useful because multiplication becomes simple:

r(cosθ+isinθ)s(cosϕ+isinϕ)=rs(cos(θ+ϕ)+isin(θ+ϕ)). r(\cos\theta+i\sin\theta)\,s(\cos\phi+i\sin\phi) = rs(\cos(\theta+\phi)+i\sin(\theta+\phi)).

Thus multiplying complex numbers multiplies their moduli and adds their arguments.

C.13 Euler’s Formula

Euler’s formula states that

eiθ=cosθ+isinθ. e^{i\theta}=\cos\theta+i\sin\theta.

Using this notation, polar form becomes

z=reiθ. z=re^{i\theta}.

Multiplication is then

(reiθ)(seiϕ)=rsei(θ+ϕ). (re^{i\theta})(se^{i\phi})=rs e^{i(\theta+\phi)}.

Euler’s formula connects algebra, geometry, and analysis. In linear algebra, it appears in rotations, complex eigenvalues, Fourier analysis, unitary matrices, and matrix exponentials.

C.14 Real and Complex Vector Spaces

A real vector space uses scalars from R\mathbb{R}. A complex vector space uses scalars from C\mathbb{C}.

For example, Rn\mathbb{R}^n is a real vector space. Its vectors have real components, and scalar multiplication uses real numbers.

The space Cn\mathbb{C}^n is a complex vector space. Its vectors have complex components, and scalar multiplication uses complex numbers.

Every complex vector space can also be viewed as a real vector space by restricting scalars from C\mathbb{C} to R\mathbb{R}. For example, C\mathbb{C} has dimension 11 over C\mathbb{C}, but dimension 22 over R\mathbb{R}.

Indeed,

C={a+bi:a,bR}. \mathbb{C} = \{a+bi : a,b\in\mathbb{R}\}.

As a real vector space, a basis is

{1,i}. \{1,i\}.

As a complex vector space, a basis is

{1}. \{1\}.

The scalar field affects dimension.

C.15 Real Matrices and Complex Matrices

A real matrix has entries in R\mathbb{R}. A complex matrix has entries in C\mathbb{C}.

A real matrix may still have complex eigenvalues. For example,

A=[0110] A= \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}

represents rotation by 9090^\circ in R2\mathbb{R}^2. Its characteristic polynomial is

λ2+1. \lambda^2+1.

This polynomial has no real roots. Over C\mathbb{C}, it has roots

λ=iandλ=i. \lambda=i \quad \text{and} \quad \lambda=-i.

Thus complex numbers are needed for a complete eigenvalue theory. The fundamental theorem of algebra states that every nonconstant polynomial with complex coefficients has a complex root, so polynomial equations behave more completely over C\mathbb{C} than over R\mathbb{R}.

C.16 Conjugate Transpose

For a complex matrix AA, the transpose alone is usually not the correct analogue of the real transpose. Instead one uses the conjugate transpose.

If

A=(aij), A=(a_{ij}),

then the conjugate transpose of AA is denoted by

A A^*

and is defined by

(A)ij=aji. (A^*)_{ij}=\overline{a_{ji}}.

Thus AA^* is obtained by transposing AA and conjugating each entry.

For example, if

A=[1+i23i4i], A= \begin{bmatrix} 1+i & 2 \\ 3i & 4-i \end{bmatrix},

then

A=[1i3i24+i]. A^* = \begin{bmatrix} 1-i & -3i \\ 2 & 4+i \end{bmatrix}.

The conjugate transpose is central in complex inner product spaces.

C.17 Real and Complex Inner Products

On Rn\mathbb{R}^n, the standard inner product is

xy=x1y1++xnyn. x \cdot y = x_1y_1+\cdots+x_ny_n.

On Cn\mathbb{C}^n, the standard inner product usually includes complex conjugation:

x,y=x1y1++xnyn. \langle x,y\rangle = \overline{x_1}y_1+\cdots+\overline{x_n}y_n.

Some authors place the conjugate on the second variable instead. This book uses the convention above unless otherwise stated.

The conjugate is needed so that

x,x \langle x,x\rangle

is real and nonnegative.

Indeed, if

x=(x1,,xn), x=(x_1,\ldots,x_n),

then

x,x=x12++xn2. \langle x,x\rangle = |x_1|^2+\cdots+|x_n|^2.

This quantity is zero only when x=0x=0.

C.18 Hermitian and Unitary Matrices

A complex square matrix AA is Hermitian if

A=A. A^*=A.

Hermitian matrices are the complex analogue of real symmetric matrices. Their eigenvalues are real, and they have strong orthogonality properties.

A complex square matrix UU is unitary if

UU=UU=I. U^*U=UU^*=I.

Unitary matrices are the complex analogue of real orthogonal matrices. They preserve inner products and norms.

In real linear algebra, the corresponding conditions are

AT=A A^T=A

for symmetric matrices and

QTQ=QQT=I Q^TQ=QQ^T=I

for orthogonal matrices.

C.19 Choosing the Scalar Field

The choice between R\mathbb{R} and C\mathbb{C} depends on the problem.

Use R\mathbb{R} whenUse C\mathbb{C} when
Quantities are naturally real-valuedEigenvalues may be complex
Geometry takes place in real spaceRotations and oscillations are central
Order and positivity matter directlyPolynomial factorization is important
Optimization uses real variablesFourier methods are used
Symmetric matrices are enoughHermitian and unitary structure appears

Many real problems are temporarily extended to C\mathbb{C} because the complex setting gives cleaner algebra. After solving the complex problem, one may return to the real interpretation.

C.20 Summary

The real numbers provide order, distance, positivity, and the usual scalar system for geometry and computation. The complex numbers extend the real numbers by introducing ii, where i2=1i^2=-1. Every complex number has the form a+bia+bi, and complex arithmetic follows from ordinary algebra together with this defining relation.

For linear algebra, the main points are:

ConceptReal caseComplex case
Scalar fieldR\mathbb{R}C\mathbb{C}
Standard spaceRn\mathbb{R}^nCn\mathbb{C}^n
Transpose analogueATA^TAA^*
Symmetric analogueSymmetric matrixHermitian matrix
Orthogonal analogueOrthogonal matrixUnitary matrix
Eigenvalue theoryMay require complex rootsAlgebraically complete

Real and complex numbers are both fundamental. Real numbers support geometry and measurement. Complex numbers complete the algebraic picture and make spectral theory more natural.