Tutorials › Linear Algebra › Similarity To A Rotation-Scaling Form

Complex Eigenvalues and Complex Scalars · Tutorial 559 of 1000

Similarity To A Rotation-Scaling Form

Construct a real basis from a complex eigenvector and use it to put a real \(2\times2\) matrix into rotation-scaling form.

Intermediate 9 min read

What You'll Learn

  • Express a complex eigenvector as the sum of its real and imaginary parts.
  • Prove that these parts are linearly independent when the eigenvalue is nonreal.
  • Construct the real change-of-basis matrix that produces the rotation-scaling block.
  • Verify a similarity by checking the corresponding matrix equation.
  • Recognize how the chosen eigenvalue and basis affect the signs in the block.

From a Complex Eigenvector to a Real Basis

A real \(2\times2\) matrix can have eigenvalues that are not real. In that case, a complex eigenvector still contains information about how the matrix acts on the real plane: its real and imaginary parts give two real vectors, and together they form a basis. In that basis the matrix has a compact rotation-scaling form. The key is to choose the sign of the imaginary part consistently.

Let \(\mathbf{A}\in\mathbb{R}^{2\times2}\). When considering complex eigenvalues and eigenvectors of \(\mathbf{A}\), we use the same entries of \(\mathbf{A}\) to act on vectors in \(\mathbb{C}^2\). Suppose \(\lambda=a+bi\), where \(a,b\in\mathbb{R}\) and \(b\ne0\), is an eigenvalue, and let \(\mathbf{z}\in\mathbb{C}^2\) be a corresponding nonzero eigenvector. Write its real and imaginary parts as \(\mathbf{z}=\mathbf{x}+i\mathbf{y}\), where \(\mathbf{x},\mathbf{y}\in\mathbb{R}^2\).

Definition: Two real \(2\times2\) matrices \(\mathbf{A}\) and \(\mathbf{B}\) are similar over \(\mathbb{R}\) if there is an invertible matrix \(\mathbf{P}\in\mathbb{R}^{2\times2}\) such that \(\mathbf{B}=\mathbf{P}^{-1}\mathbf{A}\mathbf{P}\). The columns of \(\mathbf{P}\) are the new real basis vectors, expressed in the original coordinates.

The eigenvector equation is \(\mathbf{A}\mathbf{z}=\lambda\mathbf{z}\). Expanding both sides and equating real and imaginary parts gives

$$ \mathbf{A}\mathbf{x}=a\mathbf{x}-b\mathbf{y}, \qquad \mathbf{A}\mathbf{y}=b\mathbf{x}+a\mathbf{y}. $$

These equations indicate why the ordered basis \((\mathbf{x},-\mathbf{y})\) is convenient. The first equation says that \(\mathbf{A}\mathbf{x}=a\mathbf{x}+b(-\mathbf{y})\); the second says that \(\mathbf{A}(-\mathbf{y})=-b\mathbf{x}+a(-\mathbf{y})\). Thus, if these vectors are a basis, the columns of the matrix in that basis are \((a,b)^\top\) and \((-b,a)^\top\). We must still prove that they really are a basis.

Theorem: Let \(\mathbf{A}\in\mathbb{R}^{2\times2}\). It has a nonreal eigenvalue over \(\mathbb{C}\) if and only if there are real numbers \(a,b\) with \(b\ne0\) and an invertible \(\mathbf{P}\in\mathbb{R}^{2\times2}\) such that $$ \mathbf{P}^{-1}\mathbf{A}\mathbf{P} = \begin{bmatrix}a&-b\\b&a\end{bmatrix}. $$ If \(\lambda=a+bi\) is a nonreal eigenvalue with eigenvector \(\mathbf{z}=\mathbf{x}+i\mathbf{y}\), one can take \(\mathbf{P}=\begin{bmatrix}\mathbf{x}&-\mathbf{y}\end{bmatrix}\).

