Skip to content

Appendix B. Proof Techniques

Mathematics depends on proof. A proof is a logical argument that establishes the truth of a statement from definitions, assumptions, and previously proved results.

Linear algebra contains computational procedures, but it is also a theoretical subject. Many important statements must be proved rather than merely observed from examples. A computation may suggest a pattern, but a proof explains why the pattern always holds.

This appendix presents the proof methods used throughout the book.

B.1 Statements and Definitions

A mathematical statement is a sentence that is either true or false.

For example,

2+3=5 2+3=5

is a true statement, while

2+3=6 2+3=6

is false.

Definitions introduce precise meanings for mathematical terms. A definition does not require proof. Instead, it establishes terminology.

For example:

A square matrix AA is invertible if there exists a matrix BB such that

>AB=BA=I.> > AB = BA = I. >

Once this definition is accepted, one may prove theorems about invertible matrices.

A theorem is a statement proved from definitions and previously known results.

A lemma is a theorem mainly used to prove another theorem.

A corollary is a result that follows quickly from a theorem.

B.2 Structure of a Proof

A proof should proceed in a clear sequence of steps.

A typical proof contains:

PartPurpose
AssumptionsState what is given
GoalState what must be shown
ArgumentUse definitions and known facts
ConclusionState that the goal has been proved

For example:

Let u,v,wu,v,w be vectors in a vector space VV. Prove that

>u+(v+w)=(u+v)+w.> > u+(v+w) = (u+v)+w. >

Proof:

Vector addition in a vector space satisfies the associative law by definition. Therefore,

u+(v+w)=(u+v)+w. u+(v+w) = (u+v)+w.

Hence the statement holds.

This proof is short because associativity is already part of the definition of a vector space.

B.3 Direct Proof

A direct proof begins with assumptions and proceeds logically to the desired conclusion.

Example

Prove that the sum of two odd integers is even.

Proof:

Let aa and bb be odd integers. Then there exist integers mm and nn such that

a=2m+1,b=2n+1. a = 2m+1, \qquad b = 2n+1.

Therefore,

a+b=(2m+1)+(2n+1)=2(m+n+1). a+b = (2m+1)+(2n+1) = 2(m+n+1).

Since m+n+1m+n+1 is an integer, a+ba+b is even.

Thus the sum of two odd integers is even.

The proof succeeds because it begins with the definition of odd integers and manipulates the resulting expressions.

B.4 Proof by Contrapositive

An implication

P    Q P \implies Q

is logically equivalent to its contrapositive

¬Q    ¬P. \neg Q \implies \neg P.

Sometimes the contrapositive is easier to prove than the original statement.

Example

Prove:

If a real number xx satisfies x20x^2 \neq 0, then x0x \neq 0.

Instead of proving this directly, prove the contrapositive.

Contrapositive:

If x=0x=0, then x2=0x^2=0.

Proof:

If x=0x=0, then

x2=02=0. x^2 = 0^2 = 0.

Therefore the contrapositive holds, so the original statement holds.

In linear algebra, contraposition often appears in proofs about injectivity, independence, and invertibility.

B.5 Proof by Contradiction

Proof by contradiction assumes the statement is false and derives an impossibility.

The contradiction shows that the assumption of falsity cannot hold.

Example

Prove:

There is no rational number whose square equals 22.

Proof:

Assume, for contradiction, that

2=pq \sqrt{2} = \frac{p}{q}

for integers pp and qq with no common factor.

Squaring gives

2=p2q2, 2 = \frac{p^2}{q^2},

so

p2=2q2. p^2 = 2q^2.

Thus p2p^2 is even, which implies pp is even. Write

p=2k. p = 2k.

Then

4k2=2q2, 4k^2 = 2q^2,

so

q2=2k2. q^2 = 2k^2.

Thus q2q^2 is even, so qq is even.

Hence both pp and qq are even, contradicting the assumption that they have no common factor.

Therefore 2\sqrt{2} is irrational.

Contradiction proofs are common in dimension arguments and existence theorems.

B.6 Proof by Cases

A proof by cases divides a problem into separate possibilities and proves the statement in each case.

Example

Prove that for every integer nn,

n(n+1) n(n+1)

is even.

Proof:

Every integer is either even or odd.

Case 1: nn is even.

Then

n=2k n = 2k

for some integer kk. Therefore,

n(n+1)=2k(n+1), n(n+1) = 2k(n+1),

which is even.

Case 2: nn is odd.

Then

n=2k+1 n = 2k+1

