Example 18.18 (Testing a candidate basis, start to finish)
Is F=(1+X, 1+X2, X+X2) a basis of R2[X]? Write u1,u2,u3 for the three polynomials. Freeness: a null combination au1+bu2+cu3=0 gives, coefficient by coefficient,
a+b=0,a+c=0,b+c=0;
subtracting the first two, b=c, then the third gives 2b=0: a=b=c=0, free. Generating: instead of solving three systems, notice the symmetric combination
u1+u2−u3=(1+X)+(1+X2)−(X+X2)=2,
so 1=21(u1+u2−u3); then
X=u1−1=21(u1−u2+u3),X2=u2−1=21(−u1+u2+u3).
The monomials lie in the span, so everything does: F is a basis. As a bonus, assembling the three displays gives the coordinates of any P=α+βX+γX2:
P=2α+β−γu1+2α−β+γu2+2−α+β+γu3.
(Sanity check with P=X: coordinates (21,−21,21), as found above.) Two lessons: symmetry in the family usually hides a shortcut combination; and once dimension is available (Chapter 19), the whole generating half of this work will come free of charge — three free vectors of a 3-dimensional space always form a basis.
Example 18.22 (A hidden relation shrinks a span)
In F(R,R), what is Vect(1, cos2, sin2)? The identity cos2+sin2=1 is a nontrivial null combination
1⋅1+(−1)cos2+(−1)sin2=0:
the family is linked, and the span is already generated by (1,cos2) alone (sin2=1−cos2). That smaller family is free: a+bcos2x=0 for all x gives, at x=0 and x=2π: a+b=0 and a=0. So the span is a plane inside the function space — and it also contains cos2x=2cos2x−1: linear-looking families of trigonometric functions routinely collapse under identities, which is why freeness must be proved, never assumed from the list’s length.