TExcelTAD
Home › School Functions, Exponentials & Logarithms › The Cartesian Graph of f(x), Vertical Line Test & Reading Coordinates

The Cartesian Graph of f(x)f(x), Vertical Line Test & Reading Coordinates

A mathematical formula allows you to calculate outputs one number at a time. A graph, however, allows you to see the entire behavior of a function across all numbers simultaneously: where it rises, where it falls, where it crosses zero, and whether it represents a valid function at all.

Graphing on paper using a pencil, grid paper, and a ruler turns abstract algebra into geometric shapes that you can inspect, measure, and analyze.


What Is the Graph of a Function?

In coordinate geometry, the graph of a function ff is the set of all ordered pairs (x,y)(x, y) plotted on a Cartesian plane such that y=f(x)y = f(x):

Graph(f)={(x,y)∈R2∣x∈Df and y=f(x)}\text{Graph}(f) = \{(x, y) \in \mathbb{R}^2 \mid x \in D_f \text{ and } y = f(x)\}
  • The horizontal axis (xx-axis) represents the domain (inputs).
  • The vertical axis (yy-axis) represents the range (outputs).
  • Every single point on the curve has coordinates of the form:
    (x,f(x))(x, f(x))

The Vertical Line Test (VLT)

How can you tell by looking at a curve in your notebook whether it represents a function y=f(x)y = f(x)?

The Vertical Line Test:
A curve in the Cartesian coordinate plane is the graph of a function of xx if and only if no vertical line intersects the curve at more than one point.

    Function (Passes VLT)               NOT a Function (Fails VLT)
           y                                    y
           │   ╭───╮                            │     ╭───╮
           │  ╭╯   ╰╮                           │    ╭╯   │╰╮
      ─────┼──┼─────┼───► x                ─────┼───(●)───┼─(●)► x
           │  │     │                           │    ╰╮   │╭╯
           │  │     │                           │     ╰───╯
        x = c intersects                    x = c intersects
        at EXACTLY ONE point                at TWO points!

Why Does the Test Work?

A vertical line has the algebraic equation x=cx = c, where cc is a constant.

  • If a vertical line crosses the graph at two or more points (c,y1)(c, y_1) and (c,y2)(c, y_2) with y1≠y2y_1 \neq y_2, then the single input x=cx = c produces two different outputs y1y_1 and y2y_2.
  • This directly violates the fundamental rule of functions!

Therefore:

  • Passes VLT: Every vertical line cuts the curve at at most one point   ⟹  \implies Valid Function.
  • Fails VLT: If even one vertical line cuts the curve at two or more points   ⟹  \implies NOT a Function.

Reading Coordinates and Solving Equations on a Graph

When inspecting a graph on paper, two opposite questions frequently appear on exams:

Question 1 (Evaluate):"Find f(a)"  ⟹  Given input x=a, find output y.Question 2 (Solve):"Solve f(x)=b"  ⟹  Given output y=b, find all input(s) x.\begin{aligned} \text{\textbf{Question 1 (Evaluate):}} \quad &\text{"Find } f(a)\text{"} \\ &\implies \text{Given input } x = a, \text{ find output } y. \\ \text{\textbf{Question 2 (Solve):}} \quad &\text{"Solve } f(x) = b\text{"} \\ &\implies \text{Given output } y = b, \text{ find all input(s) } x. \end{aligned}

Paper Reading Procedure:

  1. To evaluate f(a)f(a) on paper:

    • Locate the number aa on the horizontal xx-axis.
    • Trace vertically (up or down) with your pencil until you touch the graph at point (a,b)(a, b).
    • Look horizontally across to the vertical yy-axis to read the output value bb. Then write f(a)=bf(a) = b.
  2. To solve f(x)=bf(x) = b on paper:

    • Locate the number bb on the vertical yy-axis.
    • Lay your ruler horizontally along the line y=by = b.
    • Mark every point where the ruler intersects the graph.
    • Trace vertically from each intersection point down (or up) to the xx-axis to read the solution values of xx.
  3. Finding Intercepts:

    • yy-intercept: The point where the graph crosses the vertical axis. Found by calculating f(0)f(0). A function can have at most one yy-intercept.
    • xx-intercepts (Roots or Zeros): The points where the graph crosses the horizontal axis. Found by solving f(x)=0f(x) = 0. A function can have zero, one, or multiple zeros!

Step-by-Step Paper Notebook Method

How to Plot a Function by Hand:

  1. Set up a Grid: Use grid paper. Draw perpendicular axes with a ruler. Add arrows and label the axes xx and yy. Choose a uniform scale (e.g., 1 grid square=1 unit1\text{ grid square} = 1\text{ unit}).
  2. Build an Input-Output Table: Choose 55 to 77 convenient values of xx centered around points of interest (such as negative numbers, zero, and positive numbers).
  3. Calculate Each y=f(x)y = f(x): Show your substitution steps clearly.
  4. Plot the Ordered Pairs: Place a small, sharp dot at each (x,y)(x, y).
  5. Connect with a Smooth Curve: Connect the points smoothly from left to right. Do not use a ruler to connect curved functions like parabolas!
  6. Check the VLT: Move a straight pencil vertically across your drawn curve from left to right to verify it passes the Vertical Line Test.

