BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Problem Set 5: matrix spaces, graphs and orthogonal subspaces

Six problems of our own on Lectures 11, 12 and 14: subspaces of the space of 3 × 3 matrices with their dimensions, intersections and sums, solution spaces of differential equations, rank-one matrices and the rank of a sum, the incidence matrix of a graph with its potentials, currents, loops and trees, the network equation AᵀCAx = f, orthogonal vectors and Pythagoras, orthogonal subspaces, the nullspace as the orthogonal complement of the row space, and the nullspace of AᵀA.

You need this first

Full reading path (18 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
  5. Equations of planes and square systems (18.02)
  6. The geometry of linear equations (18.06)
  7. Elimination with matrices (18.06)
  8. Matrix multiplication and inverse matrices (18.06)
  9. Factorization into A = LU (18.06)
  10. Transposes, permutations and vector spaces (18.06)
  11. Column space and nullspace (18.06)
  12. Solving Ax = 0: pivot variables and special solutions (18.06)
  13. Solving Ax = b: the complete solution (18.06)
  14. Independence, basis and dimension (18.06)
  15. The four fundamental subspaces (18.06)
  16. Matrix spaces, rank one and small-world graphs (18.06)
  17. Graphs, networks and incidence matrices (18.06)
  18. Orthogonal vectors and subspaces (18.06)
On this page · 8 sections
  1. How to answer
  2. What you need from the lessons
  3. Problem 1
  4. Problem 2
  5. Problem 3
  6. Problem 4
  7. Problem 5
  8. Problem 6

This set practises three lessons: matrix spaces and rank-one matrices (Lecture 11), graphs, networks and incidence matrices (Lecture 12) and orthogonal vectors and subspaces (Lecture 14). Problems 1 and 2 belong to Lecture 11, Problems 3 and 4 to Lecture 12, Problems 5 and 6 to Lecture 14. Lecture 13 is a review for MIT's first quiz and has no problems here. Projections and least squares, which Lecture 14 announces at its end, belong to Problem Set 6.

MIT's 18.06 problem sets assign exercises from a textbook that is not openly licensed, so this set is made of our own problems on the same lectures, in MIT's lecture order. No MIT or textbook problem is used: every matrix, every graph and every number below is ours, and so are the hints and the solutions. The formulas come from the lessons and from the lecture transcripts they cite. The transcripts have no printed page numbers, so "p." means the page of the transcript PDF.

How to answer#

Work each problem on paper first. Then type or choose your result in the answer box and press Check.

A number box wants a decimal number, not a fraction: write 0.50.5, not 1/21/2. Every number box accepts any value within 0.010.01 of the exact one, so give at least two decimal places when the answer is not a whole number. A matrix, a vector or a subspace cannot be typed: a box asks for one of its entries or components, or for a dimension or a rank, or you choose from a list. Entries of a matrix are numbered by row, then column, starting from 1. On a graph, the potentials x1,x2,…x_1, x_2, \dots belong to the nodes 1,2,…1, 2, \dots and the currents y1,y2,…y_1, y_2, \dots to the edges 1,2,…1, 2, \dots.

A formula box takes plain typing, for example (k + 2)/(k - 3), and accepts every correct way of writing the answer.

Some parts ask you to show something. They have no answer box: write your argument, then open the solution and mark yourself. MIT gives no points for these problems: the points here (100 in all) and their split between the parts are ours. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.

What you need from the lessons#

Matrix spaces (Lecture 11). Matrices of one shape can be added and multiplied by numbers, so they form a vector space, and basis and dimension work as in Rn\mathrm{R}^n. The 3×33 \times 3 matrices form a space MM of dimension 9, with the nine matrices that have a single 1 as a basis; the upper triangular 3×33 \times 3 matrices form a subspace UU of dimension 6 (transcript, pp. 1–4). For two subspaces VV and WW of one space, the intersection (the matrices in both) is a subspace, and so is the sum V+WV + W, which holds all v+wv + w with vv in VV and ww in WW (pp. 4–6). Their dimensions fit:

Dimensions of intersection and sum
dim V+dim W=dim(V intersect W)+dim(V+W)\text{dim}\, V + \text{dim}\, W = \text{dim}(V \text{ intersect } W) + \text{dim}(V + W)
In words

dim capital V plus dim capital W equals dim ( capital V intersect capital W ) plus dim the quantity capital V plus capital W

The solutions of a linear differential equation with zero right-hand side form a vector space too, a nullspace: for y′′+y=0y'' + y = 0 the basis is cos⁡x\cos x, sin⁡x\sin x (pp. 7–9).

Rank one (Lecture 11). Every matrix of rank one is a column times a row, and ranks of sums obey an inequality:

Rank one and the rank of a sum
A=uvT,rank⁡(A+B)≤rank⁡(A)+rank⁡(B)A = uv^T, \qquad \operatorname{rank}(A + B) \le \operatorname{rank}(A) + \operatorname{rank}(B)
In words

capital A equals u v^ capital T, r a n k the quantity capital A plus capital B, is less than or equal to r a n k ( capital A ) plus r a n k ( capital B )

Graphs (Lecture 12). A graph has nn nodes and mm edges, each with a direction. Its m×nm \times n incidence matrix AA has one row per edge: −1-1 in the column of the node the edge leaves and +1+1 in the column of the node it enters (transcript, pp. 3–5). For potentials xx at the nodes, AxAx lists the potential differences along the edges (p. 7), so for a connected graph N(A)N(A) is the line of constant vectors c(1,1,…,1)c(1, 1, \dots, 1) and the rank is n−1n - 1 (pp. 8–10). For currents yy on the edges, ATy=0A^Ty = 0 is Kirchhoff's current law: at every node the current in equals the current out (pp. 14–15). Its solutions are the currents around loops, and

Loops and Euler's formula
loops=dim N(AT)=m−r,nodes−edges+loops=1\text{loops} = \text{dim}\, N(A^T) = m - r, \qquad \text{nodes} - \text{edges} + \text{loops} = 1
In words

loops equals dim capital N ( capital A ^ capital T ) equals m minus r, nodes minus edges plus loops equals 1

Independent rows of AA belong to edges that form a tree: a graph with no loop (pp. 19–20). With conductances on the diagonal of CC and current sources ff at the nodes, the three steps of a network combine into one equation (pp. 22–23), whose matrix is symmetric (p. 24):

The network equation
e=Ax,y=Ce,ATy=f⇒ATCAx=fe = Ax, \qquad y = Ce, \qquad A^Ty = f \qquad \Rightarrow \qquad A^TCAx = f
In words

e equals capital A x, y equals capital C e, capital A ^ capital T y equals f which gives capital A ^ capital T capital C capital A x equals f

Orthogonality (Lecture 14). Two vectors are orthogonal when their dot product is zero, and Pythagoras says the same thing:

Orthogonal vectors
xTy=x1y1+⋯+xnyn=0  ⟺  ∥x∥2+∥y∥2=∥x+y∥2,∥x∥2=xTxx^Ty = x_1y_1 + \cdots + x_ny_n = 0 \iff \|x\|^2 + \|y\|^2 = \|x + y\|^2, \qquad \|x\|^2 = x^Tx
In words

x^ capital T y equals x one y one plus and so on plus x sub n y sub n equals 0 is equivalent to the norm of x squared plus the norm of y squared equals the norm of x plus y squared, the norm of x squared equals x^ capital T x

Two subspaces SS and TT are orthogonal when every vector of SS is orthogonal to every vector of TT (p. 8). Ax=0Ax = 0 says that xx is orthogonal to every row of AA, and so to every combination of the rows (pp. 10–12):

The nullspace is orthogonal to the row space
Ax=0  ⇒  (c1 row1+c2 row2+⋯ )Tx=0Ax = 0 \;\Rightarrow\; (c_1\,\text{row}_1 + c_2\,\text{row}_2 + \cdots)^T x = 0
In words

capital A x equals 0 which gives the quantity c one row sub 1 plus c two row sub 2 plus and so on, all ^ capital T x equals 0

In the same way the column space is orthogonal to the left nullspace (p. 12). More than that: the nullspace holds all vectors orthogonal to the row space, and the left nullspace all vectors orthogonal to the column space. They are orthogonal complements, with dimensions rr and n−rn - r in Rn\mathrm{R}^n, and rr and m−rm - r in Rm\mathrm{R}^m (pp. 13–15). Finally, ATAA^TA is square and symmetric, and

Nullspace of AᵀA
N(ATA)=N(A),rank⁡(ATA)=rank⁡(A)N(A^TA) = N(A), \qquad \operatorname{rank}(A^TA) = \operatorname{rank}(A)
In words

capital N ( capital A ^ capital T capital A ) equals capital N ( capital A ), r a n k ( capital A ^ capital T capital A ) equals r a n k ( capital A )

Problem 1#

Problem

Spaces of matrices and of functions

16 points

In the space MM of all 3×33 \times 3 matrices, take three subspaces: the skew-symmetric matrices KK (those with AT=−AA^T = -A), the matrices ZZ whose three rows each add up to zero, and the upper triangular matrices UU.

(a)4 points

Find the dimension of KK and the dimension of ZZ.

Hint

Count the entries you may choose freely. For KK, start with the diagonal: what does AT=−AA^T = -A say about a11a_{11}?

Hint

For ZZ, each row is a vector of R3\mathrm{R}^3 with one condition on it.

Solution

The idea. A dimension is the number of free choices; write the general matrix of each subspace.

Skew-symmetric

AT=−AA^T = -A says aji=−aija_{ji} = -a_{ij}. On the diagonal this gives aii=−aiia_{ii} = -a_{ii}, so aii=0a_{ii} = 0; above the diagonal the three entries are free and fix the three below:

The general skew-symmetric matrix
(0pq−p0s−q−s0)=p(010−100000)+q(001000−100)+s(0000010−10)\begin{pmatrix} 0 & p & q \\ -p & 0 & s \\ -q & -s & 0 \end{pmatrix} = p\begin{pmatrix} 0 & 1 & 0 \\ -1 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} + q\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ -1 & 0 & 0 \end{pmatrix} + s\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & -1 & 0 \end{pmatrix}
In words

