Evaluation at a Fixed Point
A function can be studied by examining its value at a single input. Fixing that input turns evaluation into a map from a space of functions to the real numbers. For instance, if the input is \(2\), evaluation sends each polynomial \(p\) to the number \(p(2)\). The map has a simple formula, but its domain is a vector space of functions, and checking its properties means using the operations on that space.
In this tutorial, all functions are real-valued. For an interval \(I\subseteq\mathbb R\), let \(C(I,\mathbb R)\) denote the vector space of continuous functions from \(I\) to \(\mathbb R\), with addition and scalar multiplication defined pointwise. Let \(P_n(\mathbb R)\) denote the vector space of real polynomials of degree at most \(n\), including the zero polynomial. A point \(a\) must belong to a function's domain for evaluation at \(a\) to be defined.
The notation for the map depends on the function space under consideration, even when the fixed point \(a\) is the same. For example, evaluation at \(2\) can be applied to polynomials, or to continuous functions defined on an interval containing \(2\). The formula is always “substitute \(a\) for the input”; the collection of allowable functions can differ.
Why Evaluation Is Linear
Proof. To verify linearity, take any \(f,g\in V\) and \(c\in\mathbb R\). Addition and scalar multiplication in \(V\) are pointwise, so \((f+g)(a)=f(a)+g(a)\) and \((cf)(a)=c f(a)\). Consequently, \(\operatorname{ev}_a(f+g)=\operatorname{ev}_a(f)+\operatorname{ev}_a(g)\) and \(\operatorname{ev}_a(cf)=c\operatorname{ev}_a(f)\). These are the additivity and homogeneity conditions for a linear map. \(\square\)
The theorem requires the functions to be defined at the fixed point, so that all three values in each equality exist. No continuity assumption is needed for linearity: evaluation is linear on any real vector space of real-valued functions with a common domain containing \(a\). Continuity becomes relevant when we specify a particular function space, not when we check the two linearity conditions.
Polynomial Evaluation: Kernel and Image
For \(P_n(\mathbb R)\), every polynomial has a unique expression as a combination of the shifted powers \(1,(x-a),(x-a)^2,\ldots,(x-a)^n\). One way to see this is to substitute \(x=y+a\): a polynomial in \(x\) of degree at most \(n\) becomes a polynomial in \(y\) of degree at most \(n\), with unique coefficients. Substituting \(x=a\) then sets every shifted power except \(1\) to zero.
Proof. Write any \(p\in P_n(\mathbb R)\) in its unique shifted-power expression \(p(x)=b_0+b_1(x-a)+\cdots+b_n(x-a)^n\). Substitution gives \(p(a)=b_0\), because \((a-a)^k=0\) for every \(k\geq1\). Thus \(p(a)=0\) exactly when \(b_0=0\). When \(n\geq1\), the polynomials with \(b_0=0\) are precisely the linear combinations of \((x-a),\ldots,(x-a)^n\). When \(n=0\), the only polynomial is constant, and the only constant with value zero at \(a\) is the zero polynomial. Finally, for any \(r\in\mathbb R\), the constant polynomial \(p(x)=r\) belongs to \(P_n(\mathbb R)\) and satisfies \(p(a)=r\). Therefore every real number is in the image. \(\square\)
Worked Example: Evaluation on \(P_2(\mathbb R)\)
Consider \(\operatorname{ev}_2:P_2(\mathbb R)\to\mathbb R\). For a general polynomial \(p(x)=c_0+c_1x+c_2x^2\), evaluation gives
To find the kernel, set this output equal to zero: \(c_0+2c_1+4c_2=0\), so \(c_0=-2c_1-4c_2\). Therefore
As \(c_1,c_2\) vary over \(\mathbb R\), the coefficients \(c_1+4c_2\) and \(c_2\) can be chosen independently. Thus the kernel is \(\operatorname{span}\{x-2,(x-2)^2\}\). For example, \(q(x)=3(x-2)-2(x-2)^2\) belongs to the kernel: \(q(2)=3(0)-2(0)^2=0\). The image is all of \(\mathbb R\), since for any \(r\in\mathbb R\), the constant polynomial \(p(x)=r\) gives \(p(2)=r\).
Check: Expanding \(q\) gives \(q(x)=3x-6-2(x^2-4x+4)=-2x^2+11x-14\). Then \(q(2)=-2(4)+11(2)-14=-8+22-14=0\), as required.
Worked Example: Evaluation on \(P_3(\mathbb R)\)
Consider evaluation at \(-1\) on \(P_3(\mathbb R)\). For \(p(x)=c_0+c_1x+c_2x^2+c_3x^3\), direct substitution gives
The kernel consists of the coefficient choices satisfying \(c_0-c_1+c_2-c_3=0\), or \(c_0=c_1-c_2+c_3\). Equivalently, the theorem gives \(\ker(\operatorname{ev}_{-1})=\operatorname{span}\{x+1,(x+1)^2,(x+1)^3\}\). For a concrete member of the kernel, take \(q(x)=(x+1)(x-2)^2\). Expanding every factor gives \(q(x)=(x+1)(x^2-4x+4)=x^3-3x^2+4\).
Check: Substitution into the expanded polynomial gives \(q(-1)=(-1)^3-3(-1)^2+4=-1-3+4=0\). The image is all of \(\mathbb R\): for a requested output \(r\), the constant polynomial \(p(x)=r\) satisfies \(p(-1)=r\).
Evaluation on Continuous Functions
Now let \(I=[u,v]\) be a closed interval and choose \(a\in I\). The evaluation map \(\operatorname{ev}_a:C(I,\mathbb R)\to\mathbb R\) is defined because every function in this space is defined at every point of \(I\). Its kernel consists of the continuous functions that vanish at \(a\). Its image is all of \(\mathbb R\), since constant functions are continuous and can take any prescribed real value.
Proof. By the definition of the kernel, a function belongs to \(\ker(\operatorname{ev}_a)\) exactly when its evaluation is zero. Since \(\operatorname{ev}_a(f)=f(a)\), this is exactly the condition \(f(a)=0\), giving the stated kernel. For the image, every output is a real number because the functions are real-valued. Conversely, given any \(r\in\mathbb R\), the constant function \(f(t)=r\) is continuous on \(I\) and satisfies \(\operatorname{ev}_a(f)=f(a)=r\). Thus every real number is an output, and the image is \(\mathbb R\). \(\square\)
Worked Example: Evaluation on \(C([0,1],\mathbb R)\)
Let \(T:C([0,1],\mathbb R)\to\mathbb R\) be evaluation at \(\tfrac12\), so \(T(f)=f(\tfrac12)\). The function \(f(t)=4t^2-4t+1\) is continuous on \([0,1]\), and
Therefore \(f\) is in the kernel. In fact, \(f(t)=(2t-1)^2\), so its value is zero at \(t=\tfrac12\) exactly as the factorization predicts. To obtain the output \(5\), choose the continuous function \(g(t)=10t\). Then
Check: Both functions are polynomials, hence continuous on \([0,1]\). Substituting \(\tfrac12\) gives \(f(\tfrac12)=0\) and \(g(\tfrac12)=5\), verifying the claimed kernel and image examples.
Common Mistake: Confusing a Value with a Coefficient
Evaluation is not the operation of selecting a coefficient. For example, the polynomial \(p(x)=1+x\) has constant coefficient \(1\), but evaluation at \(2\) gives \(p(2)=1+2=3\), not \(1\). A related error is to claim that \(\operatorname{span}\{1,x\}\) is the kernel of evaluation at \(2\) on \(P_2(\mathbb R)\). That cannot be right: the constant polynomial \(1\) is in this span, but \(\operatorname{ev}_2(1)=1\ne0\). The correct kernel is \(\operatorname{span}\{x-2,(x-2)^2\}\); both generators evaluate to zero, and the polynomial calculation above shows that every polynomial in the kernel is a combination of them.
The kernel describes functions that vanish at the chosen input, not functions whose coefficients happen to vanish. The image describes the possible output values, not the possible functions. For the polynomial and continuous-function spaces considered here, constant functions guarantee that every real output is attainable. These facts make evaluation a useful way to encode a function's value at a point—for example, when a condition specifies a value that a polynomial or continuous function must take.
Check Your Understanding
For each question, identify the function space and fixed point before calculating.
- Write \(\operatorname{ev}_{-2}(p)\) for a general \(p(x)=c_0+c_1x+c_2x^2\), and state the equation that characterizes its kernel.
- Find a basis for the kernel of evaluation at \(3\) on \(P_2(\mathbb R)\).
- Give a polynomial in \(P_3(\mathbb R)\) that evaluates to \(7\) at \(x=1\), and check the value by substitution.
- For evaluation at \(0\) on \(C([-1,1],\mathbb R)\), describe the kernel in terms of function values.
- Explain why evaluation at any point of \([0,2]\) has image \(\mathbb R\) on \(C([0,2],\mathbb R)\).