less than 1 minute read

Given a polynomial f, does f(1) work as an alternative to Evaluate(f, 1)? No. For example:

> Q<x> := PolynomialAlgebra(Rationals());
> f := x^2+x+1;

The command f(1) results in an error. In addition, note that

> f where x is 1; 
1

so our attempt does not evaluate f at 1. Alternatively,

> y^2+y+1 where y is 1;` 
3