0 p q; minus p 0 s; minus q minus s 0 equals p 0 1 0; minus 1 0 0; 0 0 0 plus q 0 0 1; 0 0 0; minus 1 0 0 plus s 0 0 0; 0 0 1; 0 minus 1 0

Source: 18.06 Lecture 11 transcript (Prof. Strang), pp. 2–4 (counting free entries, as for the symmetric matrices; the subspace is our own)

The three matrices on the right are a basis, so dim K=3\text{dim}\, K = 3.

Rows adding to zero

In each row the first two entries are free and the third is minus their sum: 22 free entries per row, 3⋅2=63 \cdot 2 = 6 in all. So dim Z=6\text{dim}\, Z = 6.

Check

ZZ is the set of matrices with A(1,1,1)=0A(1, 1, 1) = 0: nine entries with three conditions, 9−3=69 - 3 = 6. And KK together with the symmetric matrices, which have 3+3=63 + 3 = 6 free entries, fills MM: 3+6=9=dim M3 + 6 = 9 = \text{dim}\, M, since every matrix is half of A+ATA + A^T plus half of A−ATA - A^T.

(b)4 points

Find the dimension of the intersection Z intersect UZ \text{ intersect } U and the dimension of the sum Z+UZ + U.

Hint

Write a general upper triangular matrix and ask each of its rows to add up to zero. Start from the last row.

Solution

The idea. Find the intersection by putting both conditions together; then the dimension formula gives the sum.

The intersection

An upper triangular matrix has rows (a11,a12,a13)(a_{11}, a_{12}, a_{13}), (0,a22,a23)(0, a_{22}, a_{23}) and (0,0,a33)(0, 0, a_{33}). Row sums zero: a33=0a_{33} = 0; a23=−a22a_{23} = -a_{22} with a22a_{22} free; a13=−a11−a12a_{13} = -a_{11} - a_{12} with a11a_{11}, a12a_{12} free. Three free entries:

Upper triangular with zero row sums
(a11a12−a11−a120a22−a22000)\begin{pmatrix} a_{11} & a_{12} & -a_{11} - a_{12} \\ 0 & a_{22} & -a_{22} \\ 0 & 0 & 0 \end{pmatrix}
In words

a one one a one two minus a one one minus a one two; 0 a two two minus a two two; 0 0 0

Source: 18.06 Lecture 11 transcript (Prof. Strang), pp. 4–5 (an intersection of subspaces; the subspaces are our own)

So dim(Z intersect U)=3\text{dim}(Z \text{ intersect } U) = 3.

The sum

Dimension of the sum
dim(Z+U)=dim Z+dim U−dim(Z intersect U)=6+6−3=9\text{dim}(Z + U) = \text{dim}\, Z + \text{dim}\, U - \text{dim}(Z \text{ intersect } U) = 6 + 6 - 3 = 9
In words

dim the quantity Z plus capital U, equals dim Z plus dim capital U minus dim (Z intersect capital U ) equals 6 plus 6 minus 3 equals 9

Source: 18.06 Lecture 11 transcript (Prof. Strang), p. 7 (the formula; the numbers are our own)

Z+UZ + U is all of MM.

Check

Directly: any matrix of MM is its lower part (below the diagonal) plus the rest. The lower part with suitable diagonal entries has zero row sums: for example (0004−4012−3)\begin{pmatrix} 0 & 0 & 0 \\ 4 & -4 & 0 \\ 1 & 2 & -3 \end{pmatrix} is in ZZ, and what is left over is upper triangular. So every matrix is in Z+UZ + U.

(c)4 points

Find the dimension of K intersect UK \text{ intersect } U. Is the union of KK and UU (the matrices that are in KK, in UU, or in both) a subspace of MM?

Hint

A skew-symmetric matrix that is upper triangular has zeros below the diagonal. What does skew-symmetry then say about the entries above it, and about the diagonal?

Hint

A subspace must contain the sum of any two of its members. Try one matrix from KK and one from UU.

Solution

The idea. The two conditions together leave nothing free; a union fails the test of sums.

The intersection

Upper triangular means aij=0a_{ij} = 0 below the diagonal. Skew-symmetry then gives aij=−aji=0a_{ij} = -a_{ji} = 0 above it as well, and the diagonal of a skew-symmetric matrix is zero anyway. Only the zero matrix is left: K intersect UK \text{ intersect } U is the zero subspace, of dimension 00 (its basis is empty).

The union

Take k=(010−100000)k = \begin{pmatrix} 0 & 1 & 0 \\ -1 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} in KK and the identity II in UU. Their sum k+I=(110−110001)k + I = \begin{pmatrix} 1 & 1 & 0 \\ -1 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} has a nonzero entry below the diagonal, so it is not in UU, and a nonzero diagonal, so it is not in KK. The union is not closed under addition and is not a subspace, like two lines in a plane (Lecture 11 transcript, p. 5). It does contain the zero matrix and all multiples of its matrices; that is not enough.

Check

The formula of "What you need" gives dim(K+U)=3+6−0=9\text{dim}(K + U) = 3 + 6 - 0 = 9: every matrix is a skew-symmetric matrix plus an upper triangular one, in exactly one way, since a second split would differ by a matrix in K intersect UK \text{ intersect } U.

(d)4 points

Functions y(x)y(x) can be added and multiplied by numbers too. Find the dimension of the space of solutions of y′′+4y=0y'' + 4y = 0 and of the space of solutions of d3ydx3=0\frac{d^3y}{dx^3} = 0. Then decide whether the solutions of y′′+4y=8y'' + 4y = 8 form a vector space.

Hint

Look for solutions of y′′+4y=0y'' + 4y = 0 among sines and cosines. Which functions have a third derivative that is zero?

Hint

Every vector space contains a zero vector. Here that is the function that is zero for every xx.

Solution

The idea. A linear equation with zero on the right has a nullspace of solutions; with a nonzero right-hand side it does not, just as for Ax=bAx = b.

y'' + 4y = 0

cos⁡2x\cos 2x and sin⁡2x\sin 2x are solutions: their second derivatives are −4cos⁡2x-4\cos 2x and −4sin⁡2x-4\sin 2x. Every solution is a combination of the two, and neither is a multiple of the other, so they are a basis:

Solutions of the first equation
y=c1cos⁡2x+c2sin⁡2xy = c_1\cos 2x + c_2\sin 2x
In words

y equals c one cos 2 x plus c two sine 2 x

Source: 18.06 Lecture 11 transcript (Prof. Strang), p. 8 (the solution space as a nullspace; the equation is our own)

The dimension is 22, as for every linear second-order equation of this kind (Lecture 11 transcript, pp. 8–9).

The third derivative zero

Integrating three times: y′′=c3y'' = c_3, y′=c3x+c2y' = c_3x + c_2, y=12c3x2+c2x+c1y = \frac12c_3x^2 + c_2x + c_1. The solutions are the polynomials of degree at most 2, with basis 11, xx, x2x^2: dimension 33.

y'' + 4y = 8

The constant y=2y = 2 is a solution (0+8=80 + 8 = 8), so there are solutions. But the zero function gives 0+0=0≠80 + 0 = 0 \neq 8, so it is not one, and the solutions are not a vector space. Indeed 2+2=42 + 2 = 4 gives 0+16=16≠80 + 16 = 16 \neq 8: sums of solutions are not solutions. The solutions are 2+c1cos⁡2x+c2sin⁡2x2 + c_1\cos 2x + c_2\sin 2x, a shifted copy of the first space, like the solutions of Ax=bAx = b.

Check

y=3cos⁡2x−sin⁡2xy = 3\cos 2x - \sin 2x: y′′=−12cos⁡2x+4sin⁡2x=−4yy'' = -12\cos 2x + 4\sin 2x = -4y. And y=x2y = x^2 has d3ydx3=0\frac{d^3y}{dx^3} = 0.

Problem 2#

Problem

Rank-one matrices and the rank of a sum

14 points

(a)5 points

Write

A matrix of rank one
A=(31−2124−8−3−12)A = \begin{pmatrix} 3 & 1 & -2 \\ 12 & 4 & -8 \\ -3 & -1 & 2 \end{pmatrix}
In words

capital A equals 3 1 minus 2; 12 4 minus 8; minus 3 minus 1 2