Worked Examples

Example 1: Applying the Vertical Line Test on Paper

Problem: Determine whether each of the following geometric figures plotted in the Cartesian plane represents a function y=f(x)y = f(x):

  1. A circle centered at the origin: x2+y2=25x^2 + y^2 = 25.
  2. A cubic curve: y=x3−4xy = x^3 - 4x.
  3. A sideways parabola: x=y2+2x = y^2 + 2.

Step-by-Step Paper Analysis:

  1. The Circle x2+y2=25x^2 + y^2 = 25:

    • Draw or visualize the vertical line x=0x = 0 (the yy-axis).
    • Substitute x=0x = 0 into the equation:
      02+y2=25  ⟹  y=±50^2 + y^2 = 25 \implies y = \pm 5
    • The line x=0x = 0 intersects the circle at two points: (0,5)(0, 5) and (0,−5)(0, -5).
    • Conclusion: It fails the Vertical Line Test. A circle is not a function.
  2. The Cubic Curve y=x3−4xy = x^3 - 4x:

    • For every real value of xx, evaluating x3−4xx^3 - 4x produces exactly one real number yy.
    • Any vertical line x=cx = c cuts this continuous curve at exactly one point (c,c3−4c)(c, c^3 - 4c).
    • Conclusion: It passes the Vertical Line Test. This cubic curve is a function.
  3. The Sideways Parabola x=y2+2x = y^2 + 2:

    • Consider the vertical line x=6x = 6.
    • Substitute x=6x = 6:
      6=y2+2  ⟹  y2=4  ⟹  y=±26 = y^2 + 2 \implies y^2 = 4 \implies y = \pm 2
    • The vertical line x=6x = 6 cuts the curve at two distinct points: (6,2)(6, 2) and (6,−2)(6, -2).
    • Conclusion: It fails the Vertical Line Test. It is not a function of xx.

Example 2: Reading Key Features from a Graph

Problem: A function y=f(x)y = f(x) has a smooth graph passing through the following critical points:

(−4,0),(−2,4),(0,0),(2,−4),(4,0)(-4, 0), \quad (-2, 4), \quad (0, 0), \quad (2, -4), \quad (4, 0)

Using these coordinates on paper:

  1. Determine the zeros (xx-intercepts) of f(x)f(x).
  2. State the yy-intercept.
  3. Evaluate f(−2)f(-2) and f(2)f(2).
  4. Solve the equation f(x)=0f(x) = 0.

Step-by-Step Paper Solution:

  1. Find Zeros (xx-intercepts):

    • The zeros are the values of xx where y=0y = 0.
    • Looking at the given points with second coordinate 00:
      (−4,0),(0,0),(4,0)(-4, 0), \quad (0, 0), \quad (4, 0)
    • The zeros are x=−4x = -4, x=0x = 0, and x=4x = 4.
  2. Find the yy-intercept:

    • The yy-intercept is the point where x=0x = 0.
    • The graph contains the point (0,0)(0, 0).
    • Thus, the yy-intercept is at the origin (0,0)(0, 0), so f(0)=0f(0) = 0.
  3. Evaluate f(−2)f(-2) and f(2)f(2):

    • At x=−2x = -2, the point is (−2,4)(-2, 4), so f(−2)=4f(-2) = 4.
    • At x=2x = 2, the point is (2,−4)(2, -4), so f(2)=−4f(2) = -4.
  4. Solve f(x)=0f(x) = 0:

    • Solving f(x)=0f(x) = 0 is identical to listing all inputs that yield y=0y = 0.
    • Solution set:
      x∈{−4,0,4}x \in \{-4, 0, 4\}

Final Answers:

  1. Zeros: x=−4,0,4x = -4, 0, 4.
  2. yy-intercept: (0,0)(0, 0).
  3. f(−2)=4,f(2)=−4f(-2) = \mathbf{4}, \quad f(2) = \mathbf{-4}.
  4. Solutions to f(x)=0f(x) = 0: x∈{−4,0,4}x \in \{-4, 0, 4\}.

Example 3: Hand-Plotting a Quadratic Graph from a Table

Problem: Construct a clean table of values for f(x)=x2−2x−3f(x) = x^2 - 2x - 3 on the interval [−2,4][-2, 4], plot the points on paper, and identify the coordinates of the turning point (vertex) and the xx-intercepts.

Step-by-Step Paper Calculation:

  1. Build a column table of values:
