Skip to main content

Mathematical Functions, Domains, and Ranges

An exploration of fundamental algebraic concepts including relations, functions, domain, range, function evaluation, piecewise functions, and function composition.

Save this reading to your study set

Sign up free

In mathematics, understanding how different quantities relate to one another is fundamental. Whether we are modeling the trajectory of a projectile or the growth of a population, we rely on the concepts of relations and functions to describe these connections. This article explores the foundational building blocks of algebra: how we define these relationships, how we restrict their inputs and outputs, and how we manipulate them through evaluation and composition.

Relations vs. Functions

Before we can define a function, we must understand a relation. A relation is simply a set of ordered pairs that connects elements from one set to another. In a mapping diagram, a relation is visualized by drawing arrows from elements in a starting set (often called XX) to elements in a target set (often called YY).

A diagram illustrating a function where inputs 2 and -2 both map to the output 4.
A diagram illustrating a function where inputs 2 and -2 both map to the output 4.

While all functions are relations, not all relations are functions. The defining characteristic of a function is that for every input, there is exactly one output.

A diagram illustrating a function mapping elements from a domain set X to a range set Y.
A diagram illustrating a function mapping elements from a domain set X to a range set Y.

If a single input maps to multiple different outputs, the relation fails the definition of a function. For example, consider the relation y2=xy^2 = x. If we input x=4x = 4, yy could be 22 or −2-2. Because one input leads to two different outputs, this is a relation, but not a function.

A diagram illustrating a function mapping elements from set X to set Y. Specifically, the element 4x in set X is mapped to 2 in set Y, and also to -2 in set Y.
A diagram illustrating a function mapping elements from set X to set Y. Specifically, the element 4x in set X is mapped to 2 in set Y, and also to -2 in set Y.

Keep reading for free.

Create an account to finish this reading and make it part of your study routine.

Continue reading free

Already have an account? Log in

Updated

Study it your way.

Import this reading into your study set to get started with another study mode.

Make it your own.

Keep this reading in a new study set, or add it to one you already use.