for some integer kk. Therefore,

n+1=2k+2=2(k+1), n+1 = 2k+2 = 2(k+1),

which is even. Hence,

n(n+1) n(n+1)

is even.

Since both cases give the same conclusion, the statement holds for all integers nn.

B.7 Existence Proofs

An existence proof shows that at least one object satisfies a given property.

There are two common forms.

TypeMethod
ConstructiveExplicitly build the object
NonconstructiveProve existence indirectly

Constructive Example

Prove that there exists a real number whose square is 99.

Proof:

The number 33 satisfies

32=9. 3^2 = 9.

Therefore such a number exists.

Nonconstructive Example

Suppose a theorem proves that every polynomial of odd degree has a real root. Such a proof may establish existence without giving an explicit formula for the root.

Linear algebra often uses constructive existence proofs. For example, Gaussian elimination explicitly constructs solutions to systems of equations.

B.8 Uniqueness Proofs

A uniqueness proof shows that only one object satisfies a property.

The usual method is:

  1. Assume two objects satisfy the property.
  2. Show they must be equal.

Example

Prove that the zero vector in a vector space is unique.

Proof:

Suppose 00 and 00' are both zero vectors.

Since 00 is a zero vector,

0+0=0. 0 + 0' = 0'.

Since 00' is a zero vector,

0+0=0. 0 + 0' = 0.

Therefore,

0=0. 0 = 0'.

Hence the zero vector is unique.

Uniqueness arguments appear frequently in decompositions, coordinate systems, and bases.

B.9 Proof by Induction

Mathematical induction proves statements indexed by the natural numbers.

To prove a statement P(n)P(n) for all integers n1n \geq 1, one proves:

  1. Base case: P(1)P(1).
  2. Inductive step: P(k)    P(k+1)P(k) \implies P(k+1).

Example

Prove:

1+2++n=n(n+1)2. 1+2+\cdots+n = \frac{n(n+1)}{2}.

Base case:

For n=1n=1,

1=1(2)2. 1 = \frac{1(2)}{2}.

Thus the statement holds for n=1n=1.

Inductive step:

Assume

1+2++k=k(k+1)2. 1+2+\cdots+k = \frac{k(k+1)}{2}.

Then

1+2++k+(k+1)=k(k+1)2+(k+1). 1+2+\cdots+k+(k+1) = \frac{k(k+1)}{2} + (k+1).

Factor:

=k(k+1)+2(k+1)2=(k+1)(k+2)2. = \frac{k(k+1)+2(k+1)}{2} = \frac{(k+1)(k+2)}{2}.

Thus the formula holds for k+1k+1.

Therefore, by induction, the formula holds for all n1n \geq 1.

Induction is important in linear algebra for proofs involving matrix powers, recursive algorithms, and determinant formulas.

B.10 Counterexamples

A universal statement

x, P(x) \forall x,\ P(x)

is disproved by finding a single counterexample.

Example

Consider the statement:

Every square matrix is invertible.

This is false.

Counterexample:

A=[1224]. A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}.

The second row is a multiple of the first row, so

det(A)=0. \det(A)=0.

Therefore AA is not invertible.

One counterexample is enough to disprove a universal claim.

B.11 Necessary and Sufficient Conditions

Suppose PP and QQ are statements.

If

P    Q, P \implies Q,

then QQ is necessary for PP, and PP is sufficient for QQ.

For example:

If a matrix is invertible, then its determinant is nonzero.

Thus:

StatementRole
InvertibleSufficient
Nonzero determinantNecessary

If both implications hold,

P    Q, P \iff Q,

then each condition is both necessary and sufficient for the other.

Many major theorems in linear algebra consist of equivalent conditions.

For example, for an n×nn \times n matrix AA, the following are equivalent:

Condition
AA is invertible
det(A)0\det(A)\neq0
The columns of AA are linearly independent
The equation Ax=bAx=b has a unique solution for every bb

Such equivalence theorems are central to the subject.

B.12 Forward and Backward Reasoning

In problem solving, one may reason forward from assumptions or backward from the desired conclusion.

Forward reasoning

Start from what is known and derive consequences.

Backward reasoning

Ask what conditions would guarantee the desired conclusion.

Example

Suppose we want to prove

A2=I A^2 = I

for a matrix AA.

Backward reasoning suggests checking whether multiplying AA by itself simplifies naturally. One may then inspect the structure of AA or compute directly.

In practice, good proofs often combine both directions.

B.13 Equality Proofs

