Example

Solving {y=6,  2x+3y=12}\{y = 6,\; 2x + 3y = 12\} by Graphing

Solve the system {y=62x+3y=12\left\{\begin{array}{l} y = 6 \\ 2x + 3y = 12 \end{array}\right. using the graphing method.

The first equation, y=6y = 6, contains only the variable yy, so its graph is a horizontal line whose y-intercept is 66.

The second equation, 2x+3y=122x + 3y = 12, is in standard form, so it is most conveniently graphed using the intercept method. Setting x=0x = 0 gives 3y=123y = 12, so y=4y = 4 and the y-intercept is (0,4)(0, 4). Setting y=0y = 0 gives 2x=122x = 12, so x=6x = 6 and the x-intercept is (6,0)(6, 0).

Graph both lines on the same coordinate system. The horizontal line y=6y = 6 and the line through (0,4)(0, 4) and (6,0)(6, 0) intersect at the point (3,6)(-3, 6).

Verify the solution by substituting x=3x = -3 and y=6y = 6 into both original equations:

  • First equation: 6=?66 \stackrel{?}{=} 6. True ✓
  • Second equation: 2(3)+3(6)=6+18=122(-3) + 3(6) = -6 + 18 = 12. Since 12=1212 = 12 is true ✓

Because (3,6)(-3, 6) satisfies both equations, the solution of the system is (3,6)(-3, 6).

This example illustrates solving a system in which one equation is a horizontal line. Recognizing that y=6y = 6 represents a horizontal line eliminates the need for any algebraic rewriting or point-plotting for that equation — its graph can be drawn immediately.

Image 0

0

1

Updated 2026-04-21

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.5 Systems of Linear Equations - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Related
Learn After