Example Of A Graph That Is Not A Function

7 min read

Introduction

When you first encounter the concept of a function in algebra, the idea that every input ( x ) must correspond to exactly one output ( y ) seems straightforward. Still, many visual representations in mathematics break this rule, and they are called graphs that are not functions. Understanding these examples is essential not only for mastering pre‑calculus but also for building intuition about relations, inverse functions, and the limits of the vertical‑line test. This article explores several classic and less‑common graphs that fail to meet the definition of a function, explains why they do so, and shows how they appear in real‑world contexts.


What Makes a Graph a Function?

Before diving into non‑functional graphs, it helps to recall the precise definition:

A function is a relation between a set of inputs X and a set of possible outputs Y such that each element of X is paired with exactly one element of Y.

In coordinate geometry this translates to the vertical‑line test: a curve in the xy‑plane represents a function iff no vertical line intersects the curve at more than one point.

If a graph fails this test, it is a relation but not a function. The following sections present concrete examples, each illustrated with a brief description of its shape and the reasoning behind its failure Simple, but easy to overlook..


Example 1 – The Circle

Equation and Shape

The classic circle centered at the origin with radius r has the equation

[ x^{2}+y^{2}=r^{2}. ]

When solved for y, we obtain two branches:

[ y = \sqrt{r^{2}-x^{2}} \quad \text{and} \quad y = -\sqrt{r^{2}-x^{2}}. ]

Why It Is Not a Function

A vertical line drawn at any x value between –r and +r will intersect the circle at two points—one on the upper semicircle and one on the lower semicircle. Hence the vertical‑line test fails, confirming that a full circle is not a function Simple, but easy to overlook..

Real‑World Connection

Circles model many physical phenomena, such as the cross‑section of a perfectly round pipe or the orbit of a planet (projected onto a plane). In engineering, when you need a functional relationship, you often split the circle into its upper and lower semicircles, each of which is a function Most people skip this — try not to. Less friction, more output..


Example 2 – The Horizontal Parabola (Side‑Opening)

Equation and Shape

Consider the parabola that opens to the right:

[ x = y^{2}. ]

Graphically, this is a “sideways” U‑shape symmetric about the x-axis That alone is useful..

Why It Is Not a Function

If you draw a vertical line at any positive x value, it will intersect the curve at two points (one with positive y and one with negative y). The relation therefore fails the vertical‑line test. That said, it does pass the horizontal‑line test, meaning it can be expressed as a function of y, i.e., x = f(y) Easy to understand, harder to ignore. That's the whole idea..

Practical Use

Side‑opening parabolas appear in optics, where a reflective surface focuses parallel rays onto a focal point. In such contexts, the relationship is often treated as x as a function of y rather than the other way around.


Example 3 – The Figure‑Eight (Lemniscate)

Equation and Shape

A simple lemniscate centered at the origin can be written as

[ (x^{2}+y^{2})^{2}=a^{2}(x^{2}-y^{2}), ]

producing a symmetric “∞” shape Worth knowing..

Why It Is Not a Function

Vertical lines intersect the lemniscate at up to four points, especially near the crossing point at the origin. This multiple‑intersection property makes the graph a relation, not a function Which is the point..

Where It Shows Up

Lemniscates describe the orbital paths of certain celestial bodies under specific gravitational conditions and also appear in the design of electrical coils that generate uniform magnetic fields Not complicated — just consistent..


Example 4 – The Hyperbola with Two Branches Aligned Vertically

Equation and Shape

A standard hyperbola opening upward and downward is given by

[ \frac{y^{2}}{a^{2}}-\frac{x^{2}}{b^{2}}=1. ]

It consists of two separate curves, one above the x-axis and one below Simple, but easy to overlook..

Why It Is Not a Function

Any vertical line that passes through the region between the two branches will intersect both branches, yielding two distinct y values for the same x. Thus the vertical‑line test fails.

Application Example

Such hyperbolas model the relationship between pressure and volume in certain thermodynamic processes when plotted on a log‑log scale, where each branch corresponds to a different physical regime Which is the point..


