Tutorials › Linear Algebra › Polynomial Subspaces From Coefficient Constraints

Vector Spaces and Subspaces · Tutorial 289 of 1000

Polynomial Subspaces From Coefficient Constraints

Use polynomial coefficients to test subspace closure and determine which polynomials satisfy common restrictions.

Intermediate 9 min read

What You'll Learn

  • Identify the ambient polynomial space for a coefficient restriction.
  • Test zero-coefficient conditions for subspace closure.
  • Describe polynomials containing only even or only odd powers.
  • Verify polynomial parity by comparing coefficients.
  • Distinguish the conditions p(0) = 0 and p(0) = c for nonzero c.
  • Check polynomial examples by computing coefficients and values at zero.

Polynomial Conditions and Their Ambient Space

A polynomial restriction is meaningful only after its ambient space has been specified. For example, “the coefficient of \(x^3\) is zero” describes a subset of the polynomials of degree at most \(5\), but it also describes a subset of all real polynomials. We will work over \(\mathbb{R}\). For \(n\geq 0\), let \(P_n(\mathbb{R})\) be the vector space of real polynomials of degree at most \(n\), together with the zero polynomial. Each \(p\in P_n(\mathbb{R})\) has a unique expression \(p(x)=a_0+a_1x+\cdots+a_nx^n\), where any of the coefficients may be zero.

A subset \(S\) of a vector space \(V\) is a subspace if it contains the zero vector and is closed under addition and scalar multiplication. For polynomial subsets, the zero vector is the zero polynomial. The subspace test therefore asks: does the zero polynomial satisfy the restriction, and do sums and real scalar multiples of polynomials satisfying it still satisfy it?

Definition: A coefficient restriction specifies conditions on one or more coefficients in the unique polynomial expression. A zero-coefficient restriction requires specified coefficients to equal zero. For example, in \(P_5(\mathbb{R})\), the condition \(a_1=a_4=0\) requires the coefficients of \(x\) and \(x^4\) to vanish.

Zero-coefficient restrictions are homogeneous: adding two zero coefficients gives zero, and multiplying zero by any real scalar still gives zero. A prescribed nonzero coefficient behaves differently, since scalar multiplication changes its value. The examples below develop this distinction and show how parity restrictions fit the same coefficient-based approach.

Zero-Coefficient Conditions Give Subspaces

Theorem: Let \(I\) be any subset of \(\{0,1,\ldots,n\}\), and define \(S=\{p\in P_n(\mathbb{R}):a_k=0\text{ for every }k\in I\}\), where \(p(x)=\sum_{k=0}^{n}a_kx^k\). Then \(S\) is a subspace of \(P_n(\mathbb{R})\).

Proof. The zero polynomial has every coefficient equal to zero, so it belongs to \(S\). Suppose \(p(x)=\sum_{k=0}^{n}a_kx^k\) and \(q(x)=\sum_{k=0}^{n}b_kx^k\) belong to \(S\). For each \(k\in I\), \(a_k=b_k=0\), so the coefficient of \(x^k\) in \(p+q\) is \(a_k+b_k=0\). Thus \(p+q\in S\). If \(c\in\mathbb{R}\), the coefficient of \(x^k\) in \(cp\) is \(ca_k=0\) for each \(k\in I\); hence \(cp\in S\). The zero polynomial and both closure properties are established, so \(S\) is a subspace. \(\square\)

This result applies whether the restriction removes one power or many. Any coefficients not named in the restriction remain unrestricted. In particular, requiring the coefficient of \(x^4\) to vanish does not require the coefficient of \(x^2\) or the constant coefficient to vanish.

Worked Example: Two Coefficients Must Vanish

In \(P_5(\mathbb{R})\), consider the polynomials for which \(a_1=a_4=0\). Verify that the following two polynomials satisfy the condition, and compute their sum and a scalar multiple.

Take \(p(x)=3+4x^2-2x^3+5x^5\) and \(q(x)=-1+2x^2+7x^3-3x^5\). Neither polynomial has an \(x\) term or an \(x^4\) term, so both belong to the specified set. Adding coefficient by coefficient gives

