Cofactor: Definition & Formula

Cofactor: Definition & Formula
Coming up next: What are Polynomials, Binomials, and Quadratics?

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:03 What Is a Cofactor?
  • 0:47 Finding the Cofactor
  • 2:02 Cofactor of a Matrix
  • 4:49 Using the Cofactor of…
  • 5:15 Lesson Summary
Add to Add to Add to

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up


Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Kimberly Hopkins
In this lesson, we'll use step-by-step instructions to show you how to how to find the cofactor of a matrix. We'll begin with the definition of a cofactor, after which you'll learn how to use the formula and perform your own calculations.

What Is a Cofactor?

Have you ever used blinders? If so, then you already know the basics of how to create a cofactor. Blinders prevent you from seeing to the side and force you to focus on what's in front of you. A cofactor is the number you get when you remove the column and row of a designated element in a matrix, which is just a numerical grid in the form of a rectangle or a square. The cofactor is always preceded by a positive (+) or negative (-) sign, depending whether the element is in a + or - position.

This mathematical concept may sound more complicated than it is, so let's look at an example.

Finding the Cofactor

Let's start with the matrix:

3-by-3 matrix

Now, how would you go about finding the cofactor of 2? Well, in order to do that, you'd put blinders around the 2 and eliminate the row and column that contain the 2, as shown here:

the cofactor or 2

Once you have the new matrix that doesn't include 2, you can calculate the determinant, or number derived from a square matrix. You can find the determinant by multiplying the diagonal numbers on the matrix. For example:

  • 3 x 9 = 27
  • 6 x 4 = 24

Next, subtract the value of the second diagonal from the value of the first diagonal: 27 - 24 = 3. Our determinant equals 3.

Lastly, check the sign assigned to the element. Each 3 x 3 determinant has a cofactor sign determined by the location of the element that was eliminated.

First, let's look at the signs of a 3 x 3 matrix:

signs of a 3-by-3 matrix

Now, let's locate the original position of the 2. Notice that the + sign is the original location of the 2. Take that + sign, and place it in front of the determinant. The result is +3, or just 3.

Cofactor of a Matrix

If we calculate the cofactor of each element, we can create the cofactor of the matrix.

Let's return to our matrix:

3-by-3 matrix

In order to calculate the cofactor of the matrix, we need to calculate the cofactors of each element. First, let's find the cofactor of 3.

cofactor of 3

Once you've arrived at your new matrix, calculate the determinant:

  • 2 x 9 = 18
  • 8 x 1 = 8

Subtract the value of the second pair from the value of the first pair, or 18 - 8 = 10. Our determinant equals 10.

Once again, determine the sign dictated by the location of the element you eliminated. In this case, the sign is +, so we would use 10.

Next, let's find the cofactor of 5.

cofactor of 5

Calculate the determinant: 63 - 32 = 31.

Check the sign determined by position: -

The cofactor of 5 is -31.

Next, let's find the cofactor of 6.

cofactor of 6

Calculate the determinant: 7 - 8 = -1.

Check the sign determined by position: +

The cofactor of 6 is -1.

Then, find the cofactor of 7.

cofactor of 7

Calculate the determinant: 45 - 6 = 39.

Check the sign determined by position: -

The cofactor of 7 is -39.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create An Account