Back to the Electrical Engineering roadmap
Linear Algebra I · Complex eigenvalues and eigenvectors
Prerequisites: matrix products and inverses, determinants, eigenspace bases, and eigenvector coordinates from the preceding diagonalization lesson. Complex arithmetic is introduced below; no prior complex-analysis course is assumed. Goals: calculate conjugate eigenpairs, specify the scalar field, reconstruct real updates from complex modes, and distinguish similarity from preservation of lengths. Work through the examples and lab, then attempt the open-book assessment before opening its rubric.
Review eigenvalues · Review eigenvector coordinates
Complex arithmetic before complex eigenvectors
Define i by i²=−1. A complex scalar is z=a+ib, where a,b are real. Its real part is a and imaginary part is b (a real number, not ib). Electrical engineers often write j instead of i; we use i consistently in this lesson. Equality requires equality of both parts. Add componentwise; multiply by distributivity and replace i² by −1: (a+ib)(c+id)=(ac−bd)+i(ad+bc).
The conjugate is z̄=a−ib, and z z̄=a²+b²=|z|². For w≠0, z/w=z w̄/|w|²; the denominator is a positive real number. Conjugation preserves sums and products. For example, (1+2i)/(2−i)=(1+2i)(2+i)/5=5i/5=i. Dividing by zero is still forbidden. The norm of a complex vector is ||v||²=v* v=∑v̄ⱼvⱼ, where * means conjugate transpose. For v=(1,i), vᵀv=1+i²=0 but v* v=2, so ||v||=√2. A nonzero complex vector does not have zero norm.
The field and the conjugate-pair theorem
Over ℂ, an eigenvector is a nonzero vector in ℂⁿ satisfying Av=λv with λ in ℂ. Solve det(λI−A)=0 and (A−λI)v=0 just as before, now using complex arithmetic. Real eigenvectors are restricted to ℝⁿ. A matrix can therefore be diagonalizable over ℂ but not over ℝ. The plane of one complex scalar ℂ has two real coordinates; ℂ² has four real coordinates. Do not picture a two-entry complex eigenvector as an ordinary arrow in the real plane.
If A has real entries and Av=λv, take conjugates: A v̄=λ̄ v̄ because Ā=A. Thus nonreal eigenvalues and eigenvectors occur in conjugate pairs. The conjugate vector is nonzero because v is nonzero. This proof depends on A being real: the 1×1 complex matrix [i] has only eigenvalue i, not −i. Finding complex roots does not by itself supply a full eigenbasis. For J=[2 1;0 2], even over ℂ the only eigenspace is {(z,0):z∈ℂ}, of dimension one, so J is still not diagonalizable.
A real rotation-scaling family and its complex basis
A(a,b)=[a −b; b a], χA(λ)=(λ−a)²+b², λ₁=a+ib, λ₂=a−ib.
For b≠0 the eigenvalues are distinct and nonreal. Check directly that v₁=(1,−i) and v₂=(1,i) satisfy Av₁=(a+ib)v₁ and Av₂=(a−ib)v₂. Each complex eigenspace is the complex span of the indicated vector and has dimension one. There are no nonzero real eigenvectors: a real Av cannot equal a nonreal scalar times a nonzero real v. But the two complex eigenvectors are independent.
P=[1 1; −i i], det(P)=2i≠0, P⁻¹=(1/2)[1 i; 1 −i], D=diag(a+ib,a−ib).
Columnwise AP=PD, so A=PDP⁻¹ over ℂ. At b=0, A=aI: there is one distinct real eigenvalue a with eigenspace dimension two, not two distinct eigenvalues. The same P remains a possible complex basis, but a real standard basis is simpler. At a=b=0, the matrix is zero; A⁰=I by definition and Aⁿ=0 for n≥1. No negative powers are used here.
Real outputs from conjugate modes
For a real initial vector x₀=(x,y), its coordinates are c₁=(x+iy)/2 and c₂=(x−iy)/2. After n steps, w=(a+ib)ⁿc₁ and its conjugate w̄ are the two modal coordinates. Reconstruction gives xₙ=w+w̄=2Re(w) and yₙ=−iw+iw̄=2Im(w). Therefore the result is real despite using a complex basis. Equivalently encode the real vector as the single complex scalar z=x+iy; one update multiplies z by a+ib. These are two related representations, not a claim that ℂ² equals ℝ².
For this particular family, ||Ax||²=(ax−by)²+(bx+ay)²=(a²+b²)(x²+y²), since cross terms cancel. Thus the length factor is ρ=√(a²+b²), and after n steps the squared norm is (a²+b²)ⁿ||x₀||². A zero-step update leaves the initial vector unchanged, including for the zero matrix. This uniform length factor is not true for every real matrix with the same complex eigenvalues; a non-orthogonal similarity can distort circles into ellipses.
Worked examples
- Quarter-turn: R=[0 −1;1 0] has χR=λ²+1. For λ=i, R(1,−i)=(i,1)=i(1,−i). The conjugate pair is λ=−i with vector (1,i). No real nonzero vector keeps its line under a quarter-turn. The real starting vector (1,0) has modal coordinates (1/2,1/2), and direct updates (0,1),(−1,0),(0,−1),(1,0) agree with multiplying the scalar 1 by successive powers of i. R is diagonalizable over ℂ, not ℝ.
- Rotation with growth: A=[1 −2;2 1], λ=1±2i, x₀=(1,0). The scalar powers are (1+2i)²=−3+4i and (1+2i)³=−11−2i. Thus x₁=(1,2), x₂=(−3,4), x₃=(−11,−2). Modal coordinates at step 3 are (−11/2−i,−11/2+i), whose reconstruction gives the same real vector. Squared norms are 1,5,25,125, confirming a factor of 5 per step. This is growth in this synthetic discrete model, not a measured AC circuit.
- Same roots, different geometry: C=[1 −4;1 1] has χC=(λ−1)²+4, again roots 1±2i. For λ=1+2i, choose v=(2i,1); Cv=(−4+2i,1+2i)=λv. The conjugate vector (−2i,1) belongs to 1−2i. C=S A(1,2) S⁻¹ for S=diag(2,1). Yet C(1,0)=(1,1) has squared norm 2, whereas A(1,2)(1,0)=(1,2) has squared norm 5. Similarity preserves eigenvalues, but this non-orthogonal S does not preserve Euclidean lengths.
- The scalar exception: set b=0,a=−1/2. A=(−1/2)I has one eigenvalue −1/2 with two-dimensional eigenspace over either field. For x₀=(2,−1), three steps give (−1/4,1/8); all real bases are eigenvector bases. The two displayed conjugate formulas give the same root, so counting them as two distinct eigenvalues would be incorrect. The squared norm is (1/4)³·5=5/64.
Common mistakes and checks
Keep i²=−1 when solving the characteristic polynomial; do not discard nonreal roots. Always state ℝ or ℂ when describing eigenspaces and diagonalization. The conjugate-pair theorem needs real matrix entries. Complex eigenvalues do not guarantee diagonalizability for every matrix. Use a conjugate transpose for norms, not an ordinary transpose. Match each eigenvalue to its eigenvector column, and reconstruct using both conjugate modes. Check Av=λv and at least one direct real update. Do not infer uniform scaling in the original coordinates from eigenvalues alone.
Practice
- For z=2−3i, find z̄, |z|² and z/(1+i), explaining the nonzero denominator.
- For A=[2 −1;1 2], find both complex eigenpairs and compute A²(1,1), then verify by direct updates.
- Prove the conjugate-pair claim for real A. Why does [i] disprove the same assertion for arbitrary complex A?
- Does moving J=[2 1;0 2] from ℝ to ℂ make it diagonalizable? Compute the eigenspace over ℂ rather than counting roots alone.
Fully worked solutions
- z̄=2+3i and |z|²=4+9=13. Multiply numerator and denominator by 1−i: (2−3i)(1−i)/2=(−1−5i)/2=−1/2−(5/2)i. The denominator |1+i|²=2 is positive.
- χA=(λ−2)²+1 gives 2±i, with vectors (1,−i),(1,i). Encode the initial vector by 1+i. Since (2+i)²=3+4i, the second scalar update is (3+4i)(1+i)=−1+7i, giving (−1,7). Directly A(1,1)=(1,3), then A(1,3)=(−1,7).
- Conjugating Av=λv gives Āv̄=λ̄v̄; when A is real, Ā=A, so v̄ is an eigenvector for λ̄. For [i], χ=λ−i has root i only. Conjugation changes the matrix itself to [−i], so the real-matrix step fails.
- χJ=(λ−2)². Solving (J−2I)(z,w)=0 gives w=0 and arbitrary complex z. Thus E₂=spanℂ{(1,0)} has dimension one, while a 2×2 diagonalization requires two independent eigenvectors. It fails over both fields.
Assessment · Open book · 18 points
Open book: use books, lesson notes, cited readings, calculators, and relevant free software. Explain your own reasoning, assumptions, units, and checks; identify references or software you use. Attempt the questions before opening the answer key. Suggested study time: 40–60 minutes; this is a self-study guide, not a timed restriction.
References and relevant free software are allowed. Show your field, reasoning and independent checks. The application question adds 6 points to these 12.
- Compute q=(3+i)/(1−i) and |q|², justifying division. (3)
- For M=[2 −2;2 2], find the characteristic polynomial, roots, and a basis for each complex eigenspace. State whether M is diagonalizable over ℝ and over ℂ. (4)
- For R=[0 1;−1 0], compute R³(1,0) by scalar complex multiplication, then reconstruct it from the two complex eigenmodes. Also compute the norm of (1,i) using a conjugate transpose. (5)
Application and reasoning · 6 points
B=[1 −2;2 1] and C=[1 −4;1 1] have the same eigenvalues. Verify this with their characteristic polynomials (2). Compute both images of (1,0) and their squared lengths (2). Diagnose the claim that any real matrix with eigenvalues 1±2i scales every real vector length by √5; state a matrix check that would justify uniform scaling (2).
Complete answer key and scoring rubric
- |1−i|²=2≠0 permits division (1). q=(3+i)(1+i)/2=(2+4i)/2=1+2i (1). |q|²=1+4=5 (1).
- χM=(λ−2)²+4=λ²−4λ+8 (1), roots 2±2i (1). Bases are (1,−i) for 2+2i and (1,i) for 2−2i (1). No real eigenbasis exists; over ℂ the distinct roots give two independent vectors and a diagonalization (1).
- The real map encodes multiplication by −i; (−i)³=i, giving (0,1) (1 encoding, 1 result). With ordered eigenvectors (1,−i),(1,i), eigenvalues are −i,i and c₀=(1/2,1/2). At step 3 the modes are i/2,−i/2; reconstruction gives x=0,y=1 (1 coordinates, 1 reconstruction). For (1,i), v* v=1+(−i)i=2, so the norm is √2 (1).
Application and reasoning · 6 points
Both polynomials are (λ−1)²+4=λ²−2λ+5, with roots 1±2i (1 each polynomial). B(1,0)=(1,2) has squared length 5; C(1,0)=(1,1) has squared length 2 (1 each image with its length). Thus C refutes the universal claim (1). Uniform √5 scaling requires AᵀA=5I: it holds for B, while CᵀC=[2 −3;−3 17]≠5I. Similarity preserves eigenvalues but a non-orthogonal basis change need not preserve Euclidean length (1 condition and explanation).
Scoring: existing questions 12 + application problem 6 = 18 points. Award the stated method and reasoning marks, not only final answers.
Download the complex-modes lab
Download the exact-fraction Python lab
Objective: compare A(a,b)ⁿ(x,y) from conjugate eigenmodes with independent real matrix updates, including scalar and zero-step cases. Install free Python 3 for Windows, macOS or Linux from the official link below. Save the download, open a terminal in its folder, and run the commands. On Windows, py -3 may replace python3. No account, packages, university access or paid license is required; after installation the file works offline. Inputs are a,b,n,x,y; a,b,x,y range from −4 to 6 in half steps and n is an integer from 0 to 8. Negative fractions such as -1/2 are accepted.
python3 ee-complex-eigenvalues.py 0 1 1 1 0
python3 ee-complex-eigenvalues.py 0 1 4 1 0
python3 ee-complex-eigenvalues.py 1 2 3 1 0
python3 ee-complex-eigenvalues.py 1 0 3 2 -1
python3 ee-complex-eigenvalues.py 0 0 0 2 -1
python3 ee-complex-eigenvalues.py 0 -1 3 1 0
Procedure: predict the eigenvalues, whether a real eigenbasis exists, and the final vector before each run. Complex numbers in both tools are displayed as pairs (real part, imaginary part), not as two separate eigenvalues. Expected final real vectors are (0,1),(1,0),(−11,−2),(2,−1),(2,−1),(0,1). Compare eigenvalues, mode coordinates and final vectors with the browser alternative. Python verifies both eigenvector equations, conjugacy of modes, real reconstruction, agreement with direct iteration and the squared-norm identity using exact fractions. At b=0 it reports one distinct eigenvalue with eigenspace dimension 2.
Questions and answers: Why does a real output survive complex coordinates? The two modes remain conjugates and their imaginary parts cancel in reconstruction. Why does the zero matrix at n=0 leave the vector unchanged? A⁰ is the identity; no update is performed. Why can C from example 3 not be entered as A(a,b)? Its off-diagonal entries are not negatives of one another, so it is outside this family. The browser uses floating point and six-decimal displays; it checks differences against 10⁻⁹·max(1,|reference|) entry by entry, including modes and the norm. A displayed zero error is not an exact proof. This activity is a bounded synthetic linear model, not a general complex eigensolver, physical AC experiment or substitute for instrument and safety skills.
Free primary readings and next step
Read Georgia Tech Appendix A through complex division first, then §5.5.1 for conjugate eigenpairs and §5.5.2–5.5.3 for rotation-scaling geometry. For a second explanation of complex vector norms, use the opening complex-matrix material in MIT’s lecture and summary; the later FFT content is optional and not assessed here. All readings are public and require no university account or textbook purchase. The next planned unit is real symmetric matrices and orthogonal diagonalization. Coverage review and a cumulative Linear Algebra I assessment still remain.
- Georgia Tech · Interactive Linear Algebra, Appendix A: complex arithmetic
- Georgia Tech · §5.5.1–5.5.3: complex eigenpairs and rotation-scaling
- MIT 18.06SC · Complex Matrices: introductory lecture and summary
- Python Software Foundation · Free Python 3 downloads
- Python documentation · Exact rational arithmetic
Complex modes lab · Reconstruct real updates
For A=[a −b;b a], compare conjugate eigenmodes, real matrix updates, and squared norms.
Free tool built into this page. Use it in your browser without an account or download.
Procedure
Try (a,b,n,x,y)=(0,1,1,1,0),(0,1,4,1,0),(1,2,3,1,0),(1,0,3,2,−1),(0,0,0,2,−1),(0,−1,3,1,0). Predict roots, real eigenbasis availability, and final vector. Complex numbers are displayed as (real, imaginary) pairs. Compare with the Python download above.
Expected results and answer check
Final real vectors are (0,1),(1,0),(−11,−2),(2,−1),(2,−1),(0,1). Nonzero b gives two nonreal conjugate eigenvalues and no real eigenbasis; b=0 gives one real eigenvalue with complex eigenspace dimension 2. At zero steps no update occurs, even for the zero matrix.
Python uses exact fraction pairs. The browser uses floating point, entrywise scaled tolerance 1e−9 and rounded displays. This bounded rotation-scaling family is not a general eigensolver or a physical AC-circuit experiment.