Functions & Relations

Master mathematical mapping criteria. Visualize domain-to-range connectivity, run the vertical line test dynamically, and identify function constraints.

What is a Function?

A **function** is a specific type of relation where each element in the **Domain** (set of inputs) maps to *exactly one* element in the **Range** (set of outputs). If an input maps to multiple outputs, it is a **Relation**, not a function.

Definitions & Rules


  • Domain: The set of all possible input values (typically x).
  • Range: The set of all actual output values (typically f(x) or y).
  • Vertical Line Test: If any vertical line intersects a graph more than once, the graph represents a relation, not a function.

Visual Mapping Machine

Think of a function as a machine:
- You drop an input x in.
- The machine performs a rule: f(x) = x² + 1.
- You get exactly one output y.

If a machine could output both +3 and -3 for the single input 9 (like y² = x), it is not a function.