Loading…

One to One Function Checker

Math Algebra • Functions

View all topics

Check whether a function is one-to-one, also called injective, on a selected interval. The calculator uses a numerical horizontal line test, monotonicity sampling, derivative sign estimates, and graph visualization to decide whether an inverse can exist on that interval.

Injective: \(x_1\ne x_2\Rightarrow f(x_1)\ne f(x_2)\) Horizontal line test: every horizontal line intersects at most once Strictly increasing: \(x_1<x_2\Rightarrow f(x_1)<f(x_2)\) Inverse exists: one-to-one functions have inverses on their range

Function input

Supported syntax: x^3 - 2x, x^3 + x, x^2, sqrt(x), ln(x), exp(x), abs(x), sin(x), constants pi and e, powers with ^, and implicit multiplication such as 2x.

Interval and graph window

Analysis settings

Quick examples

Ready
Enter a function and click “Check one-to-one”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does one-to-one mean?

A function is one-to-one if different input values always produce different output values. Equivalently, f(x1) = f(x2) implies x1 = x2.

What is the horizontal line test?

The horizontal line test says that a function is one-to-one if every horizontal line intersects its graph at most once.

Why do one-to-one functions have inverses?

A one-to-one function never repeats an output value, so reversing inputs and outputs still gives a valid function.

Is x^2 one-to-one?

x^2 is not one-to-one on all real numbers because f(-a) = f(a). It is one-to-one if the domain is restricted to x >= 0 or x <= 0.

Is x^3 - 2x one-to-one?

x^3 - 2x is not one-to-one on all real numbers because it has turning behavior and fails the horizontal line test.

Is x^3 + x one-to-one?

Yes. x^3 + x is strictly increasing on all real numbers because its derivative 3x^2 + 1 is always positive.

Can a function be one-to-one only on part of its domain?

Yes. Many functions become one-to-one after restricting the domain to an interval where the function is strictly increasing or strictly decreasing.

What does strict monotonicity mean?

A function is strictly increasing if larger inputs always give larger outputs, and strictly decreasing if larger inputs always give smaller outputs.

Does a derivative prove one-to-one behavior?

If the derivative is always positive or always negative on an interval, then the function is strictly monotonic and therefore one-to-one on that interval.

Can numerical checking miss a one-to-one failure?

Yes. Numerical tests depend on the selected interval, graph window, tolerance, and resolution. Increasing the sampling resolution can improve detection.