Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Examples from Spans

All examples from Spans.

Back to Spans

Lines and planes through the origin

For v=(1,0,0)∈R3v=(1,0,0)\in\mathbb R^3,

span⁡{v}={(λ,0,0):λ∈R},\operatorname{span}\{v\} = \{(\lambda,0,0):\lambda\in\mathbb R\},

which is the line y=z=0y=z=0. The coefficient can be any real number, so the whole line is obtained; restricting it to an interval would give a bounded segment, which is not closed under scalar multiplication. Any plane through the origin containing this line is a larger subspace containing vv.

[routine]

  1. [1]:Span

Standard spanning sets

The set

{(10),(01)}\left\{ \begin{pmatrix}1\\0\end{pmatrix}, \begin{pmatrix}0\\1\end{pmatrix} \right\}

spans R2\mathbb R^2, since every (a,b)T(a,b)^T is

a(10)+b(01).a\begin{pmatrix}1\\0\end{pmatrix} +b\begin{pmatrix}0\\1\end{pmatrix}.

The set

{1,x,…,xn}\{1,x,\ldots,x^n\}

spans PnP_n, since each polynomial of degree at most nn is a linear combination of these powers. The four matrices

E11=(1000),E12=(0100),E21=(0010),E22=(0001)E_{11}=\begin{pmatrix}1&0\\0&0\end{pmatrix},\quad E_{12}=\begin{pmatrix}0&1\\0&0\end{pmatrix},\quad E_{21}=\begin{pmatrix}0&0\\1&0\end{pmatrix},\quad E_{22}=\begin{pmatrix}0&0\\0&1\end{pmatrix}

span M2×2(R)M_{2\times2}(\mathbb R), because

(abcd)=aE11+bE12+cE21+dE22.\begin{pmatrix}a&b\\c&d\end{pmatrix} =aE_{11}+bE_{12}+cE_{21}+dE_{22}.

[routine]

  1. [1]:Spanning set

A vector outside a span

Let

S={(102),(21−1)}.S= \left\{ \begin{pmatrix}1\\0\\2\end{pmatrix}, \begin{pmatrix}2\\1\\-1\end{pmatrix} \right\}.

To test whether (1,2,3)T(1,2,3)^T belongs to span⁡(S)\operatorname{span}(S), row-reduce

[1210122−13]∼[10−30120011].\left[ \begin{array}{cc|c} 1&2&1\\ 0&1&2\\ 2&-1&3 \end{array} \right] \sim \left[ \begin{array}{cc|c} 1&0&-3\\ 0&1&2\\ 0&0&11 \end{array} \right].

The last row is contradictory, so the system has no solution and

(123)∉span⁡(S).\begin{pmatrix}1\\2\\3\end{pmatrix}\notin\operatorname{span}(S).

Three vectors spanning R3\mathbb R^3

For

A=[11220132−1],A= \begin{bmatrix} 1&1&2\\ 2&0&1\\ 3&2&-1 \end{bmatrix},

row reduction gives

A∼[100010001].A\sim \begin{bmatrix} 1&0&0\\ 0&1&0\\ 0&0&1 \end{bmatrix}.

Thus Ac=bA c=b has a solution for every b∈R3b\in\mathbb R^3. The columns

(123),(102),(21−1)\begin{pmatrix}1\\2\\3\end{pmatrix},\qquad \begin{pmatrix}1\\0\\2\end{pmatrix},\qquad \begin{pmatrix}2\\1\\-1\end{pmatrix}

span R3\mathbb R^3.

Membership in a polynomial span

Let

q1=x3+2x2,q2=x−2,q_1=x^3+2x^2,\qquad q_2=x-2,

and write

p=a0+a1x+a2x2+a3x3.p=a_0+a_1x+a_2x^2+a_3x^3.

Then

αq1+βq2=−2β+βx+2αx2+αx3.\alpha q_1+\beta q_2 =-2\beta+\beta x+2\alpha x^2+\alpha x^3.

The constant and linear coefficients require a0=−2βa_0=-2\beta and a1=βa_1=\beta; the quadratic and cubic coefficients require a2=2αa_2=2\alpha and a3=αa_3=\alpha. Thus p∈span⁡{q1,q2}p\in\operatorname{span}\{q_1,q_2\} exactly when

a0=−2a1anda2=2a3.a_0=-2a_1 \qquad\text{and}\qquad a_2=2a_3.

A set that does not span P2P_2

Consider

q1=x+2x2,q2=x−2,q3=x2+1.q_1=x+2x^2,\qquad q_2=x-2,\qquad q_3=x^2+1.

For

p=a0+a1x+a2x2,p=a_0+a_1x+a_2x^2,

the equation

αq1+βq2+γq3=p\alpha q_1+\beta q_2+\gamma q_3=p

gives

−2β+γ=a0,α+β=a1,2α+γ=a2.-2\beta+\gamma=a_0,\qquad \alpha+\beta=a_1,\qquad 2\alpha+\gamma=a_2.

The first two equations give γ=a0+2β\gamma=a_0+2\beta and α=a1−β\alpha=a_1-\beta. Substituting into the third gives the condition

a2=a0+2a1.a_2=a_0+2a_1.

Conversely, when this condition holds, those choices of α\alpha and γ\gamma solve all three equations for any β\beta. The polynomial p=x2p=x^2 fails the condition, so these three polynomials do not span P2P_2.

On this page