xx x2x^2 −2x-2x −3-3 y=f(x)y = f(x) Ordered Pair (x,y)(x, y)
−2-2 44 +4+4 −3-3 55 (−2,5)(-2, 5)
−1-1 11 +2+2 −3-3 00 (−1,0)(-1, 0)
00 00 00 −3-3 −3-3 (0,−3)(0, -3)
11 11 −2-2 −3-3 −4-4 (1,−4)(1, -4)
22 44 −4-4 −3-3 −3-3 (2,−3)(2, -3)
33 99 −6-6 −3-3 00 (3,0)(3, 0)
44 1616 −8-8 −3-3 55 (4,5)(4, 5)
  1. Observe symmetry on paper:

    • Look at the yy-values: 5,0,−3,−4,−3,0,55, 0, -3, \mathbf{-4}, -3, 0, 5.
    • The lowest value reached is y=−4y = -4 at x=1x = 1.
    • The points are perfectly symmetric around the vertical line x=1x = 1.
  2. Identify Features:

    • Vertex (Lowest point): (1,−4)(1, -4).
    • xx-intercepts: Where y=0  ⟹  (−1,0)y = 0 \implies (-1, 0) and (3,0)(3, 0).
    • yy-intercept: Where x=0  ⟹  (0,−3)x = 0 \implies (0, -3).

Final Answer: The vertex is (1,−4)(1, -4), and the zeros are x=−1x = -1 and x=3x = 3.


Common Mistakes & Paper Traps

Paper Trap What Goes Wrong Correct Paper Habit
Swapping xx and yy Axes Plotting (2,−3)(2, -3) as two steps down and three steps right. Remember the alphabet: xx comes before yy. Move horizontally first (xx), then vertically (yy).
Connecting Points with Straight Lines Drawing rigid "connect-the-dots" polygonal lines for curves. Polynomials and smooth functions are curved. Draw a gentle, continuous curve through points.
Multiple yy-Intercepts Drawing a graph that crosses the vertical yy-axis at both y=2y=2 and y=−2y=-2. The yy-axis is the vertical line x=0x = 0. By the VLT, a function can have at most one yy-intercept!
Confusing f(a)=bf(a) = b with f(b)=af(b) = a Reading the input on the vertical axis by mistake. Inputs are strictly on the xx-axis. Outputs are strictly on the yy-axis.

Pencil & Paper Practice

Complete these exercises in your notebook before checking the solutions below.

Practice 1

A curve has the equation x=y2−4x = y^2 - 4. Choose the test input x=0x = 0 to demonstrate algebraically why this curve fails the Vertical Line Test.

Practice 2

A function g(x)g(x) is graphed on a grid. The horizontal line y=5y = 5 crosses the graph of g(x)g(x) at x=−3x = -3, x=1x = 1, and x=6x = 6.

  1. Does this violate the Vertical Line Test? Explain.
  2. What are the solutions to the equation g(x)=5g(x) = 5?

Practice 3

Given the function f(x)=6−2xf(x) = 6 - 2x:

  1. Calculate the xx-intercept and the yy-intercept on paper.
  2. Sketch the line on paper by connecting the two intercepts with a ruler.

Worked Solutions

Solution 1

  1. Set x=0x = 0 in the equation:
0=y2−4y2=4y=±2\begin{aligned} 0 &= y^2 - 4 \\ y^2 &= 4 \\ y &= \pm 2 \end{aligned}
  1. The vertical line x=0x = 0 intersects the curve at two distinct points: (0,2)(0, 2) and (0,−2)(0, -2).
  2. Result: Because a vertical line intersects the curve more than once, it fails the VLT and is not a function.

Solution 2

  1. No, it does NOT violate the VLT. The Vertical Line Test requires that vertical lines intersect at most once. A horizontal line intersecting multiple times simply means the function is many-to-one (multiple inputs produce the output 55), which is completely permitted for functions.
  2. The solutions to g(x)=5g(x) = 5 are the xx-coordinates of the intersections:
x∈{−3,1,6}x \in \{-3, 1, 6\}

Solution 3

  1. Find yy-intercept (x=0x = 0):
f(0)=6−2(0)=6  ⟹  (0,6)f(0) = 6 - 2(0) = 6 \implies (0, 6)
  1. Find xx-intercept (f(x)=0f(x) = 0):
6−2x=0−2x=−6x=3  ⟹  (3,0)\begin{aligned} 6 - 2x &= 0 \\ -2x &= -6 \\ x &= 3 \implies (3, 0) \end{aligned}
  1. Result: Plot (0,6)(0, 6) on the yy-axis and (3,0)(3, 0) on the xx-axis. Lay a straightedge across both points and draw the straight line.

Test yourself

Which of the following geometric figures in the Cartesian plane passes the Vertical Line Test?

  1. A full circle of radius 44
  2. A parabola that opens upwards: y=x2−4x+3y = x^2 - 4x + 3
  3. A sideways parabola that opens to the right: x=y2x = y^2
  4. A vertical line: x=−2x = -2

A student looks at a graph and sees that the horizontal line y=3y = 3 intersects the graph at four different points. What can be concluded about the graph?

  1. It cannot be a function because it fails the Vertical Line Test
  2. It is a function, and the equation f(x)=3f(x) = 3 has four distinct real solutions
  3. The domain has only four numbers in it
  4. The yy-intercept must equal 33

How many yy-intercepts can a valid function y=f(x)y = f(x) have on the Cartesian plane?

  1. At most one
  2. Exactly two
  3. Any number of intercepts
  4. At least one