MATH 2010 Exam 4 Review Problems

Contents
Note
This article was last updated on 2026-04-23, the content may be out of date.

Overview

Exam #4 will be administered in LECTURE on Friday, April 24 and will cover all Matrix Algebra content covered this semester (Lectures 13–26). There will be a greater emphasis on material covered after Exam 3 (sections 3.3, 3.4, 3.5, 3.6, 4.1, 4.2, 4.4, 4.5, 4.6, and 4.7), but you should be prepared to answer questions from any of the sections covered on Exam 3 (sections 1.1, 1.2, 1.3, 1.5, 1.6, 1.7, 1.9, and 3.2).

If you submitted a ANSS memo with accommodations for exams, you will be contacted via email with details regarding the alternate location of your exam. Only students who have emailed the instructor their accommodations memorandum by Wednesday 4/22 at 5PM will be able to use their testing accommodations on Exam 3.

You will have 70 minutes to complete the exam. Students must arrive on time and listen to instructions regarding seating requirements. Students must leave all backpacks in the front of the exam room up against the wall. Do not block any exits or obstruct any walkways. You will not be granted any additional time to complete your exam if you arrive after the exam has begun. Students will be required to sign in and collected exams will be cross-checked with the sign-in sheets. Exams from students who do not sign in will not be graded.

Questions

Q1. Span and Linear Combinations

Let v⃗1=[120]\vec{v}_1 = \begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix} and v⃗2=[0−11]\vec{v}_2 = \begin{bmatrix} 0 \\ -1 \\ 1 \end{bmatrix}.
For each vector below, determine if the vector is in Sp{v⃗1,v⃗2}Sp\{\vec{v}_1, \vec{v}_2\}. For each vector in Sp{v⃗1,v⃗2}Sp\{\vec{v}_1, \vec{v}_2\} write the vector as a linear combination of v⃗1\vec{v}_1 and v⃗2\vec{v}_2.

  • (a) v⃗=[11−1]\vec{v} = \begin{bmatrix} 1 \\ 1 \\ -1 \end{bmatrix}
  • (b) w⃗=[231]\vec{w} = \begin{bmatrix} 2 \\ 3 \\ 1 \end{bmatrix}
Answer of This Question

We check if each vector can be written as c1v⃗1+c2v⃗2c_1\vec{v}_1 + c_2\vec{v}_2.

(a) v⃗=[11−1]\vec{v} = \begin{bmatrix} 1 \\ 1 \\ -1 \end{bmatrix}

Set up the system c1[120]+c2[0−11]=[11−1]c_1\begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix} + c_2\begin{bmatrix} 0 \\ -1 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ -1 \end{bmatrix}:

{c1=12c1−c2=1c2=−1\begin{cases} c_1 = 1 \\ 2c_1 - c_2 = 1 \\ c_2 = -1 \end{cases}

From the first equation: c1=1c_1 = 1.
From the third equation: c2=−1c_2 = -1.
Substituting into the second: 2(1)−(−1)=3≠12(1) - (-1) = 3 \neq 1. Contradiction.

Answer (a): v⃗∉Sp{v⃗1,v⃗2}\vec{v} \notin Sp\{\vec{v}_1, \vec{v}_2\}.


(b) w⃗=[231]\vec{w} = \begin{bmatrix} 2 \\ 3 \\ 1 \end{bmatrix}

Set up the system c1[120]+c2[0−11]=[231]c_1\begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix} + c_2\begin{bmatrix} 0 \\ -1 \\ 1 \end{bmatrix} = \begin{bmatrix} 2 \\ 3 \\ 1 \end{bmatrix}:

{c1=22c1−c2=3c2=1\begin{cases} c_1 = 2 \\ 2c_1 - c_2 = 3 \\ c_2 = 1 \end{cases}

From the first equation: c1=2c_1 = 2.
From the third equation: c2=1c_2 = 1.
Checking the second: 2(2)−1=32(2) - 1 = 3. Consistent ✓\checkmark

Answer (b): w⃗∈Sp{v⃗1,v⃗2}\vec{w} \in Sp\{\vec{v}_1, \vec{v}_2\} and w⃗=2v⃗1+v⃗2\vec{w} = 2\vec{v}_1 + \vec{v}_2.

Final Answer

  • (a) v⃗∉Sp{v⃗1,v⃗2}\vec{v} \notin Sp\{\vec{v}_1, \vec{v}_2\}
  • (b) w⃗=2v⃗1+v⃗2\vec{w} = 2\vec{v}_1 + \vec{v}_2

Q2. Null Space

Determine which of the following vectors are in the null space of the matrix A=[2233]A = \begin{bmatrix} 2 & 2 \\ 3 & 3 \end{bmatrix}.

  • (a) a⃗=[1−1]\vec{a} = \begin{bmatrix} 1 \\ -1 \end{bmatrix}
  • (b) b⃗=[2−3]\vec{b} = \begin{bmatrix} 2 \\ -3 \end{bmatrix}
  • (c) c⃗=[−22]\vec{c} = \begin{bmatrix} -2 \\ 2 \end{bmatrix}
  • (d) d⃗=[10]\vec{d} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}
  • (e) e⃗=[00]\vec{e} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}
Answer of This Question

A vector x⃗\vec{x} is in the null space of AA if Ax⃗=0⃗A\vec{x} = \vec{0}.