Source: 18.06 Lecture 11 transcript (Prof. Strang), pp. 10–11 (a rank-one matrix; the matrix is our own)

as A=uvTA = uv^T with u=(u1,u2,u3)u = (u_1, u_2, u_3) and u1=1u_1 = 1. Give u2u_2, u3u_3 and the third component of vv.

Hint

Every row of a rank-one matrix is a multiple of one row. Row ii of uvTuv^T is uiu_i times vTv^T.

Solution

The idea. With u1=1u_1 = 1, the first row of AA is vTv^T itself, and uu holds the multiples of that row.

The row and the multiples

Row 1 of uvTuv^T is u1vT=vTu_1v^T = v^T, so v=(3,1,−2)v = (3, 1, -2). Row 2 is (12,4,−8)=4vT(12, 4, -8) = 4v^T and row 3 is (−3,−1,2)=−1⋅vT(-3, -1, 2) = -1 \cdot v^T, so u=(1,4,−1)u = (1, 4, -1):

Column times row
A=(14−1)(31−2)A = \begin{pmatrix} 1 \\ 4 \\ -1 \end{pmatrix}\begin{pmatrix} 3 & 1 & -2 \end{pmatrix}
In words

capital A equals 1; 4; minus 1 3 1 minus 2

Source: 18.06 Lecture 11 transcript (Prof. Strang), p. 11 (column times row; the numbers are our own)

Check

Multiply back entry by entry: aij=uivja_{ij} = u_iv_j, for example a23=4⋅(−2)=−8a_{23} = 4 \cdot (-2) = -8 and a32=(−1)⋅1=−1a_{32} = (-1) \cdot 1 = -1. Read by columns instead, every column of AA is a multiple of uu: column 3 is −2u-2u.

(b)4 points

Find the rank of each of the two sums of rank-one matrices

Two sums of rank-one matrices
B1=(110)(102)+(011)(204),B2=(110)(102)+(011)(011)B_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}\begin{pmatrix} 1 & 0 & 2 \end{pmatrix} + \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}\begin{pmatrix} 2 & 0 & 4 \end{pmatrix}, \qquad B_2 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}\begin{pmatrix} 1 & 0 & 2 \end{pmatrix} + \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}\begin{pmatrix} 0 & 1 & 1 \end{pmatrix}
In words

capital B one equals 1; 1; 0 1 0 2 plus 0; 1; 1 2 0 4, capital B two equals 1; 1; 0 1 0 2 plus 0; 1; 1 0 1 1

Source: 18.06 Lecture 11 transcript (Prof. Strang), pp. 11–13 (sums of rank-one matrices; the matrices are our own)
Hint

Compare the row factors of the two terms in each sum. When they are multiples of each other, the two terms can be combined into one.

Hint

Or add up the matrices and count the independent rows.

Solution

The idea. The rank of a sum of two rank-one matrices is at most 1+1=21 + 1 = 2; it drops to 1 when the two terms share a row (or a column) direction.

B₁

The second row factor (2,0,4)(2, 0, 4) is twice the first (1,0,2)(1, 0, 2), so

B₁ in one term
B1=[(110)+2(011)](102)=(132)(102)=(102306204)B_1 = \left[\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} + 2\begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}\right]\begin{pmatrix} 1 & 0 & 2 \end{pmatrix} = \begin{pmatrix} 1 \\ 3 \\ 2 \end{pmatrix}\begin{pmatrix} 1 & 0 & 2 \end{pmatrix} = \begin{pmatrix} 1 & 0 & 2 \\ 3 & 0 & 6 \\ 2 & 0 & 4 \end{pmatrix}
In words

capital B one equals the quantity 1; 1; 0 plus 2 0; 1; 1, 1 0 2 equals 1; 3; 2 1 0 2 equals 1 0 2; 3 0 6; 2 0 4

Source: MIT 18.06 Lecture 14: Orthogonal vectors and subspaces, Problem 2(b) (our own solution)

a column times a row: rank 1.

B₂

B₂ added up
B2=(102102000)+(000011011)=(102113011)B_2 = \begin{pmatrix} 1 & 0 & 2 \\ 1 & 0 & 2 \\ 0 & 0 & 0 \end{pmatrix} + \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 1 \\ 0 & 1 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 & 2 \\ 1 & 1 & 3 \\ 0 & 1 & 1 \end{pmatrix}
In words

capital B two equals 1 0 2; 1 0 2; 0 0 0 plus 0 0 0; 0 1 1; 0 1 1 equals 1 0 2; 1 1 3; 0 1 1

Source: 18.06 Lecture 11 transcript (Prof. Strang), p. 13 (the rank of a sum; the numbers are our own)

Row 2 is row 1 plus row 3, and rows 1 and 3 are independent (look at their first two entries). So the rank is 2, the most the inequality allows.

Check

Every column of B2B_2 is a combination of (1,1,0)(1, 1, 0) and (0,1,1)(0, 1, 1), so its column space is the plane they span: dimension 2. The two sums also show that the matrices of rank at most 1 are not a subspace: B2B_2 is a sum of two of them and has rank 2.

(c)5 points

AA and BB are 4×64 \times 6 matrices with rank⁡(A)=2\operatorname{rank}(A) = 2 and rank⁡(B)=3\operatorname{rank}(B) = 3. What is the largest possible rank of A+BA + B, and what is the smallest possible rank?

Hint

The inequality of "What you need" is one limit for the largest rank. The shape of the matrix is another.

Hint

For the smallest rank, apply the same inequality to B=(A+B)+(−A)B = (A + B) + (-A).

Solution

The idea. Two inequalities bound the rank; then an example shows that each bound is reached.

Largest

The inequality allows rank⁡(A+B)≤2+3=5\operatorname{rank}(A + B) \le 2 + 3 = 5. But a 4×64 \times 6 matrix has only 4 rows, so its rank is at most 4. The largest possible rank is 44, if an example reaches it.

Smallest

A lower bound for the rank of a sum
rank⁡(B)=rank⁡((A+B)+(−A))≤rank⁡(A+B)+rank⁡(A)  ⇒  rank⁡(A+B)≥3−2=1\operatorname{rank}(B) = \operatorname{rank}\big((A + B) + (-A)\big) \le \operatorname{rank}(A + B) + \operatorname{rank}(A) \;\Rightarrow\; \operatorname{rank}(A + B) \ge 3 - 2 = 1
In words

r a n k ( capital B ) equals r a n k the quantity the quantity capital A plus capital B, all plus (- capital A ), is less than or equal to r a n k the quantity capital A plus capital B, all plus r a n k ( capital A ) which gives r a n k the quantity capital A plus capital B, is greater than or equal to 3 minus 2 equals 1

Source: MIT 18.06 Lecture 14: Orthogonal vectors and subspaces, Problem 2(c) (our own solution)

(−A-A has the same rank as AA.) The smallest possible rank is 11, if an example reaches it.

Two examples

Write EijE_{ij} for the 4×64 \times 6 matrix with a single 1 in row ii, column jj. Take A=E11+E22A = E_{11} + E_{22}, of rank 2. With B=−E11−E22+E33B = -E_{11} - E_{22} + E_{33}, of rank 3, the sum A+B=E33A + B = E_{33} has rank 1. With B=E33+E44+E15B = E_{33} + E_{44} + E_{15}, of rank 3, the sum A+B=E11+E15+E22+E33+E44A + B = E_{11} + E_{15} + E_{22} + E_{33} + E_{44} has a nonzero entry in a new column of each of its 4 rows, so its rank is 4.

Check

Between the bounds every rank occurs too: B=−E11+E33+E44B = -E_{11} + E_{33} + E_{44} gives A+B=E22+E33+E44A + B = E_{22} + E_{33} + E_{44}, of rank 3. In Lecture 11 Strang asks whether the matrices of rank at most 4 among the 5×175 \times 17 matrices form a subspace: no, because the sum of two of them can have rank 5; the inequality only caps that sum at 8, and the shape caps it at 5 (transcript, pp. 12–13).

Problem 3#

Problem

A graph with five nodes and seven edges

20 points

A graph has n=5n = 5 nodes and m=7m = 7 edges, with these directions:

Let AA be its 7×57 \times 5 incidence matrix.

(a)5 points

Write down AA (this has no box). For the potentials x=(0,2,5,3,4)x = (0, 2, 5, 3, 4) at the five nodes, find entry 5 and entry 7 of AxAx.

Hint

Row 5 of AA belongs to edge 5. It has −1-1 in the column of the node the edge leaves and +1+1 in the column of the node it enters, so row 5 times xx is a difference of two potentials.

Solution

The idea. Each row of AA has one −1-1 and one +1+1, so each entry of AxAx is the potential at the end of an edge minus the potential at its start.

The incidence matrix

The incidence matrix of the graph
A=(−11000−101000−11000−101000−101000−110−1001)A = \begin{pmatrix} -1 & 1 & 0 & 0 & 0 \\ -1 & 0 & 1 & 0 & 0 \\ 0 & -1 & 1 & 0 & 0 \\ 0 & -1 & 0 & 1 & 0 \\ 0 & 0 & -1 & 0 & 1 \\ 0 & 0 & 0 & -1 & 1 \\ 0 & -1 & 0 & 0 & 1 \end{pmatrix}
In words

