Learn on PengiOpenstax Intermediate Algebra 2EChapter 3: Graphs and Functions

Lesson 3.1: Graph Linear Equations in Two Variables

In this lesson from OpenStax Intermediate Algebra 2E, students learn how to plot ordered pairs on a rectangular coordinate system and graph linear equations in two variables by plotting points. The lesson covers key concepts including quadrants, the origin, x- and y-intercepts, and how to graph vertical, horizontal, and sloped lines using intercepts. It is designed for intermediate algebra students building foundational skills in coordinate geometry and linear relationships.

Section 1

📘 Graph Linear Equations in Two Variables

New Concept

A linear equation in two variables, such as Ax+By=CAx+By=C, represents a straight line where every point is a solution. This lesson covers plotting points and using intercepts to accurately graph these lines on the coordinate plane.

What’s next

Next, you'll practice graphing by plotting points and using intercepts through a series of interactive examples and challenge problems.

Section 2

Plot points on a rectangular coordinate system

Property

An ordered pair, (x,y)(x, y), gives the coordinates of a point in a rectangular coordinate system. The first number is the xx-coordinate. The second number is the yy-coordinate.

The point (0,0)(0, 0) is called the origin. It is the point where the xx-axis and yy-axis intersect.

Points with a yy-coordinate equal to 00 are on the xx-axis, and have coordinates (a,0)(a, 0).

Section 3

Linear equation in two variables

Property

An equation of the form Ax+By=CAx + By = C, where AA and BB are not both zero, is called a linear equation in two variables.

A linear equation is in standard form when it is written Ax+By=CAx + By = C.

An ordered pair (x,y)(x, y) is a solution of the linear equation Ax+By=CAx + By = C, if the equation is a true statement when the xx- and yy-values of the ordered pair are substituted into the equation.

Section 4

Graph a linear equation by plotting points

Property

Graph a linear equation by plotting points.
Step 1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
Step 2. Plot the points in a rectangular coordinate system. Check that the points line up. If they do not, carefully check your work.
Step 3. Draw the line through the three points. Extend the line to fill the grid and put arrows on both ends of the line.

Examples

  • To graph y=x+3y = x + 3, find three solution points. If x=0,y=3x=0, y=3, giving (0,3)(0, 3). If x=1,y=4x=1, y=4, giving (1,4)(1, 4). If x=−1,y=2x=-1, y=2, giving (−1,2)(-1, 2). Plot these points and draw the line through them.
  • To graph y=2x−1y = 2x - 1, find three points. If x=0,y=−1x=0, y=-1, so (0,−1)(0, -1). If x=2,y=3x=2, y=3, so (2,3)(2, 3). If x=−1,y=−3x=-1, y=-3, so (−1,−3)(-1, -3). Plot these and connect them.
  • To graph y=13x+2y = \frac{1}{3}x + 2, choose multiples of 3 for xx to avoid fractions. If x=0,y=2x=0, y=2, so (0,2)(0, 2). If x=3,y=3x=3, y=3, so (3,3)(3, 3). If x=−3,y=1x=-3, y=1, so (−3,1)(-3, 1). Plot and connect.

Explanation

To draw a line, you only need a few of its points. Find three (x,y)(x, y) pairs that solve the equation, plot them on the coordinate plane, and connect them with a straight line. Using three points helps you catch any calculation mistakes.

Section 5

Vertical and horizontal lines

Property

A vertical line is the graph of an equation of the form x=ax = a. The line passes through the xx-axis at (a,0)(a, 0).

A horizontal line is the graph of an equation of the form y=by = b. The line passes through the yy-axis at (0,b)(0, b).

Examples

  • The graph of the equation x=4x = 4 is a vertical line where every point has an x-coordinate of 4. Examples of points include (4,0)(4, 0), (4,2)(4, 2), and (4,−5)(4, -5).
  • The graph of the equation y=−1y = -1 is a horizontal line where every point has a y-coordinate of -1. Examples of points include (0,−1)(0, -1), (3,−1)(3, -1), and (−2,−1)(-2, -1).
  • The equation x=0x = 0 represents the yy-axis, while the equation y=0y = 0 represents the xx-axis.

Section 6

Find x- and y-intercepts

Property

The xx-intercept is the point (a,0)(a, 0) where the line crosses the xx-axis. The xx-intercept occurs when yy is zero.