Check each vector:

(a) Aa⃗=[2233][1−1]=[2−23−3]=[00]A\vec{a} = \begin{bmatrix} 2 & 2 \\ 3 & 3 \end{bmatrix}\begin{bmatrix} 1 \\ -1 \end{bmatrix} = \begin{bmatrix} 2-2 \\ 3-3 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} ✅

(b) Ab⃗=[2233][2−3]=[4−66−9]=[−2−3]≠0⃗A\vec{b} = \begin{bmatrix} 2 & 2 \\ 3 & 3 \end{bmatrix}\begin{bmatrix} 2 \\ -3 \end{bmatrix} = \begin{bmatrix} 4-6 \\ 6-9 \end{bmatrix} = \begin{bmatrix} -2 \\ -3 \end{bmatrix} \neq \vec{0} ❌

(c) Ac⃗=[2233][−22]=[−4+4−6+6]=[00]A\vec{c} = \begin{bmatrix} 2 & 2 \\ 3 & 3 \end{bmatrix}\begin{bmatrix} -2 \\ 2 \end{bmatrix} = \begin{bmatrix} -4+4 \\ -6+6 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} ✅

(d) Ad⃗=[2233][10]=[23]≠0⃗A\vec{d} = \begin{bmatrix} 2 & 2 \\ 3 & 3 \end{bmatrix}\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 2 \\ 3 \end{bmatrix} \neq \vec{0} ❌

(e) Ae⃗=[2233][00]=[00]A\vec{e} = \begin{bmatrix} 2 & 2 \\ 3 & 3 \end{bmatrix}\begin{bmatrix} 0 \\ 0 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} ✅

Final Answer In N(A)N(A): a⃗,c⃗,e⃗\vec{a}, \vec{c}, \vec{e}. Not in N(A)N(A): b⃗,d⃗\vec{b}, \vec{d}.

Q3. Range (Column Space)

Determine which of the following vectors are in the range of the matrix A=[−132−6]A = \begin{bmatrix} -1 & 3 \\ 2 & -6 \end{bmatrix} (Also called the column space of AA). If the vector is in the range of AA, write the vector as a linear combination of the columns of AA.

  • (a) b⃗1=[1−3]\vec{b}_1 = \begin{bmatrix} 1 \\ -3 \end{bmatrix}
  • (b) b⃗2=[4−8]\vec{b}_2 = \begin{bmatrix} 4 \\ -8 \end{bmatrix}
Answer of This Question

A vector b⃗\vec{b} is in the range (column space) of AA if Ax⃗=b⃗A\vec{x} = \vec{b} is consistent. Equivalently, if b⃗\vec{b} is a linear combination of the columns of AA.

Let the columns of A=[−132−6]A = \begin{bmatrix} -1 & 3 \\ 2 & -6 \end{bmatrix} be a⃗1=[−12]\vec{a}_1 = \begin{bmatrix} -1 \\ 2 \end{bmatrix} and a⃗2=[3−6]\vec{a}_2 = \begin{bmatrix} 3 \\ -6 \end{bmatrix}.

Note that a⃗2=−3a⃗1\vec{a}_2 = -3\vec{a}_1, so the column space is 1-dimensional: col(A)=Sp{a⃗1}col(A) = Sp\{\vec{a}_1\}.

(a) b⃗1=[1−3]\vec{b}_1 = \begin{bmatrix} 1 \\ -3 \end{bmatrix}

Solve c1[−12]+c2[3−6]=[1−3]c_1\begin{bmatrix} -1 \\ 2 \end{bmatrix} + c_2\begin{bmatrix} 3 \\ -6 \end{bmatrix} = \begin{bmatrix} 1 \\ -3 \end{bmatrix}:

