Two taxi services price a ride in different ways, one with a high base fare and a low rate per kilometer, the other the reverse. For short rides one is cheaper, for long rides the other, and at one distance they cost the same. That break-even distance is where two graphs cross, and the question of which plan is cheaper is the question of which graph is lower. Calculus asks the same two questions whenever it finds the area between two curves.
Key terms
Curve intersection and common point
Definition A point is a common point, or intersection point, of two curves when it lies on both of them. For the graphs of functions and this means that is in the domain of and in the domain of , and
The intersection of the two curves is the set of all such points.
In plain words The two graphs pass through the very same spot.
Example The graphs of and meet where , that is at . Both functions give there, so the common point is .
Same input and same output
Definition At an intersection of two function graphs, the input is the same for both functions and the output is the same for both functions. Equal outputs at different inputs do not give a common point, and a common input with different outputs does not either.
In plain words Both coordinates must agree. Hitting the same height at different places is not a meeting.
Example For and , we have and . The output is shared, but the points and are different points, so neither is an intersection. At the common input the outputs are and , again no meeting. The only common point is .
Simultaneous equations
Definition The intersection points of and are the solutions of the two equations taken together. Eliminating gives the single equation
Each solution gives the intersection point . Solutions outside the common domain do not count.
In plain words Set the two outputs equal, solve for , then use either formula to get the height.
Example Take and , both defined for all real . Setting them equal,
So or . The intersection points are and , and each one checks in both formulas.
Extraneous intersections
Definition Solving sometimes uses a step that is not reversible, such as squaring both sides. Such a step can produce candidates that are not solutions of the original equation. A candidate is a true intersection only if it lies in both domains and makes hold exactly. A candidate that fails is called extraneous and is discarded.
In plain words Squaring makes look like . After squaring, plug every candidate back into the original equation.
Example Find where meets the line . Squaring gives
Check each candidate in the original equation. At the root gives while the line gives , so is extraneous. At both give . The only intersection is . The false candidate appeared because is never negative, while is negative at .
Vertical difference
Definition For two functions and , the vertical difference is the function
Its value is the signed vertical distance from the graph of up to the graph of at the input . The intersections of the two graphs occur exactly at the zeros of .
In plain words Stand at one input and measure from the graph of to the graph of . The size of the number is the gap, and its sign tells you which graph is on top.
Example For and ,
At the gap is , so the line is units above the parabola there. The zeros and are the intersections found before.
Which curve is higher
Definition At an input in both domains, the graph of is higher than the graph of when , lower when , and the graphs meet when the difference is . Higher and lower are statements about one input at a time.
In plain words Subtract and look at the sign. Positive means the first function is on top.
Example For and the difference at is , so the parabola is higher there. At it is , so the line is higher. Later, the area between two curves is built from the top function minus the bottom function, so getting this sign right matters.
Interval splitting
Definition Suppose is continuous on an interval and has no zeros there. Then keeps one sign on the whole interval, by the intermediate value theorem, since a continuous function that took a positive and a negative value on an interval would have to equal somewhere between them. So when and are continuous on their domains, find all zeros of and all points where the common domain breaks into separate intervals, split the common domain at those points, and test one input in each piece. A sampled picture or a table of values alone does not prove where the graphs cross or which is higher, because two crossings can hide between sample points.
In plain words The graphs can only swap places where they meet or where something breaks. Between those points, one test value tells you the whole story.
Example For the zeros are and .
| Interval | Test input | Sign of | Higher graph |
|---|---|---|---|
| negative | parabola | ||
| positive | line | ||
| negative | parabola |
Sampling alone can mislead. For and the differences at are , , and , all positive. Yet the difference factors as , so the graphs cross twice and the line is higher on .
Check yourself
- Find the intersection points of and , and decide which graph is higher between them.
Show the answer
Setting the outputs equal gives , so and or . The points are and . At the difference equals , which is positive, so the line is higher on .
- Find every intersection of and .
Show the answer
Squaring gives , so and the candidates are and . At the root gives and the line gives , so that candidate is extraneous. At both give . The only intersection is .
- Where is the graph of higher than the graph of ?
Show the answer
The difference factors as , with zeros , and . Testing , , and gives the signs negative, positive, negative and positive. So the cubic is higher on .