Plotting and Reading Graphs
Learning objectives
- Use the vertical line test to determine if a curve is a function graph
- Identify key features of a graph: intercepts, symmetry, extrema
- Apply basic transformations: shifts, reflections, stretches
- Sketch graphs of standard functions
A graph is the function's autobiography. Every input and its output appear together as a point in the plane, and the shape of the resulting curve broadcasts every important property: where the function vanishes, where it peaks, whether it is even or odd, what it does far from the origin. Learning to read graphs is the difference between manipulating symbols and actually understanding the function.
The graph as a point set
The graph of a function is the set of points
Plotting that set on coordinate axes produces a curve. The horizontal coordinate tells you the input; the height of the curve above (or below) it tells you the output.
The vertical line test
A curve in the plane is the graph of a function if and only if every vertical line intersects it in at most one point. This is just the definition restated visually: each input has at most one output, so the vertical line can hit the curve at most once. The circle fails the test (at both and lie on it), so it is not a function graph.
Standard library
Six graphs to memorise, they recur everywhere:
- , line through origin at 45^\circ.
- , parabola opening up, vertex at origin.
- , S-shaped cubic, passing through origin with a flat moment.
- , V opening up.
- , right half of a sideways parabola.
- , hyperbola with two branches, asymptotes at both axes.
Transformations, shift, reflect, stretch
Starting from , the transformations follow a simple grammar:
- shifts the graph up by .
- shifts the graph right by .
- reflects across the -axis.
- reflects across the -axis.
- stretches vertically by .
The shifts look reversed from what you might expect, moves the graph to the right, not left, because the formula asks for an -value units bigger to produce the same output.
Symmetry: even and odd
A function is even if for every ; its graph is symmetric about the -axis. It is odd if ; its graph is symmetric about the origin (rotate the plane 180^\circ and the curve maps to itself). The polynomial is even; is odd. Most functions are neither.
- Data Visualisation: Every line chart, bar chart, and scatter plot is a function graph; identifying intercepts (when did sales hit zero?) and extrema (when was the peak?) is the primary language of business analytics.
- Physics: Phase diagrams and field maps are 2D function graphs; the contour at is the zero-energy locus, and extrema correspond to equilibrium states.
- Image Processing: Histogram-equalisation transformations on an image apply a specific function to each pixel intensity; the function's graph is exactly the lookup-table the photo editor uses to brighten or darken.
(Pick a family and drag the coefficients. Note how every transformation in the list above appears as a slider: shifts horizontally, shifts vertically, the sign of reflects.)
Try it
- Predict first: for with , which way should the V open? Pick the absolute-value family and drag to ; explain in one sentence why a negative flips the V.
- Before setting: for , does the parabola open up or down, and where is its axis of symmetry? Set and verify it opens downward and is symmetric about the -axis.
- Sketch on paper the transformation from to . Verify in the widget.
Pause: a function passes the vertical line test. Could its graph still be a closed curve? Why or why not?
A trap to watch for
Beginners read and shift the graph left by 3 because the formula has a minus sign. This is backwards. The shift goes in the opposite direction from what the sign suggests because is asking the original to accept a smaller input than , specifically, three less. To get the same output as the old produced at, say, , you now need to feed in . So the curve shifts to the right. Rule of thumb: solve for what makes the inner expression zero, and that is where the old origin lands.
What you now know
You can plot a function as a point set, decide whether a curve is a function graph (vertical line test), recognise the six standard graphs by silhouette alone, apply shifts/reflections/stretches by reading them off the formula, and test for even/odd symmetry both algebraically and visually. The next two sections introduce two profoundly important non-polynomial families, the exponential and the logarithm, whose graphs you will recognise instantly once you have spent five minutes with the widget.
Quick check
Mark section complete →
References
- Lang, S. (1971). Basic Mathematics. Springer. Chapter 13 §3, graphs of polynomial functions, transformations.
- Stewart, J. (2015). Calculus: Early Transcendentals, 8th ed. Cengage. Sections 1.2–1.3, the standard library, transformations, and symmetry.
- Spivak, M. (2008). Calculus, 4th ed. Publish or Perish. Chapter 4: graphs as point sets and the vertical line test.