Example

Solving {x+y=2,  xy=4}\{x + y = 2,\; x - y = 4\} by Graphing

Solve the system {x+y=2xy=4\left\{\begin{array}{l} x + y = 2 \\ x - y = 4 \end{array}\right. using the graphing method.

Because both equations are in standard form, use the intercept method to graph each line.

First equation: x+y=2x + y = 2

  • x-intercept: Set y=0y = 0: x+0=2x + 0 = 2, so x=2x = 2. The x-intercept is (2,0)(2, 0).
  • y-intercept: Set x=0x = 0: 0+y=20 + y = 2, so y=2y = 2. The y-intercept is (0,2)(0, 2).

Second equation: xy=4x - y = 4

  • x-intercept: Set y=0y = 0: x0=4x - 0 = 4, so x=4x = 4. The x-intercept is (4,0)(4, 0).
  • y-intercept: Set x=0x = 0: 0y=40 - y = 4, so y=4-y = 4 and y=4y = -4. The y-intercept is (0,4)(0, -4).

Plot both pairs of intercepts on the same coordinate system and draw the two lines. The lines intersect at the point (3,1)(3, -1).

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

  • First equation: 3+(1)=23 + (-1) = 2. Since 2=22 = 2 is true ✓
  • Second equation: 3(1)=3+1=43 - (-1) = 3 + 1 = 4. Since 4=44 = 4 is true ✓

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

This example illustrates that when both equations in a system are in standard form with small integer coefficients, finding the x- and y-intercepts of each equation is a quick way to graph both lines without converting to slope-intercept form.

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