Facebook Pixel
Mathos AI logo

Graphing Linear Equations

Graphing Linear Equations

Graphing a linear equation means drawing its straight line on a coordinate plane. There are three main methods to graph a linear equation: using the slope-intercept form, finding the intercepts, or making a table of values.

Method 1: Slope-Intercept Form

The slope-intercept form of a linear equation is written as: y=mx+by = mx + b

  • mm is the slope (rise over run).
  • bb is the yy-intercept (where the line crosses the yy-axis).

Example: Graph y=2x1y = 2x - 1

  1. Find the yy-intercept: Here, b=1b = -1. Plot the point (0,1)(0, -1) on the yy-axis.
  2. Use the slope to find a second point: The slope is m=2m = 2. Think of this as a fraction: 21\frac{2}{1}. From (0,1)(0, -1), go up 2 units and right 1 unit to land on (1,1)(1, 1). Plot this point.
  3. Draw the line: Connect the points (0,1)(0, -1) and (1,1)(1, 1) with a straight line and extend it in both directions.

Method 2: Using Intercepts

This method works great for equations written in standard form (Ax+By=CAx + By = C). You only need to find where the line crosses the xx-axis and the yy-axis.

  • xx-intercept: Set y=0y = 0 and solve for xx.
  • yy-intercept: Set x=0x = 0 and solve for yy.

Example: Graph 3x+2y=123x + 2y = 12

  1. Find the xx-intercept: 3x+2(0)=123x + 2(0) = 12 3x=12    x=43x = 12 \implies x = 4 Plot the point (4,0)(4, 0).
  2. Find the yy-intercept: 3(0)+2y=123(0) + 2y = 12 2y=12    y=62y = 12 \implies y = 6 Plot the point (0,6)(0, 6).
  3. Draw the line: Connect (4,0)(4, 0) and (0,6)(0, 6) with a straight line.

Method 3: Making a Table of Values

If you are ever unsure, you can always pick random xx-values, plug them into the equation to find the corresponding yy-values, and plot the resulting coordinate pairs.

For example, to graph y=x+3y = -x + 3:

  • If x=0x = 0, y=(0)+3=3    (0,3)y = -(0) + 3 = 3 \implies (0, 3)
  • If x=1x = 1, y=(1)+3=2    (1,2)y = -(1) + 3 = 2 \implies (1, 2)
  • If x=2x = 2, y=(2)+3=1    (2,1)y = -(2) + 3 = 1 \implies (2, 1)

Plot these three points and draw a line through them.