capital A equals minus 1 1 0 0 0; minus 1 0 1 0 0; 0 minus 1 1 0 0; 0 minus 1 0 1 0; 0 0 minus 1 0 1; 0 0 0 minus 1 1; 0 minus 1 0 0 1

Source: 18.06 Lecture 12 transcript (Prof. Strang), pp. 3–5 (the rule; the graph is our own)

The potential differences

Ax for these potentials
Ax=(x2−x1x3−x1x3−x2x4−x2x5−x3x5−x4x5−x2)=(2−05−05−23−24−54−34−2)=(2531−112)Ax = \begin{pmatrix} x_2 - x_1 \\ x_3 - x_1 \\ x_3 - x_2 \\ x_4 - x_2 \\ x_5 - x_3 \\ x_5 - x_4 \\ x_5 - x_2 \end{pmatrix} = \begin{pmatrix} 2 - 0 \\ 5 - 0 \\ 5 - 2 \\ 3 - 2 \\ 4 - 5 \\ 4 - 3 \\ 4 - 2 \end{pmatrix} = \begin{pmatrix} 2 \\ 5 \\ 3 \\ 1 \\ -1 \\ 1 \\ 2 \end{pmatrix}
In words

capital A x equals x two minus x one; x three minus x one; x three minus x two; x four minus x two; x five minus x three; x five minus x four; x five minus x two equals 2 minus 0; 5 minus 0; 5 minus 2; 3 minus 2; 4 minus 5; 4 minus 3; 4 minus 2 equals 2; 5; 3; 1; minus 1; 1; 2

Source: 18.06 Lecture 12 transcript (Prof. Strang), p. 7 (potential differences; the numbers are our own)

Entry 5 is −1-1 and entry 7 is 22.

Check

Two paths from node 1 to node 5 must give the same total rise x5−x1=4x_5 - x_1 = 4: along edges 1 and 7, 2+2=42 + 2 = 4; along edges 2 and 5, 5+(−1)=45 + (-1) = 4. Adding the same constant to every potential would leave AxAx unchanged.

(b)5 points

Which set of four edges forms a tree, that is, connects all five nodes without a loop?

Hint

Draw the graph and the four edges of each set. Look for a loop, and for a node that no edge of the set reaches.

Solution

The idea. Four edges on five nodes form a tree exactly when they contain no loop; then they reach every node.

Each set

Edges 1, 2, 3 and 5 contain the loop of nodes 1, 2, 3. Edges 3, 5, 6 and 7 contain the loop of nodes 2, 3, 5, and never reach node 1. Edges 2, 4, 6 and 7 contain the loop of nodes 2, 4, 5, and leave nodes 1 and 3 cut off from the rest. Edges 1, 3, 4 and 7 all start or end at node 2 and reach nodes 1, 3, 4 and 5 once each: a star, with no loop. That is the tree.

Independent rows

The four rows of AA for edges 1, 3, 4 and 7 are independent: each of them is the only one of the four with a nonzero entry in the column of node 1, 3, 4 or 5 respectively. For a set with a loop the rows around the loop are dependent, for example row 1 plus row 3 minus row 2 is zero (Lecture 12 transcript, pp. 5, 19–20).

Check

A tree on nn nodes has n−1n - 1 edges and no loop, and Euler's formula agrees: 5−4+0=15 - 4 + 0 = 1.

(c)5 points

Currents y=(y1,…,y7)y = (y_1, \dots, y_7) on the edges obey Kirchhoff's current law ATy=0A^Ty = 0, with y1=2y_1 = 2, y2=−2y_2 = -2, y3=1y_3 = 1, y4=2y_4 = 2 and y6=2y_6 = 2. Find y5y_5 and y7y_7.

Hint

Row jj of ATy=0A^Ty = 0 belongs to node jj: the currents on the edges entering node jj, minus the currents on the edges leaving it, add up to zero.

Hint

Find a node where only one of the two unknown currents appears.

Solution

The idea. Write the current law node by node and solve the equations that hold a single unknown.

The current law at each node

Kirchhoff's current law for this graph
−y1−y2=0,y1−y3−y4−y7=0,y2+y3−y5=0,y4−y6=0,y5+y6+y7=0-y_1 - y_2 = 0, \quad y_1 - y_3 - y_4 - y_7 = 0, \quad y_2 + y_3 - y_5 = 0, \quad y_4 - y_6 = 0, \quad y_5 + y_6 + y_7 = 0
In words

minus y one minus y two equals 0, y one minus y three minus y four minus y seven equals 0, y two plus y three minus y five equals 0, y four minus y six equals 0, y five plus y six plus y seven equals 0

Source: 18.06 Lecture 12 transcript (Prof. Strang), pp. 14–15 (the law node by node; the graph is our own)

Solve

Node 3: y5=y2+y3=−2+1=−1y_5 = y_2 + y_3 = -2 + 1 = -1. Node 5: y7=−y5−y6=1−2=−1y_7 = -y_5 - y_6 = 1 - 2 = -1. A negative current flows against the arrow.

Check

The other three nodes must balance too. Node 1: −2−(−2)=0-2 - (-2) = 0. Node 2: 2−1−2−(−1)=02 - 1 - 2 - (-1) = 0. Node 4: 2−2=02 - 2 = 0.

(d)5 points

Find the rank of AA and the dimension of N(AT)N(A^T), and check Euler's formula for this graph (that check has no box).

Hint

The graph is connected: you can walk from any node to any other along edges. What is N(A)N(A) then?

Solution

The idea. For a connected graph the nullspace is the line of constant potentials, and the left nullspace counts the independent loops.

The rank

Ax=0Ax = 0 means equal potentials at the two ends of every edge, so, walking along edges, equal potentials everywhere: N(A)N(A) is the line through (1,1,1,1,1)(1, 1, 1, 1, 1), of dimension 1. Then r=n−1=5−1=4r = n - 1 = 5 - 1 = 4 (Lecture 12 transcript, pp. 8–10).

The left nullspace

dim N(AT)=m−r=7−4=3\text{dim}\, N(A^T) = m - r = 7 - 4 = 3. Three independent loops carry the currents that solve the current law:

Three loop currents
(1−110000),(000101−1),(001010−1)\begin{pmatrix} 1 \\ -1 \\ 1 \\ 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}, \quad \begin{pmatrix} 0 \\ 0 \\ 0 \\ 1 \\ 0 \\ 1 \\ -1 \end{pmatrix}, \quad \begin{pmatrix} 0 \\ 0 \\ 1 \\ 0 \\ 1 \\ 0 \\ -1 \end{pmatrix}
In words

1; minus 1; 1; 0; 0; 0; 0, 0; 0; 0; 1; 0; 1; minus 1, 0; 0; 1; 0; 1; 0; minus 1

Source: 18.06 Lecture 12 transcript (Prof. Strang), pp. 16–17 (currents around loops; the graph is our own)

The first goes round node 1, 2, 3 (against edge 2 on the way back), the second round 2, 4, 5 and the third round 2, 3, 5 (both against edge 7).

Euler's formula

nodes−edges+loops=5−7+3=1\text{nodes} - \text{edges} + \text{loops} = 5 - 7 + 3 = 1, as it must be.

Check

The currents of part (c) are a combination of the three loops: twice the first, plus twice the second, minus the third gives (2,−2,2−1,2,−1,2,−2+1)=(2,−2,1,2,−1,2,−1)(2, -2, 2 - 1, 2, -1, 2, -2 + 1) = (2, -2, 1, 2, -1, 2, -1).

Problem 4#

Problem

A small network

14 points

A network has three nodes and three edges: edge 1 from node 2 to node 1, edge 2 from node 2 to node 3, edge 3 from node 3 to node 1. The conductances are 11, 22 and 33 on edges 1, 2 and 3, so C=diag⁡(1,2,3)C = \operatorname{diag}(1, 2, 3). Let AA be the 3×33 \times 3 incidence matrix.

(a)5 points

Compute the matrix ATCAA^TCA. Give its entry in row 1, column 1 and its entry in row 2, column 3. Then show that ATCAA^TCA is symmetric and that ATCA (1,1,1)=0A^TCA\,(1, 1, 1) = 0 (these have no box).

Hint

Compute CACA first: it multiplies each row of AA by the conductance of that edge. Then multiply by ATA^T on the left.

Solution

The idea. Write AA by the rule, scale its rows by CC, and multiply.

A and CA

The incidence matrix and CA
A=(1−100−1110−1),CA=(1−100−2230−3)A = \begin{pmatrix} 1 & -1 & 0 \\ 0 & -1 & 1 \\ 1 & 0 & -1 \end{pmatrix}, \qquad CA = \begin{pmatrix} 1 & -1 & 0 \\ 0 & -2 & 2 \\ 3 & 0 & -3 \end{pmatrix}
In words

capital A equals 1 minus 1 0; 0 minus 1 1; 1 0 minus 1, capital C capital A equals 1 minus 1 0; 0 minus 2 2; 3 0 minus 3

Source: 18.06 Lecture 12 transcript (Prof. Strang), pp. 3–5 (the rule; the network is our own)

The product

Entry (i,j)(i, j) of ATCAA^TCA is column ii of AA times column jj of CACA:

