Tutorials › Linear Algebra › Kernel and Image of Polynomial Differentiation

Linear Maps Between Vector Spaces · Tutorial 408 of 1000

Kernel and Image of Polynomial Differentiation

Learn exactly which polynomials differentiation sends to zero and how to construct a polynomial whose derivative is any prescribed output.

Intermediate 10 min read

What You'll Learn

  • Define the differentiation map from P_n to P_(n−1), for n at least 1.
  • Prove that its kernel consists exactly of constant polynomials.
  • Construct a preimage for an arbitrary polynomial in the codomain.
  • Track how the degree of a nonconstant polynomial changes under differentiation.
  • Check polynomial differentiation results and avoid a common coefficient error.

The Differentiation Map on Polynomial Spaces

For a polynomial, differentiation changes its coefficients and usually lowers its degree. To understand differentiation as a linear map, it is useful to ask two precise questions: which inputs have derivative zero, and which polynomials can occur as derivatives? These questions depend on specifying both the domain and codomain. In this tutorial all scalars are real, and the notation \(P_n\) means the vector space of real polynomials of degree at most \(n\), including the zero polynomial.

Fix an integer \(n\geq 1\). Every polynomial in \(P_n\) has a unique expression \(a_0+a_1x+\cdots+a_nx^n\), where the coefficients \(a_0,\dots,a_n\) are real. Differentiation sends such a polynomial to \(a_1+2a_2x+\cdots+na_nx^{n-1}\), which belongs to \(P_{n-1}\). Thus the relevant map is \(D_n:P_n\to P_{n-1}\), defined by \(D_n(p)=p'\). The subscript records the domain and codomain: the differentiation rule is the same for each \(n\), but the map’s specified input and output spaces change.

Definition: For \(D_n:P_n\to P_{n-1}\), the kernel is \(\ker D_n=\{p\in P_n:D_n(p)=0\}\), the inputs mapped to the zero polynomial. The image is \(\operatorname{im}D_n=\{D_n(p):p\in P_n\}\), the set of outputs attained by inputs in \(P_n\).

The differentiation rules imply that \(D_n\) is linear: for \(p,q\in P_n\) and real numbers \(a,b\), \((ap+bq)'=ap'+bq'\). The kernel and image therefore refer to a linear map between two particular polynomial spaces. Our goal is to determine those sets exactly, not merely to list some examples of inputs and outputs.

What Differentiation Does to Degree

A nonzero polynomial \(p\) is called constant if it has the form \(a_0\), and nonconstant if at least one coefficient of a positive power of \(x\) is nonzero. If a nonconstant polynomial has highest nonzero term \(a_mx^m\), then \(m\geq1\) and \(a_m\ne0\). Differentiation changes that term to \(ma_mx^{m-1}\). Since \(ma_m\ne0\) over \(\mathbb{R}\), this term remains present and is the highest-power term of the derivative.

Proposition: If \(p\) is a nonconstant real polynomial of degree \(m\geq1\), then \(p'\) has degree \(m-1\). If \(p\) is constant, then \(p'=0\).

Proof. Write \(p(x)=a_0+a_1x+\cdots+a_mx^m\), where \(a_m\ne0\) and \(m\geq1\). Then \(p'(x)=a_1+2a_2x+\cdots+ma_mx^{m-1}\). The coefficient \(ma_m\) is nonzero, so the derivative has a nonzero term of degree \(m-1\); all its other terms have lower degree. Hence its degree is \(m-1\). If \(p(x)=a_0\), the differentiation rule gives \(p'(x)=0\). \(\square\)

This degree change explains why \(P_{n-1}\) is a natural codomain for \(D_n\): no polynomial in \(P_n\) can have a derivative of degree \(n\). The proposition alone does not tell us whether every polynomial of degree at most \(n-1\) is reached. That requires constructing an input for an arbitrary proposed output.

Worked Example: Differentiating a Polynomial in P₄

Let \(p(x)=3-2x+4x^2+x^4\), an element of \(P_4\). Compute \(D_4(p)\) and check the result.

Differentiate each term, using \((c)'=0\) for a constant \(c\) and \((x^k)'=kx^{k-1}\):

$$ \begin{aligned} D_4(p)(x) &=(3-2x+4x^2+x^4)'\\ &=0-2+8x+4x^3\\ &=-2+8x+4x^3. \end{aligned} $$

The output has degree \(3\), one less than the degree \(4\) of the input, and lies in \(P_3\). Check: differentiating the displayed output’s terms comes directly from the original coefficients: the constant \(3\) contributes \(0\), \(-2x\) contributes \(-2\), \(4x^2\) contributes \(8x\), and \(x^4\) contributes \(4x^3\). Thus the computed derivative is consistent term by term.

The Kernel Consists Exactly of Constants

A constant polynomial is sent to zero, so every constant belongs to \(\ker D_n\). The converse follows by comparing coefficients: a polynomial with zero derivative cannot have any nonzero coefficient on a positive power of \(x\). This includes the zero polynomial, which is itself a constant polynomial (with constant term \(0\)).

Theorem: For every integer \(n\geq1\), the kernel of \(D_n:P_n\to P_{n-1}\) is the set of constant polynomials: \(\ker D_n=\{a_0:a_0\in\mathbb{R}\}=\operatorname{span}\{1\}\).

Proof. First let \(p\in\ker D_n\). By the definition of the kernel, \(p'=0\). Write \(p(x)=a_0+a_1x+\cdots+a_nx^n\). Its derivative is \(p'(x)=a_1+2a_2x+\cdots+na_nx^{n-1}\). Since this is the zero polynomial, every coefficient is zero. In particular, \(ka_k=0\) for each \(k=1,\dots,n\). Each such \(k\) is a nonzero real number, so \(a_k=0\) for every \(k=1,\dots,n\). Therefore \(p(x)=a_0\) is constant. Conversely, if \(p(x)=a_0\), then \(p'(x)=0\), so \(p\in\ker D_n\). Both inclusions hold, giving the stated equality. \(\square\)

Worked Example: Finding the Kernel of D₃

Find all polynomials in \(P_3\) that differentiation sends to zero.

Start with an arbitrary polynomial in the domain, \(p(x)=a_0+a_1x+a_2x^2+a_3x^3\). Its derivative is

$$ p'(x)=a_1+2a_2x+3a_3x^2. $$

For this to be the zero polynomial, its coefficients must satisfy \(a_1=0\), \(2a_2=0\), and \(3a_3=0\). Since \(2\) and \(3\) are nonzero real numbers, these equations give \(a_1=a_2=a_3=0\). The coefficient \(a_0\) is unrestricted. Hence \(\ker D_3=\{a_0:a_0\in\mathbb{R}\}\).

Check: for any real \(a_0\), \((a_0)'=0\), so every polynomial found is in the kernel. Conversely, the coefficient equations show there are no other possibilities.

Every Polynomial in the Codomain Is an Output

To determine the image, begin with an arbitrary \(q\in P_{n-1}\), not just a particular example. Write its coefficients as \(q(x)=b_0+b_1x+\cdots+b_{n-1}x^{n-1}\). For each term \(b_jx^j\), the polynomial \(\frac{b_j}{j+1}x^{j+1}\) differentiates to \(b_jx^j\). The denominator \(j+1\) is never zero, so this construction is valid for every term. Adding these terms produces an input in \(P_n\).

Theorem: For every integer \(n\geq1\), the image of \(D_n:P_n\to P_{n-1}\) is its entire codomain: \(\operatorname{im}D_n=P_{n-1}\).

Proof. Every value \(D_n(p)\) belongs to \(P_{n-1}\), by the definition of the map, so \(\operatorname{im}D_n\subseteq P_{n-1}\). For the reverse inclusion, take any \(q\in P_{n-1}\) and write \(q(x)=\sum_{j=0}^{n-1}b_jx^j\). Define \(p(x)=\sum_{j=0}^{n-1}\frac{b_j}{j+1}x^{j+1}\). Its highest possible power is \(x^n\), so \(p\in P_n\). Differentiating term by term gives \(D_n(p)(x)=\sum_{j=0}^{n-1}\frac{b_j}{j+1}(j+1)x^j=\sum_{j=0}^{n-1}b_jx^j=q(x)\). Thus every \(q\in P_{n-1}\) is in \(\operatorname{im}D_n\), proving \(P_{n-1}\subseteq\operatorname{im}D_n\). The two inclusions establish equality. \(\square\)

Worked Example: Constructing an Input for a Prescribed Output

Find a polynomial \(p\in P_4\) whose derivative is \(q(x)=2-3x+4x^2+5x^3\), and check it.

Match each term of \(q\) with a power one degree higher, dividing its coefficient by the new exponent. This gives

$$ p(x)=2x-\frac{3}{2}x^2+\frac{4}{3}x^3+\frac{5}{4}x^4. $$

Each term has degree at most \(4\), so \(p\in P_4\). Differentiate each term:

$$ \begin{aligned} p'(x) &=2-\frac{3}{2}(2x)+\frac{4}{3}(3x^2)+\frac{5}{4}(4x^3)\\ &=2-3x+4x^2+5x^3\\ &=q(x). \end{aligned} $$

Check: the coefficients and powers in the derivative match the prescribed polynomial exactly. This explicit input also illustrates the general construction in the image proof.

The Smallest Domain Case

The condition \(n\geq1\) includes \(n=1\), when the domain is \(P_1\) and the codomain is \(P_0\), the constant polynomials. There is no exceptional failure in this case: differentiating \(a_0+a_1x\) gives \(a_1\). The kernel is obtained when \(a_1=0\), and any constant \(c\in P_0\) is reached by differentiating \(cx\).

Worked Example: Differentiation from P₁ to P₀

For \(D_1(a_0+a_1x)=a_1\), find the kernel and produce an input whose output is \(-5\).

The output is zero exactly when \(a_1=0\), while \(a_0\) may be any real number. Thus the kernel is \(\{a_0:a_0\in\mathbb{R}\}\). To obtain \(-5\), choose \(p(x)=-5x+2\in P_1\).

Check: \(p'(x)=(-5x+2)'=-5\), as required. Also, every constant input \(a_0\) differentiates to zero, confirming the kernel description in this smallest case.

A Common Coefficient Error

When constructing an input for a desired derivative, raising the power without adjusting the coefficient is not enough. For the target \(q(x)=2-3x+4x^2+5x^3\), a tempting but incorrect choice is \(r(x)=2x-3x^2+4x^3+5x^4\). Its derivative is

$$ r'(x)=2-6x+12x^2+20x^3, $$

which is not \(q(x)\). The error is multiplying each coefficient by the new exponent during differentiation without first compensating for that multiplication. The correction is to divide the coefficient of \(x^j\) by \(j+1\) when assigning the coefficient of \(x^{j+1}\). For instance, the term \(-3x\) in the target requires \(-\frac{3}{2}x^2\) in the input, because \(\left(-\frac{3}{2}x^2\right)'=-3x\).

The kernel and image answer complementary questions about this map. The kernel identifies exactly the information differentiation loses: adding or changing a constant does not affect the derivative. The image result says that, with the domain \(P_n\) and codomain \(P_{n-1}\), there is no further restriction on the output polynomial. The domain and codomain matter: this conclusion is about these specified polynomial spaces and follows from the degree bound and the explicit coefficient construction.

Check Your Understanding

Use coefficient comparisons and direct differentiation to justify your answers.

  1. For \(D_5:P_5\to P_4\), find the derivative of \(p(x)=1+2x-3x^2+x^5\), and check its degree.
  2. Determine all \(p\in P_2\) such that \(D_2(p)=0\).
  3. Construct \(p\in P_3\) such that \(p'(x)=7+2x-6x^2\), then differentiate your answer to check it.
  4. Explain why \(D_n(p)=0\) forces every coefficient of \(x^k\), for \(k\geq1\), in \(p\) to be zero.
  5. For \(n\geq1\), describe how to construct an input in \(P_n\) whose derivative is an arbitrary prescribed polynomial in \(P_{n-1}\).

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