What is Linear independence?

A set SS of vectors v1,v2,....,vnv_1, v_2, ...., v_n are said to be linearly independent if none of the vectors in the set SS can be represented as a linear combination of the other vectors.

This can be represented in mathematical terms as follows:

If a trivial solutionA trivial solution is the zero solution, where all constants equal zero. is obtained to the vector equation above, the set SS is said to contain linearly independent vectors. Otherwise, if any cic_i's obtains a nonzero value, the vectors are claimed to be linearly dependent.

Note: Linearly dependent vectors can be represented as a combination of other vectors in the set.

Example 1

Determine if the vectors {v1,v2}\{v_1, v_2\} are linearly independent or not:

Find the values of c1c_1 and c2c_2 in the following vector equation:

Solve the matrix below:

The solution obtained is as follows:

Since a nontrivial was not obtained, the vectors {v1,v2}\{v_1, v_2\} are claimed to be linearly dependent.

Note: The linearly dependent vector in the set can be represented by a linear combination of other vectors in the set.

For better understanding, example 1 has been depicted graphically as below:

Linearly dependent vectors

Example 2

Determine if the vectors {v1,v2}\{v_1, v_2\} are linearly independent or not:

Find the values of c1c_1 and c2c_2 in the vector equation:

Solve the matrix below:

The solution obtained is as follows:

A trivial solution identifies the vectors {v1,v2}\{v_1, v_2\} as linearly independent.

Note: Linearly independent vectors cannot be represented in the span of other vectors in the set. In fact, linearly independent vectors increase the span of the set.

For better understanding, example 2 has been depicted graphically as below:

Linearly independent vectors

Example 3

Determine if the vectors {v1,v2,v3}\{v_1, v_2, v_3\} are linearly independent or not:

Find the values of c1c_1 and c2c_2 in the vector equation:

Solve the matrix below:

The solution obtained is as follows:

The set of vectors {v1,v2,v3}\{v_1, v_2, v_3\} is linearly dependent. You can have two linearly independent vectors at max in R2R^2.

Note: At max nn linearly independent vectors can exist in a space RnR^n. Addition of another vector in the set makes it linearly dependent.

For better understanding, example 3 has been depicted graphically as below:

Linearly dependent vectors

Quiz

Here are a few practice questions to help you understand the topic better.

1

Determine if the following vectors are independent or not. Letv1=[112],v2=[112],v3=[314]Let \, \textbf{v}_1 = \begin{bmatrix} 1 \\ 1 \\ -2 \end{bmatrix}, \textbf{v}_2 = \begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix} ,\textbf{v}_3 = \begin{bmatrix} 3 \\ 1 \\ 4 \end{bmatrix}

A)

Linearly dependent

B)

Linearly independent

Question 1 of 30 attempted

Span

All the linear combinations of a vector are called its span. To check whether a point is in the span of a vector or not, use the following equation:

If any combination of cic_i's can generate the vector PP, it is considered to be in the span of the set of vectors; otherwise, if all cic_i's equal zero, the vector PP is said to be out of the span of the vector set.

Linear independence and span

Linearly independent vectors increase the span of the set of vectors; however, linearly dependent vectors do not add to the span of the set vectors.

Note: To span a space of RnR^n, exactly nnlinearly independent vectors are required. A number less or greater than nn do not span RnR^n. The set of these nn vectors is also known as the basis for RnR^n.

Examples

Using the examples quoted above, determine whether the vectors span R2R^2 or not.

  • Example 1: The set of vectors is linearly dependent, and removing the dependent vector leaves only one vector behind. Hence, the set of vectors does not span R2R^2.

  • Example 2: The set of vectors is linearly independent, and the number of vectors is exactly 2. Hence, the set of vectors span R2R^2.

  • Example 3: The set of vectors is linearly dependent; however, removing the dependent vector leaves two linearly independent vectors behind. Hence, the new set of vectors would span R2R^2 but not the existing one.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved