Tutorials › Linear Algebra › Adding Polynomial Subspaces

Vector Spaces and Subspaces · Tutorial 297 of 1000

Adding Polynomial Subspaces

Use polynomial coefficients to describe a sum of subspaces and to write each eligible polynomial as a sum of elements from the two subspaces.

Intermediate 9 min read

What You'll Learn

  • Interpret the sum of two polynomial subspaces as a set of possible polynomial sums
  • Compute sums of polynomial spaces with degree bounds
  • Describe parity-restricted polynomial sums using coefficient conditions
  • Construct an explicit decomposition for a polynomial in a sum
  • Detect when a missing coefficient prevents membership

What a Sum of Polynomial Subspaces Contains

A sum of polynomial subspaces collects every polynomial that can be formed by adding one polynomial from each subspace. To compute the sum, it is not enough to list some polynomials that can be made: we need a precise description of all the possibilities. Coefficients provide a direct method. They show which powers can occur in each summand, which powers can occur in the result, and how to build the two summands for a given candidate polynomial.

Work over \(\mathbb{R}\). For a nonnegative integer \(n\), let \(P_n\) denote the vector space of real polynomials of degree at most \(n\), together with the zero polynomial. Each polynomial in \(P_n\) has a unique expression \(a_0+a_1x+\cdots+a_nx^n\), where any of the coefficients may be zero. We will also use subspaces in which only even powers or only odd powers are allowed.

Definition: If \(U\) and \(W\) are subspaces of a vector space of polynomials, their sum is \(U+W=\{u+w:u\in U,\ w\in W\}\). Thus a polynomial \(q\) belongs to \(U+W\) exactly when there are polynomials \(u\in U\) and \(w\in W\) such that \(q=u+w\). Such a pair \((u,w)\) is a decomposition of \(q\) in the sum.

A decomposition need not be unique: different choices of \(u\) and \(w\) can sometimes give the same polynomial. For membership, the essential task is to find at least one valid pair. To describe the whole sum, we must also show that every polynomial in it has the stated form and that every polynomial of the stated form can actually be decomposed.

Sums with Degree Bounds

When both subspaces allow every power up to a degree bound, the larger bound determines the sum. More precisely, for nonnegative integers \(m\) and \(n\), \(P_m+P_n=P_{\max(m,n)}\). A polynomial from either space already belongs to the space with the larger degree bound; conversely, any polynomial in the larger space can be used as one summand, with zero as the other.

Theorem: For nonnegative integers \(m\) and \(n\), \(P_m+P_n=P_{\max(m,n)}\).

Proof. Set \(r=\max(m,n)\). If \(q\in P_m+P_n\), then \(q=u+w\) for some \(u\in P_m\) and \(w\in P_n\). Both \(u\) and \(w\) have degree at most \(r\), so their sum also has degree at most \(r\), and \(q\in P_r\). For the reverse inclusion, suppose \(q\in P_r\). If \(r=m\), then \(q\in P_m\) and \(0\in P_n\), so \(q=q+0\in P_m+P_n\). If \(r=n\), then \(0\in P_m\) and \(q\in P_n\), so \(q=0+q\in P_m+P_n\). These cases include \(m=n\), and prove the equality. \(\square\)

Worked Example: A Degree-Bounded Space Plus Two Higher Powers

Let \(U=P_2\) and \(W=\{ax^3+bx^4:a,b\in\mathbb{R}\}\). Determine \(U+W\), then decompose \(q(x)=2-3x+x^2+5x^3-2x^4\) as an element of this sum.

Every polynomial in \(U\) has powers only from \(1,x,x^2\), while every polynomial in \(W\) has powers only from \(x^3,x^4\). Therefore every sum has degree at most \(4\), so \(U+W\subseteq P_4\). For the other inclusion, take any \(p(x)=c_0+c_1x+c_2x^2+c_3x^3+c_4x^4\in P_4\). Then

$$ p(x)=(c_0+c_1x+c_2x^2)+(c_3x^3+c_4x^4), $$

