Linear Algebra · ClipSAT

Home
Formulas

Open a chapter to see its formulas here.

⏱ Exam Timer: 00:00
Active Recall Deck 0
Active Recall Question
Click to show flashcard
Back side
FLASHCARDS

Linear Algebra

Level · University · post-calculus foundation Chapters · 4 Feeds into · Multivariable Calculus · Engineering · CS
1

Vectors in Rn \mathbb{R}^n

A vector in Rn \mathbb{R}^n is an ordered list of n n real numbers, written as a column or a tuple. Vectors add componentwise and scale uniformly — the two operations that make Rn \mathbb{R}^n a vector space. Everything in this track (systems of equations, matrices, determinants) is built on the handful of facts in this chapter.

● Definition 1.1 — Vector, addition, scalar multiplication

A vector u=(u1,u2,,un)Rn \mathbf{u}=(u_1,u_2,\dots,u_n)\in\mathbb{R}^n . For u,vRn \mathbf{u},\mathbf{v}\in\mathbb{R}^n and a scalar cR c\in\mathbb{R} :

u+v=(u1+v1,,un+vn),cu=(cu1,,cun). \mathbf{u}+\mathbf{v}=(u_1+v_1,\dots,u_n+v_n), \qquad c\,\mathbf{u}=(cu_1,\dots,cu_n).

● Definition 1.2 — Dot product and norm

The dot product of u,vRn \mathbf{u},\mathbf{v}\in\mathbb{R}^n is the scalar uv=i=1nuivi=u1v1+u2v2++unvn. \mathbf{u}\cdot\mathbf{v}=\sum_{i=1}^n u_iv_i=u_1v_1+u_2v_2+\cdots+u_nv_n. The (Euclidean) norm of u \mathbf{u} is u=uu=u12++un2 \lVert\mathbf{u}\rVert=\sqrt{\mathbf{u}\cdot\mathbf{u}}=\sqrt{u_1^2+\cdots+u_n^2} — its length.

Properties of the dot product

Symmetric
uv=vu \mathbf{u}\cdot\mathbf{v}=\mathbf{v}\cdot\mathbf{u}
Bilinear
u(v+w)=uv+uw \mathbf{u}\cdot(\mathbf{v}+\mathbf{w})=\mathbf{u}\cdot\mathbf{v}+\mathbf{u}\cdot\mathbf{w}
Positive definite
uu0 \mathbf{u}\cdot\mathbf{u}\ge 0 , equal to 0 0 only when u=0 \mathbf{u}=\mathbf{0}
Worked example 1.A — Dot product and norm

For u=(1,2,2) \mathbf{u}=(1,2,2) and v=(3,0,4) \mathbf{v}=(3,0,-4) , find uv \mathbf{u}\cdot\mathbf{v} and u \lVert\mathbf{u}\rVert .

uv=1(3)+2(0)+2(4)=3+08=5.u=12+22+22=9=3. \mathbf{u}\cdot\mathbf{v}=1(3)+2(0)+2(-4)=3+0-8=-5. \qquad \lVert\mathbf{u}\rVert=\sqrt{1^2+2^2+2^2}=\sqrt{9}=3.

The next theorem is the single most useful inequality in linear algebra — it's what guarantees the angle formula cosθ=uvuv \cos\theta=\dfrac{\mathbf{u}\cdot\mathbf{v}}{\lVert\mathbf{u}\rVert\lVert\mathbf{v}\rVert} always makes sense, since it forces the fraction to stay in [1,1] [-1,1] .

▲ Theorem 1.1 — Cauchy–Schwarz Inequality

For all u,vRn \mathbf{u},\mathbf{v}\in\mathbb{R}^n , uvuv. |\mathbf{u}\cdot\mathbf{v}|\le\lVert\mathbf{u}\rVert\,\lVert\mathbf{v}\rVert.

Proof

