Processing math: 100%
Skip to main content

Section 20.4 Examples

Subsection 20.4.1 Determining a basis from a parametric expression

Example 20.4.1. From the discovery guide.

First, let's carry out some of the examples from Discovery 20.2.

  1. In Discovery 20.2.c, we considered a certain subspace of R3.

    An arbitrary vector in R3 requires three parameters to describe its three components: x=(a,b,c). If we restrict to just those vectors whose first and third components are equal, we can replace c by a, to get

    x=(a,b,a)=(a,0,a)+(0,b,0)=a(1,0,1)+b(0,1,0).

    So a basis for this subspace of R3 is B={(1,0,1),(0,1,0)}, and the dimension is 2.

  2. In Discovery 20.2.g, we considered a certain subspace of M2(R).

    An arbitrary matrix in M2(R) requires four parameters to describe its four entries:

    A=[abcd].

    If we restrict to those matrices whose entries sum to zero, so that a+b+c+d=0, then we can isolate d=−a−b−c and substitute that into the matrix:

    A=[abc−a−b−c]=[a00−a]+[0b0−b]+[00c−c]=a[100−1]+b[010−1]+c[001−1].

    So this subspace of M2(R) has dimension 3, with basis

    B={[100−1],[010−1],[001−1]}.
  3. In Discovery 20.2.j, we considered a certain subspace of P5(R).

    An arbitrary polynomial in P5(R) requires six parameters, one for each power of x, along with a parameter for the constant term:

    p(x)=a0+a1x+a2x2+a3x3+a4x4+a5x5.

    If we restrict to only odd polynomials, we need to eliminate the constant term and the even powers of x:

    p(x)=a1x+a3x3+a5x5.

    (Equivalently, we have applied the homogeneous conditions a0=0, a2=0, and a4=0.) So this subspace of P5(R) has dimension 3, with basis B={x,x3,x5}.

Example 20.4.2. Dimensions of familiar spaces via parameters.

Now let's examine how the dimensions of our favourite example spaces relate to our parametric point of view. We considered specific examples of these in parts of Discovery 20.2, but here we'll work more generally.

  1. An arbitrary vector in Rn requires n parameters, one for each component:
    x=(x1,x2,…,xn).
    If we expanded this into a linear combination, each parameter would be attached to a standard basis vector ej. Since we've got n parameters and a corresponding n standard basis vectors, we have
    dimRn=n.
  2. An arbitrary m×n matrix in Mm×n(R) requires mn parameters, one for each entry:
    A=[aij],1≤i≤m,1≤j≤n.
    If we expanded this into a linear combination, each parameter would be attached to a standard basis matrix Eij, with zeros in all entries except for a single 1 in the (i,j)th entry. Since we've got mn parameters and a corresponding mn standard basis matrices, we have
    dimMm×n(R)=mn.
  3. An arbitrary polynomial in Pn(R), the space of polynomials of degree n or less, requires n+1 parameters, one for each power of x plus an extra one for the constant term:
    p(x)=a0+a1x+a2x2+⋯+anxn.
    This is already naturally expressed as a linear combination, and each parameter is attached to a polynomial from the standard basis B={1,x,x2,…,xn}. Since we've got n+1 parameters and a corresponding n+1 standard basis polynomials, we have
    dimPn(R)=n+1.
Example 20.4.3. The solution space of a homogeneous system.

In Remark 20.3.2, we noted how assigning parameters after row reducing a homogeneous system corresponded directly to a parameter-based procedure for determine the basis for a space. Let's illustrate this correspondence with an example.

Consider the homogeneous system in Discovery 2.4, which we solved in Example 2.4.4. In Example 17.4.8, we used the Subspace Test to verify that the solution set of a homogeneous system with an m×n coefficient matrix is a subspace of Rn. The system from Discovery 2.4 has a 4×4 coefficient matrix that we reduced:

[36−81312−2324−58]row→reduce[120−1001−20000].

Assigning parameters to free variables x2,x4, we obtained the general solution in parametric form:

x1=−2s+t,x2=s,x3=2t,x4=t.

We can use these expressions as components in a general solution vector, and expand it out to a linear combination, just as in the previous examples in this subsection:

x=[−2s+ts2tt]=[−2ss00]+[t02tt]=s[−2100]+t[1021]

Since two parameters are needed to describe the solution vectors for this system, the solution space has dimension 2, and a basis for this subspace is

B={[−2100],[1021]}.

Subsection 20.4.2 An infinite-dimensional example

All of the examples in the previous subsection involved finite-dimensional spaces. Here's an example of an infinite-dimensional space.

In Discovery 20.3, we considered the space of all polynomials. This space cannot be spanned by any finite collection of polynomials, because such a collection would have a polynomial of largest degree, and then every linear combination of those polynomials would have that degree or smaller. So the span of those polynomials could never include polynomials of larger degree. Thus,

dimP(R)=∞.

We can still come up with a basis for this space, but it will contain an infinite number of vectors:

P(R)=Span{1,x,x2,x3,…}.

This equality says that every polynomial is a linear combination of a finite number of powers of x. This spanning set is also linearly independent because no power of x can be expressed as a linear combination of other powers of x.

Subsection 20.4.3 Enlarging a linearly independent set to a basis

In Discovery 20.4.b, we are given a linearly independent set S of vectors in V=M2(R), and we would like to enlarge it to a basis for the whole space. Since S is linearly independent, it is a basis for the subspace SpanS. Since we know that dimM2(R)=4, we need to add two more linearly independent vectors to get up to a basis for V. To do this, we can use Proposition 18.5.6, which says that to enlarge a linearly independent set, we need to add a vector from outside the span of the vectors we already have.

An obvious source for candidate vectors to use to enlarge S is the standard basis B={E11,E12,E21,E22}. We know that SpanS can't contain all four of these vectors, because then Statement 1 of Proposition 17.5.6 would imply that all of V=SpanB would be contained in SpanS, which is not possible because dim(SpanS) is just 2. So let's start by checking whether E11 is in SpanS. The vector equation

k1[1111]+k2[101−1]=[1000]

leads to a system of equations with augmented matrix as on the left below, which we can reduce:

[1111001101−10]row→reduce[100010001000].

The one in the last column indicates that the system is inconsistent, which is what we want — there is no solution, so E11 is not in SpanS, and so we can enlarge S by including E11 and it will remain linearly independent. Call the enlarged set S′.

Now let's check if E12 is in the span of these three linearly independent vectors that we have already. Our vector equation is now,

k1[1111]+k2[101−1]+k3[1000]=[0100]

which leads to a system with augmented and reduced augmented matrices

[1110100111001−100]row→reduce[1000010000100001].

Again, there is no solution, so E12 is not in SpanS′. We are now up to four linearly independent vectors, which must form a basis for the 4-dimensional space M2(R).

Our final basis is

{[1111],[101−1],[1000],[0100]}.
A look ahead.

In the example above, we could have augmented our initial spanning set vectors with all standard basis vectors, and checked all of them all at once:

[1110001001001100101−10001]row→reduce[10001/21/201001/2−1/20010−100001−1/2−1/2].

By changing the position of the vertical line that indicates the separation of the coefficients from the column of constants one column at a time, we can change our point of view on each augmented column from representing a vector to be achieved as a linear combination of the spanning vectors to a vector included as a spanning vector.