A linear equation is an equation that makes a straight line when it is graphed. Linear equations can have positive or negative slope and do not have to cross through the origin.
To better understand graphing linear equations and slope…
LET’S BREAK IT DOWN!
Graph a linear equation using a table of values.
A table of values is a chart that relates the x- and y- coordinates for a set of points in a relation. Each row in the table represents an ordered pair you can use to draw a point on the coordinate plane. When you graph a linear relationship from an equation, choose a set of x-values and calculate their corresponding y-values to make the basis for the line. Let’s take the equation y=2x+4 for example. If you want to graph the point with an x-coordinate of 1, substitute 1 for x and then simplify the equation to find y. So, y=2x+4 becomes y=2(1)+4, which becomes y=6. Record the value 6 in the y column in the row where x = 1. Graph the point (1, 6) on the coordinate plane. Once you are done graphing all the points, connect them all with a straight line. This is the graph of the linear relation. Try this yourself: Write a table of values for y=3x+5 with x values {−2, −1, 0, 1, 2}, and then graph the linear relation from the table.
Graph a linear equation using the slope and y-intercept.
An easier way to graph a linear relation is by using the slope and y-intercept. The slope-intercept form of a line is y=mx+b, where m is the slope and b is the y-intercept. The y-intercept is a constant and is the point where the line crosses the y-axis. Graph this point first. The slope = [ggfrac]change-in-y/change-in-x[/ggfrac] . The numerator is how many units up you move, and the denominator is how many units right you move. Remember that any number is a fraction over 1. In our example y=2x+4, the slope is 2 and the y-intercept is 4. To graph this, first look at the y-axis and mark a point at the y-intercept, (0, 4). Next, move from that point 1 unit right and 2 units up to mark the next point. Repeat this as many times as you want before connecting all the points with a ruler to finish the graph. Try this yourself: Graph y=3x+5 using the slope and y-intercept.
Understand slope in a linear equation.
Slope can be positive or negative. This doesn’t mean good or bad, it just tells us whether the line slants up or down as it moves from left to right along the x-axis. Lines with positive slope slant upwards left to right, whereas lines with negative slope slant downwards. You can graph any linear relationship if you know 2 points on the graph and can connect them with your ruler. Similarly, you can calculate the slope of a graph using the coordinates of any two points on the line. slope = [ggfrac]rise/run[/ggfrac] = [ggfrac]change-in-y/change-in-x[/ggfrac] = [ggfrac](y₂-y₁)/(x₂-x₁)[/ggfrac] = m, where (x₁ =y₁) and ( x₂ = y₂) are points on the line. Try this yourself: Find the slope of the line that goes through (–2, 2) and (4, 7).
Determine an equation from a graph.
Just as you can graph a linear relation from the equation, you can find the equation from the graph. First, check for the y-intercept on the graph. Look for where the line crosses the y-axis and record that as “b.” Next, find any other point on the graph and determine the rise and run between the y-intercept and that point. Points that land exactly on the increments on the coordinate plane (lattice points) are best because you can see for sure what the coordinates are, and you don’t need to estimate any values. Use the rise and run to calculate the slope, “m.” Now that you have the slope and y-intercept, you can substitute them into the slope-intercept form equation y=mx+b. Try this yourself: Draw a linear relation on graphing paper, and then exchange your graph with a partner. Write the equation for the graph your partner drew and then check your work with your partner.