From Polynomial Inputs to Two Numbers
A polynomial in \(\mathcal P_2(\mathbb R)\) has the form \(p(x)=c_0+c_1x+c_2x^2\), where \(c_0,c_1,c_2\in\mathbb R\). A rule that returns two values from such a polynomial defines a map into \(\mathbb R^2\). Its behavior depends on what information the two outputs collect: evaluating at distinct points gives two separate constraints, while evaluating twice at the same point repeats the same constraint. A derivative can supply a different kind of information from a value, even when both are taken at the same point.
We will classify maps of the forms \(p\mapsto(p(a),p(b))\) and \(p\mapsto(p(a),p'(b))\), for real \(a,b\). The space \(\mathcal P_2(\mathbb R)\) consists of all real polynomials of degree at most two, including the zero polynomial. It has basis \((1,x,x^2)\), so its dimension is \(3\). The codomain \(\mathbb R^2\) has dimension \(2\).
For these maps, linearity follows from the rules for sums and scalar multiples of polynomials: \((cp+dq)(a)=cp(a)+dq(a)\), and \((cp+dq)'(b)=cp'(b)+dq'(b)\). Thus both evaluation and derivative evaluation are linear, and pairing two such quantities gives a linear map into \(\mathbb R^2\). The classification question is then to find which inputs map to \((0,0)\), and which output pairs can occur.
Two Point Evaluations
Proof. For \(p,q\in\mathcal P_2(\mathbb R)\) and \(c,d\in\mathbb R\), evaluating \(cp+dq\) at \(a\) and \(b\) gives \(c(p(a),p(b))+d(q(a),q(b))\), so \(E_{a,b}\) is linear. If \(a\ne b\), any desired output \((u,v)\in\mathbb R^2\) is attained by the polynomial \(p(x)=u\frac{x-b}{a-b}+v\frac{x-a}{b-a}\). Substitution gives \(p(a)=u\) and \(p(b)=v\), proving that the image is all of \(\mathbb R^2\).
To determine the kernel when \(a\ne b\), write any polynomial in the form \(p(x)=A+B(x-a)+C(x-a)^2\). The condition \(p(a)=0\) gives \(A=0\). The condition \(p(b)=0\) then gives \(B(b-a)+C(b-a)^2=0\). Since \(b-a\ne0\), this is equivalent to \(B=-C(b-a)\). Therefore \(p(x)=C(x-a)(x-b)\), and every such polynomial vanishes at both points. This proves the stated kernel formula.
If \(a=b\), both coordinates of \(E_{a,a}(p)\) equal \(p(a)\), so the image consists exactly of pairs \((u,u)\): every such pair occurs, for example from the constant polynomial \(p(x)=u\). The kernel is precisely the set of polynomials with \(p(a)=0\). Writing \(p(x)=A+B(x-a)+C(x-a)^2\), this condition is \(A=0\); hence the kernel is spanned by the two independent polynomials \(x-a\) and \((x-a)^2\), and has dimension \(2\). In both cases the kernel contains a nonzero polynomial: when \(a\ne b\), use \((x-a)(x-b)\); when \(a=b\), use \(x-a\). Thus neither map is injective. The image description shows that the map is surjective precisely in the distinct-point case. \(\square\)
Worked Example: Evaluating at Two Distinct Points
Let \(T(p)=(p(-1),p(2))\). Classify its kernel and image, and find a polynomial sent to \((3,-1)\).
The two evaluation points differ, so the theorem gives \(\ker T=\{c(x+1)(x-2):c\in\mathbb R\}\) and \(\operatorname{im}T=\mathbb R^2\). To construct an input for \((3,-1)\), use the interpolation formula from the proof:
Combining terms gives \(p(x)=-\frac{4}{3}x+\frac{5}{3}\). Check each output directly: \(p(-1)=\frac{4}{3}+\frac{5}{3}=3\), and \(p(2)=-\frac{8}{3}+\frac{5}{3}=-1\). Thus \(T(p)=(3,-1)\), as required. The kernel description also checks directly: any \(c(x+1)(x-2)\) vanishes at \(-1\) and \(2\).
Worked Example: Repeating the Same Evaluation
Let \(S(p)=(p(1),p(1))\). Determine its image and kernel, and classify injectivity and surjectivity.
Every output has equal coordinates, so \(\operatorname{im}S=\{(u,u):u\in\mathbb R\}\). To see that every pair in this set occurs, take the constant polynomial \(p(x)=u\); then \(S(p)=(u,u)\). The kernel condition is \(p(1)=0\). Write \(p(x)=A+B(x-1)+C(x-1)^2\). Substitution at \(1\) gives \(p(1)=A\), so the kernel condition is \(A=0\). Therefore \(\ker S=\{B(x-1)+C(x-1)^2:B,C\in\mathbb R\}\).
For a concrete check, \(p(x)=2(x-1)-3(x-1)^2\) is nonzero, but \(p(1)=0\), so \(S(p)=(0,0)\). The map is not injective. It is not surjective either: \((1,0)\) cannot occur because its coordinates are unequal. The image and kernel descriptions verify both conclusions.
A Value Together with a Derivative
Proof. Linearity follows because \((cp+dq)(a)=cp(a)+dq(a)\) and \((cp+dq)'(b)=cp'(b)+dq'(b)\). To prove surjectivity, take any \((u,v)\in\mathbb R^2\) and choose \(p(x)=u+v(x-a)\). Then \(p(a)=u\), while \(p'(x)=v\) and hence \(p'(b)=v\). Thus every output pair occurs.
For the kernel, express \(p\) about \(b\) as \(p(x)=A+B(x-b)+C(x-b)^2\). Its derivative is \(p'(x)=B+2C(x-b)\), so \(p'(b)=B\). The condition \(p'(b)=0\) gives \(B=0\). The other kernel condition becomes \(p(a)=A+C(a-b)^2=0\), so \(A=-C(a-b)^2\). Consequently \(p(x)=C((x-b)^2-(a-b)^2)=C(x-a)(x-(2b-a))\). Each polynomial of this form has value zero at \(a\) and derivative zero at \(b\), so this expression describes the entire kernel. It contains a nonzero polynomial, for example the one with \(C=1\); therefore the map is not injective. When \(a=b\), the two factors agree and the kernel is the multiples of \((x-a)^2\). \(\square\)
Worked Example: Value and Derivative at the Same Point
Let \(T(p)=(p(1),p'(1))\). Find its kernel, and find a polynomial sent to \((2,-3)\).
Here \(a=b=1\), so the theorem gives \(\ker T=\{c(x-1)^2:c\in\mathbb R\}\), and \(T\) is surjective. The construction in the proof gives \(p(x)=2-3(x-1)=5-3x\) for the requested output. Its derivative is \(p'(x)=-3\), so direct substitution yields \(p(1)=5-3=2\) and \(p'(1)=-3\). Hence \(T(p)=(2,-3)\).
For a kernel check, take \(q(x)=(x-1)^2=x^2-2x+1\). Then \(q(1)=1-2+1=0\), and \(q'(x)=2x-2\), so \(q'(1)=0\). The polynomial is nonzero, confirming that the kernel is not trivial and that \(T\) is not injective.
Worked Example: Value and Derivative at Different Points
Let \(U(p)=(p(-1),p'(2))\). Classify its kernel and find a polynomial sent to \((4,3)\).
Here \(a=-1\) and \(b=2\), so the kernel formula gives \(\ker U=\{c(x+1)(x-5):c\in\mathbb R\}\), since \(2b-a=5\). The map is surjective. To produce \((4,3)\), use \(p(x)=4+3(x+1)=7+3x\). Then \(p(-1)=7-3=4\), and \(p'(x)=3\), so \(p'(2)=3\). Therefore \(U(p)=(4,3)\).
Check the kernel generator \(q(x)=(x+1)(x-5)=x^2-4x-5\). It satisfies \(q(-1)=1+4-5=0\), while \(q'(x)=2x-4\), giving \(q'(2)=4-4=0\). It is a nonzero input in the kernel, as the classification predicts.
Reading Injectivity and Surjectivity Correctly
These examples show why the two properties must be checked separately. A map is injective exactly when its kernel contains only the zero input; all the maps classified here fail that test because each has a nonzero polynomial in its kernel. Surjectivity asks a different question: can every target pair occur? Distinct-point evaluations and every value-derivative map are surjective, while repeated evaluation is not.
The kernel dimensions agree with the Rank-Nullity Theorem: for a linear map from a finite-dimensional domain, the dimension of the domain equals the dimension of the kernel plus the dimension of the image. Here \(\mathcal P_2(\mathbb R)\) has dimension \(3\). For distinct evaluations and for value-derivative maps, the kernel has dimension \(1\), leaving an image of dimension \(2\). For repeated evaluations, the kernel has dimension \(2\), leaving an image of dimension \(1\). This matches the explicit image descriptions; it does not replace the work of identifying which output pairs actually occur.
Common mistake: treating surjectivity as injectivity. Since \(T(p)=(p(1),p'(1))\) is surjective, one might incorrectly conclude that it is injective as well. But the nonzero polynomial \(q(x)=(x-1)^2\) satisfies \(T(q)=(0,0)\): its value at \(1\) is zero and its derivative \(2x-2\) also vanishes at \(1\). Thus two different inputs, \(q\) and the zero polynomial, have the same output. Surjectivity guarantees an input for every target; it does not guarantee that this input is unique.
Check Your Understanding
For each map, identify the kernel and image before deciding injectivity and surjectivity.
- For \(E_{0,3}(p)=(p(0),p(3))\), find a polynomial in the kernel other than the zero polynomial.
- Describe the image of \(E_{2,2}(p)=(p(2),p(2))\). Which pair in \(\mathbb R^2\) proves it is not surjective?
- For \(M_{0,2}(p)=(p(0),p'(2))\), find a polynomial sent to \((1,-2)\).
- Show directly that \((x-4)^2\) belongs to the kernel of \(p\mapsto(p(4),p'(4))\).
- Explain why a nonzero polynomial in the kernel proves that the corresponding map is not injective.