If v=0 \mathbf{v}=\mathbf{0} both sides are 0 0 and the inequality holds. Otherwise, for any real t t , positive-definiteness gives 0utv2=(utv)(utv)=u22t(uv)+t2v2. 0\le\lVert\mathbf{u}-t\mathbf{v}\rVert^2=(\mathbf{u}-t\mathbf{v})\cdot(\mathbf{u}-t\mathbf{v})=\lVert\mathbf{u}\rVert^2-2t(\mathbf{u}\cdot\mathbf{v})+t^2\lVert\mathbf{v}\rVert^2.

This is a quadratic in t t with positive leading coefficient v2 \lVert\mathbf{v}\rVert^2 that is never negative. An upward-opening parabola f(t)=αt2+βt+γ f(t)=\alpha t^2+\beta t+\gamma (here α=v2>0 \alpha=\lVert\mathbf{v}\rVert^2>0 ) crosses the t t -axis twice exactly when its discriminant β24αγ \beta^2-4\alpha\gamma is positive — dipping below zero between the two crossings — so a parabola that never goes negative can cross at most once, meaning its discriminant cannot be positive: (2uv)24v2u20    (uv)2u2v2. (-2\,\mathbf{u}\cdot\mathbf{v})^2-4\lVert\mathbf{v}\rVert^2\lVert\mathbf{u}\rVert^2\le 0 \;\Longrightarrow\; (\mathbf{u}\cdot\mathbf{v})^2\le\lVert\mathbf{u}\rVert^2\lVert\mathbf{v}\rVert^2.

Taking square roots of both (nonnegative) sides gives uvuv |\mathbf{u}\cdot\mathbf{v}|\le\lVert\mathbf{u}\rVert\lVert\mathbf{v}\rVert .

Worked example 1.B — Checking Cauchy–Schwarz

Verify the inequality for u=(1,2) \mathbf{u}=(1,2) , v=(2,1) \mathbf{v}=(2,1) .

uv=1(2)+2(1)=4,u=v=5. \mathbf{u}\cdot\mathbf{v}=1(2)+2(1)=4, \qquad \lVert\mathbf{u}\rVert=\lVert\mathbf{v}\rVert=\sqrt5.

So 455=5 |4|\le\sqrt5\cdot\sqrt5=5 — the inequality holds, as guaranteed. Since u \mathbf{u} and v \mathbf{v} aren't parallel, the inequality is strict (4<5 4<5 , not 4=5 4=5 ).

📝 Chapter Quiz
2

Systems of Linear Equations

A system of linear equations is just several linear conditions on the same unknowns, considered together. Gaussian elimination — repeatedly combining equations to eliminate variables — reduces any system to one that can be solved by back-substitution. The theorem in this chapter is what makes that legal: elimination never changes which points satisfy the system.

● Definition 2.1 — Linear system, augmented matrix

A system of m m linear equations in n n unknowns x1,,xn x_1,\dots,x_n has the form ai1x1+ai2x2++ainxn=bi,i=1,,m. a_{i1}x_1+a_{i2}x_2+\cdots+a_{in}x_n=b_i, \qquad i=1,\dots,m. Its augmented matrix [Ab] [A\,|\,\mathbf{b}] records only the coefficients aij a_{ij} and the right-hand side bi b_i , one row per equation — the variable names carry no extra information once they're lined up in columns.

● Definition 2.2 — Elementary row operations

Three operations transform an augmented matrix without (as Theorem 2.1 shows) changing its solution set: (1) swap two rows; (2) multiply a row by a nonzero scalar; (3) add a scalar multiple of one row to another. Repeating these until the matrix is in row-echelon form — each row's leading (leftmost nonzero) entry strictly right of the row above it — turns back-substitution into the only step left.

Worked example 2.A — Two equations, two unknowns

Solve x+y=5,  xy=1 x+y=5,\; x-y=1 .

Add the equations to eliminate y y : 2x=6x=3 2x=6\Rightarrow x=3 . Substitute back: 3+y=5y=2 3+y=5\Rightarrow y=2 . Solution: (x,y)=(3,2) (x,y)=(3,2) .

Worked example 2.B — Three equations, three unknowns

Solve x+y+z=6,  y+z=4,  z=1 x+y+z=6,\; y+z=4,\; z=1 (already in row-echelon form).