Example 5 – The Absolute Value Relation with a “V” Turned Upside Down

Equation and Shape

Take the relation

[ |x| + |y| = 1, ]

which draws a diamond (a rotated square) centered at the origin.

Why It Is Not a Function

For any x between –1 and +1, there are two corresponding y values:

[ y = 1 - |x| \quad \text{and} \quad y = -1 + |x|. ]

Thus a vertical line cuts the diamond at two points, violating the function condition.

Everyday Analogy

The diamond shape can represent a budget constraint where spending on two categories must sum to a fixed total. The same amount spent on one category can be paired with two possible allocations for the other, illustrating the non‑functional nature of the relation.


Example 6 – The “Star” or Multi‑Petal Rose Curve

Equation and Shape

A rose curve with an even number of petals is defined by

[ r = \sin(2\theta) ]

in polar coordinates. Converting to Cartesian yields a multi‑looped shape Surprisingly effective..

Why It Is Not a Function

When expressed in Cartesian coordinates, many vertical lines intersect the curve multiple times (up to four for the four‑petal case). Because of this, the relation does not satisfy the vertical‑line test That alone is useful..

Why Mathematicians Care

Rose curves are used in signal processing to visualize phase relationships. Understanding that they are not functions helps students avoid incorrectly assuming a one‑to‑one mapping between angle and radius.


Scientific Explanation of the Vertical‑Line Test

  1. Definition Recap – A function f assigns each domain element a single codomain element.
  2. Geometric Translation – In the xy‑plane, the domain corresponds to the x‑coordinate, the codomain to the y‑coordinate.
  3. Vertical Line as a Probe – A vertical line x = c represents “pick a specific input c”. If that line meets the graph at more than one point, the same input produces multiple outputs, contradicting the definition.
  4. Horizontal Line Test – Conversely, a horizontal line checks whether a relation can be expressed as a function of y instead of x. Some non‑functional graphs in the x-sense become functional when the roles of the axes are swapped (e.g., the sideways parabola).

Understanding these tests provides a quick visual tool for classifying relations without solving equations algebraically.


Frequently Asked Questions

Q1. Can a graph be “partially” a function?
Yes. Many relations are piecewise functions: each piece passes the vertical‑line test on its own interval. To give you an idea, the circle can be split into the upper and lower semicircles, each of which is a function on the domain –r ≤ x ≤ r.

Q2. Does a relation that fails the vertical‑line test ever become a function after a transformation?
Often. Rotating a graph by 90° swaps the roles of x and y. A vertical parabola y = x² remains a function after rotation, but a horizontal parabola x = y² becomes a function of y instead of x.

Q3. Are there any real‑world datasets that naturally form non‑functional graphs?
Yes. Consider a temperature‑altitude profile in a mountainous region: a given latitude (horizontal coordinate) may correspond to multiple altitudes due to valleys and peaks, creating a non‑functional relation No workaround needed..

Q4. How do calculators or graphing software handle non‑functional graphs?
Most tools plot the entire relation by evaluating the implicit equation. Some allow you to isolate branches (e.g., solving for y explicitly) if you need a functional view.

Q5. Can a non‑functional graph be used to define an inverse function?
Only if you restrict the domain to a portion that passes the vertical‑line test. Take this: the upper semicircle y = √(r² – x²) has an inverse x = √(r² – y²) when limited to y ≥ 0 And it works..


Conclusion

Graphs that are not functions play a crucial role in deepening our understanding of mathematical relations. From the simple circle to the layered lemniscate, each example demonstrates how the vertical‑line test serves as an intuitive visual checkpoint for the definition of a function. Recognizing non‑functional graphs helps students avoid common misconceptions, prepares them for advanced topics such as inverse functions and implicit differentiation, and connects abstract mathematics to tangible real‑world scenarios. By dissecting these examples, you now have a toolbox of visual and analytical strategies to identify, explain, and, when necessary, transform non‑functional relations into functional ones for further analysis.

Still Here?

The Latest

Others Went Here Next

Adjacent Reads

Thank you for reading about Example Of A Graph That Is Not 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