Extend the vectors to a basis

In summary, the conversation discusses determining a maximal linearly independent subset of three given vectors in $\mathbb{R}^4$ and extending them to form a basis. The process involves using row and column echelon forms of a matrix and considering different cases for the value of a variable, where for $t\neq 1$ the three vectors are linearly independent and for $t=1$ the third vector can be written as a linear combination of the first two. The final step is to add a fourth vector to form a basis.
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

Let $t\in \mathbb{R}$ and the vectors $$v_1=\begin{pmatrix}
0\\
1\\
-1\\
1
\end{pmatrix}, v_2=\begin{pmatrix}
t\\
2\\
0\\
1
\end{pmatrix}, v_3=\begin{pmatrix}
2\\
2\\
2\\
0
\end{pmatrix}$$ in $\mathbb{R}^4$.

I want to determine a maximal linearly independent subset of $\{v_1, v_2, v_3\}$ and to extend these to a basis of $\mathbb{R}^4$.
I have done the following:
$$\begin{pmatrix}
0 & t & 2 \\
1 & 2 & 2 \\
-1 & 0 & 2 \\
1 & 1 & 0
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
-1 & 0 & 2 \\
1 & 1 & 0
\end{pmatrix} \rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
0 & 1 & 2 \\
0 & 1 & 2
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
0 & 1 & 2 \\
0 & 0 & 0
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
0 & 0 & 2t-2 \\
0 & 0 & 0
\end{pmatrix}$$

If $t\neq 1$ we get the following system: $$\lambda_1+2\lambda_2+2\lambda_3=0 \\ t\lambda_2+2\lambda_3=0 \\ (2t-2)\lambda_3=0$$
So, $\lambda_1=\lambda_2=\lambda_3=0$ and so the vectors are linearly independent.

If $t=1$ we get the system: $$\lambda_1+2\lambda_2+2\lambda_3=0 \\ \lambda_2+2\lambda_3=0=0$$
So, $(\lambda_1, \lambda_2, \lambda_3)=\lambda_3 (2, -2, 1), \lambda_3\in \mathbb{R}$.
Therefore, $v_3=-2v_1+2v_2$ and $v_1$ and $v_2$ are linearly independent. Is everything correct so far? (Wondering)

So do we get a different maximal linearly independent subset for $t=1$ and a different for $t\neq 1$ ? (Wondering) So, do we have to take cases for $t$ to extend the vectors to a basis? (Wondering)
 
Physics news on Phys.org
  • #2
Or, since we are looking for the maximal linearly independent subset of $\{v_1,v_2,v_3\}$, we take the case $t\neq 1$, because then the linearly independent subset is the whole set? (Wondering)
 
  • #3
There is a typo at the first post...

The vectors are\begin{equation*}v_1=\begin{pmatrix}
0\\
1\\
-1\\
t
\end{pmatrix}, v_2=\begin{pmatrix}
t\\
2\\
0\\
1
\end{pmatrix}, v_3=\begin{pmatrix}
2\\
2\\
2\\
0
\end{pmatrix}\end{equation*} in $\mathbb{R}^4$.

We have the following:
\begin{align*}&\begin{pmatrix}
0 & t & 2 \\
1 & 2 & 2 \\
-1 & 0 & 2 \\
t & 1 & 0
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
0 & 2 & 4 \\
t & 1 & 0
\end{pmatrix} \rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
0 & 1 & 2 \\
0 & 1-2t & -2t
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & t & 2 \\
0 & 1 & 2 \\
0 & 2t & 2+2t
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & 1 & 2 \\
0 & t & 2 \\
0 & t & 1+t
\end{pmatrix}\\ &\overset{ t\neq 1}{\rightarrow } \begin{pmatrix}
1 & 2 & 2 \\
0 & 1 & 2 \\
0 & t & 2 \\
0 & 0 & t-1
\end{pmatrix}\rightarrow \begin{pmatrix}
1 & 2 & 2 \\
0 & 1 & 2 \\
0 & 0 & t-1 \\
0 & 0 & 0
\end{pmatrix}\end{align*} So, for $t\neq 1$ the $3$ vectors are linearly independent.

For $t=1$ we get fpr example $v_3=-2v_1+2v_2$, where $v_1$ and $v_2$ are linearly independent.

