Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Horizontal line test
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Test for the injectivity of a function}} In [[mathematics]], the '''horizontal line test''' is a test used to determine whether a [[function (mathematics)|function]] is [[injective]] (i.e., one-to-one).<ref name="Stewart">{{cite book|last=Stewart|first=James|title=Single Variable Calculus: Early Transcendentals|year=2003|publisher=Brook/Cole|location=Toronto ON|isbn=0-534-39330-6|pages=[https://archive.org/details/singlevariableca00stew/page/64 64]|url=https://archive.org/details/singlevariableca00stew/page/64|edition=5th.|authorlink=James Stewart (mathematician)|accessdate=15 July 2012|quote=Therefore, we have the following geometric method for determining whether a function is one-to-one.|url-access=registration}}</ref> ==In calculus== A ''horizontal line'' is a straight, flat line that goes from left to right. Given a function <math>f \colon \mathbb{R} \to \mathbb{R}</math> (i.e. from the [[real numbers]] to the real numbers), we can decide if it is [[injective]] by looking at horizontal lines that intersect the function's [[graph of a function|graph]]. If any horizontal line <math>y=c</math> intersects the graph in more than one point, the function is not injective. To see this, note that the points of intersection have the same y-value (because they lie on the line <math>y=c</math>) but different x values, which by definition means the function cannot be injective.<ref name="Stewart"/> {| border="1" |- | align="center"|[[Image:Horizontal-test-ok.png]]<br> Passes the test (injective) | align="center"|[[Image:Horizontal-test-fail.png]]<br> Fails the test (not injective) |} Variations of the horizontal line test can be used to determine whether a function is [[surjective]] or [[bijective]]: *The function ''f'' is surjective (i.e., onto) [[if and only if]] its graph intersects any horizontal line at '''least''' once. *''f'' is bijective if and only if any horizontal line will intersect the graph '''exactly''' once. ==In set theory== Consider a function <math>f \colon X \to Y</math> with its corresponding [[graph of a function|graph]] as a subset of the [[Cartesian product]] <math>X \times Y</math>. Consider the horizontal lines in <math>X \times Y</math> :<math>\{(x,y_0) \in X \times Y: y_0 \text{ is constant}\} = X \times \{y_0\}</math>. The function ''f'' is [[injective]] [[if and only if]] each horizontal line intersects the graph at most once. In this case the graph is said to pass the horizontal line test. If any horizontal line intersects the graph more than once, the function fails the horizontal line test and is not injective.<ref>{{cite book|last1=Zorn|first2=Arnold |last2=Ostebee |first1=Paul|title=Calculus from graphical, numerical, and symbolic points of view|year=2002|publisher=Brooks/Cole/Thomson Learning|location=Australia|isbn=0-03-025681-X|pages=185|url=https://books.google.com/books?id=D48RplvmxVUC&q=horizontal+line+test|edition=2nd|quote=No horizontal line crosses the f-graph more than once.}}</ref> == See also == *[[Vertical line test]] *[[Inverse function]] *[[Monotonic function]] ==References== {{reflist}} [[Category:Basic concepts in set theory]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite book
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Search
Search
Editing
Horizontal line test
Add topic