Back-substitute from the bottom: z=1 z=1 ; then y+1=4y=3 y+1=4\Rightarrow y=3 ; then x+3+1=6x=2 x+3+1=6\Rightarrow x=2 . Solution: (x,y,z)=(2,3,1) (x,y,z)=(2,3,1) .

How many solutions can a linear system have?

Consistent, independent
Exactly one solution (e.g. two non-parallel lines meeting at a point)
Consistent, dependent
Infinitely many solutions (e.g. one equation is a multiple of another)
Inconsistent
No solution (e.g. parallel lines that never meet)
▲ Theorem 2.1 — Row operations preserve the solution set

Applying an elementary row operation to the augmented matrix of a linear system produces a new system with exactly the same solution set.

Proof

Let S S be the solution set of the original system. It suffices to check each operation separately, since a sequence of them is just repeated application.

Swap two rows. Swapping equations i i and j j doesn't change which equations must hold simultaneously — it's the same list of conditions in a different order. So the solution set is unchanged.

Scale a row by c0 c\neq0 . Replacing equation Ei:  ai1x1+=bi E_i:\;a_{i1}x_1+\cdots=b_i by cEi cE_i keeps the same solutions: any x \mathbf{x} satisfying Ei E_i satisfies cEi cE_i (multiply both sides by c c ), and any x \mathbf{x} satisfying cEi cE_i satisfies Ei E_i (multiply both sides by 1/c 1/c , valid since c0 c\neq0 ). Every other equation is untouched, so the full solution set is unchanged.

Add a multiple of row j j to row i i . Replace Ei E_i by Ei+cEj E_i+cE_j (row j j itself is kept as-is). If xS \mathbf{x}\in S , it satisfies both Ei E_i and Ej E_j , hence satisfies Ei+cEj E_i+cE_j — so x \mathbf{x} still satisfies the new system. Conversely, if x \mathbf{x} satisfies the new system, it satisfies Ej E_j (unchanged) and Ei+cEj E_i+cE_j ; subtracting cEj cE_j from the latter recovers Ei E_i , so x \mathbf{x} satisfies the original system too. Every other equation is untouched, so the solution set is exactly S S again.

Since each operation individually preserves the solution set, so does any sequence of them — including the sequence that produces row-echelon form.

⚠ Why the restriction c0 c\neq0 matters

Scaling a row by c=0 c=0 is not a legal row operation — it destroys information (the row becomes 0=0 0=0 , true for every x \mathbf{x} , not just the original solutions) rather than preserving it. This is exactly why Definition 2.2 requires the scalar to be nonzero.

📝 Chapter Quiz
3

Matrices & Matrix Algebra

A matrix packages a whole system of linear equations — or a whole linear transformation of space — into a single object that can be added, scaled, and multiplied. Matrix multiplication looks unfamiliar at first (it is not commutative), but it's built from exactly one idea: applying one linear transformation, then another.

● Definition 3.1 — Matrix, addition, scalar multiplication

An m×n m\times n matrix A=(aij) A=(a_{ij}) is a rectangular array with m m rows and n n columns. Two matrices of the same size add entrywise, (A+B)ij=aij+bij (A+B)_{ij}=a_{ij}+b_{ij} , and scale entrywise, (cA)ij=caij (cA)_{ij}=ca_{ij} — exactly like vectors, since an m×n m\times n matrix is really just an mn mn -vector arranged in a grid.

● Definition 3.2 — Matrix multiplication

For an m×n m\times n matrix A A and an n×p n\times p matrix B B , the product AB AB is the m×p m\times p matrix whose (i,k) (i,k) entry is the dot product of A A 's row i i with B B 's column k k : (AB)ik=j=1naijbjk. (AB)_{ik}=\sum_{j=1}^n a_{ij}b_{jk}. The inner dimensions must match (A A 's column count = = B B 's row count), and in general ABBA AB\neq BA even when both products are defined.

Worked example 3.A — Multiplying two matrices

For A=(1201) A=\begin{pmatrix}1&2\\0&1\end{pmatrix} and B=(3012) B=\begin{pmatrix}3&0\\1&2\end{pmatrix} , find AB AB .

