Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

f(x) evaluated at x = 4
6
f(a) result
a·x² term 16
b·x term -12
c (constant) 2

What is function evaluation?

Evaluating a function means finding its output for a specific input. If you have a function f(x) and you want to know its value at x = a, you substitute a in place of every x and then compute. The notation f(a) reads "f of a" and represents that output value. This calculator works with the common quadratic form \(f(x) = ax^2 + bx + c\), which covers linear functions (set \(a = 0\)) and constants (set \(a = 0\), \(b = 0\)) as special cases.

Function machine taking input x and producing output f(x)
Function evaluation: an input value x goes into the function and a single output f(x) comes out.

How to use this calculator

Enter the three coefficients of your function: a (the coefficient of x²), b (the coefficient of x), and c (the constant term). Then enter the value of x at which you want to evaluate. The calculator returns f(x) along with a breakdown of each term so you can see exactly how the answer was built.

The formula explained

The function is $$f(x) = ax^2 + bx + c.$$ To evaluate at \(x = a\), the calculator computes three pieces: the squared term \(a \cdot x^2\), the linear term \(b \cdot x\), and the constant \(c\), then adds them together. Because multiplication is applied before addition, each term is computed independently and summed.

Advertisement
Quadratic formula broken into three colored terms: a x squared, b x, and c
The three contributions to f(x): the squared term ax², the linear term bx, and the constant c.

Worked example

Suppose \(f(x) = x^2 - 3x + 2\) and you want \(f(4)\). Substitute \(x = 4\): the squared term is \(1 \cdot (4^2) = 16\), the linear term is \(-3 \cdot 4 = -12\), and the constant is \(2\). Adding gives $$16 - 12 + 2 = 6.$$ So \(f(4) = 6\).

Advertisement
Point plotted on an upward parabola curve at evaluated x value
Evaluating f(a) gives the y-coordinate of the point on the parabola at x = a.

FAQ

Can I evaluate a linear function? Yes — set \(a = 0\) and the function becomes \(f(x) = bx + c\).

What about a constant function? Set \(a = 0\) and \(b = 0\), leaving \(f(x) = c\) for every input.

Does this handle negative or decimal inputs? Yes, all coefficients and the value of x may be negative or contain decimals.

Last updated: