Part IV — Miscellaneous · Chapter 16
Determinants
Chapter 2 solved linear systems by elimination and found three possible outcomes. A single number decides which one you are in — and the same number is the area of a parallelogram. This last chapter ties the algebra of Part I to the geometry of Part III.
Two arrows start at the origin and end at $(3,1)$ and $(1,2)$. Together they span a slanted parallelogram. What is its area?
- $5$
- $6$
- $7$
- It cannot be found without trigonometry
No angle is given, and none is needed. One multiplication and one subtraction will do it.
You should be comfortable with solving a system by elimination (Chapter 2). The determinant is the number that elimination keeps producing, and Cramer's rule at the end is that observation made systematic.
Three quick ones from earlier chapters, to wake up what this chapter stands on. They are not scored. If one doesn't come to you, its solution says where to look.
For which $k$ does the system $\;x + 2y = 1,\;\; 3x + ky = 2\;$ fail to have exactly one solution?
Answer: $k = 6$
$a_1b_2 - a_2b_1 = k - 6$, which vanishes at $k = 6$ — §2.2. That number is about to be given its name.
Solve $\;2x + y = 5,\;\; x - y = 1\;$ and give $x$.
Answer: $x = 2$
Adding gives $3x = 6$, so $x = 2$ and $y = 1$ — §2.2. Cramer's rule, at the end of this chapter, reaches the same answer by a formula.
Compute $(3,1) + (1,2)$.
Answer: $(4,3)$
$(4, 3)$: the fourth corner of the parallelogram on $O$, $(3,1)$, $(1,2)$ — §9.2. This is the parallelogram of the puzzle above.
16.1 Matrices
A matrix is a rectangular array of numbers. Its purpose here is bookkeeping: the system
is completely determined by the six numbers $a,b,c,d,e,f$ and the positions they occupy. The names $x$ and $y$ carry no information. So write the coefficient matrix
one row per equation, one column per unknown. A matrix with $m$ rows and $n$ columns is said to be $m\times n$; this one is $2\times2$, and a matrix with equally many rows and columns is square.
Separating the coefficients from the unknowns is what lets us ask questions about the system rather than about its solutions: is it solvable, and uniquely? Those turn out to depend on $A$ alone. It is the same move as writing $ax^2+bx+c$ and asking about the discriminant before solving anything.
16.2 Determinants of order 2
$$\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc.$$
Where does that combination come from? Solve the system by elimination, as in Chapter 2. Multiply the first equation by $d$, the second by $b$, and subtract:
The coefficient of $x$ that comes out is $ad - bc$, and everything depends on whether it is zero. So the determinant is not an arbitrary definition; it is the number elimination produces.
Compute $\begin{vmatrix} 5 & 2 \\ 3 & 4 \end{vmatrix}$.
Answer: $14$
$5 \cdot 4 - 2 \cdot 3 = 20 - 6 = 14$.
- $\det A \neq 0$: the system has exactly one solution, whatever $e$ and $f$ are.
- $\det A = 0$: the system has either no solution or infinitely many — the two lines are parallel, or identical.
Geometrically, take the rows of $A$ as two points of the plane, $(a,b)$ and $(c,d)$, and look at the parallelogram they span with the origin.
Take the rows $(2,0)$ and $(0,3)$. What shape do they span with the origin, and what is its area? Now compute $ad - bc$ for those rows.Compute both, then open
They span a rectangle $2$ wide and $3$ tall, of area $6$ — and $ad - bc = 2 \cdot 3 - 0 \cdot 0 = 6$. In this easy case the determinant is plainly the area. The claim below is that it still is when the parallelogram is slanted.
$|\det A|$ is the area of that parallelogram, and the sign records orientation: positive when the second vector lies counterclockwise from the first, negative when clockwise. $\det A = 0$ means the parallelogram has collapsed — the two vectors are on one line.
What is the area of the parallelogram spanned by $(4,0)$ and $(1,3)$?
Answer: $12$
$|4 \cdot 3 - 0 \cdot 1| = 12$. Geometrically: base $4$ along the $x$-axis, height $3$. Sliding the top edge sideways — changing the $1$ to anything else — does not change the area, exactly as with the triangle in Chapter 7.
It is worth pausing on the coincidence, which is not one. The system fails to have a unique solution exactly when its two lines are parallel; the rows of $A$ are proportional exactly when they lie on one line through the origin; and the parallelogram collapses exactly then too. All three are the statement $ad = bc$, seen from three directions.
$\begin{vmatrix} 3 & 1 \\ 2 & 4 \end{vmatrix} = {}$ $- {}$ $= {}$ .
Answer: $12 - 2 = 10$
$3 \cdot 4 = 12$ and $1 \cdot 2 = 2$.
16.3 Determinants of order 3
For a $3\times3$ matrix, expand along the first row. Each entry is multiplied by the determinant of the $2\times2$ matrix left when you delete its row and column — and the signs alternate:
Plus, minus, plus. The alternating signs follow the checkerboard pattern $$\begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix},$$ and forgetting the middle minus is the single most common error in the whole chapter.
Example 1. A $3\times3$ determinant
Compute $\begin{vmatrix} 2 & -1 & 3 \\ 0 & 4 & 5 \\ 1 & 0 & 2\end{vmatrix}$.
- First term: $2 \cdot \begin{vmatrix} 4 & 5 \\ 0 & 2\end{vmatrix} = 2(8 - 0) = 16$.
- Second term, with a minus: $-(-1)\cdot\begin{vmatrix}0 & 5\\ 1 & 2\end{vmatrix} = +1\cdot(0-5) = -5$. Two minus signs here: one from the pattern, one from the entry itself.
- Third term: $+3\cdot\begin{vmatrix}0 & 4\\ 1 & 0\end{vmatrix} = 3(0-4) = -12$.
- Total: $16 - 5 - 12 = -1$. $\blacksquare$
You may expand along any row or column, with the same checkerboard signs, and the answer is the same. Choosing the row or column with the most zeros is free work avoided — here, expanding along the bottom row would have killed one term immediately.
Wrong turn. Losing the middle minus
The same determinant as Example 1, with the alternating signs forgotten.
- The tempting move. Multiply each top-row entry by its $2\times2$ and add the three results: $2(8-0) + (-1)(0-5) + 3(0-4) = 16 + 5 - 12 = 9$. The middle term came out $+5$ here, because the entry's own minus was the only minus applied.
- The check. Expansion along any row must give the same number, so expand along the bottom row $(1, 0, 2)$, whose signs are $+\,-\,+$: $$1\begin{vmatrix} -1 & 3 \\ 4 & 5\end{vmatrix} - 0\begin{vmatrix} 2 & 3 \\ 0 & 5\end{vmatrix} + 2\begin{vmatrix} 2 & -1 \\ 0 & 4\end{vmatrix} = 1(-5-12) + 2(8-0) = -17 + 16 = -1.$$
- The two routes disagree — $9$ against $-1$ — and a matrix has only one determinant. One of the computations is wrong, and the check tells us so without our having to trust either.
- Finding it. Compare term by term. The first and third agree; the middle one does not. The pattern's minus was dropped, so a term that should have contributed $-5$ contributed $+5$ instead — leaving the total too big by $10$, twice that term. And indeed $9 - 10 = -1$.
- The repair. Plus, minus, plus: $16 - 5 - 12 = -1$, agreeing with the bottom row. $\blacksquare$
The gap between a wrong answer and the right one is always twice the mishandled term, which is why this error never produces a near miss. Expanding a second time along a row with a zero in it is cheap, and it catches the mistake every time.
Compute $\begin{vmatrix} 1 & 0 & 2 \\ 0 & 3 & 0 \\ 4 & 0 & 5 \end{vmatrix}$.
Answer: $-9$
Expand along the middle row, where only the $3$ survives. Its position has sign $+$ in the checkerboard, so the determinant is $3 \cdot \begin{vmatrix} 1 & 2 \\ 4 & 5 \end{vmatrix} = 3(5 - 8) = -9$. The first row gives the same: $1(15 - 0) - 0 + 2(0 - 12) = -9$ ✓.
The interpretation carries over: a $3\times3$ determinant is the signed volume of the parallelepiped spanned by its three rows, and it vanishes exactly when those three vectors lie in a common plane.
The rows $(2,0,0)$, $(0,3,0)$ and $(0,0,1)$ span a box $2$ by $3$ by $1$, whose volume and determinant are both $6$. Change the last row to $(1,1,1)$, which slides the top face sideways. Does the volume change? Does the determinant?Decide, then open
Neither changes. The slid box keeps its base, $2 \times 3 = 6$, and its height, $1$, so its volume is still $6$. The expansion along the first row agrees: $2(3 \cdot 1 - 0 \cdot 1) - 0 + 0 = 6$, because the two new entries of the last row only ever meet zeros. Try other slants in the figure below.
Build a slanted solid, not a rectangular box, whose volume is exactly $12$.
Answer: for example rows $(2,0,0)$, $(0,3,0)$, $(1,1,2)$
Start from the upright box with rows $(2,0,0)$, $(0,3,0)$, $(0,0,2)$: base $2 \times 3 = 6$, height $2$, volume $12$. Changing the first two entries of row 3 slides the top face sideways without changing the base or the height, so the solid slants and its volume stays $12$. The expansion says the same: $$\begin{vmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 1 & 1 & 2 \end{vmatrix} = 2(3 \cdot 2 - 0 \cdot 1) - 0 + 0 = 12.$$ A determinant of $-12$ is also volume $12$: swapping two of the rows keeps the solid and flips only the sign.
16.4 Properties of determinants
Computing by expansion gets expensive fast — a $4\times4$ costs four $3\times3$'s. The following properties, each easy to check in the $2\times2$ case, let you simplify first.
- Swapping two rows flips the sign. (Orientation reverses.)
- Multiplying one row by $c$ multiplies the determinant by $c$. (The parallelogram is stretched in one direction.)
- Adding a multiple of one row to another leaves the determinant unchanged. (The parallelogram shears: same base, same height, same area.)
- Two equal rows give determinant $0$. (The figure is flat.)
- $\det(A^{t}) = \det A$, where $A^t$ is $A$ with rows and columns exchanged — so every rule above holds for columns too.
- $\det(AB) = \det A \cdot \det B$ for the matrix product.
Rule 3 is the important one in practice, and it is exactly the elimination move of Chapter 2: you may add a multiple of one equation to another without changing the system. Now we can say why that is safe at the level of the whole matrix — it does not disturb the determinant, so it cannot turn a uniquely solvable system into any other kind.
Example 2. Simplifying before expanding
Compute $\begin{vmatrix} 1 & 2 & 3 \\ 2 & 5 & 8 \\ 1 & 3 & 6\end{vmatrix}$.
- Subtract twice row 1 from row 2, and row 1 from row 3. By rule 3 the determinant is unchanged: $$\begin{vmatrix} 1 & 2 & 3 \\ 0 & 1 & 2 \\ 0 & 1 & 3\end{vmatrix}.$$
- Now expand along the first column: only the top entry survives. $$= 1\cdot\begin{vmatrix}1 & 2\\ 1 & 3\end{vmatrix}.$$
- $= 1\cdot(3 - 2) = 1$. $\blacksquare$
Two subtractions replaced three $2\times2$ determinants with one. This is how determinants are computed in practice, and for larger matrices it is the difference between feasible and impossible.
Your turn, with help. Simplify, then expand
Compute $\begin{vmatrix} 2 & 4 & 6 \\ 1 & 3 & 5 \\ 0 & 1 & 4 \end{vmatrix}$. Try each step before opening it.
- Every entry of the first row is even. By rule 2, a factor of $2$ comes out: $2 \cdot \begin{vmatrix} 1 & 2 & 3 \\ 1 & 3 & 5 \\ 0 & 1 & 4 \end{vmatrix}$.
-
Clear the first column
Subtract row 1 from row 2 (rule 3, no change): $2 \cdot \begin{vmatrix} 1 & 2 & 3 \\ 0 & 1 & 2 \\ 0 & 1 & 4 \end{vmatrix}$.
-
Expand along the first column
Only the top entry survives: $2 \cdot 1 \cdot \begin{vmatrix} 1 & 2 \\ 1 & 4 \end{vmatrix} = 2(4 - 2) = 4$. $\blacksquare$
Check by brute force along the first row of the original: $2(12 - 5) - 4(4 - 0) + 6(1 - 0) = 14 - 16 + 6 = 4$ ✓.
The three row moves each do something to the solid the rows span. Which of them (adding a multiple of one row to another, swapping two rows, doubling a row) should leave its volume alone, and what should the others do to the determinant?Decide, then open
Adding a multiple of one row to another slides one face of the solid across, parallel to the face opposite it: same base, same height, same volume, and the determinant is unchanged (rule 3). A swap keeps the solid but lists its edges in the other order, so the volume stays and the sign flips (rule 1). Doubling a row doubles one edge, and the volume doubles with it (rule 2).
Using only “add a multiple of one row to another”, straighten the solid into an upright box.
Answer: $R_2 - R_1$, then $R_3 - R_1$, then $R_3 - R_2$
The rows start as $(2,0,0)$, $(2,2,0)$, $(2,2,3)$. Subtracting row 1 from row 2 and from row 3 clears their first entries, giving $(0,2,0)$ and $(0,2,3)$. Subtracting the new row 2 from row 3 then clears its second entry, giving $(0,0,3)$: $$\begin{vmatrix} 2 & 0 & 0 \\ 2 & 2 & 0 \\ 2 & 2 & 3 \end{vmatrix} = \begin{vmatrix} 2 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 2 & 3 \end{vmatrix} = \begin{vmatrix} 2 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 3 \end{vmatrix}.$$ The last matrix is diagonal: an upright box $2$ by $2$ by $3$. Every move was a shear, so none of them changed the determinant.
A different slanted solid is straightened into the upright box with rows $(3,0,0)$, $(0,1,0)$, $(0,0,5)$, using shears and exactly one swap. What was the determinant of the slanted solid?
Answer: $-15$
The box's matrix is diagonal, so its determinant is the product of the diagonal, $3 \cdot 1 \cdot 5 = 15$. Directly: $3(1 \cdot 5 - 0 \cdot 0) - 0 + 0 = 15$. The shears never changed the determinant, and the one swap flipped its sign, so before the moves it was $-15$. The volume, $15$, was the same all along; only the sign records the swap.
Which of these leave the determinant of a matrix unchanged? Choose every one.
- Adding a multiple of one row to another row.
- Swapping two rows.
- Multiplying one row by $3$.
- Taking the transpose.
Answer: adding a multiple of one row to another, and transposing
Swapping two rows changes the sign, and multiplying a row by $3$ multiplies the determinant by $3$.
16.5 Cramer's rule
Return to the elimination that produced the determinant in the first place. It gave $(ad-bc)x = ed - bf$, and the same computation for $y$ gives $(ad-bc)y = af - ec$. Dividing — legal exactly when $\det A \neq 0$ — yields:
If $\det A \neq 0$, the system $ax+by=e$, $cx+dy=f$ has the unique solution $$x = \frac{\begin{vmatrix} e & b \\ f & d\end{vmatrix}}{\begin{vmatrix} a & b \\ c & d\end{vmatrix}}, \qquad y = \frac{\begin{vmatrix} a & e \\ c & f\end{vmatrix}}{\begin{vmatrix} a & b \\ c & d\end{vmatrix}}.$$ Each numerator is $\det A$ with the column of the unknown replaced by the right-hand side.
Example 3. Cramer's rule in action
Solve $3x + 2y = 16$, $\;x - y = 2$.
- $\det A = \begin{vmatrix}3 & 2\\ 1 & -1\end{vmatrix} = -3 - 2 = -5$. Nonzero, so there is a unique solution.
- Replace the first column with $(16, 2)$: $\begin{vmatrix}16 & 2\\ 2 & -1\end{vmatrix} = -16 - 4 = -20$, so $x = \dfrac{-20}{-5} = 4$.
- Replace the second column: $\begin{vmatrix}3 & 16\\ 1 & 2\end{vmatrix} = 6 - 16 = -10$, so $y = \dfrac{-10}{-5} = 2$.
- Check in both originals: $12 + 4 = 16$ ✓ and $4 - 2 = 2$ ✓. $\blacksquare$
The same rule works for $3\times3$ and beyond, with the same recipe: replace the relevant column and divide. It is elegant, and for hand computation beyond $3\times3$ it is far slower than elimination — which is the honest recommendation.
Use Cramer's rule to solve $\;x + 2y = 5,\;\; 3x - y = 1\;$ and give $x$.
Answer: $x = 1$
$\det A = (1)(-1) - (2)(3) = -7$. Replacing the first column by $(5, 1)$ gives $(5)(-1) - (2)(1) = -7$, so $x = \dfrac{-7}{-7} = 1$. Then $y = 2$. Check: $1 + 4 = 5$ ✓ and $3 - 2 = 1$ ✓.
You have now met, in miniature, the three central ideas of linear algebra: a system of equations as a single object; a number that decides whether it can be solved; and the same number measuring how a transformation changes area or volume. The subject that grows from here treats $n$ unknowns at once and asks what happens in the cases where $\det = 0$ — which turn out to be the interesting ones.
Practice
Give numerical answers as plain numbers, and points as pairs like (3,-2).
Compute $\begin{vmatrix} 1 & 4 \\ 3 & 10 \end{vmatrix}$.
Answer: $-2$
$ad - bc = (1)(10) - (4)(3) = 10 - 12 = -2$. Being nonzero, the corresponding system has a unique solution, and the two rows span a parallelogram of area $2$.
Compute $\begin{vmatrix} 2 & 6 \\ 3 & 9 \end{vmatrix}$.
Answer: $0$
$(2)(9) - (6)(3) = 18 - 18 = 0$. The second row is $1.5$ times the first, so the two vectors lie on one line through the origin and the parallelogram has no area.
The corresponding equations $2x+6y=e$, $3x+9y=f$ describe parallel lines: no solution, or infinitely many if the constants happen to match up too.
What is the area of the parallelogram spanned by $(5,1)$ and $(1,3)$?
Answer: $14$
$\det = (5)(3) - (1)(1) = 14$, and the area is $|14| = 14$. Had we listed the vectors in the other order the determinant would be $-14$ — the same area, the opposite orientation.
Compute $\begin{vmatrix} 1 & 2 & 0 \\ 0 & 1 & 3 \\ 2 & 0 & 1\end{vmatrix}$.
Answer: $13$
Expanding along the first row: $$1\begin{vmatrix}1&3\\0&1\end{vmatrix} - 2\begin{vmatrix}0&3\\2&1\end{vmatrix} + 0\begin{vmatrix}0&1\\2&0\end{vmatrix}.$$ The minors are $1 - 0 = 1$ and $0 - 6 = -6$, and the third term is killed by its zero coefficient. So the total is $1(1) - 2(-6) = 1 + 12 = 13$.
The middle term is where care is needed: the pattern's minus and the minor's own minus combine into a plus.
The coefficient matrix of a $2\times2$ system has determinant $0$. What follows?
- The system has exactly one solution.
- The system has either no solution or infinitely many.
- The system has no solution.
- Nothing at all follows.
Answer: either no solution or infinitely many
A zero determinant rules out the unique case but does not by itself distinguish the other two: that depends on the right-hand side. The two lines are parallel — either distinct (no solution) or the same line (infinitely many).
A $3\times3$ matrix has determinant $6$. What is the determinant of the matrix obtained by swapping its first two rows?
Answer: $-6$
Swapping two rows flips the sign: the orientation of the spanned figure reverses while its volume does not change.
Swapping twice returns the original — which is a good consistency check on the rule: $(-1)^2 = 1$.
A matrix has determinant $6$. You add $5$ times its first row to its second row. What is the new determinant?
Answer: $6$
Rule 3: adding a multiple of one row to another leaves the determinant alone. The parallelogram is sheared — same base, same height, same area.
This is why elimination is safe, and why it is the practical way to compute a large determinant.
Solve $2x + 3y = 7$, $\;x - y = 1$. Give the point $(x,y)$.
Answer: $(2,1)$
$\det A = (2)(-1) - (3)(1) = -5$. Then $$x = \frac{\begin{vmatrix}7&3\\1&-1\end{vmatrix}}{-5} = \frac{-7-3}{-5} = 2, \qquad y = \frac{\begin{vmatrix}2&7\\1&1\end{vmatrix}}{-5} = \frac{2-7}{-5} = 1.$$
Check: $4 + 3 = 7$ ✓ and $2 - 1 = 1$ ✓.
If $\det A = 3$ and $\det B = 2$, what is $\det(AB)$?
Answer: $6$
$\det(AB) = \det A \cdot \det B = 3 \times 2 = 6$.
Read geometrically: if one transformation triples areas and the other doubles them, doing both multiplies areas by six. That is why the rule is true, and it is far easier to remember than the algebraic verification.
For which value of $k$ does the system $2x + 3y = 5$, $\;4x + ky = 9$ fail to have a unique solution?
Answer: $k = 6$
The determinant is $2k - 12$, which is zero when $k = 6$. For every other $k$ there is exactly one solution.
At $k=6$ the equations are $2x+3y=5$ and $4x+6y=9$ — the second left side is twice the first, but $9 \neq 10$, so the lines are parallel and distinct: no solution at all.
Rows 1 and 2 are $(2,0,0)$ and $(0,3,0)$. Choose a third row, not a multiple of either, that makes the determinant $0$.
Answer: any $(c_1, c_2, 0)$ with $c_1$ and $c_2$ both nonzero, for example $(1,1,0)$
Write row 3 as $(c_1, c_2, c_3)$, the letters of §16.3. Rows 1 and 2 lie in the floor, the plane $z = 0$, so the solid is flat exactly when row 3 lies in that plane too: when its last entry $c_3$ is $0$. Expanding along the third column shows it. Rows 1 and 2 both end in $0$, so every term of the expansion has a factor $0$ except the one from row 3, which is $$c_3 \begin{vmatrix} 2 & 0 \\ 0 & 3 \end{vmatrix} = 6c_3,$$ and that is $0$ exactly when $c_3 = 0$. A row $(c_1, 0, 0)$ or $(0, c_2, 0)$ would also make the determinant $0$, but it is a multiple of row 1 or row 2, which the question rules out.
Start again. Reach determinant $-24$ in exactly two moves.
Answer: one swap and one doubling, in either order
A shear multiplies the determinant by $1$, a swap by $-1$, and doubling a row by $2$. Getting from $12$ to $-24$ needs a total factor of $-2$, and the only product of two factors from $1$, $-1$, $2$ that gives $-2$ is $(-1) \cdot 2$. So: swap two rows and double a row, for example $12 \to -12 \to -24$, or double first, $12 \to 24 \to -24$.
Mixed review: Part IV
Ten problems pulled back from Chapters 12–15. Nothing new — but nothing tells you which idea each one needs. Deciding that is the exercise.
For which $x$ is $f(x) = \log_2(x)$ defined?
- $x > 0$
- $x \ge 0$
- All real $x$
- $x \neq 0$
Answer: $x > 0$
The logarithm undoes the exponential, and the exponential's values are exactly the positive numbers — so that is the logarithm's domain. From Chapter 12.
$f(x) = x^2$ is shifted right by $3$ and up by $2$ to give $g(x)$. What is $g(5)$?
Answer: $6$
$g(x) = (x-3)^2 + 2$, so $g(5) = (5-3)^2 + 2 = 4 + 2 = 6$ — shifting a graph from Chapter 12.
Let $f: \{1,2,3\} \to \{1,2,3\}$ with $f(1) = 2$, $f(2) = 3$, $f(3) = 1$. What is $f(f(1))$?
Answer: $3$
$f(1) = 2$, then $f(2) = 3$, so $f(f(1)) = 3$ — composition from Chapter 13.
A mapping $f: S \to T$ is a bijection exactly when it is:
- Injective only
- Surjective only
- Both injective and surjective
- Neither
Answer: both injective and surjective
A bijection needs every element of $T$ hit exactly once — injective rules out repeats, surjective rules out misses. From Chapter 13.
Compute $(2 + 3i) + (1 - 4i)$.
Answer: $3 - i$
$(2+1) + (3-4)i = 3 - i$ — add coordinate by coordinate, as in Chapter 14.
What is $|3 + 4i|$?
Answer: $5$
$|3+4i| = \sqrt{3^2 + 4^2} = \sqrt{25} = 5$ — absolute value as distance from Chapter 14.
Compute $\displaystyle\sum_{k=1}^{5} k$.
Answer: $15$
$1+2+3+4+5 = 15$ — sigma notation unpacked, from Chapter 15.
What is the sum of the geometric series $3 + 6 + 12 + 24$?
Answer: $45$
Directly, $3+6+12+24 = 45$; by the closed form, $\dfrac{3(2^4-1)}{2-1} = 3 \times 15 = 45$ — from Chapter 15.
Compute $\log_3 81 - \log_3 9$.
Answer: $2$
Directly: $81 = 3^4$ and $9 = 3^2$, so the difference is $4 - 2 = 2$. Or combine first: $\log_3 81 - \log_3 9 = \log_3\frac{81}{9} = \log_3 9 = 2$ — the laws of logarithms from Chapter 12.
Compute $(1 + i)^2$.
Answer: $2i$
$(1+i)^2 = 1 + 2i + i^2 = 1 + 2i - 1 = 2i$ — the arithmetic of Chapter 14. In polar terms: $1+i$ has length $\sqrt2$ and angle $45°$, so its square has length $2$ and angle $90°$, which is $2i$.
Recap
$5$. The area is the determinant: $3 \cdot 2 - 1 \cdot 1 = 5$. One way to see it without the formula: box the parallelogram in the rectangle from $(0,0)$ to $(4,3)$, of area $12$, and remove the two $1 \times 1$ squares and four triangles left in the corners, which total $7$. The determinant does that bookkeeping in one line — and its sign records which way around the two arrows are.
- A matrix records the coefficients of a system, separating them from the unknowns.
- $\det\begin{pmatrix}a&b\\c&d\end{pmatrix} = ad-bc$ is the number elimination produces, and the signed area of the parallelogram spanned by the rows.
- $\det \neq 0$ means a unique solution; $\det = 0$ means none or infinitely many, and a collapsed parallelogram.
- Order $3$ expands along a row with alternating signs, and measures a signed volume.
- Row swaps flip the sign, scaling a row scales the determinant, and adding a multiple of one row to another changes nothing — which is why elimination is safe.
- Cramer's rule solves a system by replacing one column at a time with the right-hand side and dividing by $\det A$.