Introduction
When students first encounter the concept of a function, they often picture a simple straight line or a smooth curve that passes the vertical line test. Yet, many real‑world situations produce relationships that cannot be described by a single‑valued rule. An example of a graph that is not a function helps clarify the distinction between a relation and a function, illustrates why the vertical line test matters, and shows how such graphs appear in mathematics, physics, economics, and everyday life Easy to understand, harder to ignore..
In this article we will explore:
- The formal definition of a function and the vertical line test.
- Classic visual examples of non‑functional graphs, including circles, ellipses, and the sideways parabola.
- How to convert a non‑functional graph into a function by splitting it into two or more pieces.
- Real‑world contexts where non‑functional relationships naturally arise.
- Frequently asked questions that often confuse beginners.
By the end of the reading, you will not only recognize graphs that are not functions at a glance, but also understand how to work with them mathematically.
What Makes a Graph a Function?
Definition
A function (f) from a set (X) (the domain) to a set (Y) (the codomain) assigns exactly one element of (Y) to each element of (X). In coordinate geometry this means that for every (x)-coordinate there is at most one corresponding (y)-coordinate.
The Vertical Line Test
The most convenient visual tool is the vertical line test:
- Draw any vertical line (x = c) through the graph.
- If the line intersects the graph more than once, the graph fails the test and is not a function.
- If every vertical line meets the graph at zero or one point, the graph passes the test and represents a function.
The test works because a vertical line fixes the input (x = c); multiple intersections would imply multiple outputs for the same input, violating the definition of a function Worth keeping that in mind..
Classic Examples of Graphs That Are Not Functions
1. The Circle
[ (x - h)^2 + (y - k)^2 = r^2 ]
A circle centered at ((h,k)) with radius (r) is perhaps the most iconic non‑functional graph. Consider the unit circle (x^2 + y^2 = 1) Surprisingly effective..
- A vertical line (x = 0.5) meets the circle at two points: ((0.5, \sqrt{1-0.25})) and ((0.5, -\sqrt{1-0.25})).
- Because each (x) (except at the extreme points (x = \pm 1)) corresponds to two (y) values, the circle fails the vertical line test.
Why It Happens
The equation can be solved for (y) as
[ y = \pm\sqrt{r^2 - (x - h)^2}, ]
producing two separate functions—the upper semicircle and the lower semicircle—combined into a single relation.
2. The Ellipse
[ \frac{(x - h)^2}{a^2} + \frac{(y - k)^2}{b^2} = 1 ]
An ellipse stretches the circle along the (x)- or (y)-axis. Like the circle, any vertical line intersecting the interior of the ellipse hits it twice, giving two (y) values for the same (x). Thus an ellipse is also not a function when considered as a whole.
3. The Horizontal Parabola (Sideways Parabola)
[ (x - h) = a(y - k)^2 ]
When the squared term is attached to (y) instead of (x), the graph opens left or right. To give you an idea, (x = y^2) produces a “U” shape lying on its side.
- The vertical line (x = 1) intersects the graph at two points: ((1, 1)) and ((1, -1)).
- This means the graph does not satisfy the vertical line test.
4. The Figure‑Eight (Lemniscate)
[ (x^2 + y^2)^2 = a^2(x^2 - y^2) ]
This more exotic curve loops around the origin, creating two lobes that intersect the same vertical lines at up to four points. The figure‑eight is a vivid illustration that any relation with self‑intersection can break the vertical line rule.
5. Implicit Relations with Multiple (y) Solutions
Any equation solved implicitly for (y) that yields more than one real root for a given (x) creates a non‑functional graph. Examples include:
- (y^3 - y = x) (cubic with three real branches for some (x)).
- (\sin(y) = x) (infinitely many (y) values for each admissible (x) within ([-1,1])).
These examples reinforce that the presence of a square, cube, or trigonometric function of (y) often leads to multiple (y) values for a single (x).
Turning a Non‑Functional Graph into Functions
While a whole graph may fail the vertical line test, it can frequently be decomposed into two or more genuine functions. This is useful for graphing calculators, computer algebra systems, and analytic work.
Example: Splitting the Circle
The unit circle (x^2 + y^2 = 1) can be expressed as:
- Upper semicircle: (y = \sqrt{1 - x^2}) (for (-1 \le x \le 1))
- Lower semicircle: (y = -\sqrt{1 - x^2}) (for (-1 \le x \le 1))
Each piece passes the vertical line test individually, so together they reconstruct the original non‑functional graph.
Example: Piecewise Definition for a Horizontal Parabola
For (x = y^2), solve for (y):
- (y = \sqrt{x}) (for (x \ge 0))
- (y = -\sqrt{x}) (for (x \ge 0))
Again, the two branches form a piecewise function that together describe the sideways parabola Less friction, more output..
When Splitting Is Not Practical
Some relations, like (\sin(y) = x), generate an infinite number of branches. So , (y \in [-\pi/2, \pi/2])) to obtain a single‑valued inverse sine function, (\arcsin(x)). In such cases we usually restrict the domain (e.Think about it: g. The restriction is a deliberate choice to make the relation functional for the intended application Took long enough..
Real‑World Situations Producing Non‑Functional Graphs
1. Projectile Motion with Two Possible Angles
When a projectile must hit a target at a fixed horizontal distance (d) and height (h), the launch angle (\theta) satisfies
[ d = \frac{v^2}{g}\sin(2\theta) - \frac{v\cos\theta}{g}\sqrt{v^2\sin^2\theta - 2gh}. ]
For many ((d, h)) pairs, two distinct angles produce the same range, giving a graph of (\theta) versus (d) that fails the vertical line test.
2. Economic Supply‑Demand Curves
A supply curve may be a function (price as a function of quantity), but the demand curve can be vertical in certain markets—meaning many consumers are willing to buy the same quantity at a single price, violating the function definition when plotted as price versus quantity.
3. Magnetic Field Lines Around a Bar Magnet
The field lines form closed loops. If you plot the position of a field line as ((x, y)) in a plane, many vertical lines intersect a single loop at two points, creating a non‑functional representation of the field geometry Worth keeping that in mind. Turns out it matters..
4. Biological Growth Patterns
Consider a cross‑section of a tree trunk showing rings. The radius (r) versus age (t) is a function, but the relationship between wood density and distance from the center can be multi‑valued: the same density may appear at two different radii due to seasonal growth variations, producing a non‑functional graph.
These examples demonstrate that non‑functional graphs are not merely mathematical curiosities; they model phenomena where a single input can lead to multiple outcomes The details matter here. Took long enough..
Frequently Asked Questions
Q1: If a graph fails the vertical line test, does that mean it’s useless for calculations?
A: Not at all. Non‑functional graphs can still be analyzed using implicit differentiation, parametric equations, or by splitting the relation into several functions. Many physical laws (e.g., the circle equation for planetary orbits) are naturally expressed implicitly.
Q2: Can a relation be a function in one direction but not the other?
A: Yes. The circle fails the vertical test (not a function (y = f(x))) but passes the horizontal line test, making it a function (x = g(y)) on each side of the vertical diameter. Switching the roles of (x) and (y) can turn a non‑function into a function.
Q3: Is the absolute value graph (|x|) a function?
A: Absolutely. The graph of (y = |x|) passes the vertical line test because each (x) yields a unique non‑negative (y). The shape is a V, not to be confused with the sideways V of (x = |y|), which would be non‑functional.
Q4: How do calculators handle non‑functional graphs?
A: Most graphing calculators automatically solve for (y) and plot each real branch separately. When an equation yields multiple (y) values for a given (x), the device draws each branch as a distinct curve, effectively performing the splitting described earlier Practical, not theoretical..
Q5: Can a relation be both a function and not a function depending on the domain?
A: Yes. Restricting the domain can eliminate the problematic vertical intersections. Take this: the relation (x^2 + y^2 = 1) becomes a function (y = \sqrt{1 - x^2}) if we limit the domain to the upper semicircle only Took long enough..
Conclusion
Understanding an example of a graph that is not a function deepens comprehension of what a function truly represents: a single output for each input. The vertical line test offers a quick visual check, while implicit equations, circles, ellipses, sideways parabolas, and more complex curves illustrate how multiple outputs can arise naturally. By learning to decompose such graphs into piecewise functions or by restricting domains, students and professionals can work with these relations effectively, whether they appear in pure mathematics, physics, economics, or everyday observations.
Remember, a graph’s failure to be a function does not diminish its importance. Now, instead, it invites richer analytical tools—implicit differentiation, parametric representation, and piecewise definitions—that expand our ability to model the world. The next time you encounter a curve that loops back on itself, you’ll recognize it as a valuable example of a non‑functional graph and know exactly how to handle it.