Share on Facebook Share on Twitter Email
Answers.com

Horizontal line test

 
Wikipedia: Horizontal line test

In mathematics, the horizontal line test is a test used to determine if a function is injective, surjective or bijective.

Suppose there is a function f : X → Y with a graph., and you have a horizontal line of X x Y :y_0 \in Y, \{(x,y_0): x \in X\} = (X \times y_0) .

  • If the function is injective, then it can be visualized as one whose graph is never intersected by any horizontal line more than once.
  • If and only if f is surjective, any horizontal line will intersect the graph at least at one point (when the horizontal line is in the codomain).
  • If f is bijective, any line horizontal or vertical will intersect the graph at exactly one point.
Horizontal-test-ok.png

Passes the test (injective)

Horizontal-test-fail.png

Fail the test (not injective)

This test is also used to find whether or not the inverse of the function is indeed a function as well. This is due to the reflective properties of the function over y=x.



Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Horizontal line test" Read more