Skip to content

A3 — Independent sets, orthogonality and linear independence

Supporting reading: Linear algebra and vector spaces.

Instead of counting edges or constructing paths, we use linear algebra to restrict graph structure.

Definition

An independent set I⊆V(X)I\subseteq V(X) contains no two distinct adjacent vertices:

∀u,v∈I,u≠v  ⟹  u≁v.\forall u,v\in I,\quad u\neq v\implies u\not\sim v.

For a finite graph, the independence number is the largest independent set size:

Theorem
α(X)=max⁡{∣I∣:I is independent}.\boxed{\alpha(X)=\max\{|I|:I\text{ is independent}\}.}

For the complete graph α(K4)=1\alpha(K_4)=1; for a square α(C4)=2\alpha(C_4)=2; for an empty four-vertex graph α(K4‾)=4\alpha(\overline{K_4})=4. In a six-cycle, the alternating vertices 1, 3 and 5 form an independent set.

Find a maximum independent set

Graph diagram123456

Independent set of size 0

A vector in Rm\mathbb R^m has mm real coordinates:

x=(x1,x2,…,xm).\mathbf x=(x_1,x_2,\ldots,x_m).

In R3\mathbb R^3, the standard basis consists of e1=(1,0,0)\mathbf e_1=(1,0,0), e2=(0,1,0)\mathbf e_2=(0,1,0) and e3=(0,0,1)\mathbf e_3=(0,0,1). For example,

(4,2,7)=4e1+2e2+7e3.(4,2,7)=4\mathbf e_1+2\mathbf e_2+7\mathbf e_3.

The dimension of a finite-dimensional vector space is the number of vectors in a basis.

For real vectors with mm coordinates,

Theorem
x⋅y=∑i=1mxiyi.\boxed{\mathbf x\cdot\mathbf y=\sum_{i=1}^m x_i y_i.}

Example: (1,2,3)⋅(4,5,6)=4+10+18=32(1,2,3)\cdot(4,5,6)=4+10+18=32.

Another example: (1,2)⋅(2,−1)=2−2=0(1,2)\cdot(2,-1)=2-2=0.

Two vectors are orthogonal if their dot product vanishes:

x⊥y  ⟺  x⋅y=0.\mathbf x\perp\mathbf y\iff\mathbf x\cdot\mathbf y=0.

For non-zero real vectors, this means they are perpendicular geometrically.

Dot product and orthogonality laboratory

xy
x⋅y=(1)(2)+(2)(−1)=0\mathbf x\cdot\mathbf y=(1)(2)+(2)(-1)=0

Orthogonal: perpendicular non-zero vectors.

Three properties of the dot product are crucial:

x⋅y=y⋅x,(ax+by)⋅z=a(x⋅z)+b(y⋅z),x⋅x=∑ixi2=∥x∥2.\begin{aligned}\mathbf x\cdot\mathbf y&=\mathbf y\cdot\mathbf x,\\(a\mathbf x+b\mathbf y)\cdot\mathbf z&=a(\mathbf x\cdot\mathbf z)+b(\mathbf y\cdot\mathbf z),\\\mathbf x\cdot\mathbf x&=\sum_i x_i^2=\|\mathbf x\|^2.\end{aligned}

The last identity implies positive definiteness: if x≠0\mathbf x\neq\mathbf0, then x⋅x>0\mathbf x\cdot\mathbf x>0.

A finite collection {v1,…,vr}\{\mathbf v_1,\ldots,\mathbf v_r\} is linearly independent if

a1v1+⋯+arvr=0  ⟹  a1=⋯=ar=0.a_1\mathbf v_1+\cdots+a_r\mathbf v_r=\mathbf0\implies a_1=\cdots=a_r=0.

No vector in an independent collection can be expressed as a linear combination of the others.

For (1,0)(1,0) and (0,1)(0,1), the equation a(1,0)+b(0,1)=(0,0)a(1,0)+b(0,1)=(0,0) forces a=b=0a=b=0. These two vectors are independent.

For (1,1)(1,1) and (2,2)(2,2), the non-trivial relation 2(1,1)−(2,2)=02(1,1)-(2,2)=\mathbf0 proves dependence.

Any linearly independent set in an mm-dimensional vector space has at most mm vectors. In particular, three-dimensional space cannot contain four linearly independent vectors.

Theorem
S linearly independent  ⟹  ∣S∣≤dim⁡(V).\boxed{S\text{ linearly independent}\implies|S|\leq\dim(V).}

Orthogonality is a condition on dot products; linear independence is a condition on linear combinations. Non-zero pairwise orthogonal vectors are independent, but the converse is false. For example, (1,0)(1,0) and (1,1)(1,1) are independent but have dot product one.

