Skip to content
FiftyCalc Free calculators for all 50 states

Is It a Function Calculator

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

Enter up to six ordered pairs (x, y). The calculator applies the definition of a function: each x-value has exactly one y-value. It also tells you whether the relation is one-to-one.

Result

Sample figures

Is it a function?—

Is it one-to-one? —

  • Pairs of points that break the function rule—

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

Is It a Function Calculator

Number of ordered pairs to check

Number of ordered pairs to check: choose 2 pairs, 3 pairs, 4 pairs, 5 pairs or 6 pairs. Prefilled example: 4 pairs.

Pair 1, x: enter a number. Prefilled example: -1.

Pair 1, y: enter a number. Prefilled example: 1.

Pair 2, x: enter a number. Prefilled example: 0.

Pair 2, y: enter a number. Prefilled example: 0.

Pair 3, x: enter a number. Prefilled example: 1.

Pair 3, y: enter a number. Prefilled example: 1.

Pair 4, x: enter a number. Prefilled example: 2.

Pair 4, y: enter a number. Prefilled example: 4.

Pair 5, x: enter a number. Prefilled example: 3.

Pair 5, y: enter a number. Prefilled example: 9.

Pair 6, x: enter a number. Prefilled example: 4.

Pair 6, y: enter a number. Prefilled example: 16.

How to use this calculator

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

  1. Number of ordered pairs to check: choose 2 pairs, 3 pairs, 4 pairs, 5 pairs or 6 pairs.
  2. Pair 1, x: enter a number.
  3. Pair 1, y: enter a number.
  4. Pair 2, x: enter a number.
  5. Pair 2, y: enter a number.
  6. Pair 3, x: enter a number.
  7. Pair 3, y: enter a number.
  8. Pair 4, x: enter a number.
  9. Pair 4, y: enter a number.
  10. Pair 5, x: enter a number.
  11. Pair 5, y: enter a number.
  12. Pair 6, x: enter a number.
  13. Pair 6, y: enter a number.
  14. Read the result: Is it a function?; the panel also shows Is it one-to-one? and Pairs of points that break the function rule.

How this calculator works

A relation is a function when no x-value is paired with two different y-values. The calculator compares every pair of points: same x and different y breaks the rule.

The same point written twice, such as (2, 4) and (2, 4), does not break the rule.

A function is one-to-one when, in addition, no y-value comes from two different x-values. On a graph, these are the vertical line test and the horizontal line test.

Worked example

Number of ordered pairs to check4 pairs
Pair 1, x-1
Pair 1, y1
Pair 2, x0
Pair 2, y0
Pair 3, x1
Pair 3, y1
Pair 4, x2
Pair 4, y4
Pair 5, x3
Pair 5, y9
Pair 6, x4
Pair 6, y16
Pairs of points that break the function rule0
Is it a function?Yes, this relation is a function
Is it one-to-one?Not one-to-one: y = 1 comes from two different x-values

Frequently asked questions

Is {(1, 2), (2, 2), (3, 2)} a function?

Yes. Each x-value has one y-value; several x-values sharing the same y is allowed. It is not one-to-one.

Is {(3, 1), (3, 5)} a function?

No. The input 3 has two outputs, 1 and 5. A vertical line at x = 3 would cross both points.

Can I enter decimals or negative numbers?

Yes. Coordinates are compared exactly as entered, so 0.5 and 1/2 written as 0.5 count as the same value.

Related calculators