Which Of These Relations Is A Function

9 min read

Which of These Relations Is a Function? A Complete Guide to Understanding Functions in Mathematics

When you first encounter the concept of functions in algebra, you might find yourself asking a fundamental question: which of these relations is a function? This question lies at the heart of understanding one of the most important structures in mathematics. Which means functions are everywhere—from the simplest calculations to the most complex models used in science, engineering, and economics. Understanding how to identify a function is not just an academic exercise; it's a skill that will serve you throughout your mathematical journey.

The answer to "which of these relations is a function" hinges on one essential rule: each input must produce exactly one output. If you can remember this single criterion, you can evaluate any relation and determine whether it qualifies as a function. In this practical guide, we'll explore what relations are, what makes a function different, and how to apply various tests to identify functions in different representations.

Not the most exciting part, but easily the most useful.

Understanding Relations: The Foundation

Before we can answer which of these relations is a function, we need to understand what a relation actually is. In mathematics, a relation is simply a set of ordered pairs that connect elements from one set to elements of another set (or the same set). Think of it as a list of connections between two quantities That alone is useful..

Counterintuitive, but true.

Here's one way to look at it: consider the relation that pairs each student with their phone number. This is a relation because it connects students to phone numbers. Similarly, the relation connecting each country to its capital city is also a valid relation And that's really what it comes down to. Worth knowing..

Relations can be represented in several ways:

  • Sets of ordered pairs: {(1, 2), (2, 4), (3, 6)}
  • Mappings: A visual showing inputs connected to outputs with arrows
  • Equations: y = 2x + 3
  • Graphs: Points plotted on a coordinate plane

The key insight is that relations can include connections where a single input relates to multiple outputs—and this is precisely where functions become special.

What Defines a Function?

A function is a special type of relation that passes one critical test: each input value corresponds to exactly one output value. That said, the word "exactly" is crucial here. An input can map to one and only one output, but different inputs are allowed to map to the same output And that's really what it comes down to. Less friction, more output..

Let's clarify this with a concrete example. Consider the relation {(1, 5), (2, 7), (3, 5)}. Which means is this a function? Yes, because each input (1, 2, and 3) corresponds to exactly one output. Notice that both input 1 and input 3 produce the output 5—that's perfectly acceptable. What would make this NOT a function would be if we had something like {(1, 5), (1, 7), (2, 9)}. Here, the input 1 maps to both 5 and 7, violating the one-output rule.

In function notation, we typically write f(x) to represent the output. Which means if f(1) = 5, then f(1) cannot also equal 7. The function must be consistent in its mapping.

The Vertical Line Test: Visual Identification

When you're given a graph and asking which of these relations is a function, the vertical line test provides an elegant visual solution. This test works because it directly checks whether any input (x-value) has multiple outputs (y-values).

How to apply the vertical line test:

  1. Imagine drawing vertical lines (lines parallel to the y-axis) through various points on the graph
  2. If any vertical line crosses the graph at more than one point, the relation is NOT a function
  3. If every vertical line crosses the graph at most once, the relation IS a function

Here's why this works: a vertical line at a specific x-coordinate represents a specific input value. If the line intersects the graph at multiple points, that input produces multiple outputs—which contradicts the definition of a function.

Consider a circle. Now, draw a vertical line through the center, and you'll see it intersects the circle at two points—one in the upper half and one in the lower half. Also, this means a circle is NOT a function because a single x-value corresponds to two y-values. Even so, if you take only the upper semicircle, each vertical line intersects at most once, making that a function.

Working with Ordered Pairs

When relations are presented as sets of ordered pairs, identifying functions becomes a matter of examining the inputs. Each input value must appear only once in the first position of the ordered pairs Easy to understand, harder to ignore..

Consider these examples:

Example 1: {(2, 4), (3, 6), (4, 8), (5, 10)}

  • Inputs: 2, 3, 4, 5 (each appears once)
  • Outputs: 4, 6, 8, 10
  • This IS a function because every input has exactly one output.

Example 2: {(1, 3), (1, 5), (2, 7), (3, 9)}

  • Input 1 appears twice: it maps to both 3 and 5
  • This is NOT a function because the input 1 has two different outputs.

Example 3: {(1, 2), (2, 2), (3, 2), (4, 2)}

  • Multiple inputs (1, 2, 3, 4) all map to the same output (2)
  • This IS a function because each input has exactly one output, even though they share the same value.

Remember: many-to-one is acceptable, but one-to-many is not.

Functions as Equations

When relations are expressed as equations, determining whether they represent functions often involves checking if the equation can be solved for y such that each x produces exactly one y That's the part that actually makes a difference. Turns out it matters..