Row 1 of A A with each column of B B : (1)(3)+(2)(1)=5 (1)(3)+(2)(1)=5 , (1)(0)+(2)(2)=4 (1)(0)+(2)(2)=4 . Row 2: (0)(3)+(1)(1)=1 (0)(3)+(1)(1)=1 , (0)(0)+(1)(2)=2 (0)(0)+(1)(2)=2 .

AB=(5412). AB=\begin{pmatrix}5&4\\1&2\end{pmatrix}.

⚠ Matrix multiplication is not commutative

For A=(1101) A=\begin{pmatrix}1&1\\0&1\end{pmatrix} , B=(1011) B=\begin{pmatrix}1&0\\1&1\end{pmatrix} : AB=(2111) AB=\begin{pmatrix}2&1\\1&1\end{pmatrix} but BA=(1112) BA=\begin{pmatrix}1&1\\1&2\end{pmatrix} — different matrices. Order matters, always check it.

● Definition 3.3 — Identity matrix and inverse

The n×n n\times n identity matrix I I has 1 1 's on the diagonal and 0 0 's elsewhere, and satisfies AI=IA=A AI=IA=A for every n×n n\times n matrix A A . A square matrix A A is invertible if there exists a matrix A1 A^{-1} with AA1=A1A=I AA^{-1}=A^{-1}A=I . Such an inverse, when it exists, is unique: if B B and C C both satisfy this property for A A , then B=BI=B(AC)=(BA)C=IC=C. B=BI=B(AC)=(BA)C=IC=C.

▲ Theorem 3.1 — Invertibility of 2×2 2\times2 matrices

For A=(abcd) A=\begin{pmatrix}a&b\\c&d\end{pmatrix} , if adbc0 ad-bc\neq0 then A A is invertible, with A1=1adbc(dbca). A^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}.

Proof

Let Δ=adbc0 \Delta=ad-bc\neq0 and B=1Δ(dbca) B=\dfrac1\Delta\begin{pmatrix}d&-b\\-c&a\end{pmatrix} . Multiply directly:

AB=1Δ(abcd)(dbca)=1Δ(adbcab+bacddccb+da)=1Δ(Δ00Δ)=I. AB=\frac1\Delta\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}d&-b\\-c&a\end{pmatrix} =\frac1\Delta\begin{pmatrix}ad-bc&-ab+ba\\cd-dc&-cb+da\end{pmatrix} =\frac1\Delta\begin{pmatrix}\Delta&0\\0&\Delta\end{pmatrix}=I.

The other order needs its own check — matrix multiplication doesn't commute, so AB=I AB=I alone doesn't yet give BA=I BA=I for free. Multiplying with the factors reversed: BA=1Δ(dbca)(abcd)=1Δ(dabcdbbdca+accb+ad)=1Δ(Δ00Δ)=I. BA=\frac1\Delta\begin{pmatrix}d&-b\\-c&a\end{pmatrix}\begin{pmatrix}a&b\\c&d\end{pmatrix} =\frac1\Delta\begin{pmatrix}da-bc&db-bd\\-ca+ac&-cb+ad\end{pmatrix} =\frac1\Delta\begin{pmatrix}\Delta&0\\0&\Delta\end{pmatrix}=I.

Since AB=BA=I AB=BA=I , B B is exactly the inverse required by Definition 3.3, so A1=B A^{-1}=B .

Worked example 3.B — Inverting a 2×2 2\times2 matrix

Find A1 A^{-1} for A=(3121) A=\begin{pmatrix}3&1\\2&1\end{pmatrix} .

Δ=(3)(1)(1)(2)=10 \Delta=(3)(1)-(1)(2)=1\neq0 , so A A is invertible: A1=11(1123)=(1123). A^{-1}=\frac11\begin{pmatrix}1&-1\\-2&3\end{pmatrix}=\begin{pmatrix}1&-1\\-2&3\end{pmatrix}. Check: AA1=(3(1)+1(2)3(1)+1(3)2(1)+1(2)2(1)+1(3))=(1001). AA^{-1}=\begin{pmatrix}3(1)+1(-2)&3(-1)+1(3)\\2(1)+1(-2)&2(-1)+1(3)\end{pmatrix}=\begin{pmatrix}1&0\\0&1\end{pmatrix}.

