I don't understand the rank of a matrix

  • Thread starter Thread starter mr_coffee
  • Start date Start date
  • Tags Tags
    Matrix rank
AI Thread Summary
The rank of a matrix is defined as the number of linearly independent rows or columns. To determine the rank, perform Gaussian elimination on the matrix and count the number of non-zero rows in the resulting matrix. For example, the rank of the first matrix provided is 3, indicating that all three columns are linearly independent. The rank reflects the maximum number of linearly independent vectors in the matrix, which is crucial for understanding its properties. Understanding the rank helps in analyzing the relationships between the vectors represented by the matrix.
mr_coffee
Messages
1,613
Reaction score
1
Hello everyone, can someone explain to me what the rank of a matrix is?
I have the following:
2 3 -2
2 6 0
-4 0 0
Rank = 3;

0 2 0 0
0 0 0 -4
0 0 0 0
9 0 0 0
rank = 3;


1 2
6 -3
Rank = 2;

I don't get it! any help would be great!
 
Physics news on Phys.org
Hey,

The rank of a matrix is the number of linearly independent rows in the matrix.

You can find the rank by performing Gaussian elimination. The rank will then be the number of non-zero rows in the resulting matrix.
 
To compute the rank of a matrix, do the following.

1) Let A be a m\times n matrix.
2) Perform gaussian-elimination on A
3) Count the number of non zero columns. This number is the rank of the matrix.

We'll start with your first example.
1) A = \left[ \begin{array}{ccc}2 & 3 & -2 \\2 & 6 & 0 \\-4 & 0 & 0 \\\end{array}\right]

2) Perform the gaussian-elimination on A
A' = \left[ \begin{array}{ccc}1 & 0 & 0 \\0 & 1 & 0 \\0 & 0 & 1 \\\end{array}\right]

3) Now we count the number of non-zero columns:
A' = \left[ \begin{array}{ccc}(1) & 0 & 0 \\0 & (1) & 0 \\0 & 0 & (1) \\\end{array}\right]

Rank = 3

----
Now, what does the rank mean? Well the rank of a matrix let's you know the number of columns that cannot be written as a linear combination of each other.

If you consider A' to be a matrix of vectors, we would have the following column vectors.

\vec{V_1} = (1,0,0)
\vec{V_2} = (0,1,0)
\vec{V_3} = (0,0,1)

These vectors are ALL linearly independent of each other. Which means that the column vectors in A are all linearly independent of each other.
 
Just don't forget that the rank only tells you the number of independent columns. If you are trying to find the spanning set, you must go back to the ORIGINAL matrix.
 
Awesome! thanks a lot guys! good explanation! :biggrin:
 
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
Back
Top