How to Graph and Compare Multiple Functions
To graph multiple functions, enter each on its own line; each gets its own color on the same axes. Comparing them on one graph shows which grows faster, where they are equal (intersections) and where one is above the other. Choose a window that includes all the curves and use the results panel to read intersection points exactly.
Check it yourself: every example here can be loaded into the Graphing Calculator.
Open the Graphing CalculatorWhy put functions on one graph?
Graphing functions together answers comparison questions at a glance:
- Which is bigger for a given x? The higher curve.
- Where are they equal? Where the curves cross.
- Which grows faster? The curve that pulls away.
- How are they related? Shifts and stretches line up visually.
How to do it
- Enter the first function, for example y = x.
- Add a line for each additional function: y = x², y = 2^x.
- Pick a window that contains all of them (here x from −2 to 6, y from −1 to 20).
- Read the intersections in the Results panel.
- Hide a curve temporarily by clicking its coloured circle.
- Compare y = x, y = x² and y = 2^x — opens the Graphing Calculator
Comparing growth: x, x² and 2ˣ
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
| x² | 0 | 1 | 4 | 9 | 16 | 25 | 36 |
| 2ˣ | 1 | 2 | 4 | 8 | 16 | 32 | 64 |
x² and 2ˣ meet at x = 2 and x = 4. Between them x² is larger; after x = 4 the exponential takes over and stays ahead forever. This is a classic result that is much easier to see on a graph than in a table.
Above, below and between
Text description of this figure
Graphs of f(x) = x² and g(x) = x + 2 crossing at (−1, 1) and (2, 4); between x = −1 and x = 2 the line is above the parabola, outside that interval the parabola is above.
- The graphs meet where f(x) = g(x): x = −1 and x = 2.
- Between them the line is above: x + 2 > x².
- Outside them the parabola is above: x² > x + 2.
When two graphs cross at x = a and x = b, they split the x-axis into intervals. On each interval one function stays on top. For f(x) = x² and g(x) = x + 2:
- for −1 < x < 2, g(x) > f(x),
- for x < −1 or x > 2, f(x) > g(x).
This is how you solve an inequality such as x² < x + 2 graphically: the answer is −1 < x < 2.
- Where is x² above x + 2? — opens the Graphing Calculator
Families of functions
Graphing a set of related functions shows the effect of one change. y = x² − 2, x², x² + 2 and x² + 4 are the same parabola moved up and down. Using a slider (type y = x^2 + c) shows the same idea continuously. See function transformations.
- A family of curves y = x² + c — opens the Graphing Calculator
Tips for clear comparison graphs
- Limit to four or five curves per graph.
- Use the hide toggle instead of deleting.
- Label in your notes which colour is which; the Results panel numbers the lines.
- Check the window includes every intersection you care about.
Common mistakes
- Comparing in a window that is too small — x² and 2ˣ look equal-ish near 0 but diverge later.
- Treating a near-touch as an intersection. Zoom in or check the Results panel.
- Reading intersection y-values only. For solving equations you need the x-values.
For precise intersection points, see finding intersections of two graphs, and for linear systems, solving systems by graphing.
Questions
How many functions can I graph at once?
Up to eight in the graphing calculator. More than four or five on one graph usually becomes hard to read.
How do I hide one graph without deleting it?
Click its coloured circle. Click again to show it.
Why do the curves not seem to meet when they should?
The intersection may be outside the window. Zoom out, or check the results panel, which lists intersections found in the current window.
Graph your own example with the Graphing Calculator — free, in your browser.
Try it nowSources and further reading
- OpenStax, College Algebra 2e — 3.1 Functions and Function Notation
- OpenStax, College Algebra 2e — 7.3 Systems of Nonlinear Equations and Inequalities
Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.