Section 3.2 Graphing Equations
We have graphed points in a coordinate system, and now we will graph lines and curves.
A graph of an equation is a picture of that equation’s solution set. For example, the graph of is shown in Figure 3.2.3.(c). The graph plots ordered pairs whose coordinates make true. Table 2 shows a few points that make the equation true.
Table 2 tells us that the points and are all solutions to the equation and so they should all be shaded as part of that equation’s graph. You can see them in Figure 3.2.3.(a). But there are many more points that make the equation true. More points are plotted in Figure 3.2.3.(b). Even more points are plotted in Figure 3.2.3.(c)—so many, that together the points look like a straight line.
The graph of an equation shades all the points that make the equation true once the - and -values are substituted in. Typically, there are so many points shaded, that the final graph appears to be a continuous line or curve that you could draw with one stroke of a pen.
Checkpoint 3.2.4.
The point is on the graph in Figure 3.2.3.(c). What happens when you substitute these values into the equation
|
||
Explanation.
Each side of the equation simplifies to In other words, the equation simplifies to an outright true equation.
Checkpoint 3.2.5.
Explanation.
If the point is on once we substitute and into the line’s equation, the equation should be true. Let’s try:
Because this last equation is true, we can say that is on the graph of
However if we substitute and into the equation, it leads to which is false. This tells us that is not on the graph.
To make our own graph of an equation with two variables and we can choose some reasonable -values, then calculate the corresponding -values, and then plot the -pairs as points. For many algebraic equations, connecting those points with a smooth curve will produce an excellent graph.
Example 3.2.6.
Let’s plot a graph for the equation We use a table to organize our work:
Point | ||
Point | ||
We use points from the table to graph the equation in Figure 8. First, we need a coordinate system to draw onto. We will eventually need to see the -values and on the graph. So drawing an -axis that runs from to will be good enough. We will eventually need to see the -values and too. So drawing a -axis that runs from to will be good enough.
Axes should always be labeled using the variable names they represent. In this case, with “ ” and “ ”. The axes should have tick marks that are spaced evenly. In this case it is fine to place the tick marks one unit apart (on both axes). Labeling at least some of the tick marks is necessary for a reader to understand the scale. Here we label the even-numbered ticks.
Then connect the points with a smooth curve. Here, the curve is a straight line. Lastly, we can communicate that the graph extends further by sketching arrows on both ends of the line.
Decisions we made about the scale for each axis is drawn in Figure (a).
Next we carefully plot each point from the table in Figure (b). It’s not necessary to label each point’s coordinates, but we do so here.
Last we connect the points with a smooth curve. Here, the “curve” is a straight line. We communicate that the line extends further by putting arrowheads on both ends.
Note that our choice of -values in the table was arbitrary. As long as we determine the coordinates of enough points to indicate the behavior of the graph, we may choose whichever -values we like. Having a few negative -values will be good. For simpler calculations, it’s fine to choose and
Checkpoint 3.2.9.
Plot a graph for the equation
(a)
First, make a table. This equation doesn’t have any context to help us choose -values for a table. We could use -values like and so on. But take note that there is a fraction in the equation. If we are clever, we can avoid fraction arithmetic which is a source of human error. If we use only multiples of for the -values, then multiplying by will leave us with an integer. So we decide to use and for
Point | ||
Explanation.
Point | ||
(b)
Use points from the table to graph the equation.
Explanation.
Sometimes an equation has context that suggests using other -values, as in the next example.
Example 3.2.10.
The gas tank in Sofia’s car holds 14 gal of fuel. Over the course of a long road trip, her car uses fuel at an average rate of 0.032 gal⁄mi. If Sofia fills the tank at the beginning of a long trip, then the amount of fuel remaining in the tank, after driving miles is given by the equation Make a suitable table of values and graph this equation.
Explanation.
Choosing -values from to as in an earlier example wouldn’t make sense here. Sofia cannot drive a negative number of miles, and any long road trip is longer than miles. So in this context, choose -values that reflect the number of miles Sofia might possibly drive in a day. We choose values like and as well as several values in between.
|
Point | |
In Figure 12, notice how both axes are also labeled with units (“gallons” and “miles”). When the equation you plot has context like this example, including the units in the axes labels is very important to help anyone who reads your graph to understand it better.
In the table, -values ran from to while -values ran from down to So it was appropriate to make the -axis cover something like from to and make the -axis cover something like from to The scales on the two axes ended up being different.
Not all equations make a straight line once they are plotted.
Example 3.2.13.
Explanation.
Point | ||
Once points are plotted and we can see a pattern, we do our best to connect the points with a smooth curve.
In this last example, the points did not fall on a straight line. Many algebraic equations have graphs that are non-linear, where the points do not fall on a straight line. What is it that makes an equation have a straight line?
A linear expression in two variables is an expression in the form where and are numbers, at least one of is nonzero, and are variables. For example, and are linear expressions in two variables. We also count an expression like as a linear expression in two variables, if we view it as
Definition 3.2.14. Linear Equation in Two Variables.
A linear equation in two variables is any equation where you could add/subtract terms in such a way as to get a linear expression in two variables on one side, and on the other side.
The following are each an example of a linear equation in two variables. Note that if you only see one variable in one of these equations, you can add the other variable somewhere with coefficient
Note that is outside the square root symbol.
A linear equation in two variables never does things like square a variable, or take the square root of a variable. It never has a variable in a denominator. It never multiplies the two variables together. Etc. It can only multiply a variable by constant, and then add to other terms to form one side or the other of the equation.
The following are not linear equations in two variables:
- There is no variable.
- The variables are squared
- The variable
is inside the square root. - The variable
is in a denominator.
If you learn to recognize when a given equation in two variables is linear, then you will know ahead of time that its graph is some sort of straight line.
Reading Questions Reading Questions
1.
When a point like is on the graph of an equation, where the equation has variables and what happens when you substitute in for and in for into that equation?
2.
What are all the things to label when you set up a Cartesian coordinate system?
3.
When you start making a table for some equation, you have to choose some -values. Explain three different ways to choose those -values that were demonstrated in this section.
4.
What is an example of an equation that does not make a straight line once you make a graph of it?
Exercises Exercises
Skills Practice
Testing Points as Solutions.
Which of the ordered pairs are solutions to the given equation? There may be more than one correct answer.
Exercise Group.
Make a table and then plot the equation.
Applications
19.
A new water heater for your home is will cost to buy and have installed. With this new more efficient water heater, your monthly gas bill will be (on average) According to this information, the equation models the total expense from heating your domestic hot water after months, where is in dollars. Make a graph of this equation.
20.
You bought a new car for with a zero interest loan over a five-year period. That means you’ll have to pay each month for the next five years ( months) to pay it off. According to this information, the equation models the loan balance after months, where is in dollars. Make a graph of this equation.
21.
The pressure in a full propane tank will rise and fall if the ambient temperature rises and falls. The equation models this relationship, where the temperature is measured in °F and the pressure and the pressure is measured in lb/in^2. Plot a graph of this equation. Make sure to use -values that make sense in context.
22.
A beloved coworker is retiring and you want to give them a gift of week-long vacation rental at the coast that costs for the week. You might end up paying for all of it yourself, but you ask around to see if any of the other office coworkers want to split the cost evenly. The equation models this situation, where people contribute to the gift, and is the dollar amount each individual will contribute. Plot a graph of this equation.
You have attempted 1 of 26 activities on this page.