{−c1+3c2=12c1−6c2=−3\begin{cases} -c_1 + 3c_2 = 1 \\ 2c_1 - 6c_2 = -3 \end{cases}

The second equation is −2-2 times the first: −2(1)=−2≠−3-2(1) = -2 \neq -3. Inconsistent.

Answer (a): b⃗1∉col(A)\vec{b}_1 \notin col(A).


(b) b⃗2=[4−8]\vec{b}_2 = \begin{bmatrix} 4 \\ -8 \end{bmatrix}

Solve c1[−12]+c2[3−6]=[4−8]c_1\begin{bmatrix} -1 \\ 2 \end{bmatrix} + c_2\begin{bmatrix} 3 \\ -6 \end{bmatrix} = \begin{bmatrix} 4 \\ -8 \end{bmatrix}:

{−c1+3c2=42c1−6c2=−8\begin{cases} -c_1 + 3c_2 = 4 \\ 2c_1 - 6c_2 = -8 \end{cases}

The second equation is −2-2 times the first: −2(4)=−8-2(4) = -8. Consistent.

Choosing c2=0c_2 = 0, we get c1=−4c_1 = -4. So b⃗2=−4a⃗1+0a⃗2\vec{b}_2 = -4\vec{a}_1 + 0\vec{a}_2.

Answer (b): b⃗2∈col(A)\vec{b}_2 \in col(A) and b⃗2=−4a⃗1+0a⃗2\vec{b}_2 = -4\vec{a}_1 + 0\vec{a}_2.

Final Answer

  • (a) b⃗1∉col(A)\vec{b}_1 \notin col(A)
  • (b) b⃗2∈col(A)\vec{b}_2 \in col(A), b⃗2=−4a⃗1+0a⃗2\vec{b}_2 = -4\vec{a}_1 + 0\vec{a}_2

Q4. Subspaces of a Matrix

Let A=[1011200110−10]A = \begin{bmatrix} 1 & 0 & 1 & 1 \\ 2 & 0 & 0 & 1 \\ 1 & 0 & -1 & 0 \end{bmatrix}.

  • (a) Write N(A)N(A) as the span of a set of linearly independent vectors.
  • (b) Write col(A)col(A) as the span of a set of linearly independent vectors.
  • (c) Write row(A)row(A) as the span of a set of linearly independent vectors.
Answer of This Question

First, row reduce A=[1011200110−10]A = \begin{bmatrix} 1 & 0 & 1 & 1 \\ 2 & 0 & 0 & 1 \\ 1 & 0 & -1 & 0 \end{bmatrix}:

[1011200110−10]→R2→R2−2R1,  R3→R3−R1[101100−2−100−2−1]\left[\begin{array}{cccc} 1 & 0 & 1 & 1 \\ 2 & 0 & 0 & 1 \\ 1 & 0 & -1 & 0 \end{array}\right] \xrightarrow{R_2 \to R_2-2R_1,\; R_3 \to R_3-R_1} \left[\begin{array}{cccc} 1 & 0 & 1 & 1 \\ 0 & 0 & -2 & -1 \\ 0 & 0 & -2 & -1 \end{array}\right]→R3→R3−R2[101100−2−10000]→R2→−12R2[1011001120000]\xrightarrow{R_3 \to R_3-R_2} \left[\begin{array}{cccc} 1 & 0 & 1 & 1 \\ 0 & 0 & -2 & -1 \\ 0 & 0 & 0 & 0 \end{array}\right] \xrightarrow{R_2 \to -\frac{1}{2}R_2} \left[\begin{array}{cccc} 1 & 0 & 1 & 1 \\ 0 & 0 & 1 & \frac{1}{2} \\ 0 & 0 & 0 & 0 \end{array}\right]→R1→R1−R2[10012001120000]\xrightarrow{R_1 \to R_1-R_2} \left[\begin{array}{cccc} 1 & 0 & 0 & \frac{1}{2} \\ 0 & 0 & 1 & \frac{1}{2} \\ 0 & 0 & 0 & 0 \end{array}\right]

This is the RREF. Pivot columns: 1, 3. Free variables: x2,x4x_2, x_4.

(a) Null space N(A)N(A):

From RREF: x1+12x4=0x_1 + \frac{1}{2}x_4 = 0 and x3+12x4=0x_3 + \frac{1}{2}x_4 = 0.

{x1=−12x4x2=x2 (free)x3=−12x4x4=x4 (free)\begin{cases} x_1 = -\frac{1}{2}x_4 \\ x_2 = x_2 \text{ (free)} \\ x_3 = -\frac{1}{2}x_4 \\ x_4 = x_4 \text{ (free)} \end{cases}

In vector form:

x⃗=x2[0100]+x4[−120−121]\vec{x} = x_2\begin{bmatrix} 0 \\ 1 \\ 0 \\ 0 \end{bmatrix} + x_4\begin{bmatrix} -\frac{1}{2} \\ 0 \\ -\frac{1}{2} \\ 1 \end{bmatrix}

Answer (a): N(A)=Sp{[0100],[−120−121]}N(A) = Sp\left\{ \begin{bmatrix} 0 \\ 1 \\ 0 \\ 0 \end{bmatrix}, \begin{bmatrix} -\frac{1}{2} \\ 0 \\ -\frac{1}{2} \\ 1 \end{bmatrix} \right\}

(b) Column space col(A)col(A):

Pivot columns are 1 and 3, so col(A)col(A) is spanned by columns 1 and 3 of the original AA:

Answer (b): col(A)=Sp{[121],[10−1]}col(A) = Sp\left\{ \begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}, \begin{bmatrix} 1 \\ 0 \\ -1 \end{bmatrix} \right\}

(c) Row space row(A)row(A):

The nonzero rows of the RREF form a basis:

Answer (c): row(A)=Sp{[10012],[00112]}row(A) = Sp\left\{ \begin{bmatrix} 1 & 0 & 0 & \frac{1}{2} \end{bmatrix}, \begin{bmatrix} 0 & 0 & 1 & \frac{1}{2} \end{bmatrix} \right\}

Q5. Basis and Dimension for Column, Row, and Null Spaces

Let A=[122−56−1−2−11−1485−893615−6]A = \begin{bmatrix} 1 & 2 & 2 & -5 & 6 \\ -1 & -2 & -1 & 1 & -1 \\ 4 & 8 & 5 & -8 & 9 \\ 3 & 6 & 1 & 5 & -6 \end{bmatrix}.
Find a basis for the column space, row space and nullspace of AA. State the dimensions of each.

Answer of This Question A=[122−56−1−2−11−1485−893615−6]A = \begin{bmatrix} 1 & 2 & 2 & -5 & 6 \\ -1 & -2 & -1 & 1 & -1 \\ 4 & 8 & 5 & -8 & 9 \\ 3 & 6 & 1 & 5 & -6 \end{bmatrix}

Row reduction:

R2→R2+R1R_2 \to R_2 + R_1: [0,0,1,−4,5][0, 0, 1, -4, 5] R3→R3−4R1R_3 \to R_3 - 4R_1: [0,0,−3,12,−15][0, 0, -3, 12, -15] R4→R4−3R1R_4 \to R_4 - 3R_1: [0,0,−5,20,−24][0, 0, -5, 20, -24]

[122−56001−4500−312−1500−520−24]\left[\begin{array}{ccccc} 1 & 2 & 2 & -5 & 6 \\ 0 & 0 & 1 & -4 & 5 \\ 0 & 0 & -3 & 12 & -15 \\ 0 & 0 & -5 & 20 & -24 \end{array}\right]

R3→R3+3R2R_3 \to R_3 + 3R_2: [0,0,0,0,0][0, 0, 0, 0, 0] R4→R4+5R2R_4 \to R_4 + 5R_2: [0,0,0,0,1][0, 0, 0, 0, 1]

Swap R3↔R4R_3 \leftrightarrow R_4:

[122−56001−450000100000]\left[\begin{array}{ccccc} 1 & 2 & 2 & -5 & 6 \\ 0 & 0 & 1 & -4 & 5 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 \end{array}\right]

To RREF: R2→R2−5R3R_2 \to R_2 - 5R_3: [0,0,1,−4,0][0, 0, 1, -4, 0] R1→R1−6R3R_1 \to R_1 - 6R_3: [1,2,2,−5,0][1, 2, 2, -5, 0] R1→R1−2R2R_1 \to R_1 - 2R_2: [1,2,0,3,0][1, 2, 0, 3, 0]

RREF=[12030001−400000100000]\text{RREF} = \left[\begin{array}{ccccc} 1 & 2 & 0 & 3 & 0 \\ 0 & 0 & 1 & -4 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 \end{array}\right]

Pivot columns: 1, 3, 5. Free variables: x2,x4x_2, x_4.

Column space: Columns 1, 3, 5 of the original AA:

basis={[1−143],[2−151],[6−19−6]},dim⁡=3\text{basis} = \left\{ \begin{bmatrix} 1 \\ -1 \\ 4 \\ 3 \end{bmatrix}, \begin{bmatrix} 2 \\ -1 \\ 5 \\ 1 \end{bmatrix}, \begin{bmatrix} 6 \\ -1 \\ 9 \\ -6 \end{bmatrix} \right\}, \quad \dim = 3

Row space: Nonzero rows of RREF (written as row vectors):

basis={[12030],[001−40],[00001]},dim⁡=3\text{basis} = \left\{ \begin{bmatrix} 1 & 2 & 0 & 3 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 0 & 1 & -4 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 0 & 0 & 0 & 1 \end{bmatrix} \right\}, \quad \dim = 3

Null space:

{x1+2x2+3x4=0x3−4x4=0x5=0  ⟹  {x1=−2x2−3x4x3=4x4x5=0\begin{cases} x_1 + 2x_2 + 3x_4 = 0 \\ x_3 - 4x_4 = 0 \\ x_5 = 0 \end{cases} \implies \begin{cases} x_1 = -2x_2 - 3x_4 \\ x_3 = 4x_4 \\ x_5 = 0 \end{cases}x⃗=x2[−21000]+x4[−30410]\vec{x} = x_2\begin{bmatrix} -2 \\ 1 \\ 0 \\ 0 \\ 0 \end{bmatrix} + x_4\begin{bmatrix} -3 \\ 0 \\ 4 \\ 1 \\ 0 \end{bmatrix}basis={[−21000],[−30410]},dim⁡=2\text{basis} = \left\{ \begin{bmatrix} -2 \\ 1 \\ 0 \\ 0 \\ 0 \end{bmatrix}, \begin{bmatrix} -3 \\ 0 \\ 4 \\ 1 \\ 0 \end{bmatrix} \right\}, \quad \dim = 2

Final Answer

  • Column space basis: {[1−143],[2−151],[6−19−6]}\left\{ \begin{bmatrix} 1 \\ -1 \\ 4 \\ 3 \end{bmatrix}, \begin{bmatrix} 2 \\ -1 \\ 5 \\ 1 \end{bmatrix}, \begin{bmatrix} 6 \\ -1 \\ 9 \\ -6 \end{bmatrix} \right\}, dim⁡=3\dim = 3
  • Row space basis: {[12030],[001−40],[00001]}\left\{ \begin{bmatrix} 1 & 2 & 0 & 3 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 0 & 1 & -4 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 0 & 0 & 0 & 1 \end{bmatrix} \right\}, dim⁡=3\dim = 3
  • Null space basis: {[−21000],[−30410]}\left\{ \begin{bmatrix} -2 \\ 1 \\ 0 \\ 0 \\ 0 \end{bmatrix}, \begin{bmatrix} -3 \\ 0 \\ 4 \\ 1 \\ 0 \end{bmatrix} \right\}, dim⁡=2\dim = 2

Q6. Basis and Dimension of a Subspace

Let W={x⃗=[x1x2x3]∈R3:x1−x2+x3=0}W = \left\{ \vec{x} = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} \in \mathbb{R}^3 : x_1 - x_2 + x_3 = 0 \right\}.

  • (a) Find a basis for WW.
  • (b) What is the dimension of WW?
Answer of This Question

W={x⃗∈R3:x1−x2+x3=0}W = \{ \vec{x} \in \mathbb{R}^3 : x_1 - x_2 + x_3 = 0 \}

We can write x1=x2−x3x_1 = x_2 - x_3, so x2x_2 and x3x_3 are free variables.

(a) Any vector in WW can be written as:

x⃗=[x2−x3x2x3]=x2[110]+x3[−101]\vec{x} = \begin{bmatrix} x_2-x_3 \\ x_2 \\ x_3 \end{bmatrix} = x_2\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} + x_3\begin{bmatrix} -1 \\ 0 \\ 1 \end{bmatrix}

These two vectors are linearly independent (one is not a scalar multiple of the other).

Answer (a): A basis for WW is {[110],[−101]}\left\{ \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}, \begin{bmatrix} -1 \\ 0 \\ 1 \end{bmatrix} \right\}

(b) The dimension is the number of vectors in the basis.

Answer (b): dim⁡(W)=2\dim(W) = 2

Final Answer

  • (a) Basis: {[110],[−101]}\left\{ \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}, \begin{bmatrix} -1 \\ 0 \\ 1 \end{bmatrix} \right\}
  • (b) dim⁡(W)=2\dim(W) = 2