The yy-intercept is the point (0,b)(0, b) where the line crosses the yy-axis. The yy-intercept occurs when xx is zero.

To find the xx-intercept of the line, let y=0y = 0 and solve for xx.
To find the yy-intercept of the line, let x=0x = 0 and solve for yy.

Section 7

Graph a line using the intercepts

Property

Graph a linear equation using the intercepts.
Step 1. Find the xx- and yy-intercepts of the line. Let y=0y = 0 and solve for xx. Let x=0x = 0 and solve for yy.
Step 2. Find a third solution to the equation.
Step 3. Plot the three points and check that they line up.
Step 4. Draw the line.

Examples

  • Graph 2x+3y=62x + 3y = 6. The xx-intercept (let y=0y=0) is (3,0)(3, 0). The yy-intercept (let x=0x=0) is (0,2)(0, 2). A third point (let x=−3x=-3) is (−3,4)(-3, 4). Plot these three points and draw the line.
  • Graph x−2y=4x - 2y = 4. The xx-intercept is (4,0)(4, 0) and the yy-intercept is (0,−2)(0, -2). For a third point, let x=2x=2, then 2−2y=42 - 2y = 4, so −2y=2-2y=2 and y=−1y=-1. The point is (2,−1)(2, -1). Plot the three points and connect.
  • Graph y=3xy = 3x. The xx-intercept and yy-intercept are both (0,0)(0, 0). We need two more points. If x=1x=1, y=3y=3, giving (1,3)(1, 3). If x=−1x=-1, y=−3y=-3, giving (−1,−3)(-1, -3). Plot (0,0),(1,3),(−1,−3)(0,0), (1,3), (-1,-3) and draw the line.

Explanation

This method is a graphing shortcut. Find the two points where the line hits the axes (the intercepts), plot them, find one more point as a backup check, and then connect them. It's often the fastest way to graph a line.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 3: Graphs and Functions

  1. Lesson 1Current

    Lesson 3.1: Graph Linear Equations in Two Variables

  2. Lesson 2

    Lesson 3.2: Slope of a Line

  3. Lesson 3

    Lesson 3.3: Find the Equation of a Line

  4. Lesson 4

    Lesson 3.4: Graph Linear Inequalities in Two Variables

  5. Lesson 5

    Lesson 3.5: Relations and Functions

  6. Lesson 6

    Lesson 3.6: Graphs of Functions

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

📘 Graph Linear Equations in Two Variables

New Concept

A linear equation in two variables, such as Ax+By=CAx+By=C, represents a straight line where every point is a solution. This lesson covers plotting points and using intercepts to accurately graph these lines on the coordinate plane.

What’s next

Next, you'll practice graphing by plotting points and using intercepts through a series of interactive examples and challenge problems.

Section 2

Plot points on a rectangular coordinate system

Property

An ordered pair, (x,y)(x, y), gives the coordinates of a point in a rectangular coordinate system. The first number is the xx-coordinate. The second number is the yy-coordinate.

The point (0,0)(0, 0) is called the origin. It is the point where the xx-axis and yy-axis intersect.

Points with a yy-coordinate equal to 00 are on the xx-axis, and have coordinates (a,0)(a, 0).

Section 3

Linear equation in two variables

Property

An equation of the form Ax+By=CAx + By = C, where AA and BB are not both zero, is called a linear equation in two variables.

A linear equation is in standard form when it is written Ax+By=CAx + By = C.

An ordered pair (x,y)(x, y) is a solution of the linear equation Ax+By=CAx + By = C, if the equation is a true statement when the xx- and yy-values of the ordered pair are substituted into the equation.

Section 4

Graph a linear equation by plotting points

Property

Graph a linear equation by plotting points.
Step 1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
Step 2. Plot the points in a rectangular coordinate system. Check that the points line up. If they do not, carefully check your work.
Step 3. Draw the line through the three points. Extend the line to fill the grid and put arrows on both ends of the line.

