Determining Basis and Dimension for Vector Subspaces $U_1$ and $U_2$

In summary: So, is the dimension of the intersection $1$ ? Does this always hold? (Wondering) In summary, we have determined the basis and dimension of $U_1$ and $U_2$ to be $3$ each, and the dimension of their intersection to be $1$. To find a basis for the intersection, we can solve a system of equations. We can also find a basis for the sum $U_1+U_2$ by considering all possible sums of vectors from $U_1$ and $U_2$ and checking for linear independence. To find a vector subspace $W$ of $\mathbb{R}^4$ such that $U_1\oplus W
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

Let $U_1,U_2$ be vector subspaces of $\mathbb{R}^4$ that are defined as $$U_1=\begin{bmatrix}
\begin{pmatrix}
3\\
2\\
2\\
1
\end{pmatrix}, \begin{pmatrix}
3\\
3\\
2\\
1
\end{pmatrix}, \begin{pmatrix}
2\\
1\\
2\\
1
\end{pmatrix}
\end{bmatrix}, \ \ U_2=\begin{bmatrix}
\begin{pmatrix}
1\\
0\\
4\\
0
\end{pmatrix}, \begin{pmatrix}
2\\
3\\
2\\
3
\end{pmatrix}, \begin{pmatrix}
1\\
2\\
0\\
2
\end{pmatrix}
\end{bmatrix}$$

I want to determine for $U_1$, $U_2$, $U_1\cap U_2$,$ U_1+U_2$ a basis and the dimension. I have done the following:

The vectors of $U_1$ are linearly indepenendent, so a basis is the whole $U_1$ and so the dimension is $3$.

The same for $U_2$ : The vectors are linearly indepenendent, so a basis is the whole $U_2$ and so the dimension is $3$. For the intersection: Let $v\in U_1\cap U_2$ then $v\in U_1$, so $v=a(3,2,2,1)+b(3,3,2,1)+c(2,1,2,1)$ and $v\in U_2$, so $v=x(1,0,4,0)+y(2,3,2,3)+z(1,2,0,2)$.
We have that $$v-v=0 \Rightarrow a(3,2,2,1)+b(3,3,2,1)+c(2,1,2,1)-x(1,0,4,0)-y(2,3,2,3)-z(1,2,0,2)=(0,0,0,0)$$ So, we have to solve the system to find such $a,b,c,x,y,z$.
Is this correct? What about the dimension? (Wondering) For the sum we have that $\text{dim} (U_1+U_2)=\text{dim}(U_1)+\text{dim}(U_2)-\text{dim}(U_1\cap U_2)=3+3-\text{dim}(U_1\cap U_2)=6-\text{dim}(U_1\cap U_2)$, right? (Wondering)

Then to find a basis, do we take all the sums $u_1+u_2$, where $u_1\in U_1$ and $u_2\in U_2$ ? (Wondering) I want to find also vector subspace $W$ of $\mathbb{R}^4$ such that $U_1\oplus W=\mathbb{R}^4$. To find such a $W$ do we have to extend $U_1$ to a basis of $\mathbb{R}^4$ ? (Wondering)
 
Physics news on Phys.org
  • #2
mathmari said:
Hey! :eek:

Let $U_1,U_2$ be vector subspaces of $\mathbb{R}^4$ that are defined as $$U_1=\begin{bmatrix}
\begin{pmatrix}
3\\
2\\
2\\
1
\end{pmatrix}, \begin{pmatrix}
3\\
3\\
2\\
1
\end{pmatrix}, \begin{pmatrix}
2\\
1\\
2\\
1
\end{pmatrix}
\end{bmatrix}, \ \ U_2=\begin{bmatrix}
\begin{pmatrix}
1\\
0\\
4\\
0
\end{pmatrix}, \begin{pmatrix}
2\\
3\\
2\\
3
\end{pmatrix}, \begin{pmatrix}
1\\
2\\
0\\
2
\end{pmatrix}
\end{bmatrix}$$