where the first summand is in \(U\) and the second is in \(W\). Hence \(P_4\subseteq U+W\), and \(U+W=P_4\).

For the specified polynomial, collect the terms allowed in each set:

$$ u(x)=2-3x+x^2\in U,\qquad w(x)=5x^3-2x^4\in W. $$

Adding verifies the decomposition: \(u(x)+w(x)=2-3x+x^2+5x^3-2x^4=q(x)\). The first part has degree at most \(2\), and the second has exactly the required form \(ax^3+bx^4\).

The coefficient split in this example gives a useful habit: before trying to find summands, write the candidate in powers of \(x\) and group each term according to which subspace permits it. If every term can be assigned, the grouped expressions give a decomposition. If a term cannot be assigned to either subspace, it may obstruct membership.

Sums with Even- and Odd-Power Restrictions

A polynomial with only even powers has the form \(a_0+a_2x^2+a_4x^4+\cdots\); a polynomial with only odd powers has the form \(a_1x+a_3x^3+a_5x^5+\cdots\). These descriptions concern the powers that appear, not whether the polynomial's degree is even or odd. For example, \(x^2+x^3\) has both an even-power term and an odd-power term.

Definition: For a nonnegative integer \(n\), let \(E_n\) be the subspace of \(P_n\) consisting of polynomials with only even powers, and let \(O_n\) be the subspace of \(P_n\) consisting of polynomials with only odd powers. Thus \(E_n\) allows terms \(a_kx^k\) only for even \(k\le n\), while \(O_n\) allows them only for odd \(k\le n\). The zero polynomial belongs to both.

When adding \(E_m\) and \(O_n\), even and odd terms have different sources: even terms can come from the first summand, and odd terms from the second. The degree bounds may differ, so a high even power is not automatically allowed just because an odd power of the same size is allowed, or vice versa.

Theorem: Let \(m,n\) be nonnegative integers. A polynomial \(q(x)=\sum_{k=0}^{d}a_kx^k\) belongs to \(E_m+O_n\) if and only if every coefficient \(a_k\) with even \(k>m\) is zero and every coefficient \(a_k\) with odd \(k>n\) is zero. Coefficients of powers above \(d\) are understood to be zero.

Proof. First suppose \(q\in E_m+O_n\). Then \(q=u+w\) for some \(u\in E_m\) and \(w\in O_n\). The polynomial \(u\) has no even-power term above degree \(m\), and \(w\) has no odd-power term above degree \(n\). Also, \(u\) has no odd-power terms and \(w\) has no even-power terms. Therefore the coefficient of every even power \(k>m\) and every odd power \(k>n\) in \(q\) is zero. Conversely, suppose those coefficients of \(q\) are zero. Let \(u\) be the sum of all even-power terms of \(q\) with exponents at most \(m\), and let \(w\) be the sum of all odd-power terms of \(q\) with exponents at most \(n\). The assumed zero coefficients ensure that \(q\) has no other terms. Thus \(q=u+w\), with \(u\in E_m\) and \(w\in O_n\), so \(q\in E_m+O_n\). \(\square\)

Worked Example: Even Powers Through Four and Odd Powers Through Three

Compute \(E_4+O_3\), and decompose \(q(x)=3-2x+5x^2+x^3-4x^4\).

The even powers allowed in \(E_4\) are \(1,x^2,x^4\); the odd powers allowed in \(O_3\) are \(x,x^3\). Together these are every power from \(x^0\) through \(x^4\). The coefficient condition in the theorem is therefore satisfied by every polynomial in \(P_4\), and the sum is \(E_4+O_3=P_4\).

For this candidate, assign its even-power terms to \(u\) and its odd-power terms to \(w\):

$$ u(x)=3+5x^2-4x^4\in E_4,\qquad w(x)=-2x+x^3\in O_3. $$

Adding term by term gives \(u(x)+w(x)=3-2x+5x^2+x^3-4x^4=q(x)\). The constant term and the \(x^2,x^4\) terms are in \(u\), while the \(x,x^3\) terms are in \(w\); no term is omitted or counted twice.

