Linear Algebra — Lecture 1

Lecture 1: Vectors, Matrices, and Systems of Linear Equations

Shuhong Gao  ·  Clemson University

These notes are interactive: click any dotted term to unfold its exact definition or statement in place, click ▸ Proof to expand a proof, and try the exercises — answers are checked instantly.

1.1  Vectors and their operations

💡 Intuition

Linear algebra is built out of one kind of object: lists of numbers. A point in the plane, a force in space, a week of daily temperatures, a signal sampled at nn instants โ€” each is naturally a list, and each is naturally drawn as an arrow when it has two or three entries. We begin with the arithmetic of such lists; by the end of this lecture they will carry entire systems of equations.

Definition 1.1 (Vectors in โ„n\mathbb{R}^n; addition and scalar multiplication)

โ„n\mathbb{R}^n denotes the set of all column vectors with nn real entries. For ๐ฎ=(u1u2โ‹ฎun),๐ฏ=(v1v2โ‹ฎvn)in โ„n\mathbf{u} = \begin{pmatrix} u_1 \\ u_2 \\ \vdots \\ u_n \end{pmatrix}, \qquad \mathbf{v} = \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix} \qquad\text{in } \mathbb{R}^n and a scalar cโˆˆโ„c \in \mathbb{R}, define vector addition and scalar multiplication entrywise: ๐ฎ+๐ฏ=(u1+v1โ‹ฎun+vn),c๐ฎ=(cu1โ‹ฎcun).\mathbf{u} + \mathbf{v} = \begin{pmatrix} u_1 + v_1 \\ \vdots \\ u_n + v_n \end{pmatrix}, \qquad c\,\mathbf{u} = \begin{pmatrix} c\,u_1 \\ \vdots \\ c\,u_n \end{pmatrix}. We write ๐ŸŽ\mathbf{0} for the zero vector (all entries 00) and โˆ’๐ฎ=(โˆ’1)๐ฎ-\mathbf{u} = (-1)\mathbf{u}.

Definition 1.2 (Row vectors and the transpose)

A row vector with nn real entries is a list written horizontally, ๐š=(a1a2โ‹ฏan),\mathbf{a} = \begin{pmatrix} a_1 & a_2 & \cdots & a_n \end{pmatrix}, and it is added and scaled entrywise, exactly as for columns. The transpose operation turns one shape into the other: for a column vector ๐ฎ\mathbf{u} and a row vector ๐š\mathbf{a} as above, ๐ฎT=(u1u2โ‹ฎun)T=(u1u2โ‹ฏun),\mathbf{u}^{T} = \begin{pmatrix} u_1 \\ u_2 \\ \vdots \\ u_n \end{pmatrix}^{T} = \begin{pmatrix} u_1 & u_2 & \cdots & u_n \end{pmatrix}, ๐šT=(a1a2โ‹ฏan)T=(a1a2โ‹ฎan).\mathbf{a}^{T} = \begin{pmatrix} a_1 & a_2 & \cdots & a_n \end{pmatrix}^{T} = \begin{pmatrix} a_1 \\ a_2 \\ \vdots \\ a_n \end{pmatrix}. So the transpose of a column vector is a row vector, and the transpose of a row vector is a column vector; the entries are unchanged, only the shape is. Applying the operation twice returns the original vector: (๐ฎT)T=๐ฎ,(๐šT)T=๐š.(\mathbf{u}^{T})^{T} = \mathbf{u}, \qquad (\mathbf{a}^{T})^{T} = \mathbf{a}. Transposing also respects the two vector operations: (๐ฎ+๐ฏ)T=๐ฎT+๐ฏT(\mathbf{u} + \mathbf{v})^{T} = \mathbf{u}^{T} + \mathbf{v}^{T} and (c๐ฎ)T=c๐ฎT(c\,\mathbf{u})^{T} = c\,\mathbf{u}^{T}, since both sides are formed from the same entries.

Definition 1.3 (Equality of vectors)

