Unit 1, lesson 1

Proof Strategies in Linear Algebra

How to read and write proofs about vectors and linear maps, with universal claims, hypotheses and conclusions, converses, negating quantified statements, direct proof, counterexamples and induction.

  • Video 1
  • Proof and Scalar Fields

Draw the two coordinate axes of the plane. Each axis is a subspace, yet (1,0)(1, 0) and (0,1)(0, 1) both lie in their union while their sum (1,1)(1, 1) lies on neither axis. Does that one picture show that a union of two subspaces is never a subspace, or only that it is not always one? The answer depends on exactly how the claim is worded. This lesson sets out the logic that decides what counts as evidence, from quantifiers and converses to direct proofs, counterexamples and induction.

Key terms

Universal claim

Definition A universal claim says that a statement P(x)P(x) is true for every object xx in a specified set SS, written

∀x∈S, P(x).\forall x \in S,\ P(x).

An existence claim says that P(x)P(x) is true for at least one x∈Sx \in S, written ∃x∈S, P(x)\exists x \in S,\ P(x). A universal claim is proved by an argument that applies to an arbitrary member of SS. Checking examples proves it only when SS is finite and every member is checked. It is disproved by a counterexample, which is one particular x∈Sx \in S for which P(x)P(x) is false. An existence claim is proved by producing one member of SS with the property, or by an argument showing that such a member must exist.

In plain words “Every” asks for a reason that covers all allowed cases at once, and a single failing case is enough to refute it. “Some” asks only for one good case.

Example Consider the universal claim that for all subspaces UU and WW of a real vector space VV, the union U∪WU \cup W is a subspace. In R2\mathbb{R}^2 let UU be the horizontal axis and WW the vertical axis. Both are subspaces, so the hypothesis of the claim is met. The vectors (1,0)∈U(1, 0) \in U and (0,1)∈W(0, 1) \in W lie in the union, but their sum (1,1)(1, 1) has two nonzero coordinates and lies on neither axis. So the union is not closed under addition, and this one counterexample disproves the claim. It does not prove the opposite universal claim, that a union of two subspaces is never a subspace. That claim is false too, because if U⊆WU \subseteq W then U∪W=WU \cup W = W is a subspace.

Hypothesis and conclusion

Definition An implication “if PP, then QQ”, written P⇒QP \Rightarrow Q, has hypothesis PP and conclusion QQ. It is false exactly when PP is true and QQ is false. Most theorems are universal implications of the form “for every x∈Sx \in S, if P(x)P(x) then Q(x)Q(x)”, often with several hypotheses. A proof assumes the hypotheses and uses them, together with definitions and results already proved, to reach the conclusion. It may not assume the conclusion, or anything equivalent to it, along the way.

In plain words The hypotheses are what you may use, and the conclusion is what you have to show. Every step should rest on a hypothesis, a definition or an earlier result, and the conclusion should appear only at the end.

Example Let T ⁣:V→WT \colon V \to W be a linear map between vector spaces over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}. The claim is that if u,v∈ker⁡Tu, v \in \ker T, then u+v∈ker⁡Tu + v \in \ker T. The hypotheses are that TT is linear, Tu=0Tu = 0 and Tv=0Tv = 0, and the conclusion is T(u+v)=0T(u + v) = 0. Linearity and the two equations give

T(u+v)=Tu+Tv=0+0=0.T(u + v) = Tu + Tv = 0 + 0 = 0.

The linearity hypothesis does real work here. The function f(x)=x2−1f(x) = x^2 - 1 on R\mathbb{R} is not linear, and both 11 and −1-1 are zeros of it, but f(1+(−1))=f(0)=−1f(1 + (-1)) = f(0) = -1. So the zero set of a function that is not linear need not be closed under addition.

Converse

Definition The converse of the implication P⇒QP \Rightarrow Q is the implication Q⇒PQ \Rightarrow P. It is a different statement, and knowing that one of the two is true says nothing about the other. When both hold we write P⇔QP \Leftrightarrow Q and say that PP holds if and only if QQ holds. A proof of such a statement must establish each direction. The converse should not be confused with the contrapositive, “if not QQ, then not PP”, which is always equivalent to P⇒QP \Rightarrow Q.

In plain words Reversing the arrow makes a new claim, which needs its own proof or its own counterexample.