The network matrix
ATCA=(4−1−3−13−2−3−25)A^TCA = \begin{pmatrix} 4 & -1 & -3 \\ -1 & 3 & -2 \\ -3 & -2 & 5 \end{pmatrix}
In words

capital A ^ capital T capital C capital A equals 4 minus 1 minus 3; minus 1 3 minus 2; minus 3 minus 2 5

Source: 18.06 Lecture 12 transcript (Prof. Strang), pp. 22–23 (the equation; the numbers are our own)

For example, entry (1,1)(1, 1) is 1⋅1+0⋅0+1⋅3=41 \cdot 1 + 0 \cdot 0 + 1 \cdot 3 = 4 and entry (2,3)(2, 3) is (−1)⋅0+(−1)⋅2+0⋅(−3)=−2(-1) \cdot 0 + (-1) \cdot 2 + 0 \cdot (-3) = -2.

Symmetric, with constants in its nullspace

(ATCA)T=ATCTA=ATCA(A^TCA)^T = A^TC^TA = A^TCA, since the diagonal CC equals its transpose (Lecture 12 transcript, p. 24). Each row of the matrix adds up to zero (4−1−3=04 - 1 - 3 = 0, −1+3−2=0-1 + 3 - 2 = 0, −3−2+5=0-3 - 2 + 5 = 0), so (1,1,1)(1, 1, 1) goes to zero: already A(1,1,1)=0A(1, 1, 1) = 0, since equal potentials give no differences.

Check

Each diagonal entry is the total conductance of the edges at that node: node 1 has edges 1 and 3, 1+3=41 + 3 = 4; node 3 has edges 2 and 3, 2+3=52 + 3 = 5. Each off-diagonal entry is minus the conductance of the edge between the two nodes: edge 2 joins nodes 2 and 3, with conductance 2.

(b)4 points

A current source of 11 is fed in at node 1, none at node 2, and f3f_3 at node 3, so f=(1,0,f3)f = (1, 0, f_3). For which f3f_3 does ATCAx=fA^TCAx = f have a solution?

Hint

ATCAA^TCA is symmetric, so its column space is orthogonal to its own nullspace. Which vector of part (a) lies in that nullspace?

Solution

The idea. A right-hand side is in the column space exactly when it is orthogonal to the left nullspace, and for a symmetric matrix the left nullspace is the nullspace.

The condition

Since (ATCA)T=ATCA(A^TCA)^T = A^TCA, the left nullspace of ATCAA^TCA is its nullspace, which contains (1,1,1)(1, 1, 1). The column space is orthogonal to it (Lecture 14 transcript, p. 12), so a solvable ff needs

The sources must add up to zero
(1,1,1)⋅f=1+0+f3=0  ⇒  f3=−1(1, 1, 1) \cdot f = 1 + 0 + f_3 = 0 \;\Rightarrow\; f_3 = -1
In words

(1, 1, 1) times f equals 1 plus 0 plus f three equals 0 which gives f three equals minus 1

Source: 18.06 Lecture 14 transcript (Prof. Strang), p. 12 (the column space is orthogonal to the left nullspace; the numbers are our own)

Enough

The rank of ATCAA^TCA is 2 (rows 1 and 2 are independent, and the three rows add to zero), so the left nullspace is only the line through (1,1,1)(1, 1, 1) and the column space is the whole plane orthogonal to it. So f3=−1f_3 = -1 is enough as well as needed. Physically: the current fed in at node 1 must leave again somewhere, here at node 3.

Check

Adding the three equations of ATCAx=fA^TCAx = f gives 0=1+0+f30 = 1 + 0 + f_3 for every xx, because the columns of ATCAA^TCA add up to zero.

(c)5 points

Take the sources of part (b) and ground node 3, that is, set x3=0x_3 = 0. Find the potential x1x_1, and the current y3y_3 on edge 3, from y=CAxy = CAx.

Hint

With x3=0x_3 = 0, the third column of ATCAA^TCA drops out. Keep the first two equations: two equations for x1x_1 and x2x_2.

Hint

Entry 3 of AxAx is the potential difference along edge 3; multiply it by the conductance of that edge.

Solution

The idea. Grounding a node removes the constant vectors from the nullspace; the reduced 2×22 \times 2 system is invertible.

The grounded system

With x3=0x_3 = 0 the first two equations are

Two equations for two potentials
4x1−x2=1,−x1+3x2=04x_1 - x_2 = 1, \qquad -x_1 + 3x_2 = 0
In words

4 x one minus x two equals 1, minus x one plus 3 x two equals 0

Source: 18.06 Lecture 12 transcript (Prof. Strang), p. 9 (grounding a node; the numbers are our own)

The second gives x1=3x2x_1 = 3x_2; then 12x2−x2=112x_2 - x_2 = 1, so x2=111x_2 = \frac{1}{11} and x1=311≈0.2727x_1 = \frac{3}{11} \approx 0.2727.

The current

Entry 3 of AxAx is x1−x3=311x_1 - x_3 = \frac{3}{11}, and the conductance of edge 3 is 33, so y3=911≈0.8182y_3 = \frac{9}{11} \approx 0.8182.

Check

All currents: y1=1⋅(x1−x2)=211y_1 = 1 \cdot (x_1 - x_2) = \frac{2}{11}, y2=2⋅(x3−x2)=−211y_2 = 2 \cdot (x_3 - x_2) = -\frac{2}{11}, y3=911y_3 = \frac{9}{11}. Then ATy=(y1+y3,−y1−y2,y2−y3)=(1,0,−1)A^Ty = (y_1 + y_3, -y_1 - y_2, y_2 - y_3) = (1, 0, -1), the sources ff, and the third equation −3x1−2x2=−1111=−1-3x_1 - 2x_2 = -\frac{11}{11} = -1 holds too.

Problem 5#

Problem

Orthogonal vectors and orthogonal subspaces

18 points

(a)6 points

Take u=(2,−1,3,1)u = (2, -1, 3, 1) and w=(1,4,1,−1)w = (1, 4, 1, -1) in R4\mathrm{R}^4. Check that they are orthogonal (no box). Find ∥u∥2\|u\|^2 and ∥u+w∥2\|u + w\|^2, and find the number cc for which (1,c,2,−3)(1, c, 2, -3) is orthogonal to uu.

Hint

The length squared is uTuu^Tu, the sum of the squares of the components. Pythagoras gives a second way to find ∥u+w∥2\|u + w\|^2.

Solution

The idea. Every question here is a dot product.

Orthogonal

uTw=2⋅1+(−1)⋅4+3⋅1+1⋅(−1)=2−4+3−1=0u^Tw = 2 \cdot 1 + (-1) \cdot 4 + 3 \cdot 1 + 1 \cdot (-1) = 2 - 4 + 3 - 1 = 0.

The lengths

∥u∥2=4+1+9+1=15\|u\|^2 = 4 + 1 + 9 + 1 = 15 and ∥w∥2=1+16+1+1=19\|w\|^2 = 1 + 16 + 1 + 1 = 19. With u+w=(3,3,4,0)u + w = (3, 3, 4, 0):

Pythagoras in R⁴
∥u+w∥2=9+9+16+0=34=15+19=∥u∥2+∥w∥2\|u + w\|^2 = 9 + 9 + 16 + 0 = 34 = 15 + 19 = \|u\|^2 + \|w\|^2
In words

the norm of u plus w squared equals 9 plus 9 plus 16 plus 0 equals 34 equals 15 plus 19 equals the norm of u squared plus the norm of w squared

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 4–5 (the check; the numbers are our own)

The number c

uT(1,c,2,−3)=2−c+6−3=5−cu^T(1, c, 2, -3) = 2 - c + 6 - 3 = 5 - c, which is zero for c=5c = 5.

Check

(1,5,2,−3)(1, 5, 2, -3) against uu: 2−5+6−3=02 - 5 + 6 - 3 = 0.

(b)3 points

For a number tt take x=(1,t,2)x = (1, t, 2) and y=(t,1,−1)y = (t, 1, -1). Find ∥x+y∥2−∥x∥2−∥y∥2\|x + y\|^2 - \|x\|^2 - \|y\|^2 as a formula in tt, and the value of tt for which xx and yy are orthogonal.

Hint

Expand (x+y)T(x+y)(x + y)^T(x + y) as in the lecture's proof. Two of the four terms are left over.

Solution

The idea. Pythagoras fails by exactly twice the dot product.

The gap

Pythagoras with the cross terms
∥x+y∥2−∥x∥2−∥y∥2=xTy+yTx=2xTy\|x + y\|^2 - \|x\|^2 - \|y\|^2 = x^Ty + y^Tx = 2x^Ty
In words

the norm of x plus y squared minus the norm of x squared minus the norm of y squared equals x^ capital T y plus y^ capital T x equals 2 x^ capital T y

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 5–6 (the expansion)

Here xTy=t+t−2=2t−2x^Ty = t + t - 2 = 2t - 2, so the gap is 4t−44t - 4.

Orthogonal

4t−4=04t - 4 = 0 for t=1t = 1: then x=(1,1,2)x = (1, 1, 2) and y=(1,1,−1)y = (1, 1, -1), with xTy=1+1−2=0x^Ty = 1 + 1 - 2 = 0.