Two vectors are equal when they have the same shape, the same number of entries, and every pair of corresponding entries is equal. That is, for column vectors ๐ฎ,๐ฏ\mathbf{u}, \mathbf{v}, ๐ฎ=๐ฏโ‡”ui=vi for i=1,2,โ€ฆ,n,\mathbf{u} = \mathbf{v} \quad\Longleftrightarrow\quad u_i = v_i \ \text{ for } i = 1, 2, \dots, n, and likewise for two row vectors. In particular vectors of different lengths are never equal: (12)T\begin{pmatrix} 1 & 2 \end{pmatrix}^{T} and (120)T\begin{pmatrix} 1 & 2 & 0 \end{pmatrix}^{T} are different vectors, one in โ„2\mathbb{R}^2 and one in โ„3\mathbb{R}^3. And a row vector is never equal to a column vector, no matter what its entries are: (123)โ‰ (123),\begin{pmatrix} 1 & 2 & 3 \end{pmatrix} \;\neq\; \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} , because the two sides have different shapes. They are related by the transpose, not by equality: the left-hand side is the transpose of the right-hand side.

Remark 1.4

This is a small definition with a large consequence for proofs. Every identity between vectors in this course โ€” and there will be many โ€” is proved the same way: show that the two sides have the same shape and size, then compare the ii-th entries. That single move reduces a statement about vectors to a statement about real numbers, where ordinary arithmetic finishes the job.

Remark 1.5 (Notation: columns written sideways)

Shape matters: a column vector and a row vector with the same entries are never equal, and in this course โ€œvectorโ€ with no qualifier always means a column vector โ€” that is what โ„n\mathbb{R}^n consists of, and columns are what matrices will act on. Rows will reappear shortly as the rows of a matrix.

Since tall columns are awkward inside a line of text, we use the transpose to write them sideways: ๐ฎ=(u1u2โ‹ฏun)T\mathbf{u} = \begin{pmatrix} u_1 & u_2 & \cdots & u_n \end{pmatrix}^{T} denotes the column vector with entries u1,โ€ฆ,unu_1, \dots, u_n. So (101)T\begin{pmatrix} 1 & 0 & 1 \end{pmatrix}^{T} is a column of height three, written on one line to save space. Displayed formulas keep the honest column shape.

2026-07-22T21:26:03.423709 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ u v u v + 0
Vector addition in the plane: ๐ฎ\mathbf{u} and ๐ฏ\mathbf{v} span a parallelogram, and ๐ฎ+๐ฏ\mathbf{u} + \mathbf{v} is its diagonal from the origin.
💡 Intuition

The picture explains the definition. Adding entrywise is exactly the parallelogram rule: ๐ฎ\mathbf{u} and ๐ฏ\mathbf{v} span a parallelogram (the dashed sides are parallel copies of the two arrows), and ๐ฎ+๐ฏ\mathbf{u} + \mathbf{v} is the diagonal from the origin โ€” two displacements performed in succession. Multiplying by cc stretches an arrow by the factor |c||c|, flipping it when c<0c < 0. Every algebraic rule below is obvious in this picture; the point of the proof is that the entrywise formulas really do behave like the picture, in every dimension.

Theorem 1.6 (Algebraic properties of vector operations)

For all ๐ฎ,๐ฏ,๐ฐโˆˆโ„n\mathbf{u}, \mathbf{v}, \mathbf{w} \in \mathbb{R}^n and all scalars c,dโˆˆโ„c, d \in \mathbb{R}:

  1. ๐ฎ+๐ฏ=๐ฏ+๐ฎ\mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u};
  2. (๐ฎ+๐ฏ)+๐ฐ=๐ฎ+(๐ฏ+๐ฐ)(\mathbf{u} + \mathbf{v}) + \mathbf{w} = \mathbf{u} + (\mathbf{v} + \mathbf{w});
  3. ๐ฎ+๐ŸŽ=๐ฎ\mathbf{u} + \mathbf{0} = \mathbf{u};
  4. ๐ฎ+(โˆ’๐ฎ)=๐ŸŽ\mathbf{u} + (-\mathbf{u}) = \mathbf{0};
  5. c(๐ฎ+๐ฏ)=c๐ฎ+c๐ฏc(\mathbf{u} + \mathbf{v}) = c\mathbf{u} + c\mathbf{v};
  6. (c+d)๐ฎ=c๐ฎ+d๐ฎ(c + d)\mathbf{u} = c\mathbf{u} + d\mathbf{u};
  7. c(d๐ฎ)=(cd)๐ฎc(d\mathbf{u}) = (cd)\mathbf{u};
  8. 1๐ฎ=๐ฎ1\,\mathbf{u} = \mathbf{u}.