Examples

  • To graph y=x+3y = x + 3, find three solution points. If x=0,y=3x=0, y=3, giving (0,3)(0, 3). If x=1,y=4x=1, y=4, giving (1,4)(1, 4). If x=−1,y=2x=-1, y=2, giving (−1,2)(-1, 2). Plot these points and draw the line through them.
  • To graph y=2x−1y = 2x - 1, find three points. If x=0,y=−1x=0, y=-1, so (0,−1)(0, -1). If x=2,y=3x=2, y=3, so (2,3)(2, 3). If x=−1,y=−3x=-1, y=-3, so (−1,−3)(-1, -3). Plot these and connect them.
  • To graph y=13x+2y = \frac{1}{3}x + 2, choose multiples of 3 for xx to avoid fractions. If x=0,y=2x=0, y=2, so (0,2)(0, 2). If x=3,y=3x=3, y=3, so (3,3)(3, 3). If x=−3,y=1x=-3, y=1, so (−3,1)(-3, 1). Plot and connect.

Explanation

To draw a line, you only need a few of its points. Find three (x,y)(x, y) pairs that solve the equation, plot them on the coordinate plane, and connect them with a straight line. Using three points helps you catch any calculation mistakes.

Section 5

Vertical and horizontal lines

Property

A vertical line is the graph of an equation of the form x=ax = a. The line passes through the xx-axis at (a,0)(a, 0).

A horizontal line is the graph of an equation of the form y=by = b. The line passes through the yy-axis at (0,b)(0, b).

Examples

  • The graph of the equation x=4x = 4 is a vertical line where every point has an x-coordinate of 4. Examples of points include (4,0)(4, 0), (4,2)(4, 2), and (4,−5)(4, -5).
  • The graph of the equation y=−1y = -1 is a horizontal line where every point has a y-coordinate of -1. Examples of points include (0,−1)(0, -1), (3,−1)(3, -1), and (−2,−1)(-2, -1).
  • The equation x=0x = 0 represents the yy-axis, while the equation y=0y = 0 represents the xx-axis.

Section 6

Find x- and y-intercepts

Property

The xx-intercept is the point (a,0)(a, 0) where the line crosses the xx-axis. The xx-intercept occurs when yy is zero.

The yy-intercept is the point (0,b)(0, b) where the line crosses the yy-axis. The yy-intercept occurs when xx is zero.

To find the xx-intercept of the line, let y=0y = 0 and solve for xx.
To find the yy-intercept of the line, let x=0x = 0 and solve for yy.

Section 7

Graph a line using the intercepts

Property

Graph a linear equation using the intercepts.
Step 1. Find the xx- and yy-intercepts of the line. Let y=0y = 0 and solve for xx. Let x=0x = 0 and solve for yy.
Step 2. Find a third solution to the equation.
Step 3. Plot the three points and check that they line up.
Step 4. Draw the line.

Examples

  • Graph 2x+3y=62x + 3y = 6. The xx-intercept (let y=0y=0) is (3,0)(3, 0). The yy-intercept (let x=0x=0) is (0,2)(0, 2). A third point (let x=−3x=-3) is (−3,4)(-3, 4). Plot these three points and draw the line.
  • Graph x−2y=4x - 2y = 4. The xx-intercept is (4,0)(4, 0) and the yy-intercept is (0,−2)(0, -2). For a third point, let x=2x=2, then 2−2y=42 - 2y = 4, so −2y=2-2y=2 and y=−1y=-1. The point is (2,−1)(2, -1). Plot the three points and connect.
  • Graph y=3xy = 3x. The xx-intercept and yy-intercept are both (0,0)(0, 0). We need two more points. If x=1x=1, y=3y=3, giving (1,3)(1, 3). If x=−1x=-1, y=−3y=-3, giving (−1,−3)(-1, -3). Plot (0,0),(1,3),(−1,−3)(0,0), (1,3), (-1,-3) and draw the line.

Explanation

This method is a graphing shortcut. Find the two points where the line hits the axes (the intercepts), plot them, find one more point as a backup check, and then connect them. It's often the fastest way to graph a line.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 3: Graphs and Functions

  1. Lesson 1Current

    Lesson 3.1: Graph Linear Equations in Two Variables

  2. Lesson 2

    Lesson 3.2: Slope of a Line

  3. Lesson 3

    Lesson 3.3: Find the Equation of a Line

  4. Lesson 4

    Lesson 3.4: Graph Linear Inequalities in Two Variables

  5. Lesson 5

    Lesson 3.5: Relations and Functions

  6. Lesson 6

    Lesson 3.6: Graphs of Functions