Worked Example: A Missing Odd Power

Describe \(E_6+O_3\). Decide whether \(q(x)=2+x-3x^2+4x^3+x^4+2x^6\) and \(r(x)=1+x^5\) belong to this sum, and decompose the one that does.

The even powers allowed in \(E_6\) are \(1,x^2,x^4,x^6\), and the odd powers allowed in \(O_3\) are \(x,x^3\). The theorem says that a polynomial in \(E_6+O_3\) has degree at most \(6\) and must have zero coefficient on \(x^5\). There are no other forbidden powers at or below degree \(6\).

The polynomial \(q\) has no \(x^5\) term, and all its other terms are allowed. Its decomposition is

$$ u(x)=2-3x^2+x^4+2x^6\in E_6,\qquad w(x)=x+4x^3\in O_3. $$

Adding gives \(u(x)+w(x)=2+x-3x^2+4x^3+x^4+2x^6=q(x)\), so \(q\in E_6+O_3\). In contrast, \(r(x)=1+x^5\) has coefficient \(1\) on \(x^5\), an odd power greater than \(3\). The theorem rules out membership: \(E_6\) cannot supply an odd-power term, and \(O_3\) cannot supply \(x^5\).

Common Mistake: Assigning Terms by Degree Instead of Power

A frequent error is to decide which summand receives a term by looking only at the degree of the whole polynomial, or by treating a polynomial of odd degree as if all its terms were odd powers. For instance, \(x^2+x^3\) has degree \(3\), but it is not an element of \(O_3\), because its \(x^2\) term is an even power. The restriction is on each power appearing, not just on the highest power.

Here is a wrong decomposition for the polynomial \(q(x)=1+x^2+x^3\) in \(E_2+O_3\): assigning \(q\) itself to the odd-power summand claims \(q\in O_3\). That is incorrect because \(O_3\) contains no \(x^2\) term. The correction is to group by the powers allowed in each set:

$$ q(x)=(1+x^2)+x^3,\qquad 1+x^2\in E_2,\quad x^3\in O_3. $$

The corrected summands add back to \(1+x^2+x^3\). Whenever a decomposition seems uncertain, check both conditions separately: each proposed summand must belong to its assigned subspace, and their sum must equal the candidate polynomial.

How to Check a Sum Description

There are two complementary checks. To establish that a proposed set describes the whole sum, show that any sum of allowed elements satisfies the proposed coefficient restrictions. Then take an arbitrary polynomial satisfying those restrictions and construct its two summands by grouping the permitted terms. The first direction prevents the description from being too large; the second prevents it from being too small.

For a particular candidate, the same logic becomes a practical procedure:

1
Write the candidate by powers.
Record each coefficient, including any zero coefficients needed to check a restricted power.
2
Check the restrictions.
For each term, determine whether its power can occur in the first subspace, the second, or both. A term allowed by neither rules out membership.
3
Group the terms and verify.
Put permitted terms into the corresponding summands, confirm each summand belongs to its subspace, and add them to recover the candidate.

This coefficient-based approach makes explicit what a sum of polynomial subspaces permits. Degree bounds control how high a power can occur; parity restrictions control which powers can occur; and a decomposition certifies that a particular polynomial is in the sum. The zero polynomial causes no exception: all its coefficients are zero, and it can always be written as \(0+0\).

Check Your Understanding

For each membership question, state the restrictions and give a decomposition when the polynomial belongs to the sum.

  1. Determine \(P_1+P_4\). Write \(2-x+3x^2\) as a sum of an element of \(P_1\) and an element of \(P_4\).
  2. Describe \(E_3+O_4\) by stating which powers can occur. Does \(x^4+x^3\) belong?
  3. Does \(1+x^2+x^5\) belong to \(E_4+O_5\)? Identify the coefficient condition that decides.
  4. Write \(4-2x+3x^2+5x^3\) as a sum from \(E_2+O_3\), and check the addition.
  5. Explain why \(x^5\notin E_6+O_3\), although it has degree at most \(6\).

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