Q7. Gram-Schmidt Process and Coordinates

Let W=Sp{v⃗1,v⃗2,v⃗3}W = Sp\{\vec{v}_1, \vec{v}_2, \vec{v}_3\} where v⃗1=[221]\vec{v}_1 = \begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix}, v⃗2=[−212]\vec{v}_2 = \begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}, v⃗3=[1800]\vec{v}_3 = \begin{bmatrix} 18 \\ 0 \\ 0 \end{bmatrix} are linearly independent.

  • (a) Use Gram-Schmidt to construct an orthonormal basis {u⃗1,u⃗2,u⃗3}\{\vec{u}_1, \vec{u}_2, \vec{u}_3\} for WW.
  • (b) Find the coordinates of x⃗=[111]\vec{x} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} in terms of u⃗1,u⃗2,u⃗3\vec{u}_1, \vec{u}_2, \vec{u}_3.
    i.e., Find a1,a2,a3a_1, a_2, a_3 such that x⃗=a1u⃗1+a2u⃗2+a3u⃗3\vec{x} = a_1\vec{u}_1 + a_2\vec{u}_2 + a_3\vec{u}_3.
Answer of This Question

v⃗1=[221],  v⃗2=[−212],  v⃗3=[1800]\vec{v}_1 = \begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix}, \;\vec{v}_2 = \begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}, \;\vec{v}_3 = \begin{bmatrix} 18 \\ 0 \\ 0 \end{bmatrix}