I want to determine for $U_1$, $U_2$, $U_1\cap U_2$,$ U_1+U_2$ a basis and the dimension. I have done the following:

The vectors of $U_1$ are linearly indepenendent, so a basis is the whole $U_1$ and so the dimension is $3$.

The same for $U_2$ : The vectors are linearly indepenendent, so a basis is the whole $U_2$ and so the dimension is $3$. For the intersection: Let $v\in U_1\cap U_2$ then $v\in U_1$, so $v=a(3,2,2,1)+b(3,3,2,1)+c(2,1,2,1)$ and $v\in U_2$, so $v=x(1,0,4,0)+y(2,3,2,3)+z(1,2,0,2)$.
We have that $$v-v=0 \Rightarrow a(3,2,2,1)+b(3,3,2,1)+c(2,1,2,1)-x(1,0,4,0)-y(2,3,2,3)-z(1,2,0,2)=(0,0,0,0)$$ So, we have to solve the system to find such $a,b,c,x,y,z$.
Is this correct? What about the dimension? (Wondering)
What you have done is correct, but maybe not the best way to proceed. I think it would be better to look carefully at the given vectors in $U_1$ and $U_2$, to see if there is a more convenient way to describe these spaces.

What I notice is that the three basis vectors in $U_1$ all have $2$ and $1$ for their third and fourth coordinates. In $U_2$, the three vectors all have their second and fourth coordinates equal. Can you use these facts to give alternative descriptions of $U_1$ and $U_2$?
 
  • #3
Opalg said:
What you have done is correct, but maybe not the best way to proceed. I think it would be better to look carefully at the given vectors in $U_1$ and $U_2$, to see if there is a more convenient way to describe these spaces.

What I notice is that the three basis vectors in $U_1$ all have $2$ and $1$ for their third and fourth coordinates. In $U_2$, the three vectors all have their second and fourth coordinates equal. Can you use these facts to give alternative descriptions of $U_1$ and $U_2$?

Can we write these maybe as follows: $$U_1=\{(x,y,2,1) \mid x, y\in \mathbb{R}, x\neq y\} , \ \ U_2=\{(x,y,z,y)\mid x,y,z\in \mathbb{R}, y\neq x,z\}$$ ? (Wondering)
 
  • #4
mathmari said:
Can we write these maybe as follows: $$U_1=\{(x,y,2,1) \mid x, y\in \mathbb{R}, x\neq y\} , \ \ U_2=\{(x,y,z,y)\mid x,y,z\in \mathbb{R}, y\neq x,z\}$$ ? (Wondering)
Nearly right. It should be $U_1=\{(x,y,2z,z) \mid x, y, z\in \mathbb{R}\} , \ \ U_2=\{(x,y,z,y)\mid x,y,z\in \mathbb{R}\}$. No need for $x$ and $y$ to be unequal. And you need the $z$ in $U_1$, otherwise it will not contain scalar multiples.
 
  • #5
Opalg said:
Nearly right. It should be $U_1=\{(x,y,2z,z) \mid x, y, z\in \mathbb{R}\} , \ \ U_2=\{(x,y,z,y)\mid x,y,z\in \mathbb{R}\}$. No need for $x$ and $y$ to be unequal. And you need the $z$ in $U_1$, otherwise it will not contain scalar multiples.

Ah ok... So, we have that $$U_1=\{(x,y,2z,z) \mid x, y, z\in \mathbb{R}\}=\{x(1,0,0,0)+y(0,1,0,0)+z(0,0,2,1)\mid x, y, z\in \mathbb{R}\}$$ and $$U_2=\{(x,y,z,y)\mid x,y,z\in \mathbb{R}\}=\{x(1,0,0,0)+y(0,1,0,1)+z(0,0,1,0)\mid x,y,z\in \mathbb{R}\}$$
So, we see that a basis of $U_1$ is $\{(1,0,0,0), (0,1,0,0), (0,0,2,1)\}$ and therefore, the dimension is $3$, and a basis of $U_2$ is $\{(1,0,0,0), (0,1,0,1), (0,0,1,0)\}$ and therefore, the dimension is $3$.

Is this correct? Can we just say that these are a basis? Or do we have to prove first the linearly independence? (Wondering)
 
  • #6
Knowing these bases, do we know the dimension of the intersection?

To find a basis for the intersection in the way I did in my first post, we have the following:
$$v=a(1,0,0,0)+b(0,1,0,0)+c(0,0,2,1), \ \ v=x(1,0,0,0)+y(0,1,0,1)+z(0,0,1,0)$$
$$v-v=0 \Rightarrow a(1,0,0,0)+b(0,1,0,0)+c(0,0,2,1)-x(1,0,0,0)-y(0,1,0,1)-z(0,0,1,0)=(0,0,0,0) \\ \Rightarrow a-x=0, b-y=0, 2c-z=0, c-y=0 \Rightarrow c=y=b, z=2b, x=a$$
So, choosing $a=b=1$ we get $v=(1,0,0,0)+(0,1,0,0)+(0,0,2,1)=(1,1,2,1)$, right? (Wondering)

So, is the dimension of the intersection $1$ ? Does this always hold? (Wondering) Then we have $\text{dim} (U_1+U_2)=\text{dim}(U_1)+\text{dim}(U_2)-\text{dim}(U_1\cap U_2)=3+3-1=5$.

To find a basis for the sum, do we find all the sums and check if the result is linearly independent?

So, $$(1,0,0,0)+(1,0,0,0)=(2,0,0,0), \ \ (1,0,0,0)+(0,1,0,1)=(1,1,0,1), \ \ (1,0,0,0)+(0,0,1,0)=(1,0,1,0), \\ (0,1,0,0)+(1,0,0,0)=(1,1,0,0), \ \ (0,1,0,0)+(0,1,0,1)=(0,2,0,1), \ \ (0,1,0,0)+(0,0,1,0)=(0,1,1,0), \\ (0,0,2,1)+(1,0,0,0)=(1,0,2,1), \ \ (0,0,2,1)+(0,1,0,1)=(0,1,2,2), \ \ (0,0,2,1)+(0,0,1,0)=(0,0,3,1)$$

Now we have to find $5$ linearly independent vectors, right? (Wondering)
To find a vector subspace $W$ of $\mathbb{R}^4$ such that $U_1\oplus W=\mathbb{R}^4$, do we have to extend $U_1$ to a basis of $\mathbb{R}^4$ ? (Wondering)
 

What is the definition of basis and dimension?

Basis and dimension are fundamental concepts in linear algebra that describe the structure and properties of vector spaces. A basis is a set of linearly independent vectors that span the entire vector space, while dimension is the number of vectors in the basis.

How do you determine the basis and dimension of a vector space?

To determine the basis and dimension of a vector space, you can use the row reduction method or the pivot columns method. Both methods involve converting the vectors in the vector space into a matrix and performing operations to identify the linearly independent vectors.

Why is basis important in linear algebra?

Basis is important in linear algebra because it allows us to represent any vector in a vector space as a linear combination of the basis vectors. This makes it easier to perform operations on vectors and solve problems in linear algebra.

Can a vector space have more than one basis?

Yes, a vector space can have more than one basis. In fact, any vector space with dimension greater than one will have an infinite number of bases. However, all bases for a given vector space will have the same number of vectors.

What is the relation between basis and dimension?

The dimension of a vector space is equal to the number of vectors in its basis. This means that the basis is a fundamental part of determining the dimension of a vector space. Additionally, the basis vectors are the building blocks of the vector space and can be used to represent any vector in the space.

Similar threads

  • Linear and Abstract Algebra
Replies
6
Views
770
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
7
Views
2K
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
1
Views
999
  • Calculus and Beyond Homework Help
Replies
2
Views
368
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
9
Views
1K
  • Linear and Abstract Algebra
Replies
9
Views
874
  • Linear and Abstract Algebra
Replies
5
Views
6K
Back
Top