About extending the basis I have done the following:
When $t\neq 1$ :
We need one more vector. We write the given vectors as lilnes of a matrix and we add also a zero line:
\begin{equation*}\begin{pmatrix}
0 &
1&
-1 &
t
\\ t& 2& 0& 1 \\ 2&
2&
2&
0\\ 0&0&0&0
\end{pmatrix}\end{equation*}We have to bring the matrix into a row-echelon form \begin{equation*}\begin{pmatrix}
2 &
2&
2 & 0
\\ 0& 1& -1&t \\ 0 &
0&
4-4t&
2t^2-4t+2\\ 0&0&0&0
\end{pmatrix}\end{equation*}At the diagonals we write the element $1$ :
\begin{equation*}\begin{pmatrix}
2 &
2&
2 & 0
\\ 0& 1& -1&t \\ 0 &
0&
4-4t&
2t^2-4t+2\\ 0&0&0&1
\end{pmatrix}\end{equation*}

So, the vectors \begin{equation*}\begin{pmatrix}
0 \\
1\\
-1 \\ t\end{pmatrix}, \begin{pmatrix}
t\\ 2\\ 0\\ 1 \end{pmatrix} , \begin{pmatrix} 2 \\
2\\
2\\
0\end{pmatrix}, \begin{pmatrix}0\\ 0\\ 0\\ 1
\end{pmatrix}\end{equation*} form a basis.

Is this correct? (Wondering)
 
  • #4
Hey mathmari! (Smile)

Let's bring the matrix in column echelon form instead of row echelon form. (Thinking)

$$\begin{array}{}
\quad \times \quad \phantom{0} \quad -t \\
\begin{pmatrix}
1 & 0 & t \\
1 & 1 & 2 \\
1 & -1 & 0 \\
0 & 1 & 1
\end{pmatrix} \to
\end{array}

\begin{array}{}
\quad \phantom{0} \quad \times \quad t-2 \\
\begin{pmatrix}
1 & 0 & 0 \\
1 & 1 & 2-t \\
1 & -1 & -t \\
0 & 1 & 1
\end{pmatrix} \to
\end{array}

\begin{array}{}
\phantom{0} \\
\begin{pmatrix}
1 & 0 & 0 \\
1 & 1 & 0 \\
1 & -1 & -2(t-1) \\
0 & 1 & t-1
\end{pmatrix}
\end{array}
$$

The columns are now our independent vectors.
For $t=1$ the third column is the 0 vector, showing that we have a dependent set, and furthermore the first 2 columns form an independent basis.
For $t\ne 1$, the third column is an independent vector with non-zero entries in the 3rd and 4th rows.

That means we can complete the basis by adding a 4th column that completes the column echelon form:
$$
\to\left(\begin{array}{ccc|c}
1 & 0 & 0 & 0\\
1 & 1 & 0 & 0\\
1 & -1 & -2(t-1) & 0 \\
0 & 1 & t-1 & 1
\end{array}\right)
$$

So indeed, we can pick \begin{pmatrix}0\\0\\0\\1\end{pmatrix} as the 4th basis vector. (Happy)
 
  • #5
Ah ok... Thank you very much! (Smile)
 

Related to Extend the vectors to a basis

What does it mean to "extend the vectors to a basis"?

Extending the vectors to a basis means to add additional vectors to the given set of vectors in order to form a basis for the vector space.

Why is it important to extend the vectors to a basis?

Extending the vectors to a basis is important because it allows us to have a complete set of linearly independent vectors that span the entire vector space. This is necessary for performing operations and calculations on vectors within the vector space.

How do you extend vectors to a basis?

The process of extending vectors to a basis involves finding linearly independent vectors that are not already in the given set of vectors and adding them to the set. This can be done by using techniques such as the Gram-Schmidt process or finding the null space of a matrix.

Can a set of vectors always be extended to a basis?

No, not all sets of vectors can be extended to a basis. The set of vectors must be linearly independent and span the entire vector space in order for it to be extended to a basis. If the set of vectors is linearly dependent or does not span the entire vector space, it cannot be extended to a basis.

What is the significance of a basis in linear algebra?

A basis is significant in linear algebra because it provides a set of vectors that can be used to represent any vector within the vector space. This makes it easier to perform calculations and operations on vectors, and also allows for the representation of transformations and linear equations in a more simplified form.

Similar threads

  • Linear and Abstract Algebra
Replies
8
Views
2K
  • Linear and Abstract Algebra
Replies
10
Views
1K
  • Linear and Abstract Algebra
Replies
8
Views
1K
  • Linear and Abstract Algebra
Replies
34
Views
2K
  • Linear and Abstract Algebra
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
11
Views
990
  • Linear and Abstract Algebra
Replies
6
Views
699
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Linear and Abstract Algebra
2
Replies
52
Views
2K
  • Linear and Abstract Algebra
Replies
14
Views
1K
Back
Top