Proof. First suppose \(\mathbf{A}\) has the eigenpair in the statement. We show that \(\mathbf{x}\) and \(-\mathbf{y}\) are linearly independent over \(\mathbb{R}\). If they were dependent, then \(\mathbf{x}\) and \(\mathbf{y}\) would lie in a real subspace of dimension at most one. Since \(\mathbf{z}\ne\mathbf{0}\), there would be a nonzero real vector \(\mathbf{u}\) and a nonzero complex scalar \(c\) with \(\mathbf{z}=c\mathbf{u}\). Substituting this into \(\mathbf{A}\mathbf{z}=\lambda\mathbf{z}\) and cancelling \(c\) gives \(\mathbf{A}\mathbf{u}=\lambda\mathbf{u}\). The left side is real, while the imaginary part of the right side is \(b\mathbf{u}\). Since \(b\ne0\), this forces \(\mathbf{u}=\mathbf{0}\), a contradiction. Therefore \(\mathbf{x}\) and \(-\mathbf{y}\) are independent, so \(\mathbf{P}=\begin{bmatrix}\mathbf{x}&-\mathbf{y}\end{bmatrix}\) is invertible. The real and imaginary part equations give \(\mathbf{A}\mathbf{P}=\mathbf{P}\begin{bmatrix}a&-b\\b&a\end{bmatrix}\); multiplying on the left by \(\mathbf{P}^{-1}\) proves the claimed similarity. For the reverse direction, suppose \(\mathbf{P}^{-1}\mathbf{A}\mathbf{P}=\mathbf{B}\), where \(\mathbf{B}=\begin{bmatrix}a&-b\\b&a\end{bmatrix}\) and \(b\ne0\). The complex vector \(\mathbf{w}=(1,-i)^\top\) is nonzero, and direct multiplication gives \(\mathbf{B}\mathbf{w}=(a+bi)\mathbf{w}\). Since \(\mathbf{A}\mathbf{P}=\mathbf{P}\mathbf{B}\), we have \(\mathbf{A}(\mathbf{P}\mathbf{w})=(a+bi)\mathbf{P}\mathbf{w}\). Invertibility of \(\mathbf{P}\) ensures \(\mathbf{P}\mathbf{w}\ne\mathbf{0}\). Thus \(a+bi\) is a nonreal eigenvalue of \(\mathbf{A}\). \(\square\)

Constructing and Checking the Similarity

The theorem gives a direct procedure: find a nonreal eigenpair, split the eigenvector into real and imaginary parts, place \(\mathbf{x}\) and \(-\mathbf{y}\) into the columns of \(\mathbf{P}\), and verify \(\mathbf{A}\mathbf{P}=\mathbf{P}\mathbf{B}\). This last equation is often the cleanest check because it verifies the action of \(\mathbf{A}\) on each proposed basis vector. Once \(\mathbf{P}\) is known to be invertible, it is equivalent to \(\mathbf{P}^{-1}\mathbf{A}\mathbf{P}=\mathbf{B}\).

Worked Example: A Nontrivial Real Change of Basis

Consider \(\mathbf{A}=\begin{bmatrix}-1&6\\-3&5\end{bmatrix}\), and suppose \(\lambda=2+3i\) has eigenvector \(\mathbf{z}=(1-i,1)^\top\). Verify the eigenpair and construct the real rotation-scaling form.

Multiplication by \(\mathbf{A}\) gives

$$ \mathbf{A}\mathbf{z} = \begin{bmatrix}-1&6\\-3&5\end{bmatrix} \begin{bmatrix}1-i\\1\end{bmatrix} = \begin{bmatrix}5+i\\2+3i\end{bmatrix}. $$

On the other hand, \((2+3i)(1-i)=5+i\) and \((2+3i)\cdot1=2+3i\), so \(\lambda\mathbf{z}=\mathbf{A}\mathbf{z}\), as required. Here \(\mathbf{x}=(1,1)^\top\) and \(\mathbf{y}=(-1,0)^\top\). Therefore

$$ \mathbf{P}=\begin{bmatrix}\mathbf{x}&-\mathbf{y}\end{bmatrix} =\begin{bmatrix}1&1\\1&0\end{bmatrix}, \qquad \mathbf{B}=\begin{bmatrix}2&-3\\3&2\end{bmatrix}. $$