Check

For t=2t = 2: x+y=(3,3,1)x + y = (3, 3, 1) with ∥x+y∥2=19\|x + y\|^2 = 19, ∥x∥2=1+4+4=9\|x\|^2 = 1 + 4 + 4 = 9 and ∥y∥2=4+1+1=6\|y\|^2 = 4 + 1 + 1 = 6; the gap is 19−15=4=4⋅2−419 - 15 = 4 = 4 \cdot 2 - 4.

(c)6 points

Decide for each pair of subspaces of R3\mathrm{R}^3 whether they are orthogonal. Pair 1: the line through (1,1,0)(1, 1, 0) and the line through (1,−1,5)(1, -1, 5). Pair 2: the plane x3=0x_3 = 0 and the plane x1=0x_1 = 0. Pair 3: the line through (1,2,0)(1, 2, 0) and the plane spanned by (2,−1,0)(2, -1, 0) and (0,1,1)(0, 1, 1). Pair 4: the plane spanned by (1,0,1)(1, 0, 1) and (0,1,0)(0, 1, 0), and the line through (1,0,−1)(1, 0, -1).

Hint

It is enough to test the vectors that span each subspace: if every spanning vector of one is orthogonal to every spanning vector of the other, so are all their combinations.

Hint

If two subspaces have a nonzero vector in common, can they be orthogonal?

Solution

The idea. Test spanning vectors against spanning vectors; one nonzero dot product is enough to say no.

Pair 1

(1,1,0)⋅(1,−1,5)=1−1+0=0(1, 1, 0) \cdot (1, -1, 5) = 1 - 1 + 0 = 0: the lines are orthogonal.

Pair 2

Both planes contain the x2x_2-axis, for example (0,1,0)(0, 1, 0), which is not orthogonal to itself. Not orthogonal: this is the wall and the floor of the lecture (Lecture 14 transcript, pp. 8–9).

Pair 3

(1,2,0)⋅(2,−1,0)=0(1, 2, 0) \cdot (2, -1, 0) = 0, but (1,2,0)⋅(0,1,1)=2≠0(1, 2, 0) \cdot (0, 1, 1) = 2 \neq 0. Not orthogonal: one spanning vector is not enough.

Pair 4

(1,0,1)⋅(1,0,−1)=1+0−1=0(1, 0, 1) \cdot (1, 0, -1) = 1 + 0 - 1 = 0 and (0,1,0)⋅(1,0,−1)=0(0, 1, 0) \cdot (1, 0, -1) = 0: orthogonal. So every combination of (1,0,1)(1, 0, 1) and (0,1,0)(0, 1, 0), the whole plane, is orthogonal to the line.

Check

In Pair 4 the dimensions are 2+1=32 + 1 = 3: the line is the orthogonal complement of the plane, all of the plane's perpendicular directions. In Pair 1 two lines, 1+1=21 + 1 = 2, are orthogonal without being complements.

(d)3 points

Show that two orthogonal subspaces SS and TT have only the zero vector in common.

This part has no answer box. Write your argument, then open the solution and mark yourself.

Hint

Take a vector vv that lies in both. Which vector must it be orthogonal to?

Solution

The idea. A vector in both subspaces must be orthogonal to itself.

The argument

Let vv be in SS and in TT. Since vv is in SS and vv is in TT, orthogonality gives

Orthogonal to itself
vTv=∥v∥2=0v^Tv = \|v\|^2 = 0
In words

v^ capital T v equals the norm of v squared equals 0

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 8–9 (the argument)

∥v∥2\|v\|^2 is the sum of the squares of the components of vv, and a sum of squares is zero only when every term is zero. So v=0v = 0.

Check

