tedmba

Function Calculator

A function calculator should do more than plug in numbers. Type f(x) and this one evaluates it, builds a table of values, draws the graph, and marks where it crosses zero, where it turns and where it isn’t defined — with an optional g(x) for comparisons and compositions. Everything is calculated in your browser.

Function calculator

Use ^ for powers, * or a space-free product like 3x, and functions sin cos tan asin acos atan exp ln (log also means ln) sqrt abs; constants pi and e. Write x*sin(x), not xsin(x).

Function Practice Pack

Printable function worksheets with answer keys (evaluation, tables of values, composition, transformations), a function families reference card and coordinate graph paper.

Formats: PDF, DOCX. Instant download after payment (link valid 72 hours, up to 5 downloads). AI-assisted: the templates were drafted with AI help and reviewed and laid out by Kedop.

$3.00 USD, one-time

Secure card checkout by Stripe. Full refund within 7 days — see the refund policy and license.

What the calculator finds

ResultHow it is found
Values f(a)Direct evaluation at each x you list
Table of valuesEvaluation at every step across the range
ZerosSign changes of f across 800 sub-intervals, refined by bisection
Turning pointsSign changes of the exact derivative f′(x), refined by bisection
Gaps and jumpsPoints where f is undefined or changes sign without passing through zero (as at a vertical asymptote)
DerivativeSymbolic differentiation with simplification
Compositionsf(g(a)) and g(f(a)) evaluated directly

Zeros and turning points are searched only in the x-range you set, and features narrower than the sampling step can be missed — zoom in on a smaller range if you suspect one.

Worked example: f(x) = x³ − 3x + 1

On the range −3 to 3, the calculator finds three zeros, at x ≈ −1.879, 0.347, 1.532, a local maximum at (−1, 3) and a local minimum at (1, −1). The y-intercept is f(0) = 1 and the derivative is 3x² − 3, which is zero exactly at x = ±1 — matching the turning points. With g(x) = 2x − 1, the composition f(g(2)) = f(3) = 19 while g(f(2)) = g(3) = 5, a reminder that composition order matters.

Domain and range

The domain is the set of x-values where the function is defined. Common restrictions: division by zero (1/x is undefined at 0), square roots of negative numbers (sqrt(x) needs x ≥ 0) and logarithms of non-positive numbers (ln(x) needs x > 0). The range is the set of output values. The graph shows both at a glance: gaps in the curve mark domain restrictions, and the vertical extent shows the range over your chosen interval.

Common function families

FamilyExampleShape
Linear2x − 1Straight line; slope 2, intercept −1
Quadraticx^2 − 4x + 3Parabola; zeros at 1 and 3, vertex at (2, −1)
Cubicx^3 − 3x + 1S-shaped; up to two turning points
Exponential2^x or exp(x)Rapid growth, always positive
Logarithmicln(x)Slow growth, defined for x > 0
Rational1/(x − 2)Vertical asymptote at x = 2
Trigonometricsin(x)Periodic wave, period 2π
Absolute valueabs(x − 1)V shape with corner at x = 1

Transformations

Put the original function in f and the transformed one in g to see both on the same axes.

Composition of functions

The composition f(g(x)) means “apply g first, then f”. In general f(g(x)) and g(f(x)) are different. The domain of f(g(x)) is limited both by g’s domain and by whether g’s outputs are in f’s domain: for f(x) = sqrt(x) and g(x) = x − 5, f(g(x)) = sqrt(x − 5) is only defined for x ≥ 5.

Even, odd and periodic functions

A function is even if f(−x) = f(x) for every x — its graph is symmetric about the y-axis, like x² or cos(x). It is odd if f(−x) = −f(x) — symmetric about the origin, like x³ or sin(x). Most functions are neither. To test, put your function in f and the same function with −x in place of x in g: if the curves coincide, f is even; if g is the mirror image of f in the x-axis, f is odd. A periodic function repeats at regular intervals: sin(x) and cos(x) repeat every 2π, tan(x) every π.

Checking answers from a textbook

Tips for typing functions

Privacy

All calculations run in your browser.

Frequently asked questions

How do I find the zeros of a function?

Type f(x) and a range; the calculator finds sign changes and refines them.

Can it graph two functions?

Yes — enter g(x) to draw it on the same axes.

Does it show the derivative?

Yes, as a simplified formula.

Why is part of my graph missing?

The function is undefined there (e.g. square root of a negative number).

What does f(g(x)) mean?

Apply g first, then f to the result.

Is log base 10?

No — log and ln both mean the natural logarithm here; for base 10 use ln(x)/ln(10).

Does it use degrees or radians?

Radians. Convert degrees by multiplying by pi/180.