Graphing Linear Equations | College Algebra (2024)

We can plot a set of points to represent an equation. When such an equation contains both an x variable and a y variable, it is called an equation in two variables. Its graph is called a graph in two variables. Any graph on a two-dimensional plane is a graph in two variables.

Suppose we want to graph the equation [latex]y=2x - 1[/latex]. We can begin by substituting a value for x into the equation and determining the resulting value of y. Each pair of xand y-values is an ordered pair that can be plotted. The table belowlists values of x from –3 to 3 and the resulting values for y.

[latex]x[/latex][latex]y=2x - 1[/latex][latex]\left(x,y\right)[/latex]
[latex]-3[/latex][latex]y=2\left(-3\right)-1=-7[/latex][latex]\left(-3,-7\right)[/latex]
[latex]-2[/latex][latex]y=2\left(-2\right)-1=-5[/latex][latex]\left(-2,-5\right)[/latex]
[latex]-1[/latex][latex]y=2\left(-1\right)-1=-3[/latex][latex]\left(-1,-3\right)[/latex]
[latex]0[/latex][latex]y=2\left(0\right)-1=-1[/latex][latex]\left(0,-1\right)[/latex]
[latex]1[/latex][latex]y=2\left(1\right)-1=1[/latex][latex]\left(1,1\right)[/latex]
[latex]2[/latex][latex]y=2\left(2\right)-1=3[/latex][latex]\left(2,3\right)[/latex]
[latex]3[/latex][latex]y=2\left(3\right)-1=5[/latex][latex]\left(3,5\right)[/latex]

We can plot these points from the table. The points for this particular equation form a line, so we can connect them.This is not true for all equations.

Graphing Linear Equations | College Algebra (1)

Note that the x-values chosen are arbitrary regardless of the type of equation we are graphing. Of course, some situations may require particular values of x to be plotted in order to see a particular result. Otherwise, it is logical to choose values that can be calculated easily, and it is always a good idea to choose values that are both negative and positive. There is no rule dictating how many points to plot, although we need at least two to graph a line. Keep in mind, however, that the more points we plot, the more accurately we can sketch the graph.

How To: Given an equation, graph by plotting points

  1. Make a table with one column labeled x, a second column labeled with the equation, and a third column listing the resulting ordered pairs.
  2. Enter x-values down the first column using positive and negative values. Selecting the x-values in numerical order will make graphing easier.
  3. Select x-values that will yield y-values with little effort, preferably ones that can be calculated mentally.
  4. Plot the ordered pairs.
  5. Connect the points if they form a line.

Example: Graphing an Equation in Two Variables by Plotting Points

Graph the equation [latex]y=-x+2[/latex] by plotting points.

Try It

Construct a table and graph the equation by plotting points: [latex]y=\frac{1}{2}x+2[/latex].

Show Show Solution

Using Intercepts to Plot Lines in the Coordinate Plane

The intercepts of a graph are points where the graph crosses the axes. The x-intercept is the point where the graph crosses the x-axis. At this point, the y-coordinate is zero. The y-intercept is the point where the graph crosses the y-axis. At this point, the x-coordinate is zero.

To determine the x-intercept, we set y equal to zero and solve for x. Similarly, to determine the y-intercept, we set x equal to zero and solve for y. For example, lets find the intercepts of the equation [latex]y=3x - 1[/latex].

To find the x-intercept, set [latex]y=0[/latex].

[latex]\begin{array}{llllll}y=3x - 1\hfill & \hfill \\ 0=3x - 1\hfill & \hfill \\ 1=3x\hfill & \hfill \\ \frac{1}{3}=x\hfill & \hfill \\ \left(\frac{1}{3},0\right)\hfill & x\text{-intercept}\hfill \end{array}[/latex]

To find the y-intercept, set [latex]x=0[/latex].

[latex]\begin{array}{lllll}y=3x - 1\hfill & \hfill \\ y=3\left(0\right)-1\hfill & \hfill \\ y=-1\hfill & \hfill \\ \left(0,-1\right)\hfill & y\text{-intercept}\hfill \end{array}[/latex]

We can confirm that our results make sense by observing a graph of the equation. Notice that the graph crosses the axes where we predicted it would.

Graphing Linear Equations | College Algebra (2)

How To: Given an equation, find the intercepts

  1. Find the x-intercept by setting [latex]y=0[/latex] and solving for [latex]x[/latex].
  2. Find the y-intercept by setting [latex]x=0[/latex] and solving for [latex]y[/latex].

Example: Finding the Intercepts of the Given Equation

Find the intercepts of the equation [latex]y=-3x - 4[/latex]. Then sketch the graph using only the intercepts.

Show Solution

Try It

Find the intercepts of the equation and sketch the graph: [latex]y=-\frac{3}{4}x+3[/latex].

Show Solution

Using a Graphing Utility to Plot Lines

You can use an online graphing tool to quickly plot lines. Watch this short video Tutorial to learn how.

Try It

Desmos has a helpful feature that allows you to turn a constant (number) into a variable. Follow these steps to learn how:

  1. Graph the line [latex]y=-\frac{2}{3}x-\frac{4}{3}[/latex].
  2. On the next line enter[latex]y=-a x-\frac{4}{3}[/latex]. You will see a button pop up that says “add slider: a”, click on the button. You will see the next line populated with the variable a and the interval on which a can take values.
  3. What part of a line does the variable a represent? The slope or the y-intercept?

Graphing Linear Equations | College Algebra (3)

Here is ashort tutorial with more information about sliders.

Did you have an idea for improving this content? We’d love your input.

Graphing Linear Equations | College Algebra (2024)

FAQs

How do you graph linear equations in algebra? ›

To graph an equation using the slope and y-intercept, 1) Write the equation in the form y = mx + b to find the slope m and the y-intercept (0, b). 2) Next, plot the y-intercept. 3) From the y-intercept, move up or down and left or right, depending on whether the slope is positive or negative.

How to solve linear equations in algebra? ›

To solve linear equations, find the value of the variable that makes the equation true. Use the inverse of the number that multiplies the variable, and multiply or divide both sides by it. Simplify the result to get the variable value. Check your answer by plugging it back into the equation.

How do you graph a linear equation by plotting points? ›

To graph a linear equation by plotting points, you can use the intercepts as two of your three points. Find the two intercepts, and then a third point to ensure accuracy, and draw the line. This method is often the quickest way to graph a line.

How do I solve a system of linear equations by graphing? ›

When solving systems of linear equations, one method is to graph both equations on the same coordinate plane. The intersection of the two lines represents a solution that satisfies both equations. Other, more mathematical, methods may also be used.

What are the 4 ways to graph a linear equation? ›

There are three basic methods of graphing linear functions. The first is by plotting points and then drawing a line through the points. The second is by using the y-intercept and slope. The third is applying transformations to the identity function f(x)=x f ( x ) = x .

How to graph a function from an equation? ›

How to Graph a Function: Example #1 (Linear Function)
  1. Step 1: Identify the critical points and/or any asymptotes.
  2. Step 2: Determine the points of the function.
  3. Step 3: Draw the Line or Curve and Extend. ...
  4. Step 1: Identify the critical points and/or any asymptotes. ...
  5. Step 2: Determine the points of the function.

What does a linear graph look like? ›

A linear graph is a straight line graph that shows a relationship between the x-coordinate and the y-coordinate. Some linear graphs show a proportional relationship between the x-coordinate and the y-coordinate.

What are the methods of linear graphing? ›

To graph a linear equation by plotting points, you need to find three points whose coordinates are solutions to the equation. You can use the x- and y- intercepts as two of your three points. Find the intercepts, and then find a third point to ensure accuracy. Make sure the points line up—then draw the line.

How do you solve an equation graphically? ›

To solve an equation means to find all the values that make the statement true. To solve an equation graphically, draw the graph for each side, member, of the equation and see where the curves cross, are equal. The x values of these points, are the solutions to the equation.

How to find the slope of a line? ›

The slope, or steepness, of a line is found by dividing the vertical change (rise) by the horizontal change (run). The formula is slope =(y₂ - y₁)/(x₂ - x₁), where (x₁, y₁) and (x₂, y₂) are the coordinates of two points on the line.

How do you graph a linear function from an equation? ›

  1. Choose a minimum of two input values.
  2. Evaluate the function at each input value.
  3. Use the resulting output values to identify coordinate pairs.
  4. Plot the coordinate pairs on a grid.
  5. Draw a line through the points.
Feb 9, 2020

How to do a linear graph? ›

How to Plot a Linear Equation on a Graph. Step 1: Calculate the value of y with respect to x by using the given linear equation. Step 2: Present these values in a tabular form. Step 3: Plot the points given in the table in a graph.

How do you write a linear graph formula? ›

A linear function is represented by the equation y = mx + b where: y is the y-coordinate. m is the slope of the line, or how steep it is. x is the x-coordinate.

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Mr. See Jast

Last Updated:

Views: 6128

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.