Learn on PengiOpenstax Prealgebre 2EChapter 11: Graphs

Lesson 2: Graphing Linear Equations

In this lesson from OpenStax Prealgebra 2E, students learn how to graph linear equations in two variables by plotting ordered pairs on a rectangular coordinate system and connecting them to form a straight line. Key skills include completing a table of solutions, verifying whether a given point satisfies a linear equation, and graphing special cases such as vertical and horizontal lines. Students also explore the fundamental relationship between the solutions of a linear equation and the points that make up its graph.

Section 1

πŸ“˜ Graphing Linear Equations

New Concept

A linear equation's graph is a straight line where every point on the line is a solution. This lesson shows you how to draw these lines by plotting points, including special cases for vertical and horizontal lines.

What’s next

Next, you’ll work through interactive examples of plotting points. Then, you'll tackle a series of practice cards to master graphing different types of lines.

Section 2

Solutions of an equation and its graph

Property

The graph of a linear equation Ax+By=CAx + By = C is a straight line. Every point on the line is a solution of the equation. Every solution of this equation is a point on this line.

Examples

  • Is the point (2,7)(2, 7) a solution to the equation y=3x+1y = 3x + 1? Yes, because substituting the values gives 7=3(2)+17 = 3(2) + 1, which simplifies to 7=77 = 7. The point is on the line.
  • Is the point (1,3)(1, 3) a solution to the equation y=3x+1y = 3x + 1? No, because substituting the values gives 3=3(1)+13 = 3(1) + 1, which simplifies to 3=43 = 4. This is false, so the point is not on the line.

Section 3

Graph a linear equation by plotting points

Property

Step 1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
Step 2. Plot the points on 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 points. Extend the line to fill the grid and put arrows on both ends of the line.

Examples

  • To graph y=x+2y = x + 2, find three solution points. If x=0,y=2x=0, y=2, so we have (0,2)(0, 2). If x=1,y=3x=1, y=3, so we have (1,3)(1, 3). If x=βˆ’1,y=1x=-1, y=1, so we have (βˆ’1,1)(-1, 1). Plot these and draw the line.
  • To graph x+y=5x+y=5, find three points. If x=0,y=5β†’(0,5)x=0, y=5 \rightarrow (0, 5). If x=1,y=4β†’(1,4)x=1, y=4 \rightarrow (1, 4). If x=4,y=1β†’(4,1)x=4, y=1 \rightarrow (4, 1). Plot these points and connect them with a line.

Section 4

Vertical lines

Property

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

Examples

  • The graph of the equation x=3x = 3 is a vertical line where every point has an xx-coordinate of 33. Examples include (3,0)(3, 0), (3,2)(3, 2), and (3,βˆ’4)(3, -4).
  • The graph of x=βˆ’4x = -4 is a vertical line passing through the xx-axis at βˆ’4-4. All points on the line, such as (βˆ’4,1)(-4, 1) and (βˆ’4,5)(-4, 5), have an xx-coordinate of βˆ’4-4.

Section 5

Horizontal lines

Property

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

Examples

  • The graph of the equation y=5y = 5 is a horizontal line where every point has a yy-coordinate of 55. Examples include (0,5)(0, 5), (2,5)(2, 5), and (βˆ’1,5)(-1, 5).
  • The graph of y=βˆ’2y = -2 is a horizontal line passing through the yy-axis at βˆ’2-2. All points on the line, such as (1,βˆ’2)(1, -2) and (4,βˆ’2)(4, -2), have a yy-coordinate of βˆ’2-2.

Book overview

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

Continue this chapter

Chapter 11: Graphs

  1. Lesson 1

    Lesson 1: Use the Rectangular Coordinate System

  2. Lesson 2Current

    Lesson 2: Graphing Linear Equations

  3. Lesson 3

    Lesson 3: Graphing with Intercepts

  4. Lesson 4

    Lesson 4: Understand Slope of a Line

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Graphing Linear Equations

New Concept

A linear equation's graph is a straight line where every point on the line is a solution. This lesson shows you how to draw these lines by plotting points, including special cases for vertical and horizontal lines.

What’s next

Next, you’ll work through interactive examples of plotting points. Then, you'll tackle a series of practice cards to master graphing different types of lines.

Section 2

Solutions of an equation and its graph

Property

The graph of a linear equation Ax+By=CAx + By = C is a straight line. Every point on the line is a solution of the equation. Every solution of this equation is a point on this line.

Examples

  • Is the point (2,7)(2, 7) a solution to the equation y=3x+1y = 3x + 1? Yes, because substituting the values gives 7=3(2)+17 = 3(2) + 1, which simplifies to 7=77 = 7. The point is on the line.
  • Is the point (1,3)(1, 3) a solution to the equation y=3x+1y = 3x + 1? No, because substituting the values gives 3=3(1)+13 = 3(1) + 1, which simplifies to 3=43 = 4. This is false, so the point is not on the line.

Section 3

Graph a linear equation by plotting points

Property

Step 1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
Step 2. Plot the points on 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 points. Extend the line to fill the grid and put arrows on both ends of the line.

Examples

  • To graph y=x+2y = x + 2, find three solution points. If x=0,y=2x=0, y=2, so we have (0,2)(0, 2). If x=1,y=3x=1, y=3, so we have (1,3)(1, 3). If x=βˆ’1,y=1x=-1, y=1, so we have (βˆ’1,1)(-1, 1). Plot these and draw the line.
  • To graph x+y=5x+y=5, find three points. If x=0,y=5β†’(0,5)x=0, y=5 \rightarrow (0, 5). If x=1,y=4β†’(1,4)x=1, y=4 \rightarrow (1, 4). If x=4,y=1β†’(4,1)x=4, y=1 \rightarrow (4, 1). Plot these points and connect them with a line.

Section 4

Vertical lines

Property

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

Examples

  • The graph of the equation x=3x = 3 is a vertical line where every point has an xx-coordinate of 33. Examples include (3,0)(3, 0), (3,2)(3, 2), and (3,βˆ’4)(3, -4).
  • The graph of x=βˆ’4x = -4 is a vertical line passing through the xx-axis at βˆ’4-4. All points on the line, such as (βˆ’4,1)(-4, 1) and (βˆ’4,5)(-4, 5), have an xx-coordinate of βˆ’4-4.

Section 5

Horizontal lines

Property

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

Examples

  • The graph of the equation y=5y = 5 is a horizontal line where every point has a yy-coordinate of 55. Examples include (0,5)(0, 5), (2,5)(2, 5), and (βˆ’1,5)(-1, 5).
  • The graph of y=βˆ’2y = -2 is a horizontal line passing through the yy-axis at βˆ’2-2. All points on the line, such as (1,βˆ’2)(1, -2) and (4,βˆ’2)(4, -2), have a yy-coordinate of βˆ’2-2.

Book overview

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

Continue this chapter

Chapter 11: Graphs

  1. Lesson 1

    Lesson 1: Use the Rectangular Coordinate System

  2. Lesson 2Current

    Lesson 2: Graphing Linear Equations

  3. Lesson 3

    Lesson 3: Graphing with Intercepts

  4. Lesson 4

    Lesson 4: Understand Slope of a Line