The inverse is \(\mathbf{P}^{-1}=\begin{bmatrix}0&1\\1&-1\end{bmatrix}\), since multiplying it by \(\mathbf{P}\) gives \(\mathbf{I}_2\). Check the similarity using the basis vectors:

$$ \mathbf{A}\mathbf{P} = \begin{bmatrix}5&-1\\2&-3\end{bmatrix}, \qquad \mathbf{P}\mathbf{B} = \begin{bmatrix}5&-1\\2&-3\end{bmatrix}. $$

Thus \(\mathbf{A}\mathbf{P}=\mathbf{P}\mathbf{B}\). Multiplying by the inverse also verifies the change of basis directly:

$$ \mathbf{P}^{-1}\mathbf{A}\mathbf{P} = \begin{bmatrix}0&1\\1&-1\end{bmatrix} \begin{bmatrix}5&-1\\2&-3\end{bmatrix} = \begin{bmatrix}2&-3\\3&2\end{bmatrix} =\mathbf{B}. $$

The proposed real basis and the claimed block have both been checked.

Worked Example: A Different Eigenvector for the Same Matrix

Let \(\mathbf{A}=\begin{bmatrix}0&-5\\5&0\end{bmatrix}\). Use the eigenvalue \(5i\) and eigenvector \(\mathbf{z}=(1+i,1-i)^\top\) to build a real basis and verify the block.

First check the eigenvector equation:

$$ \mathbf{A}\mathbf{z} = \begin{bmatrix}-5+5i\\5+5i\end{bmatrix} = 5i\begin{bmatrix}1+i\\1-i\end{bmatrix} =5i\mathbf{z}. $$

The real and imaginary parts are \(\mathbf{x}=(1,1)^\top\) and \(\mathbf{y}=(1,-1)^\top\), so the theorem prescribes \(\mathbf{P}=\begin{bmatrix}1&-1\\1&1\end{bmatrix}\). Its determinant is \(2\), so it is invertible, with \(\mathbf{P}^{-1}=\tfrac12\begin{bmatrix}1&1\\-1&1\end{bmatrix}\). The predicted block is \(\mathbf{B}=\begin{bmatrix}0&-5\\5&0\end{bmatrix}\). Direct multiplication verifies the result:

$$ \mathbf{A}\mathbf{P} = \begin{bmatrix}-5&-5\\5&-5\end{bmatrix} = \mathbf{P}\mathbf{B}. $$

Hence \(\mathbf{P}^{-1}\mathbf{A}\mathbf{P}=\mathbf{B}\). In this example the matrix already has the displayed form in the original coordinates, but the computation confirms that the basis constructed from this particular eigenvector works as well.

Why the Sign of the Imaginary Part Matters

The formula depends on the order and signs in the chosen basis. If \(\mathbf{z}=\mathbf{x}+i\mathbf{y}\), then the basis giving the block \(\begin{bmatrix}a&-b\\b&a\end{bmatrix}\) is \((\mathbf{x},-\mathbf{y})\), not \((\mathbf{x},\mathbf{y})\). The latter is still a basis, but its matrix has a different sign pattern. The eigenvector equations make this distinction explicit:

$$ \mathbf{A}\mathbf{x}=a\mathbf{x}-b\mathbf{y}, \qquad \mathbf{A}\mathbf{y}=b\mathbf{x}+a\mathbf{y}. $$

Relative to \((\mathbf{x},\mathbf{y})\), these equations give the columns \((a,-b)^\top\) and \((b,a)^\top\), so the matrix is \(\begin{bmatrix}a&b\\-b&a\end{bmatrix}\). Replacing the second basis vector by its negative changes the signs in the corresponding column and produces the theorem’s stated block. Either calculation can be correct; the error is to use one basis and claim the matrix belonging to the other.

Worked Example: Using the Conjugate Eigenvalue

