Precalculus-I · Unit 1 · Video 5 · Interactive Practice
Vertical and Horizontal Line Tests and the Toolkit Functions
IKey Formulas
Idea
Statement
Video example
Vertical line test
If some vertical line x=a meets the graph more than once, the graph is not a function.
x2+y2=9 at x=2: y=±5
Horizontal line test
If some horizontal line y=k meets the graph of a function more than once, the function is not one-to-one.
y=x2−1 at y=3: x=±2
One-to-one by algebra
Solve for the input: each output must give back exactly one input.
A=πr2,r>0⇒r=A/π
Key Insight: Being a function is a condition on the inputs (each input has one output). Being one-to-one adds the same condition on the outputs (each output has one input), so the horizontal line test only makes sense after the vertical line test has passed.
IIFunction or One-to-One? Arrow Diagrams
A function limits the arrows leaving each input; a one-to-one function also limits the arrows arriving at each output.
IIIThe Two Line Tests
A vertical line marks one input, a horizontal line one output; meeting the graph twice breaks the rule.
IVThe Nine Toolkit Functions
All nine toolkit graphs pass the vertical line test; one horizontal line at height k splits them.
Constant f(x)=c, here c=2
Identity f(x)=x
Absolute value f(x)=∣x∣
Quadratic f(x)=x2
Cubic f(x)=x3
Reciprocal f(x)=x1
Reciprocal squared f(x)=x21
Square root f(x)=x
Cube root f(x)=3x
💡 Each thumbnail shows only −3≤x≤3, but the crossings are counted over the whole domain: the cube root meets y=2 at x=8, off the picture.
VQuiz Questions
Problem 1 · A Vertical Line Through a Circle
Given: the circle x2+y2=25 and the vertical line x=3. Find every point where the line meets the circle.
✅ Correct! One input, x=3, has two outputs, 4 and −4, so the circle is not a function.
❌ Not quite.y2=16 has two solutions, y=4 and y=−4; the line also meets the lower half of the circle.
❌ Not quite.y2=16 means y is a square root of 16, not 16 itself; (3,16) is not even on the circle, since 9+256=25.
❌ Not quite. On the line x=3 every point has first coordinate 3; these points have y=3 instead.
Show solution
Substitute x=3 into the equation of the circle:
32+y2=25⇒9+y2=25⇒y2=16⇒y=±4
The line meets the circle at (3,4) and (3,−4). One input gives two outputs, so by the vertical line test the circle is not a function.
Problem 2 · Which Test Comes First?
Given: the sideways parabola x=y2−2. Every horizontal line y=k meets it exactly once, at (k2−2,k). Is this graph a one-to-one function?
✅ Correct! One-to-one is a property of functions, and this graph fails the vertical line test first.
❌ Not quite. The horizontal line test is used only after the vertical line test has passed; check the vertical lines first.
❌ Not quite. The stem says each horizontal line meets it once, at (k2−2,k); the failure is somewhere else.
❌ Not quite. A function of x needs each inputx to give one output y; here x=2 gives y=2 and y=−2.
Show solution
Step 1: vertical line test. At x=2:
2=y2−2⇒y2=4⇒y=±2
The vertical line x=2 meets the graph at (2,2) and (2,−2), so the graph is not a function of x.
Step 2. Because it is not a function, the question "is it one-to-one?" does not arise; passing the horizontal line test does not rescue it. The answer is no.
Problem 3 · Area Back to Radius
Given: the area of a circle, A=πr2 with r>0. A circle has area A=9π. Find its radius, then the inputs that would share this output if r could be any real number.
What is the radius?
If r could be any real number, which two inputs would πr2 send to 9π?
✅ Correct! With r>0 each area gives back one radius, so A=πr2 is one-to-one; on all real numbers 3 and −3 share the output 9π.
❌ Check the radius. Divide by π, then take the square root: r2=9.
❌ Close.r2=9 has the solutions ±3, but a radius is a length, so r>0 keeps only one of them.
❌ Not quite. Dividing by π gives r2=9; one more step, the square root, gives r.
❌ Not quite. That is 9π: divide both sides by π before taking the square root.
❌ Check the pair. Substitute each number into πr2; both must give exactly 9π.
❌ Not quite.9 is the value of r2, not a second radius: π(9)2=81π.
❌ Not quite.π(31)2=9π; the second input is the opposite of 3, not its reciprocal.
❌ Not quite.π(9)2=81π, not 9π; the inputs are the square roots of 9.
Show solution
Step 1: solve for the input.
9π=πr2⇒r2=π9π=9⇒r=±3
A radius is positive, so r=3. Each area gives back exactly one radius, r=A/π, so the area is a one-to-one function of the radius.
Step 2: drop the condition r>0.
π(3)2=9ππ(−3)2=9π
The two inputs 3 and −3 share the output 9π, so on all real numbers the formula πr2 is not one-to-one. The restriction r>0 is what makes it one-to-one.
Problem 4 · Sorting Toolkit Functions
Given:g(x)=∣x∣, h(x)=3x, k(x)=x21 and m(x)=x1. Decide which are one-to-one, then find two inputs that show k is not.
Which of the four are one-to-one?
Which pair of inputs does k(x)=x21 send to the same output 41?
✅ Correct!h and m pass the horizontal line test; k(2)=k(−2)=41 shows k fails it, as does g(2)=g(−2)=2 for g.
❌ Check the set. Look for opposite inputs that give the same output.
❌ Not quite.g(−2)=g(2)=2: the horizontal line y=2 meets the V twice.
❌ Not quite. The reciprocal sends each nonzero input to its own output: if a1=b1 then a=b, so m is one-to-one too.
❌ Not quite. Squaring erases the sign: k(−1)=k(1)=1, so both branches of k sit above the axis and a horizontal line meets both.
❌ Check the pair. Substitute each input into x21; both must give 41.
❌ Not quite.k(4)=161, not 41: the square of the input must be 4.
❌ Not quite.k(21)=1/41=4, the reciprocal of the target.
❌ Not quite.k(2)=41, but k(21)=4; the two inputs must have the same square.
Show solution
Step 1: test each function.
g(x)=∣x∣: g(−2)=g(2)=2, so not one-to-one.
h(x)=3x: each output y comes only from x=y3, so one-to-one.
k(x)=x21: k(−1)=k(1)=1, so not one-to-one.
m(x)=x1: each nonzero output y comes only from x=y1, so one-to-one.
Step 2: solve k(x)=41.
x21=41⇒x2=4⇒x=2 or x=−2
Check: k(2)=41 and k(−2)=(−2)21=41. The horizontal line y=41 meets the graph of k twice.