This is why the wall and the floor of Pair 2 in part (c) are not orthogonal: they share a whole line. The converse fails, as Pair 3 shows: the line and the plane there meet only at zero (the line's direction (1,2,0)(1, 2, 0) is not a combination of (2,−1,0)(2, -1, 0) and (0,1,1)(0, 1, 1), because of the third components) and yet are not orthogonal (Lecture 14 transcript, p. 9).

Problem 6#

Problem

Orthogonal complements

18 points

Take the 3×43 \times 4 matrix

A matrix of rank 2
B=(120−124113610)B = \begin{pmatrix} 1 & 2 & 0 & -1 \\ 2 & 4 & 1 & 1 \\ 3 & 6 & 1 & 0 \end{pmatrix}
In words

capital B equals 1 2 0 minus 1; 2 4 1 1; 3 6 1 0

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 10–12 (rows and nullspace; the matrix is our own)

which has rank 2.

(a)6 points

Without elimination, decide for each of the vectors v1=(−2,1,0,0)v_1 = (-2, 1, 0, 0), v2=(1,1,1,1)v_2 = (1, 1, 1, 1) and v3=(3,−1,−3,1)v_3 = (3, -1, -3, 1) whether it is in N(B)N(B).

Hint

Bv=0Bv = 0 says that vv is orthogonal to each row of BB. Take the dot products.

Solution

The idea. A vector is in the nullspace exactly when it is orthogonal to every row.

The dot products

For v1v_1: −2+2+0+0=0-2 + 2 + 0 + 0 = 0, −4+4+0+0=0-4 + 4 + 0 + 0 = 0, −6+6+0+0=0-6 + 6 + 0 + 0 = 0. In N(B)N(B).

For v2v_2: the first row gives 1+2+0−1=2≠01 + 2 + 0 - 1 = 2 \neq 0. Not in N(B)N(B); one row is enough to say no.

For v3v_3: 3−2+0−1=03 - 2 + 0 - 1 = 0, 6−4−3+1=06 - 4 - 3 + 1 = 0, 9−6−3+0=09 - 6 - 3 + 0 = 0. In N(B)N(B).

Check

v1v_1 and v3v_3 are independent, and N(B)N(B) has dimension n−r=4−2=2n - r = 4 - 2 = 2, so they are a basis of N(B)N(B): the whole orthogonal complement of the row space in R4\mathrm{R}^4. By elimination the special solutions are (−2,1,0,0)(-2, 1, 0, 0) and (1,0,−3,1)(1, 0, -3, 1), and indeed v3v_3 is minus the first plus the second.

(b)6 points

Find the number cc for which (1,1,c)(1, 1, c) is in the left nullspace N(BT)N(B^T). Then use orthogonality to decide whether b=(1,0,2)b = (1, 0, 2) and whether b=(2,1,3)b = (2, 1, 3) is in the column space C(B)C(B).

Hint

BTy=0B^Ty = 0 says that yy is orthogonal to every column of BB. Write that out for the first and the third column.

Hint

N(BT)N(B^T) has dimension m−rm - r. With that, the column space is exactly the set of vectors orthogonal to the left nullspace.

Solution

The idea. The left nullspace and the column space are orthogonal complements in R3\mathrm{R}^3, so a single vector yy of N(BT)N(B^T) decides membership in C(B)C(B).

The left nullspace

The first column (1,2,3)(1, 2, 3) gives 1+2+3c=01 + 2 + 3c = 0, so c=−1c = -1. The other columns agree: (2,4,6)(2, 4, 6) gives 2+4−6=02 + 4 - 6 = 0, (0,1,1)(0, 1, 1) gives 0+1−1=00 + 1 - 1 = 0, (−1,1,0)(-1, 1, 0) gives −1+1+0=0-1 + 1 + 0 = 0. So y=(1,1,−1)y = (1, 1, -1) is in N(BT)N(B^T): row 1 plus row 2 minus row 3 is the zero row.

The column space

dim N(BT)=m−r=3−2=1\text{dim}\, N(B^T) = m - r = 3 - 2 = 1, so N(BT)N(B^T) is the line through yy, and its orthogonal complement in R3\mathrm{R}^3 is the column space (Lecture 14 transcript, pp. 12–15):

The test for the column space
b in C(B)  ⟺  yTb=b1+b2−b3=0b \text{ in } C(B) \iff y^Tb = b_1 + b_2 - b_3 = 0
In words

b in capital C ( capital B ) is equivalent to y^ capital T b equals b one plus b two minus b three equals 0

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 12–15 (the complement; the numbers are our own)

For (1,0,2)(1, 0, 2): 1+0−2=−1≠01 + 0 - 2 = -1 \neq 0, not in C(B)C(B). For (2,1,3)(2, 1, 3): 2+1−3=02 + 1 - 3 = 0, in C(B)C(B).

Check

(2,1,3)(2, 1, 3) is 22 times column 1 minus 33 times column 3: (2,4,6)−(0,3,3)=(2,1,3)(2, 4, 6) - (0, 3, 3) = (2, 1, 3). And Bx=(1,0,2)Bx = (1, 0, 2) has no solution: row 1 plus row 2 minus row 3 of the equations gives 0=1+0−20 = 1 + 0 - 2.

(c)3 points

In R4\mathrm{R}^4, let PP be the plane spanned by (1,1,1,1)(1, 1, 1, 1) and (1,−1,1,−1)(1, -1, 1, -1). The vector w=(2,3,w3,w4)w = (2, 3, w_3, w_4) is in the orthogonal complement of PP. Find w3w_3 and w4w_4.

Hint

The orthogonal complement of the row space of a matrix is its nullspace. Put the two spanning vectors into the rows of a 2×42 \times 4 matrix.

Solution

The idea. ww must be orthogonal to both spanning vectors: two equations.

Two equations

Orthogonal to the plane
2+3+w3+w4=0,2−3+w3−w4=02 + 3 + w_3 + w_4 = 0, \qquad 2 - 3 + w_3 - w_4 = 0
In words

2 plus 3 plus w three plus w four equals 0, 2 minus 3 plus w three minus w four equals 0

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 13–15 (the complement as a nullspace; the numbers are our own)

Adding them: 4+2w3=04 + 2w_3 = 0, so w3=−2w_3 = -2. Subtracting: 6+2w4=06 + 2w_4 = 0, so w4=−3w_4 = -3.

Check

w=(2,3,−2,−3)w = (2, 3, -2, -3): 2+3−2−3=02 + 3 - 2 - 3 = 0 and 2−3−2+3=02 - 3 - 2 + 3 = 0. The complement has dimension 4−2=24 - 2 = 2, and it lies inside the space of Lecture 11 whose components add up to zero, which is the orthogonal complement of the line through (1,1,1,1)(1, 1, 1, 1) alone.

(d)3 points

For A=(132613)A = \begin{pmatrix} 1 & 3 \\ 2 & 6 \\ 1 & 3 \end{pmatrix}, find the entry of ATAA^TA in row 1, column 2, and the nonzero vector xx with ATAx=0A^TAx = 0 whose first component is 33: give its second component.

Hint

Entry (i,j)(i, j) of ATAA^TA is column ii of AA times column jj. For the second question, use N(ATA)=N(A)N(A^TA) = N(A): look at the columns of AA.

Solution

The idea. AA has rank one, so ATAA^TA has rank one too, with the same nullspace.

The product

The columns of AA are (1,2,1)(1, 2, 1) and (3,6,3)(3, 6, 3):

AᵀA for a rank-one matrix
ATA=(1+4+13+12+33+12+39+36+9)=(6181854)A^TA = \begin{pmatrix} 1 + 4 + 1 & 3 + 12 + 3 \\ 3 + 12 + 3 & 9 + 36 + 9 \end{pmatrix} = \begin{pmatrix} 6 & 18 \\ 18 & 54 \end{pmatrix}
In words

capital A ^ capital T capital A equals 1 plus 4 plus 1 3 plus 12 plus 3; 3 plus 12 plus 3 9 plus 36 plus 9 equals 6 18; 18 54

Source: 18.06 Lecture 14 transcript (Prof. Strang), pp. 21–23 (AᵀA and its rank; the matrix is our own)

The nullspace

Column 2 of AA is 3 times column 1, so A(3,−1)=3(1,2,1)−(3,6,3)=0A(3, -1) = 3(1, 2, 1) - (3, 6, 3) = 0. Since N(ATA)=N(A)N(A^TA) = N(A), the vector is x=(3,−1)x = (3, -1), with second component −1-1.

Check

ATA(3,−1)=(18−18,54−54)=(0,0)A^TA(3, -1) = (18 - 18, 54 - 54) = (0, 0). ATAA^TA is symmetric and singular, of rank 1 like AA: the second row is 3 times the first.

Symbols on this page

Show the 95 symbols used here
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
⟺\Longleftrightarrow if and only if.
If and only if: each statement implies the other. Say it: “is equivalent to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
cc c.
A constant in c(1, 1, …, 1); in Problem 5(a), the unknown second component of (1, c, 2, −3); in Problem 6(b), the unknown third component of (1, 1, c). Say it: “c”.
kk k.
The skew-symmetric matrix used in Problem 1(c). Say it: “k”.
TT T.
As a superscript: the transpose (Aᵀ has the rows of A as its columns). Alone, in Problem 5 and What you need: a second subspace, orthogonal or not to S. Say it: “capital T”.
xx x.
A vector: the potentials at the nodes in Problems 3 and 4; the vector (1, t, 2) in Problem 5(b); a nullspace vector in Problem 6(d); as the variable of a function y(x) in Problem 1(d). Say it: “x”.
yy y.
A vector: the currents on the edges in Problems 3 and 4; the vector (t, 1, −1) in Problem 5(b); a vector of the left nullspace in Problem 6(b). In Problem 1(d), a function y(x). Say it: “y”.
tt t.
A number in the vectors x = (1, t, 2) and y = (t, 1, −1) of Problem 5(b). Say it: “t”.
dd d.
As in d³y/dx³: the third derivative of y with respect to x (Problem 1(d)). Say it: “d”.
ii i.
A row number, as in the entry in row i, column j. Say it: “i”.
jj j.
A column number, as in the entry in row i, column j; in row j of Aᵀy = 0, the number of a node. Say it: “j”.
nn n.
The number of columns of a matrix; for a graph, the number of nodes. Say it: “n”.
ee e.
The potential differences along the edges, e = Ax. Say it: “e”.
mm m.
The number of rows of a matrix; for a graph, the number of edges. Say it: “m”.
ff f.
The current sources at the nodes, the right-hand side of Aᵀy = f. Say it: “f”.
vv v.
A row factor, as in a rank-one matrix uvᵀ; in the sum V + W, a vector of V; in Problem 5(d), a vector lying in both S and T. Say it: “v”.
rr r.
The rank of a matrix. Say it: “r”.
PP P.
The plane in R⁴ spanned by (1, 1, 1, 1) and (1, −1, 1, −1) (Problem 6(c)). Say it: “capital P”.
AA A.
A matrix: in Problem 1 any 3 × 3 matrix of M; in Problems 2, 3, 4 and 6(d) the matrix given there (in Problems 3 and 4 the incidence matrix of the graph); in the rules of What you need, any matrix. Say it: “capital A”.
BB B.
A second matrix in rank(A + B) ≤ rank(A) + rank(B) (a 4 × 6 matrix of rank 3 in Problem 2(c)); in Problem 6, the 3 × 4 matrix of rank 2 given there. Say it: “capital B”.
CC C.
The diagonal matrix of conductances in y = Ce (diag(1, 2, 3) in Problem 4); as in C(B), the column space, all combinations of the columns. Say it: “capital C”.
bb b.
A vector tested for being in the column space C(B) (Problem 6(b)). Say it: “b”.
qq q.
The free entry in row 1, column 3 of a skew-symmetric matrix (Problem 1(a)). Say it: “q”.
ss s.
The free entry in row 2, column 3 of a skew-symmetric matrix (Problem 1(a)). Say it: “s”.
NN N.
As in N(A): the nullspace of A, all solutions of Ax = 0; N(Aᵀ) is the left nullspace. Say it: “capital N”.
pp p.
The free entry in row 1, column 2 of a skew-symmetric matrix (Problem 1(a)). Say it: “p”.
MM M.
The vector space of all 3 × 3 matrices. Say it: “capital M”.
SS S.
A subspace, tested for being orthogonal to a second subspace T. Say it: “capital S”.
y′y' y prime.
The first derivative of the function y(x). Say it: “y prime”.
uu u.
A column vector, as in a rank-one matrix uvᵀ; in Problem 5(a), the vector (2, −1, 3, 1). Say it: “u”.
ww w.
A vector: in the sum V + W, a vector of W; in Problem 5(a), the vector (1, 4, 1, −1); in Problem 6(c), a vector orthogonal to the plane P. Say it: “w”.
x1x_{1} x 1.
The first component of x: the potential at node 1. Say it: “x one”.
x2x_{2} x 2.
The second component of x: the potential at node 2. Say it: “x two”.
y1y_{1} y 1.
The first component of y: the current on edge 1. Say it: “y one”.
y2y_{2} y 2.
The second component of y: the current on edge 2. Say it: “y two”.
UU U.
The subspace of upper triangular 3 × 3 matrices (zeros below the diagonal). Say it: “capital U”.
VV V.
A subspace, as in the rule dim V + dim W = dim(V intersect W) + dim(V + W). Say it: “capital V”.
WW W.
A second subspace of the same space, as in dim V + dim W = dim(V intersect W) + dim(V + W). Say it: “capital W”.
x4x_{4} x four.
The fourth component of x: the potential at node 4. Say it: “x four”.
KK K.
The subspace of skew-symmetric 3 × 3 matrices, those with Aᵀ = −A (Problem 1). Say it: “capital K”.
y′′y'' y double prime.
The second derivative of the function y(x). Say it: “y double prime”.
ZZ Z.
The subspace of 3 × 3 matrices whose three rows each add up to zero (Problem 1). Say it: “Z”.
xnx_{n} x n.
The last component of a vector x with n components. Say it: “x sub n”.
x3x_{3} x three.
The third component of x: the potential at node 3 (0 when node 3 is grounded in Problem 4). Say it: “x three”.
y3y_{3} y three.
The third component of y: the current on edge 3. Say it: “y three”.
v1v_{1} v one.
The vector (−2, 1, 0, 0) tested in Problem 6(a). Say it: “v one”.
v2v_{2} v two.
The vector (1, 1, 1, 1) tested in Problem 6(a). Say it: “v two”.
II I.
The identity matrix. Say it: “capital I”.
vjv_{j} v j.
Component j of the row factor v. Say it: “v sub j”.
v3v_{3} v 3.
The vector (3, −1, −3, 1) tested in Problem 6(a). Say it: “v three”.
c1c_{1} c one.
A number multiplying the first row in a combination of rows; in Problem 1(d), the constant in front of the first basis function. Say it: “c one”.
c2c_{2} c two.
A number multiplying the second row in a combination of rows; in Problem 1(d), the constant in front of the second basis function. Say it: “c two”.
u1u_{1} u one.
The first component of the column factor u (set to 1 in Problem 2(a)). Say it: “u one”.
u2u_{2} u two.
The second component of the column factor u. Say it: “u two”.
yny_{n} y n.
The last component of a vector y with n components. Say it: “y sub n”.
y4y_{4} y four.
The fourth component of y: the current on edge 4. Say it: “y four”.
y6y_{6} y six.
The sixth component of y: the current on edge 6. Say it: “y six”.
B1B_{1} B 1.
The first sum of two rank-one matrices in Problem 2(b). Say it: “capital B one”.
B2B_{2} B 2.
The second sum of two rank-one matrices in Problem 2(b). Say it: “capital B two”.
b1b_{1} b 1.
The first component of b. Say it: “b one”.
b2b_{2} b 2.
The second component of b. Say it: “b two”.
b3b_{3} b 3.
The third component of b. Say it: “b three”.
c3c_{3} c 3.
A constant of integration in Problem 1(d): the constant value of y″. Say it: “c three”.
u3u_{3} u 3.
The third component of the column factor u. Say it: “u three”.
uiu_{i} u sub i.
Component i of the column factor u. Say it: “u sub i”.
a32a_{32} a sub 32.
The entry of A in row 3, column 2. Say it: “a sub 32”.
y5y_{5} y five.
The fifth component of y: the current on edge 5. Say it: “y five”.
a11a_{11} a one one.
The entry of a 3 × 3 matrix in row 1, column 1. Say it: “a one one”.
a22a_{22} a two two.
The entry of a 3 × 3 matrix in row 2, column 2. Say it: “a two two”.
a33a_{33} a three three.
The entry of a 3 × 3 matrix in row 3, column 3. Say it: “a three three”.
a23a_{23} a two three.
The entry of a 3 × 3 matrix in row 2, column 3. Say it: “a two three”.
a12a_{12} a one two.
The entry of a 3 × 3 matrix in row 1, column 2. Say it: “a one two”.
a13a_{13} a one three.
The entry of a 3 × 3 matrix in row 1, column 3. Say it: “a one three”.
w3w_{3} w three.
The third component of w in Problem 6(c). Say it: “w three”.
w4w_{4} w four.
The fourth component of w in Problem 6(c). Say it: “w four”.
f3f_{3} f three.
The current source at node 3 in Problem 4. Say it: “f three”.
aija_{\text{ij}} a i j.
The entry of a matrix in row i, column j. Say it: “a sub i j”.
x5x_{5} x 5.
The fifth component of x: the potential at node 5 (Problem 3). Say it: “x five”.
y7y_{7} y seven.
The seventh component of y: the current on edge 7. Say it: “y seven”.
ajia_{\text{ji}} a sub j i.
The entry of a matrix in row j, column i (the mirror image of a_ij across the diagonal). Say it: “a sub j i”.
aiia_{\text{ii}} a sub i i.
A diagonal entry of a matrix, in row i and column i. Say it: “a sub i i”.
EijE_{\text{ij}} E sub i j.
The 4 × 6 matrix with a single 1 in row i, column j and zeros elsewhere (Problem 2(c)). Say it: “capital E sub i j”.
E11E_{11} E sub 1 1.
The 4 × 6 matrix with a single 1 in row 1, column 1. Say it: “capital E sub 1 1”.
E22E_{22} E sub 2 2.
The 4 × 6 matrix with a single 1 in row 2, column 2. Say it: “capital E sub 2 2”.
E33E_{33} E sub 3 3.
The 4 × 6 matrix with a single 1 in row 3, column 3. Say it: “capital E sub 3 3”.
E44E_{44} E sub 4 4.
The 4 × 6 matrix with a single 1 in row 4, column 4. Say it: “capital E sub 4 4”.
E15E_{15} E sub 1 5.
The 4 × 6 matrix with a single 1 in row 1, column 5. Say it: “capital E sub 1 5”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 53 words used here

Also used

matrix.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
rank one.
Of a matrix: having rank exactly one, so it is a column times a row and every column is a multiple of one column. Explained in Matrix spaces, rank one and small-world graphs.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
incidence matrix.
The matrix of a graph, with one row for each edge and one column for each node, recording where each edge starts and ends. Explained in Graphs, networks and incidence matrices.
orthogonal.
At right angles; more generally, of two vectors or functions, having a dot product, or an integral of their product, of zero. Explained in Introduction to Fourier series.
vector.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
subspace.
A set of vectors inside a larger space that is a space itself: sums and multiples of its vectors stay inside it. Explained in Transposes, permutations and vector spaces.
projection.
The shadow of a vector on a line or plane: the nearest point to it there, found by dropping a perpendicular. Explained in Projections onto subspaces.
least squares.
A way to fit a model to data by choosing it to make the sum of the squared errors as small as possible. Explained in Projection matrices and least squares.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
dimension.
The number of vectors in any basis of a vector space or subspace. Explained in Independence, basis and dimension.
rank.
The number of independent columns of a matrix, which always equals the number of independent rows. Explained in Similar matrices and the Jordan form.
node.
A point of a graph, in the sense of a network of points joined by lines (edges). Explained in Matrix spaces, rank one and small-world graphs.
vector space.
A collection of objects, called vectors, that can be added together and multiplied by numbers, with the results staying in the collection. Explained in Transposes, permutations and vector spaces.
basis.
A set of independent vectors from which every vector in a space can be built, in exactly one way, as a combination. Explained in Independence, basis and dimension.
triangular matrix.
A square matrix with only zeros below its diagonal (upper triangular) or only zeros above it (lower triangular). Explained in Elimination with matrices.
intersection.
The part common to two or more sets or shapes: everything that belongs to all of them. Explained in Column space and nullspace.
linear.
Of a map, operator or equation: respecting sums and multiples, so that L(au + bv) = aL(u) + bL(v). Explained in The geometry of linear equations.
differential equation.
An equation that links an unknown function to its derivatives; solving it means finding the function. Explained in Circular motion dynamics: worked problems.
nullspace.
All the vectors x that a matrix sends to zero, that is, all solutions of Ax = 0. Explained in Column space and nullspace.
Kirchhoff's current law.
The rule that at any junction of a circuit or network, the total current flowing in equals the total flowing out. Explained in Graphs, networks and incidence matrices.
diagonal.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
symmetric.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
dot product.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
column space.
All the vectors made by combining the columns of a matrix; Ax = b can be solved exactly when b lies in it. Explained in Matrix multiplication and inverse matrices.
left nullspace.
The nullspace of the transpose of a matrix: all the combinations of its rows that give zero. Explained in The four fundamental subspaces.
row space.
All the vectors that can be made by combining the rows of a matrix; it is the column space of its transpose. Explained in Matrix multiplication and inverse matrices.
antisymmetric.
Changing sign when two things are swapped, or when a shape or function is reflected; an antisymmetric matrix equals minus its transpose. Explained in Eigenvalues and eigenvectors.
union.
The set made of everything that is in one set or the other, or both. Explained in Column space and nullspace.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
zero vector.
The vector whose components are all zero; adding it to any vector changes nothing. Explained in Transposes, permutations and vector spaces.
second derivative.
The derivative of a derivative: how fast a rate of change itself is changing. Explained in Acceleration in one dimension.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
span.
The span of some vectors is everything that can be made by combining them; vectors span a space when they fill all of it. Explained in Independence, basis and dimension.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
Euler's formula.
The formula linking the exponential function to sines and cosines: e to the power iθ equals cos θ plus i sin θ.
transpose.
The matrix made by writing the rows of a matrix as columns, flipping it across its main diagonal. Explained in Planes through three points, and matrices.
grounded.
Connected to the earth, or to a point held at zero potential, so the potential there is fixed at zero. Explained in Electric charge.
invertible.
Of a square matrix or operator: having an inverse that undoes it; for a matrix this happens exactly when its determinant is not zero. Explained in The geometry of linear equations.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
perpendicular.
At right angles to a line, a surface or another direction. Explained in Inclined planes.
elimination.
Solving equations by subtracting multiples of one from another until each unknown can be found in turn. Explained in The geometry of linear equations.
special solution.
A solution of Ax = 0 found by setting one free variable to 1 and the others to 0; together they build every solution. Explained in Solving Ax = 0: pivot variables and special solutions.
singular.
Of a square matrix: having no inverse, because its determinant is zero and some nonzero vector is sent to zero. Explained in The geometry of linear equations.

Academic

problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.
citation.
A note saying exactly where a statement, number or formula comes from, so readers can check it.
on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
respectively.
In the order given: the first item goes with the first, the second with the second, and so on.
drops out.
Disappears from an equation, usually because it cancels or appears on both sides.
converse.
The statement made by swapping the 'if' and 'then' parts of another statement.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).