Return to \(\mathbf{A}=\begin{bmatrix}-1&6\\-3&5\end{bmatrix}\), but use the conjugate eigenvalue \(2-3i\) and conjugate eigenvector \(\overline{\mathbf{z}}=(1+i,1)^\top\). This choice illustrates how the sign of the block changes.

Indeed, direct multiplication gives \(\mathbf{A}\overline{\mathbf{z}}=(5-i,2-3i)^\top=(2-3i)\overline{\mathbf{z}}\). Its real part is \(\mathbf{x}=(1,1)^\top\), and its imaginary part is \((1,0)^\top\). The prescribed basis matrix and block are therefore

$$ \mathbf{P}'=\begin{bmatrix}1&-1\\1&0\end{bmatrix}, \qquad \mathbf{B}'=\begin{bmatrix}2&3\\-3&2\end{bmatrix}. $$

The columns of \(\mathbf{P}'\) are independent because its determinant is \(1\). The similarity check is

$$ \mathbf{A}\mathbf{P}' = \begin{bmatrix}5&1\\2&3\end{bmatrix} = \mathbf{P}'\mathbf{B}'. $$

Thus \((\mathbf{P}')^{-1}\mathbf{A}\mathbf{P}'=\mathbf{B}'\). The change from \(b=3\) to \(b=-3\) matches the use of \(2-3i\) instead of \(2+3i\); it does not contradict the theorem.

Common Pitfall: Mixing the Basis and the Block

A common incorrect calculation uses \((\mathbf{x},\mathbf{y})\) as the basis but writes down the block for \((\mathbf{x},-\mathbf{y})\). For the eigenpair in the first example, \(a=2\), \(b=3\), \(\mathbf{x}=(1,1)^\top\), and \(\mathbf{y}=(-1,0)^\top\). If one uses \(\mathbf{Q}=\begin{bmatrix}\mathbf{x}&\mathbf{y}\end{bmatrix}\), the columns are independent, but the actual matrix in that basis is \(\begin{bmatrix}2&3\\-3&2\end{bmatrix}\), not \(\begin{bmatrix}2&-3\\3&2\end{bmatrix}\). The correction is to match the basis to the formula: use \(\mathbf{P}=\begin{bmatrix}\mathbf{x}&-\mathbf{y}\end{bmatrix}\) for the latter block, or keep \(\mathbf{Q}\) and use the former block. In either case, verify the claim by multiplying the original matrix by the basis matrix.

The constructed basis is useful because it turns a complex eigenpair into a real description of the action on \(\mathbb{R}^2\). The similarity does not claim that the original matrix equals the block in its original coordinates; it says that the two matrices describe the same linear map in different real bases. The distinction between the matrix and its representation in a chosen basis is exactly what the equation \(\mathbf{P}^{-1}\mathbf{A}\mathbf{P}=\mathbf{B}\) records.

Check Your Understanding

For each question, keep the order of the basis vectors explicit and verify any proposed block by multiplication.

  1. If \(\lambda=4-2i\) and \(\mathbf{z}=\mathbf{x}+i\mathbf{y}\) is an eigenvector of a real \(2\times2\) matrix, what block does the basis \((\mathbf{x},-\mathbf{y})\) produce?
  2. Why must \(\mathbf{x}\) and \(\mathbf{y}\) be linearly independent over \(\mathbb{R}\) when \(\mathbf{z}=\mathbf{x}+i\mathbf{y}\ne\mathbf{0}\) is an eigenvector for a nonreal eigenvalue?
  3. For \(\mathbf{A}=\begin{bmatrix}1&-4\\4&1\end{bmatrix}\), check that \((1,-i)^\top\) is an eigenvector for \(1+4i\), then identify the prescribed real basis.
  4. If the basis is \((\mathbf{x},\mathbf{y})\) rather than \((\mathbf{x},-\mathbf{y})\), what sign pattern appears in the resulting matrix?
  5. Explain why a real similarity to \(\begin{bmatrix}a&-b\\b&a\end{bmatrix}\), with \(b\ne0\), guarantees a nonreal eigenvalue.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon