Linear AlgebraRREF, Rank & Nullity

Row reduce [1, -1, 2; 2, 1, 1; 1, 2, -1] to RREF and find its rank and nullity

Homework Question

Row reduce A=[1−1221112−1]A = \begin{bmatrix}1 & -1 & 2\\2 & 1 & 1\\1 & 2 & -1\end{bmatrix} to reduced row echelon form. Find rank(A)\text{rank}(A), nullity(A)\text{nullity}(A), and a basis for the null space.

Verified Final Answer
RREF =[10101−1000]= \begin{bmatrix}1 & 0 & 1\\0 & 1 & -1\\0 & 0 & 0\end{bmatrix}, rank =2= 2, nullity =1= 1

Key Formula & Principle

rank(A)+nullity(A)=n\text{rank}(A) + \text{nullity}(A) = n (number of columns)

Step-by-Step Solution

  1. 1
    Use row operations (swap, scale, replace) to create leading 11s and clear each pivot column.
  2. 2
    The reduced row echelon form is [10101−1000]\begin{bmatrix}1 & 0 & 1\\0 & 1 & -1\\0 & 0 & 0\end{bmatrix}.
  3. 3
    Pivot columns: 1,21, 2, so rank(A)=2\text{rank}(A) = 2.
  4. 4
    Nullity =3−2=1= 3 - 2 = 1; null space basis: [−111]T\begin{bmatrix}-1 & 1 & 1\end{bmatrix}^T.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Linear Algebra →
RREF, Rank & Nullity

Row reduce [1, 0, 2; 0, 1, -1; 2, 1, 3] to RREF and find its rank and nullity

Answer: RREF =[10201−1000]= \begin{bmatrix}1 & 0 & 2\\0 & 1 & -1\\0 & 0 & 0\end{bmatrix}, rank =2= 2, nullity =1= 1

Matrix Inverse

Find the inverse of the matrix [3, 5; 1, 2]

Answer: A−1=[2−5−13]A^{-1} = \begin{bmatrix}2 & -5\\-1 & 3\end{bmatrix}

Matrix Inverse

Find the inverse of the matrix [1, 2, 3; 0, 1, 4; 5, 6, 0]

Answer: A−1=[−2418520−15−4−541]A^{-1} = \begin{bmatrix}-24 & 18 & 5\\20 & -15 & -4\\-5 & 4 & 1\end{bmatrix}

Matrix Inverse

Find the inverse of the matrix [2, 0, 1; 1, 1, 0; 0, 3, 1]

Answer: A−1=[1535−15−15251535−6525]A^{-1} = \begin{bmatrix}\frac{1}{5} & \frac{3}{5} & - \frac{1}{5}\\- \frac{1}{5} & \frac{2}{5} & \frac{1}{5}\\\frac{3}{5} & - \frac{6}{5} & \frac{2}{5}\end{bmatrix}

Matrix Inverse

Find the inverse of the matrix [1, 1, 0; 0, 2, 1; 1, 0, 3]

Answer: A−1=[67−37171737−17−271727]A^{-1} = \begin{bmatrix}\frac{6}{7} & - \frac{3}{7} & \frac{1}{7}\\\frac{1}{7} & \frac{3}{7} & - \frac{1}{7}\\- \frac{2}{7} & \frac{1}{7} & \frac{2}{7}\end{bmatrix}

Gram-Schmidt

Apply Gram-Schmidt to v1 = (1, 1, 0) and v2 = (1, 0, 1)

Answer: e1=[22220]T\mathbf{e}_1 = \begin{bmatrix}\frac{\sqrt{2}}{2} & \frac{\sqrt{2}}{2} & 0\end{bmatrix}^T, e2=[66−6663]T\mathbf{e}_2 = \begin{bmatrix}\frac{\sqrt{6}}{6} & - \frac{\sqrt{6}}{6} & \frac{\sqrt{6}}{3}\end{bmatrix}^T