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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- a₄, coefficient of x⁴: enter a number.
- a₃, coefficient of x³: enter a number.
- a₂, coefficient of x²: enter a number.
- a₁, coefficient of x: enter a number.
- a₀, constant: enter a number.
- First input x₁: enter a number.
- Second input x₂: enter a number.
- 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
| Symbol | Meaning |
|---|---|
| a₄, coefficient of x⁴ | |
| a₃, coefficient of x³ | |
| a₂, coefficient of x² | |
| a₁, coefficient of x | |
| a₀, constant | |
| First input x₁ | |
| f(x₁) |
Worked example
| a₄, coefficient of x⁴ | 0 |
|---|---|
| a₃, coefficient of x³ | 1 |
| a₂, coefficient of x² | -2 |
| a₁, coefficient of x | 0 |
| a₀, constant | 5 |
| First input x₁ | 2 |
| Second input x₂ | 4 |
| f(x₂) | 37 |
|---|---|
| Average rate of change [f(x₂) − f(x₁)] ÷ (x₂ − x₁) | 16 |
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.