Horizontal Line Test Examples in Math
Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Horizontal Line Test.
This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.
Concept Recap
The horizontal line test is a visual method to determine whether a function is one-to-one (injective). If every horizontal line intersects the function's graph at most once, the function passes the test and has an inverse function on its full domain.
A horizontal line that crosses the graph at two points means those two inputs produce the same output β the function is many-to-one and has no inverse without domain restriction.
Read the full concept explanation βHow to Use These Examples
- Read the first worked example with the solution open so the structure is clear.
- Try the practice problems before revealing each solution.
- Use the related concepts and background knowledge badges if you feel stuck.
What to Focus On
Core idea: If no horizontal line hits the graph more than once, the function is one-to-one and invertible.
Common stuck point: The procedure for horizontal line test is the easy part; the trap is using vertical lines instead of horizontal. Asking "Does every horizontal line cross the graph at most once?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
Sense of Study hint: Ask: Does every horizontal line cross the graph at most once?
Worked Examples
Example 1
easyAnswer
First step
Full solution
- 2 Any horizontal line intersects a non-horizontal line at most once.
- 3 Since every horizontal line crosses the graph at most once, passes the horizontal line test and is one-to-one.
Example 2
mediumExample 3
mediumExample 4
hardPractice Problems
Try these problems on your own first, then open the solution to compare your method.
Example 1
mediumExample 2
hardExample 3
easyExample 4
easyExample 5
easyExample 6
easyExample 7
easyExample 8
easyExample 9
easyExample 10
easyExample 11
mediumExample 12
mediumExample 13
mediumExample 14
mediumExample 15
mediumExample 16
mediumExample 17
mediumExample 18
mediumExample 19
mediumExample 20
challengeExample 21
challengeExample 22
challengeExample 23
easyExample 24
easyExample 25
easyExample 26
easyExample 27
easyExample 28
easyExample 29
mediumExample 30
mediumExample 31
mediumExample 32
mediumExample 33
mediumExample 34
mediumExample 35
mediumExample 36
mediumExample 37
mediumExample 38
hardExample 39
hardExample 40
hardExample 41
hardExample 42
hardExample 43
challengeExample 44
challengeRelated Concepts
Background Knowledge
These ideas may be useful before you work through the harder examples.