Linear equations in two variables · Lesson 2

Solutions as points on a line

A solution to an equation in two variables is a pair of numbers (x,y)(x, y) that makes the equation true. (3,4)(3, 4) is a solution to 2x+3y=182x + 3y = 18 because 2(3)+3(4)=6+12=182(3) + 3(4) = 6 + 12 = 18. (4,3)(4, 3) is not, because 2(4)+3(3)=172(4) + 3(3) = 17. Order matters: in (x,y)(x, y), the xx-value comes first.

One linear equation in two variables has infinitely many solutions. Plot them all and they form a line, the graph of the equation. Every point on the line is a solution, and every solution is a point on the line. So the point lies on the graph, the line passes through the point and the ordered pair is a solution all ask the same thing.

To test a point, substitute both coordinates into the original equation and check that both sides match. Put negative numbers in parentheses: in 4x−5y4x - 5y with y=−2y = -2, you get 4x−5(−2)=4x+104x - 5(-2) = 4x + 10.

To find a missing coordinate, substitute the coordinate you know and solve the one-variable equation that is left. If (k,−2)(k, -2) is on 4x−5y=304x - 5y = 30, then 4k+10=304k + 10 = 30, so k=5k = 5.

When the equation contains a constant such as kk and you're told a point is on the line, substitute the point to get an equation in kk. Solve for kk first, then use the complete equation to answer the question that was asked.

Worked example Easy

2x+3y=182x + 3y = 18

Which ordered pair (x,y)(x, y) is a solution to the given equation?

  1. (4,3)(4, 3)
  2. (9,6)(9, 6)
  3. (3,4)(3, 4)Answer
  4. (0,9)(0, 9)

How to solve it

  1. Substitute each pair, xx first, and look for a total of 18.
  2. (3,4)(3, 4): 2(3)+3(4)=6+12=182(3) + 3(4) = 6 + 12 = 18. This one works.
  3. The others give 2(4)+3(3)=172(4) + 3(3) = 17, 2(9)+3(6)=362(9) + 3(6) = 36 and 2(0)+3(9)=272(0) + 3(9) = 27.

Why each choice is right or wrong

  • A. Incorrect. This swaps the coordinates of (3,4)(3, 4): 2(4)+3(3)=8+9=172(4) + 3(3) = 8 + 9 = 17, not 18.
  • B. Incorrect. This glues the xx-intercept (9,0)(9, 0) and the yy-intercept (0,6)(0, 6) into one point. It isn't on the line: 2(9)+3(6)=362(9) + 3(6) = 36.
  • C. Correct. 2(3)+3(4)=6+12=182(3) + 3(4) = 6 + 12 = 18, so (3,4)(3, 4) makes the equation true.
  • D. Incorrect. With x=0x = 0 the equation is 3y=183y = 18, so y=6y = 6. The 9 comes from dividing 18 by 2, the coefficient of xx. Check: 2(0)+3(9)=272(0) + 3(9) = 27.

Worked example Medium

4x−5y=304x - 5y = 30

The point (k,−2)(k, -2) lies on the graph of the given equation in the xyxy-plane. What is the value of kk?

  1. −385-\frac{38}{5}
  2. 55Answer
  3. 1010
  4. 2020

How to solve it

  1. The point is (x,y)=(k,−2)(x, y) = (k, -2), so substitute x=kx = k and y=−2y = -2: 4k−5(−2)=304k - 5(-2) = 30.
  2. −5(−2)=10-5(-2) = 10, so 4k+10=304k + 10 = 30.
  3. Subtract 10: 4k=204k = 20. Divide by 4: k=5k = 5. Check: 4(5)−5(−2)=20+10=304(5) - 5(-2) = 20 + 10 = 30.

Why each choice is right or wrong

  • A. Incorrect. This swaps the coordinates, substituting −2-2 for xx and kk for yy: 4(−2)−5k=304(-2) - 5k = 30, so −5k=38-5k = 38 and k=−385k = -\frac{38}{5}. In (k,−2)(k, -2), kk is the xx-coordinate.
  • B. Correct. 4k−5(−2)=304k - 5(-2) = 30 gives 4k+10=304k + 10 = 30, so 4k=204k = 20 and k=5k = 5.
  • C. Incorrect. This writes −5(−2)-5(-2) as −10-10: 4k−10=304k - 10 = 30, so 4k=404k = 40 and k=10k = 10. A negative times a negative is positive.
  • D. Incorrect. 20 is the value of 4k4k. Divide by 4 to get k=5k = 5.

Trap Swapped coordinates

(4,3)(4, 3) and (3,4)(3, 4) are different points. When one choice reverses the coordinates of a real solution, it is there to catch a quick reader. In (x,y)(x, y) the first number is always the xx-value, so substitute it for xx.

Trap Dropping a negative

Substitute a negative coordinate in parentheses. In 4x−5y4x - 5y with y=−2y = -2, the term is −5(−2)=+10-5(-2) = +10. Writing −10-10 gives k=10k = 10 in the example above instead of 5, and that wrong value is among the choices.

Trap Two intercepts glued into one point

The line 2x+3y=182x + 3y = 18 crosses the axes at (9,0)(9, 0) and (0,6)(0, 6). The point (9,6)(9, 6) uses both numbers but lies on neither axis, and it isn't on the line: 2(9)+3(6)=362(9) + 3(6) = 36. Substitute before you trust a point built from intercepts.

Desmos When Desmos is faster

To test choices, type the equation on the first line, then type each choice as a point on its own line, such as (3,4)(3, 4). Desmos plots each point, and the solution is the one that sits on the line.

A point that misses by a little can look like it touches the line when you are zoomed out. Zoom in on it, or substitute it by hand to confirm.

For a missing coordinate such as (k,−2)(k, -2), type the equation and the horizontal line y=−2y = -2 on the next line. Click where they cross: Desmos shows (5,−2)(5, -2), so k=5k = 5. For a missing yy-coordinate, use a vertical line such as x=6x = 6.

If the equation contains a constant such as kk, Desmos offers a slider for it, and dragging a slider until the line hits a point is slow and may not land on the exact value. Substituting the point by hand gives an equation in kk in one step.