Remark 1.7

Any collection of objects with an addition and a scalar multiplication obeying these eight rules is called a vector space. Later in the course we will meet vector spaces whose โ€œvectorsโ€ are matrices, polynomials, or signals; every result we prove using only these eight rules will transfer to them for free. For now, โ„n\mathbb{R}^n is our home.

Exercise 1.1 auto-check

Let ๐ฎ=(31)T\mathbf{u} = \begin{pmatrix} 3 & 1 \end{pmatrix}^{T} and ๐ฏ=(14)T\mathbf{v} = \begin{pmatrix} 1 & 4 \end{pmatrix}^{T}, and set ๐ฐ=2๐ฎโˆ’๐ฏ\mathbf{w} = 2\mathbf{u} - \mathbf{v}. What is the second entry of ๐ฐ\mathbf{w}?

Answer:
Exercise 1.2 auto-check

Which of the following identities is not always true?

Exercise 1.3 auto-check

Let ๐š=(2โˆ’15)\mathbf{a} = \begin{pmatrix} 2 & -1 & 5 \end{pmatrix}. Which statement is correct?

Exercise 1.4 auto-check

Let ๐ฎ=(4โˆ’15)T\mathbf{u} = \begin{pmatrix} 4 & -1 & 5 \end{pmatrix}^{T} and ๐š=(4โˆ’15)\mathbf{a} = \begin{pmatrix} 4 & -1 & 5 \end{pmatrix}. Which statement is correct?

1.2  Matrices and the product A๐ฑA\mathbf{x}

💡 Intuition

Multiplying two vectors is less obvious than adding them. The product that linear algebra runs on pairs a row with a column of the same length and produces a single number โ€” think of a row of unit prices times a column of quantities: the total bill. Stacking several rows into a matrix then gives a product of a matrix with a column vector, and that product will turn out to have a second reading that powers the whole subject.

Definition 1.8 (Rowโ€“column product)

Let ๐š=(a1a2โ‹ฏan)\mathbf{a} = \begin{pmatrix} a_1 & a_2 & \cdots & a_n \end{pmatrix} be a row vector of length nn. The rowโ€“column product of ๐š\mathbf{a} with a column vector ๐ฑโˆˆโ„n\mathbf{x} \in \mathbb{R}^n of the same length is the scalar ๐š๐ฑ=(a1a2โ‹ฏan)(x1x2โ‹ฎxn)=a1x1+a2x2+โ‹ฏ+anxn.\mathbf{a}\,\mathbf{x} = \begin{pmatrix} a_1 & a_2 & \cdots & a_n \end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{pmatrix} = a_1 x_1 + a_2 x_2 + \cdots + a_n x_n .

Example 1.9

(123)(4โˆ’12)=1โ‹…4+2โ‹…(โˆ’1)+3โ‹…2=8.\begin{pmatrix} 1 & 2 & 3 \end{pmatrix} \begin{pmatrix} 4 \\ -1 \\ 2 \end{pmatrix} = 1 \cdot 4 + 2 \cdot (-1) + 3 \cdot 2 = 8 . Price-times-quantity: if the row holds unit prices and the column holds quantities, the product 88 is the total cost. Note the output is a single number, not a vector.

Definition 1.10 (Matrix; the matrixโ€“vector product A๐ฑA\mathbf{x})