Example For a linear map T ⁣:V→WT \colon V \to W over F\mathbb{F}, consider the implication “if TT is injective, then ker⁡T={0}\ker T = \{0\}”. If v∈ker⁡Tv \in \ker T, then Tv=0=T0Tv = 0 = T0, and injectivity gives v=0v = 0. The converse, “if ker⁡T={0}\ker T = \{0\}, then TT is injective”, needs a separate argument. Suppose Tu=TvTu = Tv. Linearity gives T(u−v)=Tu−Tv=0T(u - v) = Tu - Tv = 0, so u−v∈ker⁡T={0}u - v \in \ker T = \{0\} and u=vu = v. Both directions hold, so TT is injective if and only if ker⁡T={0}\ker T = \{0\}. By contrast, the implication “if v∈R2v \in \mathbb{R}^2 is the zero vector, then its second coordinate is 00” is true, while its converse fails for v=(1,0)v = (1, 0).

Negation of a quantified statement

Definition The negation of a statement is true exactly when the statement is false. Negation switches each quantifier,

¬ (∀x∈S, P(x))  ⟺  ∃x∈S, ¬P(x),¬ (∃x∈S, P(x))  ⟺  ∀x∈S, ¬P(x),\begin{aligned} &\neg\,(\forall x \in S,\ P(x)) \\ &\qquad \iff \exists x \in S,\ \neg P(x), \\[0.6em] &\neg\,(\exists x \in S,\ P(x)) \\ &\qquad \iff \forall x \in S,\ \neg P(x), \end{aligned}

where ¬\neg means “not”. With several quantifiers, switch each one in turn from left to right and negate the statement that follows them. The negation of an implication P⇒QP \Rightarrow Q is ”PP and not QQ”. So the negation of “for every x∈Sx \in S, if P(x)P(x) then Q(x)Q(x)” is “there is an x∈Sx \in S for which P(x)P(x) is true and Q(x)Q(x) is false”, and a counterexample is exactly such an xx.

In plain words To deny that something always happens, find one case where it fails. To deny that something ever happens, show that it fails in every case. A case where the hypothesis fails says nothing against an implication.

Example A linear map T ⁣:U→VT \colon U \to V is surjective when for every v∈Vv \in V there exists u∈Uu \in U with Tu=vTu = v. The negation says that there exists v∈Vv \in V such that Tu≠vTu \ne v for every u∈Uu \in U. For the map T ⁣:R→R2T \colon \mathbb{R} \to \mathbb{R}^2 given by T(t)=(t,0)T(t) = (t, 0), the target v=(0,1)v = (0, 1) is such a vector, because every output has second coordinate 00. One missed target is enough, and there is no need to show that every target is missed.

Direct proof

Definition A direct proof of “for every x∈Sx \in S, if P(x)P(x) then Q(x)Q(x)” lets xx be an arbitrary member of SS, assumes P(x)P(x), and reaches Q(x)Q(x) through a chain of steps, each justified by a hypothesis, a definition, an axiom or a result already proved. Arbitrary means that nothing is assumed about xx beyond membership in SS and the hypothesis P(x)P(x). The same goes for scalars, which range over all of F\mathbb{F}, including negative numbers and, when F=C\mathbb{F} = \mathbb{C}, numbers that are not real.

In plain words Name a general object, use only what you are told about it, and arrive at the claim. Because nothing special was chosen, the argument covers every case at once.

Example Let UU and WW be subspaces of a vector space VV over F\mathbb{F}. We prove that U∩WU \cap W is a subspace, using the fact that a subset of VV is a subspace exactly when it contains 00 and contains every combination au+bvau + bv of its vectors u,vu, v with scalars a,b∈Fa, b \in \mathbb{F}. The zero vector lies in UU and in WW, so it lies in U∩WU \cap W. Now let u,v∈U∩Wu, v \in U \cap W and a,b∈Fa, b \in \mathbb{F} be arbitrary. Since uu and vv lie in the subspace UU, the combination au+bvau + bv lies in UU. Since they also lie in WW, it lies in WW. Hence au+bv∈U∩Wau + bv \in U \cap W. No particular vectors or scalars were chosen, so the argument covers every pair of vectors and every pair of scalars.

Proof by induction

Definition Let P(k)P(k) be a statement for each integer k≥k0k \ge k_0. Suppose the base case P(k0)P(k_0) is true, and the induction step holds, meaning that for every integer k≥k0k \ge k_0, if P(k)P(k) is true then P(k+1)P(k + 1) is true. Then P(k)P(k) is true for every integer k≥k0k \ge k_0. In the induction step, P(k)P(k) is called the induction hypothesis. It is assumed for one arbitrary kk, and the step must work for every such kk.

In plain words The base case starts a chain, and the step carries the truth from each integer to the next. Checking many values of kk is evidence, not proof, because it never supplies the step.