7. Why non-zero orthogonal vectors are independent

Section titled “7. Why non-zero orthogonal vectors are independent”

Suppose u,v,w\mathbf u,\mathbf v,\mathbf w are non-zero and mutually orthogonal, and

au+bv+cw=0.a\mathbf u+b\mathbf v+c\mathbf w=\mathbf0.

Take the dot product with u\mathbf u and use linearity:

a(u⋅u)+b(v⋅u)+c(w⋅u)=0,a(u⋅u)=0.\begin{aligned}a(\mathbf u\cdot\mathbf u)+b(\mathbf v\cdot\mathbf u)+c(\mathbf w\cdot\mathbf u)&=0,\\a(\mathbf u\cdot\mathbf u)&=0.\end{aligned}

The cross terms vanish by orthogonality. Since u⋅u>0\mathbf u\cdot\mathbf u>0, we get a=0a=0. Repeating with the other vectors gives b=c=0b=c=0. Thus they are independent. The same method generalises to any finite number of vectors: dot products isolate individual coefficients.

Let

v1=(1,0),v2=(0,1),v3=(1,1),v4=(1,−1).\begin{aligned}\mathbf v_1&=(1,0),&\mathbf v_2&=(0,1),\\\mathbf v_3&=(1,1),&\mathbf v_4&=(1,-1).\end{aligned}

Define adjacency between distinct vertices by vi∼vj  ⟺  vi⋅vj≠0\mathbf v_i\sim\mathbf v_j\iff\mathbf v_i\cdot\mathbf v_j\neq0.

Pair Dot product Adjacent?
1, 2 0 No
1, 3 1 Yes
1, 4 1 Yes
2, 3 1 Yes
2, 4 −1 Yes
3, 4 0 No
Graph of four vectors1234K2,2K_{2,2}

Graph of four vectors

The graph is K2,2K_{2,2}. Both {v1,v2}\{\mathbf v_1,\mathbf v_2\} and {v3,v4}\{\mathbf v_3,\mathbf v_4\} are independent. A set of three mutually orthogonal non-zero vectors cannot exist in two-dimensional space.

The zero vector has zero dot product with every vector. It would be an isolated vertex under this adjacency rule. In R2\mathbb R^2, the three vectors {(0,0),(1,0),(0,1)}\{(0,0),(1,0),(0,1)\} would form an independent set of size three, exceeding the dimension two. The hypothesis is essential.

Calculate the dot product of (2,3,1) and (1,−1,4).2(1)+3(−1)+1(4)=3.2(1)+3(-1)+1(4)=3.
Find a non-zero vector perpendicular to (3,4).

The vector (4,−3)(4,-3) works because 3(4)+4(−3)=03(4)+4(-3)=0.

Explain why orthogonality implies independence for non-zero vectors.

Take a vanishing linear combination and dot it with each vector in turn. The cross terms vanish, leaving the corresponding coefficient times the positive squared norm. Every coefficient is therefore zero.

Give an example showing that independence does not imply orthogonality.

(1,0)(1,0) and (1,1)(1,1) are independent but their dot product is one.

Knowledge check

0/6 answered

1. Dot product of (2,3,1)(2,3,1) and (1,−1,4)(1,-1,4)?
2. Which vector is orthogonal to (3,4)(3,4)?
3. Maximum independent vectors in R5\mathbb R^5?
4. Which statement always holds?
5. Non-adjacency in a graph defined by non-zero dot products means what?
6. Why require non-zero vectors?

Start with an arbitrary independent set of the graph defined by non-zero dot products. Translate non-adjacency into pairwise orthogonality. Apply the non-zero orthogonality theorem and then the dimension theorem. If the vertex set is infinite, an independent set with more than mm vertices would contain m+1m+1 distinct vectors, and the same finite-dimensional argument would give a contradiction. Generalise the three-vector example to write your own proof.

x⊥y  ⟺  x⋅y=0,x⋅x=∥x∥2>0(x≠0),pairwise orthogonal non-zero vectors  ⟹  linearly independent  ⟹  ∣I∣≤m.\begin{aligned}\mathbf x\perp\mathbf y&\iff\mathbf x\cdot\mathbf y=0,\\\mathbf x\cdot\mathbf x&=\|\mathbf x\|^2>0\quad(\mathbf x\neq\mathbf0),\\\text{pairwise orthogonal non-zero vectors}&\implies\text{linearly independent}\\&\implies |I|\leq m.\end{aligned}

Your lesson progress

0/5 available lessons marked complete · 0%