An mร—nm \times n matrix AA is a rectangular array of numbers aija_{ij} with mm rows and nn columns. Its rows ๐ซ1,โ€ฆ,๐ซm\mathbf{r}_1, \dots, \mathbf{r}_m are row vectors of length nn; its columns ๐š1,โ€ฆ,๐šn\mathbf{a}_1, \dots, \mathbf{a}_n are vectors in โ„m\mathbb{R}^m. For ๐ฑโˆˆโ„n\mathbf{x} \in \mathbb{R}^n, the matrixโ€“vector product A๐ฑA\mathbf{x} is the column vector in โ„m\mathbb{R}^m whose ii-th entry is the rowโ€“column product of the ii-th row with ๐ฑ\mathbf{x}: A๐ฑ=(๐ซ1๐ฑ๐ซ2๐ฑโ‹ฎ๐ซm๐ฑ),i.e.(A๐ฑ)i=ai1x1+ai2x2+โ‹ฏ+ainxn.A\mathbf{x} = \begin{pmatrix} \mathbf{r}_1\,\mathbf{x} \\ \mathbf{r}_2\,\mathbf{x} \\ \vdots \\ \mathbf{r}_m\,\mathbf{x} \end{pmatrix}, \qquad\text{i.e.}\qquad (A\mathbf{x})_i = a_{i1}x_1 + a_{i2}x_2 + \cdots + a_{in}x_n .

Definition 1.11 (Linear combination)

A linear combination of the vectors ๐ฏ1,โ€ฆ,๐ฏpโˆˆโ„m\mathbf{v}_1, \dots, \mathbf{v}_p \in \mathbb{R}^m with weights c1,โ€ฆ,cpโˆˆโ„c_1, \dots, c_p \in \mathbb{R} is the vector c1๐ฏ1+c2๐ฏ2+โ‹ฏ+cp๐ฏp.c_1 \mathbf{v}_1 + c_2 \mathbf{v}_2 + \cdots + c_p \mathbf{v}_p .

Theorem 1.12 (Column view of A๐ฑA\mathbf{x})

Let AA be an mร—nm \times n matrix with columns ๐š1,โ€ฆ,๐šn\mathbf{a}_1, \dots, \mathbf{a}_n. For every ๐ฑโˆˆโ„n\mathbf{x} \in \mathbb{R}^n, A๐ฑ=x1๐š1+x2๐š2+โ‹ฏ+xn๐šn:A\mathbf{x} = x_1 \mathbf{a}_1 + x_2 \mathbf{a}_2 + \cdots + x_n \mathbf{a}_n : the product A๐ฑA\mathbf{x} is the linear combination of the columns of AA with weights x1,โ€ฆ,xnx_1, \dots, x_n.

Example 1.13 (One product, two computations)

Let A=(120โˆ’131)A = \begin{pmatrix} 1 & 2 \\ 0 & -1 \\ 3 & 1 \end{pmatrix} and ๐ฑ=(21)\mathbf{x} = \begin{pmatrix} 2 \\ 1 \end{pmatrix}. Row view: each entry is a rowโ€“column product, A๐ฑ=(1โ‹…2+2โ‹…10โ‹…2+(โˆ’1)โ‹…13โ‹…2+1โ‹…1)=(4โˆ’17).A\mathbf{x} = \begin{pmatrix} 1\cdot 2 + 2\cdot 1 \\ 0\cdot 2 + (-1)\cdot 1 \\ 3\cdot 2 + 1\cdot 1 \end{pmatrix} = \begin{pmatrix} 4 \\ -1 \\ 7 \end{pmatrix}. Column view: the same answer as a blend of the columns, A๐ฑ=2(103)+1(2โˆ’11)=(4โˆ’17).A\mathbf{x} = 2 \begin{pmatrix} 1 \\ 0 \\ 3 \end{pmatrix} + 1 \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix} = \begin{pmatrix} 4 \\ -1 \\ 7 \end{pmatrix}. Rows for computing, columns for understanding โ€” we will use both readings constantly.

Theorem 1.14 (Linearity of A๐ฑA\mathbf{x} in ๐ฑ\mathbf{x})