$$ \begin{aligned} (p+q)(x) &=(3-1)+(0+0)x+(4+2)x^2+(-2+7)x^3+(0+0)x^4+(5-3)x^5\\ &=2+6x^2+5x^3+2x^5. \end{aligned} $$

The coefficients of \(x\) and \(x^4\) in the sum are still zero. For a scalar check, multiply \(p\) by \(-3\):

$$ (-3p)(x)=-9-12x^2+6x^3-15x^5. $$

Again, the coefficients of \(x\) and \(x^4\) are zero. This concrete computation agrees with the theorem. The omitted terms in these expressions have coefficient zero; their absence does not impose any further condition on the other coefficients.

Parity Restrictions as Coefficient Patterns

For a polynomial, having only even powers means that every coefficient of an odd power is zero. Having only odd powers means that every coefficient of an even power, including the constant coefficient, is zero. Thus each restriction is a particular collection of zero-coefficient conditions. The terminology also agrees with the identities \(p(-x)=p(x)\) and \(p(-x)=-p(x)\), respectively, as the next result verifies directly.

Theorem: Let \(p(x)=\sum_{k=0}^{n}a_kx^k\in P_n(\mathbb{R})\). The identity \(p(-x)=p(x)\) holds for all real \(x\) if and only if every odd-power coefficient \(a_k\) is zero. The identity \(p(-x)=-p(x)\) holds for all real \(x\) if and only if every even-power coefficient \(a_k\) is zero.

Proof. First consider \(p(-x)=p(x)\). Substituting \(-x\) gives \(p(-x)=\sum_{k=0}^{n}(-1)^ka_kx^k\). If all odd-power coefficients vanish, then every remaining exponent is even, so \((-1)^k=1\) for every nonzero term and \(p(-x)=p(x)\). Conversely, if \(p(-x)=p(x)\), uniqueness of polynomial coefficients gives \((-1)^ka_k=a_k\) for each \(k\). For odd \(k\), this says \(-a_k=a_k\), so \(2a_k=0\). Since the scalars are real, \(a_k=0\). Now consider \(p(-x)=-p(x)\). If all even-power coefficients vanish, each remaining exponent is odd, so every term changes sign and the identity follows. Conversely, equality of coefficients in \(p(-x)=-p(x)\) gives \((-1)^ka_k=-a_k\) for each \(k\). For even \(k\), this says \(a_k=-a_k\), hence \(2a_k=0\) and \(a_k=0\). Both equivalences are proved. \(\square\)

Because these parity conditions are zero-coefficient restrictions, they define subspaces of \(P_n(\mathbb{R})\) by the zero-coefficient theorem. The identities provide another way to check a particular polynomial, but the coefficient description makes closure especially transparent.

Worked Example: Polynomials With Only Even Powers

In \(P_6(\mathbb{R})\), let \(p(x)=1-2x^2+3x^4\) and \(q(x)=4+x^2-5x^4+2x^6\). Each has zero coefficients for \(x,x^3,x^5\), so each contains only even powers. Their sum is

$$ (p+q)(x)=(1+4)+(-2+1)x^2+(3-5)x^4+2x^6 =5-x^2-2x^4+2x^6. $$

Its odd-power coefficients are zero. Substitution confirms the parity identity for the sum:

$$ (p+q)(-x)=5-(-x)^2-2(-x)^4+2(-x)^6 =5-x^2-2x^4+2x^6=(p+q)(x). $$

For a scalar check, \(2p(x)=2-4x^2+6x^4\), which also has no odd powers, and \((2p)(-x)=2p(x)\). The coefficient calculations and the identity agree.

Worked Example: Polynomials With Only Odd Powers

In \(P_5(\mathbb{R})\), consider \(r(x)=2x-3x^3+x^5\) and \(s(x)=-x+4x^3+2x^5\). Both have zero constant, \(x^2\), and \(x^4\) coefficients, so they contain only odd powers. Adding them gives

$$ (r+s)(x)=(2-1)x+(-3+4)x^3+(1+2)x^5=x+x^3+3x^5. $$

