Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 4

Eigenvalues and Eigenvectors of 2x2 Matrices

Recommended resources

Welcome to the next lesson in your preparation for the technical interview. In our previous session, we established the conceptual foundation of eigenvalues and eigenvectors. We defined them through the equation and introduced the geometric intuition that eigenvectors represent the invariant directions of a linear transformation.

Today, we transition from the "what" to the "how." The goal of this lesson is to equip you with the practical, step-by-step method for calculating the eigenvalues and eigenvectors of a 2x2 matrix. This is a core skill that you may be asked to demonstrate on pen and paper during your interview, so mastering this computational process is crucial.

From Definition to Calculation

Let's start with the equation we already know:

Our goal is to solve for the scalar and the vector . To do this, we need to rearrange the equation to group the unknown terms. We can't simply subtract from the matrix , as they are different types of objects (a matrix and a scalar). The standard trick is to introduce the identity matrix, .

Multiplying a vector by the identity matrix doesn't change it (), so we can write as . This allows us to rewrite the equation in a way that lets us factor out :

  1. Start with
  2. Rewrite as
  3. Rearrange to
  4. Factor out to get

This equation is the starting point for our calculation. We are looking for a non-zero eigenvector . This means we need a non-trivial solution to this system of equations. A fundamental result in linear algebra states that this system has a non-zero solution for only if the matrix is singular, which means its determinant must be zero.

This gives us the master key:

This is called the characteristic equation. For a 2x2 matrix, this will be a simple quadratic equation in , which we can solve to find the eigenvalues.

The following resource provides a clear walkthrough of this derivation.

Eigenvector and Eigenvalue

This page from MathsIsFun.com clearly explains the algebraic steps we just discussed.

Read the section "The Mathematics Of It" to see how the equation A\mathbf{v} = \lambda\mathbf{v} is transformed into the characteristic equation \det(A - \lambda I) = 0.


The 5-Step Method for a 2x2 Matrix

Now that we have the characteristic equation, we can outline a reliable recipe for finding eigenvalues and eigenvectors. The following article presents a clear, five-step process that you can memorize and apply.

7. Eigenvalues and Eigenvectors

This article from Interactive Mathematics provides a perfect summary of the calculation process, followed by a very detailed worked example.

First, read the five steps listed under the heading "How to find the eigenvalues and eigenvectors". Then, follow along with Example 1. Work through each step of the example carefully: Step 1: See how the matrix (A - \lambda I) is constructed. Step 2: Observe how the determinant is calculated, leading to a quadratic equation for \lambda, and how solving it yields the two eigenvalues. Step 3-5 (Case 1): Follow how the first eigenvalue (\lambda_1 = -3) is substituted back into the equation (A - \lambda I)\mathbf{v} = \mathbf{0}. Notice that the two resulting linear equations are redundant (x_1 - x_2 = 0). This is expected! This is why you can choose a "convenient" value for one variable to find the eigenvector. Step 3-5 (Case 2): Repeat the process for the second eigenvalue (\lambda_2 = 4) to find its corresponding eigenvector.


Seeing it in Action: A Video Walkthrough

Reading through the steps is helpful, but watching someone perform the calculation can solidify your understanding. The following video by PatrickJMT is a very clear, methodical demonstration.

❖ Finding Eigenvalues and Eigenvectors : 2 x 2 Matrix Example ❖

This video walks through the entire process for a 2x2 matrix, from setting up the characteristic equation to finding both eigenvectors.

Watch the video from the beginning. Pay close attention to these key moments: Finding the Eigenvalues: Notice how he forms the (A - \lambda I) matrix, calculates its determinant, sets it to zero, and solves the resulting quadratic equation. Finding the First Eigenvector: He substitutes the first eigenvalue (\lambda = 8) and solves the system (A - \lambda I)\mathbf{v} = \mathbf{0}. He uses row reduction, but you can think of this as simply solving the pair of linear equations. The key insight is at this point, where he finds the relationship between the components of the eigenvector (3*x_2 = x_1). Checking the Answer: This is a crucial step to confirm your work. He shows that A\mathbf{v} is indeed equal to \lambda\mathbf{v}. Finding the Second Eigenvector: He repeats the process for the second eigenvalue (\lambda = -2).


An Interview-Ready Shortcut

In an interview, speed and confidence matter. Once you have the system of equations for the eigenvector, there's often a quick way to find a solution. The next video offers a great practical tip.

Eigenvalues and Eigenvectors 2x2 Matrix

This video by BriTheMathGuy offers a very efficient method for finding the eigenvector once you have the matrix (A - λI).

Watch the segment from this timestamp. Notice how after getting the two equations, he points out they are equivalent. At the end, he mentions a shortcut: for a row like [a, b], an eigenvector can often be constructed as [b, -a] or [-b, a]. This works because it ensures the dot product a*b + b*(-a) is zero, which is what the equation ax + by = 0 requires. This is a fantastic trick for quick, on-the-spot calculations.


Pen and Paper Practice

Now it's your turn. Take out a piece of paper and find the eigenvalues and eigenvectors for the following matrix:

Follow the 5-step method. Once you're done, check your work against the solution below.

Click here for the solution

1. Find the eigenvalues:
The characteristic equation is .

Factoring gives .
The eigenvalues are and .

2. Find the eigenvector for :
Solve :

Both rows give the same equation: , or .
A simple choice is . So, the eigenvector is .

3. Find the eigenvector for :
Solve :

Both rows give the equation , or .
A simple choice is . So, the eigenvector is .


Conclusion

In this lesson, you've learned the essential computational procedure for finding eigenvalues and eigenvectors. You now have a reliable, step-by-step process that you can execute by hand.

Key Takeaways:

  • To find eigenvalues, solve the characteristic equation . For a 2x2 matrix, this is a quadratic equation.
  • To find the eigenvector for a specific eigenvalue , substitute it back into and solve the resulting system of linear equations for .
  • Remember that any non-zero scalar multiple of an eigenvector is also a valid eigenvector.

In our next lesson, we will synthesize everything we've covered—the definition, the geometric picture, and this computational skill—to craft a comprehensive and impressive interview answer to the question, "What is the geometric interpretation of an eigenvalue and an eigenvector?"