(a) Gram-Schmidt orthogonalization:

Step 1: w⃗1=v⃗1=[221],∥w⃗1∥=4+4+1=3\vec{w}_1 = \vec{v}_1 = \begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix}, \quad \|\vec{w}_1\| = \sqrt{4+4+1} = 3

Step 2:

w⃗2=v⃗2−v⃗2⋅w⃗1∥w⃗1∥2w⃗1\vec{w}_2 = \vec{v}_2 - \frac{\vec{v}_2 \cdot \vec{w}_1}{\|\vec{w}_1\|^2}\vec{w}_1

v⃗2⋅w⃗1=(−2)(2)+(1)(2)+(2)(1)=−4+2+2=0\vec{v}_2 \cdot \vec{w}_1 = (-2)(2) + (1)(2) + (2)(1) = -4 + 2 + 2 = 0

w⃗2=v⃗2=[−212],∥w⃗2∥=4+1+4=3\vec{w}_2 = \vec{v}_2 = \begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}, \quad \|\vec{w}_2\| = \sqrt{4+1+4} = 3

Step 3:

w⃗3=v⃗3−v⃗3⋅w⃗1∥w⃗1∥2w⃗1−v⃗3⋅w⃗2∥w⃗2∥2w⃗2\vec{w}_3 = \vec{v}_3 - \frac{\vec{v}_3 \cdot \vec{w}_1}{\|\vec{w}_1\|^2}\vec{w}_1 - \frac{\vec{v}_3 \cdot \vec{w}_2}{\|\vec{w}_2\|^2}\vec{w}_2

v⃗3⋅w⃗1=18(2)=36\vec{v}_3 \cdot \vec{w}_1 = 18(2) = 36
v⃗3⋅w⃗2=18(−2)=−36\vec{v}_3 \cdot \vec{w}_2 = 18(-2) = -36

w⃗3=[1800]−369[221]−−369[−212]=[1800]−4[221]+4[−212]\vec{w}_3 = \begin{bmatrix} 18 \\ 0 \\ 0 \end{bmatrix} - \frac{36}{9}\begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix} - \frac{-36}{9}\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix} = \begin{bmatrix} 18 \\ 0 \\ 0 \end{bmatrix} - 4\begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix} + 4\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}

=[18−8−80−8+40−4+8]=[2−44],∥w⃗3∥=4+16+16=6= \begin{bmatrix} 18-8-8 \\ 0-8+4 \\ 0-4+8 \end{bmatrix} = \begin{bmatrix} 2 \\ -4 \\ 4 \end{bmatrix}, \quad \|\vec{w}_3\| = \sqrt{4+16+16} = 6