For every mร—nm \times n matrix AA, all ๐ฎ,๐ฏโˆˆโ„n\mathbf{u}, \mathbf{v} \in \mathbb{R}^n, and every scalar cโˆˆโ„c \in \mathbb{R}: A(๐ฎ+๐ฏ)=A๐ฎ+A๐ฏandA(c๐ฎ)=c(A๐ฎ).A(\mathbf{u} + \mathbf{v}) = A\mathbf{u} + A\mathbf{v} \qquad\text{and}\qquad A(c\,\mathbf{u}) = c\,(A\mathbf{u}).

Exercise 1.5 auto-check

Compute the rowโ€“column product (2โˆ’13)(142)\begin{pmatrix} 2 & -1 & 3 \end{pmatrix} \begin{pmatrix} 1 \\ 4 \\ 2 \end{pmatrix}.

Answer:
Exercise 1.6 auto-check

For A=(1200โˆ’1331โˆ’2)A = \begin{pmatrix} 1 & 2 & 0 \\ 0 & -1 & 3 \\ 3 & 1 & -2 \end{pmatrix} and ๐ฑ=(211)T\mathbf{x} = \begin{pmatrix} 2 & 1 & 1 \end{pmatrix}^{T}, what is the third entry of A๐ฑA\mathbf{x}?

Answer:
Exercise 1.7 auto-check

By the column view, the product A๐ฑA\mathbf{x} equals:

1.3  Systems of linear equations and their solutions

💡 Intuition

Almost every quantitative problem in engineering ends, after modeling, in the same place: several unknown quantities constrained by several conditions that must hold simultaneously โ€” currents in a circuit obeying Kirchhoff's laws, forces balancing in a truss, concentrations in mixing tanks. When each condition is a linear relation among the unknowns, we get a system of linear equations. The rest of this lecture introduces those systems โ€” and shows that the vector language of the first two sections was built precisely for them.

Definition 1.15 (Linear equation, linear system)

A linear equation in the variables x1,โ€ฆ,xnx_1, \dots, x_n is an equation of the form a1x1+a2x2+โ‹ฏ+anxn=b,a_1 x_1 + a_2 x_2 + \cdots + a_n x_n = b, where the coefficients a1,โ€ฆ,ana_1, \dots, a_n and the right-hand side bb are real numbers. A system of linear equations (or linear system) is a finite collection of linear equations in the same variables. (Note the left-hand side is exactly a rowโ€“column product: the row of coefficients times the column of unknowns.)

Definition 1.16 (Solution, solution set)

A solution of a linear system in x1,โ€ฆ,xnx_1,\dots,x_n is a list (s1,โ€ฆ,sn)(s_1, \dots, s_n) of numbers that makes every equation of the system true when we substitute xi=six_i = s_i. The solution set is the set of all solutions. A system is consistent if it has at least one solution, and inconsistent if it has none.

Example 1.17 (Three systems in two variables)