To give you an idea, the equation y = x² represents a function because for every x-value you choose, there's exactly one y-value (the square of x). That said, the equation x = y² does NOT represent a function as written because solving for y gives two solutions: y = √x and y = -√x That alone is useful..

The general rule with equations is that if you can apply the vertical line test to their graphs, they're functions. Linear equations (y = mx + b), quadratic equations that open upward or downward (y = ax²), absolute value equations (y = |x|), and exponential equations (y = 2^x) all represent functions because they pass the vertical line test.

Equations that form circles, sideways parabolas, or any shape where a vertical line touches multiple points are NOT functions.

Domain and Range: Understanding the Sets

Every function has two fundamental sets you need to understand: the domain and the range.

  • Domain: The set of all possible input values (x-values)
  • Range: The set of all possible output values (y-values)

When determining which of these relations is a function, consider whether the domain values are properly restricted so that each produces exactly one range value Worth keeping that in mind..

Here's a good example: if you have a relation where the domain includes all real numbers, but the function rule ensures each produces a unique output, then you have a valid function. On the flip side, if your relation includes values that cause the same input to produce multiple outputs (like dividing by zero in some cases), you need to either restrict the domain or recognize that the relation isn't a function Still holds up..

Common Examples: Functions vs. Non-Functions

To solidify your understanding, let's examine several examples:

These ARE functions:

  • y = 3x + 7 (linear function)
  • y = x² - 4 (quadratic function)
  • y = |x| (absolute value function)
  • y = 2^x (exponential function)
  • {(1,

These ARE functions:

  • y = 3x + 7 – a straight‑line equation; any x you plug in yields one unique y.
  • y = x² – 4 – a parabola that opens upward; each x corresponds to a single y value.
  • y = |x| – the absolute‑value graph; for every x there is exactly one y, the distance from zero.
  • y = 2ˣ – an exponential curve; the exponentiation operation produces one output for each input.
  • y = { x ≤ 0 ? –x : x } – a piecewise definition that assigns –x when x is non‑positive and leaves x unchanged otherwise; the rule is unambiguous, so it is a function.
  • y = (2x + 1)/(x – 3), x ≠ 3 – a rational expression with a domain that excludes the point where the denominator vanishes; within its permitted x‑values it assigns one y for each x.

These illustrate that functions may be linear, quadratic, absolute‑value, exponential, piecewise, or rational, provided the rule gives a single output for every admissible input And that's really what it comes down to..

These are NOT functions:

  • x = y² – solving for y gives two possibilities (positive and negative square roots), so a single x can correspond to multiple y’s.
  • x² + y² = 1 (the unit circle) – a vertical line can intersect the circle at two points, meaning one x may produce two y values.
  • y² = x – similarly, each positive x yields both a positive and a negative square root, violating the one‑to‑one requirement.
  • y = ±√x – the “±” notation explicitly signals two outputs for each x ≥ 0, so the relation fails the definition of a function.

Domain and Range in Practice

When a function is presented by a formula, the domain is the collection of x‑values for which the expression is defined. For the rational example above, the domain is all real numbers except 3, because substituting 3 would cause division by zero.

The range is the set of outputs that actually appear when the domain is used. For y = x², the range is all non‑negative real numbers, since squaring any real x cannot produce a negative result.

If a function’s natural domain is too large—say, the formula involves a denominator that vanishes at some point—restricting the domain to exclude those problematic values often turns a non‑function into a proper function. Conversely, expanding the domain without adjusting the rule can re‑introduce ambiguity.

Why the Distinction Matters

Understanding whether a relation is a function is essential for many mathematical operations:

  • Inverses: Only functions that are one‑to‑one possess inverses that are also functions.
  • Composition: The output of one function becomes the input of another; this operation is well‑defined only when each step yields a single value.
  • Calculus: Derivatives and integrals rely on the idea that a curve can be described as a function of x; otherwise, the notion of a slope at a point becomes ambiguous.

Concluding Thoughts

A function is fundamentally a rule that pairs each permissible input with exactly one output. Linear, quadratic, absolute‑value, exponential, piecewise, and properly restricted rational expressions all satisfy this condition, while circles, sideways parabolas, and equations that yield multiple square‑root solutions do not. Whether expressed as a set of ordered pairs, a graph, or an algebraic equation, the key test is that no input should ever be associated with more than one result. By carefully examining the domain, applying the vertical line test, and ensuring the rule is unambiguous, we can confidently classify any relation as a function or not, and then proceed with confidence in any further mathematical analysis Worth knowing..

New on the Blog

Fresh from the Writer

Branching Out from Here

Based on What You Read

Thank you for reading about Which Of These Relations Is A Function. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home