Normalize to get orthonormal basis:

u⃗1=13[221],u⃗2=13[−212],u⃗3=16[2−44]\vec{u}_1 = \frac{1}{3}\begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix}, \quad \vec{u}_2 = \frac{1}{3}\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}, \quad \vec{u}_3 = \frac{1}{6}\begin{bmatrix} 2 \\ -4 \\ 4 \end{bmatrix}

(b) Coordinates of x⃗=[111]\vec{x} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix}:

Since {u⃗1,u⃗2,u⃗3}\{\vec{u}_1, \vec{u}_2, \vec{u}_3\} is orthonormal:

a1=x⃗⋅u⃗1=13(2+2+1)=53a_1 = \vec{x} \cdot \vec{u}_1 = \frac{1}{3}(2+2+1) = \frac{5}{3}

a2=x⃗⋅u⃗2=13(−2+1+2)=13a_2 = \vec{x} \cdot \vec{u}_2 = \frac{1}{3}(-2+1+2) = \frac{1}{3}

a3=x⃗⋅u⃗3=16(2−4+4)=13a_3 = \vec{x} \cdot \vec{u}_3 = \frac{1}{6}(2-4+4) = \frac{1}{3}

Verification: 53u⃗1+13u⃗2+13u⃗3=59[221]+19[−212]+118[2−44]=118[181818]=[111]\frac{5}{3}\vec{u}_1 + \frac{1}{3}\vec{u}_2 + \frac{1}{3}\vec{u}_3 = \frac{5}{9}\begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix} + \frac{1}{9}\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix} + \frac{1}{18}\begin{bmatrix} 2 \\ -4 \\ 4 \end{bmatrix} = \frac{1}{18}\begin{bmatrix} 18 \\ 18 \\ 18 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} ✓\checkmark

Final Answer

  • (a) u⃗1=13[221],  u⃗2=13[−212],  u⃗3=16[2−44]\vec{u}_1 = \frac{1}{3}\begin{bmatrix} 2 \\ 2 \\ 1 \end{bmatrix}, \;\vec{u}_2 = \frac{1}{3}\begin{bmatrix} -2 \\ 1 \\ 2 \end{bmatrix}, \;\vec{u}_3 = \frac{1}{6}\begin{bmatrix} 2 \\ -4 \\ 4 \end{bmatrix}
  • (b) a1=53,  a2=13,  a3=13a_1 = \frac{5}{3}, \;a_2 = \frac{1}{3}, \;a_3 = \frac{1}{3}

Q8. Eigenvalues, Multiplicities, and Defectiveness

For the following matrices, find the eigenvalues and eigenvectors of AA. For each eigenvalue, state the algebraic and geometric multiplicities. Is AA defective?

  • (a) A=[3003]A = \begin{bmatrix} 3 & 0 \\ 0 & 3 \end{bmatrix}.
  • (b) A=[3103]A = \begin{bmatrix} 3 & 1 \\ 0 & 3 \end{bmatrix}.
Answer of This Question

(a) A=[3003]A = \begin{bmatrix} 3 & 0 \\ 0 & 3 \end{bmatrix}

This is 3I3I. Characteristic equation: det⁡(A−λI)=(3−λ)2=0\det(A - \lambda I) = (3-\lambda)^2 = 0.

  • Eigenvalue: λ=3\lambda = 3
  • Algebraic multiplicity: 2

Eigenvectors: (A−3I)x⃗=0⃗  ⟹  [0000]x⃗=0⃗(A - 3I)\vec{x} = \vec{0} \implies \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\vec{x} = \vec{0}. Every vector in R2\mathbb{R}^2 is an eigenvector.

Basis for eigenspace: {[10],[01]}\left\{ \begin{bmatrix} 1 \\ 0 \end{bmatrix}, \begin{bmatrix} 0 \\ 1 \end{bmatrix} \right\}

  • Geometric multiplicity: 2
  • Defective? No (algebraic = geometric for all eigenvalues)

(b) A=[3103]A = \begin{bmatrix} 3 & 1 \\ 0 & 3 \end{bmatrix}

Characteristic equation: det⁡(A−λI)=(3−λ)2=0\det(A - \lambda I) = (3-\lambda)^2 = 0.

  • Eigenvalue: λ=3\lambda = 3
  • Algebraic multiplicity: 2

Eigenvectors: (A−3I)x⃗=0⃗  ⟹  [0100][x1x2]=[00]  ⟹  x2=0,x1(A - 3I)\vec{x} = \vec{0} \implies \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies x_2 = 0, x_1 free.

Basis for eigenspace: {[10]}\left\{ \begin{bmatrix} 1 \\ 0 \end{bmatrix} \right\}

  • Geometric multiplicity: 1
  • Defective? Yes (algebraic multiplicity 2 > geometric multiplicity 1)

Final Answer

  • (a) λ=3\lambda = 3 (alg. mult. 2, geo. mult. 2), not defective
  • (b) λ=3\lambda = 3 (alg. mult. 2, geo. mult. 1), defective

Q9. Eigenvalues and Eigenspaces

A=[1−111]A = \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix}.
Find the eigenvalues and a basis for the eigenspaces of AA.

Answer of This Question A=[1−111]A = \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix}