▲ Theorem 3.2 — Inverse of a product

If A A and B B are invertible matrices of the same size, then AB AB is invertible and (AB)1=B1A1. (AB)^{-1}=B^{-1}A^{-1}. (Note the order reverses — the same way "put on socks, then shoes" undoes as "remove shoes, then socks.")

Proof

It suffices to show B1A1 B^{-1}A^{-1} satisfies the defining property of (AB)1 (AB)^{-1} — that it multiplies with AB AB , on both sides, to give I I — since Definition 3.3 already guarantees an inverse is unique when one exists.

Using associativity of matrix multiplication: (AB)(B1A1)=A(BB1)A1=AIA1=AA1=I, (AB)(B^{-1}A^{-1})=A\big(BB^{-1}\big)A^{-1}=A\,I\,A^{-1}=AA^{-1}=I, (B1A1)(AB)=B1(A1A)B=B1IB=B1B=I. (B^{-1}A^{-1})(AB)=B^{-1}\big(A^{-1}A\big)B=B^{-1}\,I\,B=B^{-1}B=I.

So B1A1 B^{-1}A^{-1} is a two-sided inverse of AB AB ; by uniqueness of inverses, (AB)1=B1A1 (AB)^{-1}=B^{-1}A^{-1} .

📝 Chapter Quiz
4

Determinants

The determinant packs everything about whether a square matrix is invertible into a single number. It already appeared, unnamed, in the last chapter's inversion formula — this chapter names it, extends it to 3×3 3\times3 , and proves the identity that makes it genuinely useful: determinants multiply.

● Definition 4.1 — Determinant of a 2×2 2\times2 matrix

For A=(abcd) A=\begin{pmatrix}a&b\\c&d\end{pmatrix} , det(A)=adbc. \det(A)=ad-bc. This is exactly the quantity Δ \Delta from Theorem 3.1 — a 2×2 2\times2 matrix is invertible precisely when its determinant is nonzero.

● Definition 4.2 — Determinant of a 3×3 3\times3 matrix (cofactor expansion)

Expanding along the first row, for A=(a11a12a13a21a22a23a31a32a33) A=\begin{pmatrix}a_{11}&a_{12}&a_{13}\\a_{21}&a_{22}&a_{23}\\a_{31}&a_{32}&a_{33}\end{pmatrix} : det(A)=a11a22a23a32a33a12a21a23a31a33+a13a21a22a31a32, \det(A)=a_{11}\begin{vmatrix}a_{22}&a_{23}\\a_{32}&a_{33}\end{vmatrix}-a_{12}\begin{vmatrix}a_{21}&a_{23}\\a_{31}&a_{33}\end{vmatrix}+a_{13}\begin{vmatrix}a_{21}&a_{22}\\a_{31}&a_{32}\end{vmatrix}, where each 2×2 2\times2 determinant (the "minor") is the determinant of the matrix left after deleting a1j a_{1j} 's row and column, and the signs alternate +,,+ +,-,+ .

Worked example 4.A — A 3×3 3\times3 determinant

Find det(A) \det(A) for A=(102031411) A=\begin{pmatrix}1&0&2\\0&3&1\\4&1&1\end{pmatrix} .

det(A)=1311100141+20341 \det(A)=1\begin{vmatrix}3&1\\1&1\end{vmatrix}-0\begin{vmatrix}0&1\\4&1\end{vmatrix}+2\begin{vmatrix}0&3\\4&1\end{vmatrix} =1(31)0(04)+2(012)=2024=22. =1(3-1)-0(0-4)+2(0-12)=2-0-24=-22.

▲ Theorem 4.1 — Determinants multiply

