Skip to content
FiftyCalc Free calculators for all 50 states

Function Evaluator Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Write f(x) = a₄x⁴ + a₃x³ + a₂x² + a₁x + a₀ by entering its coefficients (0 for missing terms), then the inputs. The calculator gives f(x₁), f(x₂) and the average rate of change.

Result

Sample figures

f(x₁)—

f(x₂) —

  • Average rate of change [f(x₂) − f(x₁)] ÷ (x₂ − x₁)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Function Evaluator Calculator

a₄, coefficient of x⁴: enter a number. Prefilled example: 0.

a₃, coefficient of x³: enter a number. Prefilled example: 1.

a₂, coefficient of x²: enter a number. Prefilled example: -2.

a₁, coefficient of x: enter a number. Prefilled example: 0.

a₀, constant: enter a number. Prefilled example: 5.

First input x₁: enter a number. Prefilled example: 2.

Second input x₂: enter a number. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. a₄, coefficient of x⁴: enter a number.
  2. a₃, coefficient of x³: enter a number.
  3. a₂, coefficient of x²: enter a number.
  4. a₁, coefficient of x: enter a number.
  5. a₀, constant: enter a number.
  6. First input x₁: enter a number.
  7. Second input x₂: enter a number.
  8. Read the result: f(x₁); the panel also shows f(x₂) and Average rate of change [f(x₂) − f(x₁)] ÷ (x₂ − x₁).

How this calculator works

Evaluating a function means replacing x by the input everywhere and computing: f(2) for f(x) = x³ − 2x² + 5 is 2³ − 2 × 2² + 5 = 8 − 8 + 5 = 5.

Powers are computed before products, products before sums (order of operations). A negative input is raised as a whole: (−3)² = 9.

The average rate of change between x₁ and x₂ is the slope of the line through (x₁, f(x₁)) and (x₂, f(x₂)). It needs x₁ ≠ x₂.

The formula

  1. F1=a4×x14+a3×x13+a2×x12+a1×x1+a0
Symbols used in the formula
SymbolMeaning
a4a₄, coefficient of x⁴
a3a₃, coefficient of x³
a2a₂, coefficient of x²
a1a₁, coefficient of x
a0a₀, constant
x1First input x₁
F1f(x₁)

Worked example

a₄, coefficient of x⁴0
a₃, coefficient of x³1
a₂, coefficient of x²-2
a₁, coefficient of x0
a₀, constant5
First input x₁2
Second input x₂4
f(x₂)37
Average rate of change [f(x₂) − f(x₁)] ÷ (x₂ − x₁)16
  1. F1=0×24+1×23+−2×22+0×2+5=5

f(x₁) 5

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What does f(x) notation mean?

f names the function and x is its input; f(3) is the output when the input is 3. It does not mean f times x.

How do I evaluate a linear function such as f(x) = 3x − 7?

Enter a₁ = 3 and a₀ = −7, the other coefficients 0. For x = 4: 3 × 4 − 7 = 5.

Can I evaluate f(x) at a fraction or decimal?

Yes. Enter the input as a decimal, for example 0.5 for 1/2.

Related calculators