Characteristic equation:

det⁡(A−λI)=det⁡[1−λ−111−λ]=(1−λ)2+1=0\det(A - \lambda I) = \det\begin{bmatrix} 1-\lambda & -1 \\ 1 & 1-\lambda \end{bmatrix} = (1-\lambda)^2 + 1 = 0

(1−λ)2=−1  ⟹  1−λ=±i(1-\lambda)^2 = -1 \implies 1-\lambda = \pm i

Eigenvalues:

λ1=1+i,λ2=1−i\lambda_1 = 1 + i, \quad \lambda_2 = 1 - i

Eigenvectors for λ1=1+i\lambda_1 = 1 + i:

(A−(1+i)I)x⃗=[−i−11−i][x1x2]=[00](A - (1+i)I)\vec{x} = \begin{bmatrix} -i & -1 \\ 1 & -i \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}

From the first row: −ix1−x2=0  ⟹  x2=−ix1-ix_1 - x_2 = 0 \implies x_2 = -ix_1.

Let x1=1  ⟹  x2=−ix_1 = 1 \implies x_2 = -i. Basis for the eigenspace: [1−i]\begin{bmatrix} 1 \\ -i \end{bmatrix}.


Eigenvectors for λ2=1−i\lambda_2 = 1 - i:

(A−(1−i)I)x⃗=[i−11i][x1x2]=[00](A - (1-i)I)\vec{x} = \begin{bmatrix} i & -1 \\ 1 & i \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}

From the first row: ix1−x2=0  ⟹  x2=ix1ix_1 - x_2 = 0 \implies x_2 = ix_1.

Let x1=1  ⟹  x2=ix_1 = 1 \implies x_2 = i. Basis for the eigenspace: [1i]\begin{bmatrix} 1 \\ i \end{bmatrix}.

Final Answer

  • λ1=1+i\lambda_1 = 1+i, basis: {[1−i]}\left\{ \begin{bmatrix} 1 \\ -i \end{bmatrix} \right\}
  • λ2=1−i\lambda_2 = 1-i, basis: {[1i]}\left\{ \begin{bmatrix} 1 \\ i \end{bmatrix} \right\}

Q10. Matrix Diagonalization

Let A=[4−32−1]A = \begin{bmatrix} 4 & -3 \\ 2 & -1 \end{bmatrix}.
Diagonalize the matrix and use the diagonalization to compute A6A^6.

Answer of This Question A=[4−32−1]A = \begin{bmatrix} 4 & -3 \\ 2 & -1 \end{bmatrix}

Step 1: Find eigenvalues

det⁡(A−λI)=det⁡[4−λ−32−1−λ]=(4−λ)(−1−λ)+6=λ2−3λ+2=(λ−1)(λ−2)=0\det(A - \lambda I) = \det\begin{bmatrix} 4-\lambda & -3 \\ 2 & -1-\lambda \end{bmatrix} = (4-\lambda)(-1-\lambda) + 6 = \lambda^2 - 3\lambda + 2 = (\lambda-1)(\lambda-2) = 0

Eigenvalues: λ1=1\lambda_1 = 1, λ2=2\lambda_2 = 2.


Step 2: Find eigenvectors

For λ1=1\lambda_1 = 1:

(A−I)x⃗=[3−32−2][x1x2]=[00]  ⟹  x1=x2(A - I)\vec{x} = \begin{bmatrix} 3 & -3 \\ 2 & -2 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies x_1 = x_2

Eigenvector: p⃗1=[11]\vec{p}_1 = \begin{bmatrix} 1 \\ 1 \end{bmatrix}

For λ2=2\lambda_2 = 2:

(A−2I)x⃗=[2−32−3][x1x2]=[00]  ⟹  2x1=3x2  ⟹  x1=32x2(A - 2I)\vec{x} = \begin{bmatrix} 2 & -3 \\ 2 & -3 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies 2x_1 = 3x_2 \implies x_1 = \frac{3}{2}x_2

Eigenvector: p⃗2=[32]\vec{p}_2 = \begin{bmatrix} 3 \\ 2 \end{bmatrix}


Step 3: Diagonalization

P=[1312],D=[1002]P = \begin{bmatrix} 1 & 3 \\ 1 & 2 \end{bmatrix}, \quad D = \begin{bmatrix} 1 & 0 \\ 0 & 2 \end{bmatrix}

Check: A=PDP−1A = PDP^{-1} where P−1=12−3[2−3−11]=[−231−1]P^{-1} = \frac{1}{2-3}\begin{bmatrix} 2 & -3 \\ -1 & 1 \end{bmatrix} = \begin{bmatrix} -2 & 3 \\ 1 & -1 \end{bmatrix}


Step 4: Compute A6A^6

A6=PD6P−1=[1312][10064][−231−1]A^6 = PD^6P^{-1} = \begin{bmatrix} 1 & 3 \\ 1 & 2 \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 0 & 64 \end{bmatrix}\begin{bmatrix} -2 & 3 \\ 1 & -1 \end{bmatrix}=[11921128][−231−1]=[−2+1923−192−2+1283−128]=[190−189126−125]= \begin{bmatrix} 1 & 192 \\ 1 & 128 \end{bmatrix}\begin{bmatrix} -2 & 3 \\ 1 & -1 \end{bmatrix} = \begin{bmatrix} -2+192 & 3-192 \\ -2+128 & 3-128 \end{bmatrix} = \begin{bmatrix} 190 & -189 \\ 126 & -125 \end{bmatrix}