Each equation in two variables describes a line in the plane, and a solution of a system is a point lying on all of its lines. Consider the three systems (i){x1โˆ’x2=โˆ’12x1+x2=4(ii){x1โˆ’x2=โˆ’1x1โˆ’x2=1(iii){x1โˆ’x2=โˆ’12x1โˆ’2x2=โˆ’2\text{(i)}\; \begin{cases} x_1 - x_2 = -1 \\ 2x_1 + x_2 = 4 \end{cases} \qquad \text{(ii)}\; \begin{cases} x_1 - x_2 = -1 \\ x_1 - x_2 = 1 \end{cases} \qquad \text{(iii)}\; \begin{cases} x_1 - x_2 = -1 \\ 2x_1 - 2x_2 = -2 \end{cases} In (i) the two lines cross at exactly one point: adding the equations gives 3x1=33x_1 = 3, so x1=1x_1 = 1 and then x2=2x_2 = 2; the unique solution is (1,2)(1, 2). In (ii) the lines are parallel and distinct โ€” no point lies on both, since x1โˆ’x2x_1 - x_2 cannot equal โˆ’1-1 and 11 at once โ€” so the system is inconsistent. In (iii) the second equation is twice the first: both describe the same line, and every point (t,t+1)(t,\, t+1) with tโˆˆโ„t \in \mathbb{R} is a solution โ€” infinitely many.

2026-07-22T21:26:03.515388 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ x 1 x 2 ( 1 , 2 ) one solution x 1 x 2 no solution x 1 x 2 infinitely many solutions
The three possible pictures for two equations in two variables: lines that cross once, parallel lines, and the same line twice.
💡 Intuition

The three pictures above are not just examples โ€” they are a preview of a general fact we will prove next week: every linear system, in any number of variables, has either exactly one solution, no solution, or infinitely many. A linear system can never have exactly two solutions, or exactly five. Keep the pictures in mind as the geometric reason.

1.4  Equivalent systems and elementary operations

Definition 1.18 (Equivalent systems)

Two linear systems in the same variables are equivalent if they have the same solution set.

How do we show two systems are equivalent? Comparing solution sets directly is hopeless when we cannot yet compute them. The practical route is to transform one system into the other by simple steps that are guaranteed not to change the solution set.

Definition 1.19 (Elementary operations)

The elementary operations on a linear system are:

  1. (Swap) interchange the positions of two equations;
  2. (Scale) multiply one equation by a nonzero constant cc;
  3. (Replace) add a multiple of one equation to another equation.

Theorem 1.20 (Elementary operations preserve the solution set)

If a linear system is obtained from another by one elementary operation, then the two systems are equivalent. Consequently, any chain of elementary operations produces an equivalent system.

Remark 1.21

The proof shows exactly why multiplying an equation by 00 is forbidden: that step is not reversible. It erases an equation โ€” turning it into 0=00 = 0 โ€” and can enlarge the solution set.

Exercise 1.8 auto-check

Consider the system x1+2x2=4x_1 + 2x_2 = 4, 3x1โˆ’x2=5\;3x_1 - x_2 = 5. Find the value of x1x_1 in its unique solution.

Answer:
Exercise 1.9 auto-check

Which of the following operations can change the solution set of a linear system?

1.5  The matrix equation A๐ฑ=๐›A\mathbf{x} = \mathbf{b}

💡 Intuition

Here is the payoff of Sections 1.1 and 1.2. A system of equations carries three ingredients โ€” coefficients, unknowns, right-hand sides โ€” and we now have containers for all three: a matrix and two column vectors. Packed that way, the whole system, no matter how large, collapses into one line: A๐ฑ=๐›A\mathbf{x} = \mathbf{b}.

Definition 1.22 (Coefficient matrix, augmented matrix, matrix equation)

Consider the linear system {a11x1+a12x2+โ‹ฏ+a1nxn=b1a21x1+a22x2+โ‹ฏ+a2nxn=b2โ‹ฎam1x1+am2x2+โ‹ฏ+amnxn=bm\left\{ \begin{aligned} a_{11}x_1 + a_{12}x_2 + \cdots + a_{1n}x_n &= b_1 \\ a_{21}x_1 + a_{22}x_2 + \cdots + a_{2n}x_n &= b_2 \\ &\;\;\vdots \\ a_{m1}x_1 + a_{m2}x_2 + \cdots + a_{mn}x_n &= b_m \end{aligned} \right. Collect its coefficients, its unknowns, and its right-hand sides into A=(a11a12โ‹ฏa1na21a22โ‹ฏa2nโ‹ฎโ‹ฎโ‹ฎam1am2โ‹ฏamn),๐ฑ=(x1x2โ‹ฎxn),๐›=(b1b2โ‹ฎbm).A = \begin{pmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{pmatrix}, \qquad \mathbf{x} = \begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{pmatrix}, \qquad \mathbf{b} = \begin{pmatrix} b_1 \\ b_2 \\ \vdots \\ b_m \end{pmatrix}. AA is the coefficient matrix of the system; ๐ฑ\mathbf{x} and ๐›\mathbf{b} are the column vectors of unknowns and of right-hand sides. Since the left-hand side of the ii-th equation is exactly the ii-th entry of the matrixโ€“vector product A๐ฑA\mathbf{x}, the system asks precisely for those ๐ฑ\mathbf{x} with A๐ฑ=๐›,A\mathbf{x} = \mathbf{b}, called the matrix equation of the system. Finally, the augmented matrix (Aโˆฃ๐›)(\,A \mid \mathbf{b}\,) is AA with the column ๐›\mathbf{b} attached as an extra last column.

Proposition 1.23

A vector ๐ฌ\mathbf{s} is a solution of the linear system if and only if A๐ฌ=๐›A\mathbf{s} = \mathbf{b}. In particular, the system and the matrix equation have the same solution set.

Remark 1.24

The column view adds a second reading, worth saying out loud: A๐ฑ=๐›A\mathbf{x} = \mathbf{b} is solvable exactly when ๐›\mathbf{b} can be written as a linear combination of the columns of AA โ€” the unknowns are the weights. One equation, two questions: โ€œwhich inputs ๐ฑ\mathbf{x} work?โ€ (row reading) and โ€œis ๐›\mathbf{b} reachable from the columns?โ€ (column reading).

Definition 1.25 (Row operations)

The elementary row operations on a matrix are the mirror images of the elementary operations on equations: swap two rows, scale a row by a nonzero constant, and add a multiple of one row to another row. Two matrices are row equivalent if one can be turned into the other by a chain of row operations. By the theorem on elementary operations, row-equivalent augmented matrices represent equivalent systems.

Exercise 1.10 auto-check

The system x1โˆ’2x2=3\;x_1 - 2x_2 = 3, 4x2+5x3=โˆ’1\;4x_2 + 5x_3 = -1, 2x1+x3=0\;2x_1 + x_3 = 0 has augmented matrix:

Exercise 1.11 auto-check

Let AA be the coefficient matrix of the system in the previous exercise. What is the entry a23a_{23} (row 22, column 33)?

Answer:
Remark 1.26 (Looking ahead)

We now have the language: vectors and their arithmetic, the product A๐ฑA\mathbf{x} with its row and column readings, systems and their solution sets, three safe operations justified by a theorem, and the compact form A๐ฑ=๐›A\mathbf{x} = \mathbf{b}. Next lecture we put it to work: Gaussian elimination, the algorithm that reduces any augmented matrix to a simple staircase shape from which the entire solution set can be read off.

Index of statements

  1. Definition 1.1 (Vectors in โ„n\mathbb{R}^n; addition and scalar multiplication)
  2. Definition 1.2 (Row vectors and the transpose)
  3. Definition 1.3 (Equality of vectors)
  4. Remark 1.4
  5. Remark 1.5 (Notation: columns written sideways)
  6. Theorem 1.6 (Algebraic properties of vector operations)
  7. Remark 1.7
  8. Definition 1.8 (Rowโ€“column product)
  9. Example 1.9
  10. Definition 1.10 (Matrix; the matrixโ€“vector product A๐ฑA\mathbf{x})
  11. Definition 1.11 (Linear combination)
  12. Theorem 1.12 (Column view of A๐ฑA\mathbf{x})
  13. Example 1.13 (One product, two computations)
  14. Theorem 1.14 (Linearity of A๐ฑA\mathbf{x} in ๐ฑ\mathbf{x})
  15. Definition 1.15 (Linear equation, linear system)
  16. Definition 1.16 (Solution, solution set)
  17. Example 1.17 (Three systems in two variables)
  18. Definition 1.18 (Equivalent systems)
  19. Definition 1.19 (Elementary operations)
  20. Theorem 1.20 (Elementary operations preserve the solution set)
  21. Remark 1.21
  22. Definition 1.22 (Coefficient matrix, augmented matrix, matrix equation)
  23. Proposition 1.23
  24. Remark 1.24
  25. Definition 1.25 (Row operations)
  26. Remark 1.26 (Looking ahead)