For 2×2 2\times2 matrices A A and B B , det(AB)=det(A)det(B). \det(AB)=\det(A)\det(B). (This holds for n×n n\times n matrices of any size — the proof below is the 2×2 2\times2 case, where it's a direct algebraic check.)

Proof (2×2 2\times2 case)

Let A=(abcd) A=\begin{pmatrix}a&b\\c&d\end{pmatrix} , B=(efgh) B=\begin{pmatrix}e&f\\g&h\end{pmatrix} . By Definition 3.2, AB=(ae+bgaf+bhce+dgcf+dh) AB=\begin{pmatrix}ae+bg&af+bh\\ce+dg&cf+dh\end{pmatrix} , so

det(AB)=(ae+bg)(cf+dh)(af+bh)(ce+dg). \det(AB)=(ae+bg)(cf+dh)-(af+bh)(ce+dg).

Expanding both products: =acef+adeh+bcfg+bdgh(acef+adfg+bceh+bdgh)=adeh+bcfgadfgbceh. =acef+adeh+bcfg+bdgh-\big(acef+adfg+bceh+bdgh\big) =adeh+bcfg-adfg-bceh.

Grouping the four surviving terms by (ehfg) (eh-fg) : =ad(ehfg)bc(ehfg)=(adbc)(ehfg)=det(A)det(B). =ad(eh-fg)-bc(eh-fg)=(ad-bc)(eh-fg)=\det(A)\det(B).

Worked example 4.B — Checking the product rule

For A=(1234) A=\begin{pmatrix}1&2\\3&4\end{pmatrix} and B=(2012) B=\begin{pmatrix}2&0\\1&2\end{pmatrix} , verify det(AB)=det(A)det(B) \det(AB)=\det(A)\det(B) .

det(A)=1(4)2(3)=2 \det(A)=1(4)-2(3)=-2 , det(B)=2(2)0(1)=4 \det(B)=2(2)-0(1)=4 , so det(A)det(B)=8 \det(A)\det(B)=-8 .

Directly: AB=(1(2)+2(1)1(0)+2(2)3(2)+4(1)3(0)+4(2))=(44108) AB=\begin{pmatrix}1(2)+2(1)&1(0)+2(2)\\3(2)+4(1)&3(0)+4(2)\end{pmatrix}=\begin{pmatrix}4&4\\10&8\end{pmatrix} , so det(AB)=4(8)4(10)=3240=8 \det(AB)=4(8)-4(10)=32-40=-8 . ✓

▲ Theorem 4.2 — Invertibility criterion

A 2×2 2\times2 matrix A A is invertible if and only if det(A)0 \det(A)\neq0 .

Proof

( \Leftarrow ) If det(A)0 \det(A)\neq0 , Theorem 3.1 already exhibits an explicit inverse, so A A is invertible.

( \Rightarrow ) Suppose instead det(A)=adbc=0 \det(A)=ad-bc=0 ; we show A A cannot be invertible, by producing a nonzero x \mathbf{x} with Ax=0 A\mathbf{x}=\mathbf{0} . There are three cases, covering every possibility for which rows of A A are zero.

Both rows zero. If every entry of A A is 0 0 , then Ax=0 A\mathbf{x}=\mathbf{0} for every x \mathbf{x} , including x=(1,0)0 \mathbf{x}=(1,0)\neq\mathbf{0} .

Row 1=(a,b)(0,0) 1=(a,b)\neq(0,0) . Then ad=bc ad=bc forces row 2=(c,d) 2=(c,d) to be a scalar multiple of row 1 1 (take the multiple k=c/a k=c/a if a0 a\neq0 , or k=d/b k=d/b if b0 b\neq0 ; one of these is always well-defined since row 1(0,0) 1\neq(0,0) , and ad=bc ad=bc is exactly what makes it work for the other coordinate too). Then x=(b,a) \mathbf{x}=(-b,a) — nonzero, since row 1(0,0) 1\neq(0,0) — satisfies Ax=0 A\mathbf{x}=\mathbf{0} : row 1x=ab+ba=0 1\cdot\mathbf{x}=-ab+ba=0 , and row 2x=cb+da=dacb=adbc=0 2\cdot\mathbf{x}=-cb+da=da-cb=ad-bc=0 by hypothesis.

Row 1=(0,0) 1=(0,0) but row 2=(c,d)(0,0) 2=(c,d)\neq(0,0) . This is the case the previous paragraph's labeling skips over, and it needs its own construction: take x=(d,c) \mathbf{x}=(-d,c) — nonzero, since row 2(0,0) 2\neq(0,0) . Row 1x=0 1\cdot\mathbf{x}=0 automatically, since row 1 1 is entirely zero. Row 2x=c(d)+d(c)=cd+dc=0 2\cdot\mathbf{x}=c(-d)+d(c)=-cd+dc=0 always, regardless of det(A) \det(A) — this case needs no help from adbc=0 ad-bc=0 at all, since a single zero row already forces A A to be singular.

Every case produces a nonzero x \mathbf{x} with Ax=0 A\mathbf{x}=\mathbf{0} . If A A were invertible, multiplying both sides by A1 A^{-1} would give x=A1(Ax)=A10=0 \mathbf{x}=A^{-1}(A\mathbf{x})=A^{-1}\mathbf{0}=\mathbf{0} , contradicting x0 \mathbf{x}\neq\mathbf{0} . So A A is not invertible.

Where this goes next

Everything in this track — vectors, elimination, matrices, determinants — is the launchpad for eigenvalues and eigenvectors, vector spaces, and the linear transformations that make multivariable calculus, computer graphics, and machine learning work the way they do. Those chapters, and this track's practice bank, are still being built out — check the changelog for what's landed since you last visited.

📝 Chapter Quiz
§

Practice set

Sixteen free-response problems spanning all four chapters — four per chapter, Basic to Advanced. Try each one, then reveal the worked solution.

L1

Find u+v \mathbf{u}+\mathbf{v} for u=(2,1) \mathbf{u}=(2,-1) , v=(3,4) \mathbf{v}=(3,4) .

Basic

Add componentwise: (2+3,1+4)=(5,3) (2+3,\,-1+4)=(5,3) .

L2

Find u \lVert\mathbf{u}\rVert for u=(6,8) \mathbf{u}=(6,8) .

Basic
u=62+82=100=10. \lVert\mathbf{u}\rVert=\sqrt{6^2+8^2}=\sqrt{100}=10.
L3

Find uv \mathbf{u}\cdot\mathbf{v} for u=(1,2,3) \mathbf{u}=(1,-2,3) , v=(4,0,1) \mathbf{v}=(4,0,-1) .

Basic
uv=1(4)+(2)(0)+3(1)=4+03=1. \mathbf{u}\cdot\mathbf{v}=1(4)+(-2)(0)+3(-1)=4+0-3=1.
L4

Verify the Cauchy–Schwarz inequality for u=(1,0,1) \mathbf{u}=(1,0,1) , v=(0,1,1) \mathbf{v}=(0,1,1) .

Advanced

uv=0+0+1=1 \mathbf{u}\cdot\mathbf{v}=0+0+1=1 . u=v=2 \lVert\mathbf{u}\rVert=\lVert\mathbf{v}\rVert=\sqrt2 , so uv=2 \lVert\mathbf{u}\rVert\lVert\mathbf{v}\rVert=2 .

12.   |1|\le2. \;\checkmark
L5

Solve x+y=10 x+y=10 , xy=2 x-y=2 .

Basic

Add the equations: 2x=12x=6 2x=12\Rightarrow x=6 . Then y=106=4 y=10-6=4 .

(x,y)=(6,4). (x,y)=(6,4).
L6

How many solutions does 2x+y=4 2x+y=4 , 4x+2y=8 4x+2y=8 have?

Basic

The second equation is exactly 2× 2\times the first — the same line. Infinitely many solutions.

L7

Solve 2x+y=7 2x+y=7 , xy=1 x-y=-1 .

Intermediate

From the second equation, x=y1 x=y-1 . Substitute: 2(y1)+y=73y=9y=3 2(y-1)+y=7\Rightarrow 3y=9\Rightarrow y=3 , so x=2 x=2 .

(x,y)=(2,3). (x,y)=(2,3).
L8

For which value of k k is x+3y=2 x+3y=2 , 2x+6y=k 2x+6y=k consistent?

Advanced

Row 2's coefficients are exactly 2× 2\times row 1's, so the right-hand sides must match the same scaling: k=2(2)=4 k=2(2)=4 .

L9

Compute A+B A+B for A=(2103) A=\begin{pmatrix}2&-1\\0&3\end{pmatrix} , B=(1425) B=\begin{pmatrix}1&4\\-2&5\end{pmatrix} .

Basic
A+B=(3328). A+B=\begin{pmatrix}3&3\\-2&8\end{pmatrix}.
L10

Is A=(4221) A=\begin{pmatrix}4&2\\2&1\end{pmatrix} invertible?

Basic

det(A)=4(1)2(2)=44=0 \det(A)=4(1)-2(2)=4-4=0 . Since the determinant is 0 0 , A A is not invertible.

L11

Compute AB AB for A=(2013) A=\begin{pmatrix}2&0\\1&3\end{pmatrix} , B=(1102) B=\begin{pmatrix}1&1\\0&2\end{pmatrix} .

Intermediate
AB=(2(1)+0(0)2(1)+0(2)1(1)+3(0)1(1)+3(2))=(2217). AB=\begin{pmatrix}2(1)+0(0)&2(1)+0(2)\\1(1)+3(0)&1(1)+3(2)\end{pmatrix}=\begin{pmatrix}2&2\\1&7\end{pmatrix}.
L12

Find A1 A^{-1} for A=(2312) A=\begin{pmatrix}2&3\\1&2\end{pmatrix} .

Advanced

det(A)=2(2)3(1)=1 \det(A)=2(2)-3(1)=1 , so A1=(2312). A^{-1}=\begin{pmatrix}2&-3\\-1&2\end{pmatrix}. Check: AA1=(436+6223+4)=(1001). AA^{-1}=\begin{pmatrix}4-3&-6+6\\2-2&-3+4\end{pmatrix}=\begin{pmatrix}1&0\\0&1\end{pmatrix}.

L13

Compute det(3254) \det\begin{pmatrix}3&2\\5&4\end{pmatrix} .

Basic
3(4)2(5)=1210=2. 3(4)-2(5)=12-10=2.
L14

Compute det(2323) \det\begin{pmatrix}2&3\\2&3\end{pmatrix} , and explain why the result makes sense.

Basic

det=2(3)3(2)=0 \det=2(3)-3(2)=0 . The two rows are identical, so this matrix sends some nonzero vector to 0 \mathbf{0} — exactly the singular case from Theorem 4.2.

L15

Compute det(120311021) \det\begin{pmatrix}1&2&0\\3&1&1\\0&2&1\end{pmatrix} .

Intermediate

Expand along row 1: 1112123101+0=1(12)2(30)+0=16=7. 1\begin{vmatrix}1&1\\2&1\end{vmatrix}-2\begin{vmatrix}3&1\\0&1\end{vmatrix}+0=1(1-2)-2(3-0)+0=-1-6=-7.

L16

Given det(A)=5 \det(A)=5 and det(B)=3 \det(B)=-3 , find det(AB) \det(AB) .

Advanced

By Theorem 4.1, det(AB)=det(A)det(B)=5(3)=15 \det(AB)=\det(A)\det(B)=5(-3)=-15 .

Test generator

Build a randomised test from this subject’s question bank. Pick the number of questions and a difficulty, generate, then reveal the worked answers when you’re ready — or print a clean copy to hand out.

Downloads

Take Linear Algebra offline. The PDF packet prints straight from your browser; native Word versions with editable equation-editor math are available on request.

PDF · ready now

Linear Algebra notes & practice

All four chapters plus every worked solution and proof, formatted as a clean print document.

DOCX · on request

Native Word packet

Editable .docx with real Word equations (OMML) — ready for a worksheet or quiz.

Worksheet Library

Practice worksheets are being added chapter by chapter — check back as this track grows.

Loading worksheet library…

Mock Exam

--:--