Final Answer

  • A=PDP−1A = PDP^{-1} where P=[1312]P = \begin{bmatrix} 1 & 3 \\ 1 & 2 \end{bmatrix}, D=[1002]D = \begin{bmatrix} 1 & 0 \\ 0 & 2 \end{bmatrix}, P−1=[−231−1]P^{-1} = \begin{bmatrix} -2 & 3 \\ 1 & -1 \end{bmatrix}
  • A6=[190−189126−125]A^6 = \begin{bmatrix} 190 & -189 \\ 126 & -125 \end{bmatrix}

Q11. Diagonalization of Symmetric Matrix

Let A=[20−1030−102]A = \begin{bmatrix} 2 & 0 & -1 \\ 0 & 3 & 0 \\ -1 & 0 & 2 \end{bmatrix}.
Is AA diagonalizable? If so, find the diagonalization of AA.

Answer of This Question A=[20−1030−102]A = \begin{bmatrix} 2 & 0 & -1 \\ 0 & 3 & 0 \\ -1 & 0 & 2 \end{bmatrix}

Since AA is symmetric, it is guaranteed to be diagonalizable.

Step 1: Find eigenvalues

det⁡(A−λI)=det⁡[2−λ0−103−λ0−102−λ]\det(A - \lambda I) = \det\begin{bmatrix} 2-\lambda & 0 & -1 \\ 0 & 3-\lambda & 0 \\ -1 & 0 & 2-\lambda \end{bmatrix}

Expanding along the second row:

(3−λ)⋅det⁡[2−λ−1−12−λ]=(3−λ)((2−λ)2−1)(3-\lambda) \cdot \det\begin{bmatrix} 2-\lambda & -1 \\ -1 & 2-\lambda \end{bmatrix} = (3-\lambda)\left((2-\lambda)^2 - 1\right)

=(3−λ)(λ2−4λ+3)=(3−λ)(λ−1)(λ−3)=−(λ−1)(λ−3)2= (3-\lambda)(\lambda^2 - 4\lambda + 3) = (3-\lambda)(\lambda-1)(\lambda-3) = -(\lambda-1)(\lambda-3)^2

Eigenvalues: λ1=1\lambda_1 = 1, λ2=3\lambda_2 = 3.


Step 2: Find eigenvectors

For λ1=1\lambda_1 = 1:

(A−I)x⃗=[10−1020−101][x1x2x3]=[000](A - I)\vec{x} = \begin{bmatrix} 1 & 0 & -1 \\ 0 & 2 & 0 \\ -1 & 0 & 1 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}

x1−x3=0  ⟹  x1=x3x_1 - x_3 = 0 \implies x_1 = x_3, and 2x2=0  ⟹  x2=02x_2 = 0 \implies x_2 = 0.
Eigenvector: p⃗1=[101]\vec{p}_1 = \begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix}

For λ2=3\lambda_2 = 3:

(A−3I)x⃗=[−10−1000−10−1][x1x2x3]=[000](A - 3I)\vec{x} = \begin{bmatrix} -1 & 0 & -1 \\ 0 & 0 & 0 \\ -1 & 0 & -1 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}

x1+x3=0  ⟹  x3=−x1x_1 + x_3 = 0 \implies x_3 = -x_1, and x2x_2 is free.
Eigenvectors: p⃗2=[010]\vec{p}_2 = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}, p⃗3=[10−1]\vec{p}_3 = \begin{bmatrix} 1 \\ 0 \\ -1 \end{bmatrix}


Step 3: Diagonalization

P=[10101010−1],D=[100030003]P = \begin{bmatrix} 1 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & -1 \end{bmatrix}, \quad D = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 3 \end{bmatrix}

Since AA is symmetric and eigenvectors from distinct eigenspaces are orthogonal, we can normalize:

u⃗1=12[101],  u⃗2=[010],  u⃗3=12[10−1]\vec{u}_1 = \frac{1}{\sqrt{2}}\begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix}, \;\vec{u}_2 = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}, \;\vec{u}_3 = \frac{1}{\sqrt{2}}\begin{bmatrix} 1 \\ 0 \\ -1 \end{bmatrix}Q=[12012010120−12],D=[100030003]Q = \begin{bmatrix} \frac{1}{\sqrt{2}} & 0 & \frac{1}{\sqrt{2}} \\ 0 & 1 & 0 \\ \frac{1}{\sqrt{2}} & 0 & -\frac{1}{\sqrt{2}} \end{bmatrix}, \quad D = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 3 \end{bmatrix}

And A=QDQTA = QDQ^T (orthogonal diagonalization).

Final Answer

  • Yes, AA is diagonalizable (it is symmetric).
  • Eigenvalues: λ=1\lambda = 1 (mult. 1), λ=3\lambda = 3 (mult. 2)
  • A=PDP−1A = PDP^{-1} where P=[10101010−1]P = \begin{bmatrix} 1 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & -1 \end{bmatrix}, D=[100030003]D = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 3 \end{bmatrix}
  • Orthogonal diagonalization: A=QDQTA = QDQ^T where QQ is the orthonormal matrix above.

Related Content