To prove two sets are equal, prove mutual inclusion:

A=B A=B

means:

ABandBA. A \subseteq B \quad \text{and} \quad B \subseteq A.

Example

Prove:

A(BC)=(AB)(AC). A \cap (B \cup C) = (A \cap B)\cup(A \cap C).

Proof:

First show

A(BC)(AB)(AC). A \cap (B \cup C) \subseteq (A \cap B)\cup(A \cap C).

Let

xA(BC). x \in A \cap (B \cup C).

Then

xA x \in A

and

xBC. x \in B \cup C.

Thus xBx\in B or xCx\in C.

If xBx\in B, then

xAB. x \in A\cap B.

If xCx\in C, then

xAC. x \in A\cap C.

Hence

x(AB)(AC). x \in (A\cap B)\cup(A\cap C).

Now prove the reverse inclusion similarly.

Therefore the sets are equal.

Set equality arguments appear frequently in subspace proofs.

B.14 Proofs in Linear Algebra

Linear algebra proofs usually involve:

ObjectTypical method
Vector spacesVerify axioms
SubspacesCheck closure properties
Linear independenceAnalyze linear combinations
Spanning setsConstruct representations
Linear mapsVerify linearity
BasesCombine spanning and independence
Matrix identitiesUse algebraic manipulation
EigenvaluesAnalyze characteristic equations

Example: Subspace Proof

Prove that the set

$$
W = \left{
\begin{bmatrix}
x \
y \
0
\end{bmatrix}
x,y \in \mathbb{R} \right} $$

is a subspace of R3\mathbb{R}^3.

Proof:

The zero vector belongs to WW:

[000]W. \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} \in W.

Let

u=[x1y10],v=[x2y20]W. u= \begin{bmatrix} x_1 \\ y_1 \\ 0 \end{bmatrix}, \qquad v= \begin{bmatrix} x_2 \\ y_2 \\ 0 \end{bmatrix} \in W.

Then

u+v=[x1+x2y1+y20]W. u+v = \begin{bmatrix} x_1+x_2 \\ y_1+y_2 \\ 0 \end{bmatrix} \in W.

Now let cRc \in \mathbb{R}. Then

cu=[cx1cy10]W. cu = \begin{bmatrix} cx_1 \\ cy_1 \\ 0 \end{bmatrix} \in W.

Therefore WW is closed under addition and scalar multiplication. Hence WW is a subspace.

B.15 Common Errors in Proofs

Several mistakes occur frequently.

Assuming what must be proved

A proof cannot begin by assuming the conclusion.

Checking only examples

Examples may illustrate a statement, but they do not prove universal truth.

Using undefined notation

Every symbol should have a clear meaning.

Ignoring quantifiers

Statements involving “for all” and “there exists” require careful interpretation.

Confusing implication and equivalence

Proving

P    Q P \implies Q

does not prove

Q    P. Q \implies P.

B.16 Reading Proofs

Reading proofs is a skill that develops gradually.

A good strategy is:

  1. Identify the assumptions.
  2. Identify the conclusion.
  3. Locate the main idea.
  4. Check each logical step.
  5. Determine which definitions are used.

In linear algebra, many proofs become easier once the relevant definitions are written explicitly.

For example, when proving linear independence, begin with the definition:

c1v1++cnvn=0. c_1v_1 + \cdots + c_nv_n = 0.

When proving injectivity of a linear map, begin with

T(u)=T(v). T(u)=T(v).

The definition often determines the entire structure of the proof.

B.17 Writing Proofs

Good proofs are precise, organized, and economical.

Useful guidelines include:

GuidelinePurpose
State assumptions clearlyEstablish context
Use complete sentencesImprove readability
Introduce notation carefullyPrevent ambiguity
Explain key transitionsClarify logic
Avoid unnecessary detailMaintain focus
End with the conclusionSignal completion

A proof is both a logical argument and a mathematical explanation. It should convince the reader that the statement is true and explain why it is true.

B.18 Summary

Proof techniques are tools for establishing mathematical truth.

MethodMain idea
Direct proofDeduce conclusion from assumptions
ContrapositiveProve equivalent reverse implication
ContradictionDerive impossibility
CasesSeparate possibilities
InductionExtend from one integer to the next
Existence proofShow an object exists
Uniqueness proofShow only one object exists
CounterexampleDisprove universal statement

Linear algebra uses these methods constantly. Computational skill alone is not enough. The subject also requires logical structure, precise definitions, and rigorous argument.