Functions & Relations

Master the fundamental rules of functions and relations. Learn to apply the Vertical Line Test, analyze domain and range mappings, and distinguish injective, surjective, and non-function relations.

What is a Function?

A function is a mathematical relation that maps every element in a domain set X to exactly one unique element in a range set Y. If an input branches to multiple outputs, it is a general relation, not a function.

Function Machine Rule

f(x) = x² + 1

Deterministic Single-Output Rule

Think of a function as an automated black-box machine. When you drop an input value x into the machine, it executes a set mathematical transformation and outputs a single, consistent value f(x). Dropping the same input into a function will never yield two different results.