Non-functions and the vertical line test

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 9K views
DecayProduct
Messages
67
Reaction score
0
Why does the vertical line test work? If the line hits the graph more than once, it is said to not be a function. But why?
 
Physics news on Phys.org
DecayProduct said:
Why does the vertical line test work? If the line hits the graph more than once, it is said to not be a function. But why?

Hi DecayProduct ! :smile:

Because a map is a function from one space to another …

so, for any point x in the first space, there must be an f(x) in the second space.

There can't be more than one f(x) for the same x.

And if the (vertical) line hit the graph more than once, then that would make two f(x)'s for one x! :smile:
 
The definition of a function is "a set of ordered pairs (x, f(x)) so that now two pairs have the same first member" or, equivalently, a mapping x-> f(x) so that the same x does not give two different values for f(x).

The graph of a relation consists of the points (x,f(x)). A vertical line corresponds to a specific value of x. If a vertical line crosses the graph at two points, that means we have two different values of y associated with the same value of x: f(x)= y1 and f(y)= y2 for different y1 and y2. That violates the definition of "function".
 
Thanks to both of you! That makes sense. I theorized that, but not so eloquently, and of course, wasn't sure if that was even close to why.
 
A curve in the xy plane is the graph of some function ƒ IF no vertical line intersects the curve more than once.

You're right, but don't confuse the "vertical line test" with the "horizontal line test", this is obviously one of the mistakes I made when I started calculus.

The horizontal line test tells you wether a function is one to one and onto or not (ie. a horizontal line can't intersect a bijective function "1:1" more than once)

Be careful with that! :-p