The constant and all even-power coefficients remain zero. Direct substitution checks the sign identity:

$$ (r+s)(-x)=(-x)+(-x)^3+3(-x)^5 =-x-x^3-3x^5=-(r+s)(x). $$

Also, \(-2r(x)=-4x+6x^3-2x^5\), which still has only odd powers, and \((-2r)(-x)=4x-6x^3+2x^5=-(-2r)(x)\). These calculations illustrate closure under addition and scalar multiplication for this restriction.

Prescribing the Value at Zero

If \(p(x)=a_0+a_1x+\cdots+a_nx^n\), then \(p(0)=a_0\): every positive power of zero is zero. Thus the condition \(p(0)=0\) is exactly the zero-coefficient condition \(a_0=0\), so it defines a subspace. In contrast, fixing \(p(0)\) to a nonzero value excludes the zero polynomial.

Theorem: For \(c\in\mathbb{R}\), the set \(S_c=\{p\in P_n(\mathbb{R}):p(0)=c\}\) is a subspace if and only if \(c=0\).

Proof. If \(c=0\), then \(p(0)=0\) is equivalent to \(a_0=0\), so \(S_0\) is a subspace by the zero-coefficient theorem. If \(c\ne0\), the zero polynomial has value \(0\) at zero, not \(c\), so the zero polynomial does not belong to \(S_c\). A subspace must contain the zero vector; therefore \(S_c\) is not a subspace. These two cases prove the stated equivalence. \(\square\)

Worked Example: Zero Value Versus a Nonzero Prescribed Value

In \(P_3(\mathbb{R})\), compare \(S_0=\{p:p(0)=0\}\) with \(S_2=\{p:p(0)=2\}\). The polynomial \(u(x)=x-3x^2\) belongs to \(S_0\), since \(u(0)=0-0=0\). The polynomial \(v(x)=2+x\) belongs to \(S_2\), since \(v(0)=2+0=2\).

For the zero-value condition, take another polynomial \(w(x)=4x^3\). Then \(w(0)=0\), and

$$ (u+w)(x)=x-3x^2+4x^3,\qquad (u+w)(0)=0. $$

Also \((-2u)(x)=-2x+6x^2\), so \((-2u)(0)=0\). This is consistent with \(S_0\) being a subspace. For the nonzero-value condition, the scalar multiple \(2v(x)=4+2x\) satisfies \((2v)(0)=4\), not \(2\). Hence \(2v\notin S_2\), which gives a concrete failure of scalar closure.

Common Mistake: Nonzero Values Do Not Survive Scaling

A tempting but incorrect argument is: “If \(p(0)=2\), then multiplying \(p\) by a scalar still gives a polynomial with value \(2\) at zero.” The calculation above shows the error. For \(v(x)=2+x\), \(v(0)=2\), but \((2v)(0)=2v(0)=4\), not \(2\). More generally, if \(p(0)=c\), then \((ap)(0)=a\,p(0)=ac\). When \(c\ne0\), choosing \(a=0\) gives \(0\), so the prescribed nonzero value cannot be preserved for every scalar.

The reliable procedure is to identify the coefficients controlled by the condition, then apply the subspace test. Requiring specified coefficients to be zero is preserved under sums and real scalar multiples. Requiring a coefficient to equal a specified nonzero number is not. In the special case of evaluation at zero, this distinction is exactly the difference between \(p(0)=0\) and \(p(0)=c\ne0\).

Check Your Understanding

For each restriction, identify the ambient space and use coefficients or direct computation to justify your conclusion.

  1. In \(P_4(\mathbb{R})\), do the polynomials with \(a_2=a_4=0\) form a subspace? State which coefficients remain unrestricted.
  2. Write the general form of a polynomial in \(P_5(\mathbb{R})\) containing only odd powers.
  3. For \(p(x)=3-2x^2+x^4\), verify \(p(-x)=p(x)\) by substitution.
  4. In \(P_3(\mathbb{R})\), is the set of polynomials satisfying \(p(0)=-1\) a subspace? Give a specific closure test.
  5. Explain why the condition \(p(0)=0\) is a zero-coefficient condition.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon