Linear algebra: Find the span of a set

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
gruba
Messages
203
Reaction score
1

Homework Statement


Find the span of [itex]U=\{2,\cos x,\sin x:x\in\mathbb{R}\}[/itex] ([itex]U[/itex] is the subset of a space of real functions) and [itex]V=\{(a,b,b,...,b),(b,a,b,...,b),...,(b,b,b,...,a): a,b\in \mathbb{R},V\subset \mathbb{R^n},n\in\mathbb{N}\}[/itex]

Homework Equations


-Vector space span
-Linear independence
-Rank

The Attempt at a Solution


Objects in [itex]U[/itex] :[itex]2,\cos x,\sin x[/itex] are linearly independent, so they span [itex]\mathbb{R^3}[/itex].
Let ,[itex]n=3\Rightarrow [V]= \begin{bmatrix}<br /> a & b & b \\<br /> b & a & b \\<br /> b & b & a \\<br /> \end{bmatrix}[/itex]

[itex]rref[V]=\begin{bmatrix}<br /> 1 & 0 & 0 \\<br /> 0 & 1 & 0 \\<br /> 0 & 0 & 1 \\<br /> \end{bmatrix}\Rightarrow[/itex] vectors in [itex]V[/itex] span [itex]\mathbb{R^3}[/itex], if [itex]a,b\neq 0[/itex].

But because [itex]V\subset\mathbb{R^n}\Rightarrow[/itex] vectors span [itex]\mathbb{R^{n-1}}[/itex].

Is this correct?
 
Physics news on Phys.org
gruba said:

Homework Statement


Find the span of [itex]U=\{2,\cos x,\sin x:x\in\mathbb{R}\}[/itex] ([itex]U[/itex] is the subset of a space of real functions) and [itex]V=\{(a,b,b,...,b),(b,a,b,...,b),...,(b,b,b,...,a): a,b\in \mathbb{R},V\subset \mathbb{R^n},n\in\mathbb{N}\}[/itex]

Homework Equations


-Vector space span
-Linear independence
-Rank

The Attempt at a Solution


Objects in [itex]U[/itex] :[itex]2,\cos x,\sin x[/itex] are linearly independent, so they span [itex]\mathbb{R^3}[/itex].
Let ,[itex]n=3\Rightarrow [V]= \begin{bmatrix}<br /> a & b & b \\<br /> b & a & b \\<br /> b & b & a \\<br /> \end{bmatrix}[/itex]

[itex]rref[V]=\begin{bmatrix}<br /> 1 & 0 & 0 \\<br /> 0 & 1 & 0 \\<br /> 0 & 0 & 1 \\<br /> \end{bmatrix}\Rightarrow[/itex] vectors in [itex]V[/itex] span [itex]\mathbb{R^3}[/itex], if [itex]a,b\neq 0[/itex].

But because [itex]V\subset\mathbb{R^n}\Rightarrow[/itex] vectors span [itex]\mathbb{R^{n-1}}[/itex].

Is this correct?

No. Having ##a,b \neq 0## is not enough. Look at the determinant of your ##3 \times 3## matrix.
 
Ray Vickson said:
No. Having ##a,b \neq 0## is not enough. Look at the determinant of your ##3 \times 3## matrix.

Thanks, conditions [itex]a\neq b,a\neq -2b,a\neq 0,b\neq 0[/itex] must be satisfied.
But are the span of [itex]U,V[/itex] correct?
Also, what happens if the previous conditions aren't satisfied?
 
gruba said:
Thanks, conditions [itex]a\neq b,a\neq -2b,a\neq 0,b\neq 0[/itex] must be satisfied.
But are the span of [itex]U,V[/itex] correct?
Also, what happens if the previous conditions aren't satisfied?

That is a good question for you to think about. It might make a difference whether you have ##a = b## or ##a = -2b##.
 
gruba said:

Homework Statement


Find the span of [itex]U=\{2,\cos x,\sin x:x\in\mathbb{R}\}[/itex] ([itex]U[/itex] is the subset of a space of real functions) and [itex]V=\{(a,b,b,...,b),(b,a,b,...,b),...,(b,b,b,...,a): a,b\in \mathbb{R},V\subset \mathbb{R^n},n\in\mathbb{N}\}[/itex]

Homework Equations


-Vector space span
-Linear independence
-Rank

The Attempt at a Solution


Objects in [itex]U[/itex] :[itex]2,\cos x,\sin x[/itex] are linearly independent, so they span [itex]\mathbb{R^3}[/itex].
Let ,[itex]n=3\Rightarrow [V]= \begin{bmatrix}<br /> a & b & b \\<br /> b & a & b \\<br /> b & b & a \\<br /> \end{bmatrix}[/itex]

[itex]rref[V]=\begin{bmatrix}<br /> 1 & 0 & 0 \\<br /> 0 & 1 & 0 \\<br /> 0 & 0 & 1 \\<br /> \end{bmatrix}\Rightarrow[/itex] vectors in [itex]V[/itex] span [itex]\mathbb{R^3}[/itex], if [itex]a,b\neq 0[/itex].

But because [itex]V\subset\mathbb{R^n}\Rightarrow[/itex] vectors span [itex]\mathbb{R^{n-1}}[/itex].

Is this correct?
But I think the question is on the span of ##U## , and , in your post you have that U is a subset of a function space. Function spaces are usually infinite-dimensional; I cannot think of any function space that is not.
 
gruba said:

Homework Statement


Find the span of [itex]U=\{2,\cos x,\sin x:x\in\mathbb{R}\}[/itex] ([itex]U[/itex] is the subset of a space of real functions) and [itex]V=\{(a,b,b,...,b),(b,a,b,...,b),...,(b,b,b,...,a): a,b\in \mathbb{R},V\subset \mathbb{R^n},n\in\mathbb{N}\}[/itex]

Homework Equations


-Vector space span
-Linear independence
-Rank

The Attempt at a Solution


Objects in [itex]U[/itex] :[itex]2,\cos x,\sin x[/itex] are linearly independent, so they span [itex]\mathbb{R^3}[/itex].
What's the definition of span? The functions 2, cosine, and sine aren't elements of ##\mathbb{R}^3##, so how can they span ##\mathbb{R}^3##?

Let [itex]n=3\Rightarrow [V]= \begin{bmatrix}<br /> a & b & b \\<br /> b & a & b \\<br /> b & b & a \\<br /> \end{bmatrix}[/itex]

[itex]rref[V]=\begin{bmatrix}<br /> 1 & 0 & 0 \\<br /> 0 & 1 & 0 \\<br /> 0 & 0 & 1 \\<br /> \end{bmatrix}\Rightarrow[/itex] vectors in [itex]V[/itex] span [itex]\mathbb{R^3}[/itex], if [itex]a,b\neq 0[/itex].

But because [itex]V\subset\mathbb{R^n}\Rightarrow[/itex] vectors span [itex]\mathbb{R^{n-1}}[/itex].

Is this correct?
No, it's not correct. In the ##n=3## case, are you claiming the three vectors span both ##\mathbb{R}^2## and ##\mathbb{R}^3##? How can that possibly work? The elements of ##\mathbb{R}^2## are ordered pairs while the elements of ##\mathbb{R}^3## are 3-tuples.