Example Let N∈Fn×nN \in \mathbb{F}^{n \times n} with N2=0N^2 = 0. We prove that (I+N)k=I+kN(I + N)^k = I + kN for every integer k≥0k \ge 0. The base case k=0k = 0 reads I=I+0NI = I + 0N, which is true. For the step, assume (I+N)k=I+kN(I + N)^k = I + kN for some k≥0k \ge 0. Then

(I+N)k+1=(I+N)k(I+N)=(I+kN)(I+N)=I+N+kN+kN2=I+(k+1)N,\begin{aligned} (I + N)^{k+1} &= (I + N)^k (I + N) \\[0.4em] &= (I + kN)(I + N) \\[0.4em] &= I + N + kN + kN^2 \\[0.4em] &= I + (k + 1)N, \end{aligned}

where the last step uses N2=0N^2 = 0. For the matrix NN with rows (0,1)(0, 1) and (0,0)(0, 0) the result says that every power of a shear adds up the shear amounts,

[1101]k=[1k01].\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}^k = \begin{bmatrix} 1 & k \\ 0 & 1 \end{bmatrix}.

The hypothesis N2=0N^2 = 0 cannot be dropped. With N=IN = I and k=2k = 2 the left side is (2I)2=4I(2I)^2 = 4I, while the right side is 3I3I.

Check yourself

  1. State the converse of “if a list of vectors in R2\mathbb{R}^2 contains the zero vector, then the list is linearly dependent”. Is the original statement true? Is the converse?
Show the answer

The converse is “if a list of vectors in R2\mathbb{R}^2 is linearly dependent, then it contains the zero vector”. The original is true. Give the zero vector the coefficient 11 and every other vector the coefficient 00, and this nontrivial combination equals 00. The converse is false. The list (1,0),(2,0)(1, 0), (2, 0) is dependent, because 2(1,0)−(2,0)=02(1, 0) - (2, 0) = 0, but neither vector is zero.

  1. Write the negation of the claim “for every A∈R2×2A \in \mathbb{R}^{2 \times 2}, if A2=0A^2 = 0 then A=0A = 0”. Which of the two statements is true?
Show the answer

The negation is “there exists A∈R2×2A \in \mathbb{R}^{2 \times 2} with A2=0A^2 = 0 and A≠0A \ne 0”. A common mistake is to write “for every AA, if A2=0A^2 = 0 then A≠0A \ne 0”, which keeps the universal quantifier and the implication. The negation is the true statement. The matrix

A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}

is not zero, and A2=0A^2 = 0. So the original claim is false, and this matrix is a counterexample to it.

  1. Let T ⁣:V→VT \colon V \to V be a linear map on a vector space over F\mathbb{F}, and let UU be a subspace with Tu∈UTu \in U for every u∈Uu \in U. Prove by induction that Tku∈UT^k u \in U for every u∈Uu \in U and every integer k≥0k \ge 0, where T0=IT^0 = I. Then explain why checking Tu∈UTu \in U for one vector u∈Uu \in U does not in general establish the hypothesis on TT.
Show the answer

Let P(k)P(k) be the statement that Tku∈UT^k u \in U for every u∈Uu \in U. For the base case, T0u=uT^0 u = u lies in UU for every u∈Uu \in U. For the step, assume P(k)P(k) for some k≥0k \ge 0 and let u∈Uu \in U be arbitrary. By the induction hypothesis Tku∈UT^k u \in U, and applying the hypothesis on TT to the vector TkuT^k u gives

Tk+1u=T(Tku)∈U.T^{k+1} u = T(T^k u) \in U.

That proves P(k+1)P(k + 1), so P(k)P(k) holds for every k≥0k \ge 0.

One vector is not enough in general, because TT may send another vector of UU outside UU. Take T(x,y)=(x,x)T(x, y) = (x, x) on R2\mathbb{R}^2 and let UU be the horizontal axis. The zero vector passes the test, since T0=0∈UT0 = 0 \in U, but T(1,0)=(1,1)T(1, 0) = (1, 1) is not in UU. Even a nonzero vector can pass while the hypothesis fails. On R3\mathbb{R}^3 let UU be the xyxy-plane and T(x,y,z)=(x,0,y)T(x, y, z) = (x, 0, y). Then T(1,0,0)=(1,0,0)T(1, 0, 0) = (1, 0, 0) lies in UU, but T(0,1,0)=(0,0,1)T(0, 1, 0) = (0, 0, 1) does not. What linearity does allow is checking a list that spans UU. If Tuj∈UTu_j \in U for every vector uju_j of such a list, then every combination ∑jcjuj\sum_j c_j u_j is sent to ∑jcjTuj∈U\sum_j c_j Tu_j \in U.

How this lesson connects

It also uses matrix arithmetic, matrix powers, linear maps, subspaces and kernels from a first linear algebra course.