If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Worked example: solutions to 2-variable equations

How do you check if an ordered pair is a solution to a given equation? You need to plug in the numbers and see what equality results. Watch this video to see a worked example.

Want to join the conversation?

  • male robot hal style avatar for user Zakary
    where did this dude go to school. Mans smart
    (17 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Adam H.
    At , would the equation y = -2+ 4/3y be equivalent?
    (14 votes)
    Default Khan Academy avatar avatar for user
  • leafers seedling style avatar for user David Pineda
    does this cover absolute vale equalities and inequalities
    (4 votes)
    Default Khan Academy avatar avatar for user
    • aqualine ultimate style avatar for user atrew1
      I saw nothing here about absolute values which would look like "|x|" or |3|=3 or |-3|=3 OR |-9|=9
      The best way to think about absolute values is- "No matter the sign (+ or -) the number remains positive, because the absolute value cannot be negative" Hope that helps. Now inequalities, something simple like....... 1<x<3 where "x" is greater then 1 but less then 3.. The interval notation would be (SET BUILDER NOTATION!)----> {x|x>1, x<3} or (INTERVAL NOTATION(WHICH IS INCLUDING A UNION aka "U"))--> (1,x)U(x,3)...... if the sign was a "greater than or equal to, or less than or equal to" then the interval notation would be [1,x]U[x,3].... I hope this helps.
      (7 votes)
  • male robot donald style avatar for user Flomega303
    Today is my birthday and i decided to learn about linear eqations
    (6 votes)
    Default Khan Academy avatar avatar for user
  • piceratops seed style avatar for user lhauck
    what if you are not given an ordered pair and you have to figure out this equation
    (3 votes)
    Default Khan Academy avatar avatar for user
  • duskpin ultimate style avatar for user shantra.r.knox
    I passed the exercise, I'm unstoppable today!
    (4 votes)
    Default Khan Academy avatar avatar for user
  • starky sapling style avatar for user Azizbek
    What is an "ordered" pair?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • duskpin sapling style avatar for user 5 Miller, Ben
    I must be missing something that was already said, or something I don't know. But if the equation is like y = -2x - 5. Could you still be able to do what he is doing in the video? I feel like you can but how?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      You can! Anytime you are asked to determine if a point (an ordered pair of (x,y)) is a solution, we use substitution. We use the x-value for "x" in the equation and the y-value for "y" in the equation.

      Example: Is (2, 3) a solution to your equation: y = -2x - 5?
      Substitute: 3 = -2(2) - 5
      Simplify the right side:
      3 = -4 - 5
      3 = -9
      Since these are not equal, we know the point (2,3) is not a solution to this equation. Or, is not a point on the line that is created from this equation.

      If the 2 sides turn out to be equal, then you know the point is a solution to the equation.
      Hope this helps.
      (6 votes)
  • aqualine ultimate style avatar for user 💲WISE💙
    how do you figure the value of x and y
    (1 vote)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      You can pick any number to use for one of the variables. Plug it into the equation to calculate the other variable. For example: 2x+3y=12
      If x=2: 2(2)+3y = 12
      -- Simplify: 4+3y = 12
      -- Subtract 4 from both sides: 3y = 8
      -- Divide both sides by 3: y = 8/3 or 2 2/3
      -- You now have a point on the line: (2, 2 2/3)

      In the video, Sal is given points to test. In that situation, you replace each variable with their given value and see if the 2 sides are equal. Remember, ordered pairs are always (x,y). So, the first value is X and the 2nd value is Y.

      Hope this helps.
      (7 votes)
  • blobby green style avatar for user mohamediaka44
    between x and y what is the slope and the intercept?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      Most lines have 2 intercepts: an x-intercept and a y-intercept. The x-intercept occurs where y=0 which places the point on the x-axis. The y-intercept occurs where x=0 which places the points on the y-axis.

      Lines that have only one intercept are: a) Lines that cross both the x & y axis at the origin (0,0), and b) vertical and horizontal lines which only cross one axis.

      To find the slope of a line, you need two points that are on the line, then you would use the slope formula: m = (y2-y1)/(x2-x1). Or, if your equation is in slope intercept form (y = mx + b), then you can read the slope from the line. The number (m) that is the coefficient of "x" is the slope. And, the constant term (b) is the y-intercept at (0,b).
      (6 votes)

Video transcript

- [Voiceover] "Which of the ordered pairs is a "solution of the following equation?" 4x minus one is equal to 3y plus five. Now, when we look at an ordered pair we wanna figure out whether it's a solution, we just have to remind ourselves that in these ordered pairs the convention, the standard, is is that the first coordinate is the x coordinate, and the second coordinate is the y coordinate. So they're gonna, if this is a solution, if this ordered pair is a solution, that means that if x is equal to three and y is equal to two, that that would satisfy this equation up here. So let's try that out. So, we have four times x. Well we're saying x needs to be equal to three, minus one, is going to be equal to three times y. Well, if this ordered pair is a solution then y is going to be equal to two, so three times y, y is two, plus five. Notice all I did is wherever I saw the x, I substituted it with three, wherever I saw the y, I substituted it with two. Now let's see if this is true. Four times three is twelve, minus one. Is this really the same thing as three times two which is six, plus five? See, 12 minus one is 11, six plus five is also 11. This is true, 11 equals 11. This pair three, two does satisfy this equation. Now let's see whether this one does, two, three. So this is saying when x is equal to two, y would be equal to three for this equation. Let's see if that's true. So four times x, we're now gonna see if when x is two, y can be three. So four times x, four times two, minus one is equal to three times y, now y we're testing to see if it can be three. Three times three plus five, let's see if this is true. Four times two is eight, minus one, is this equal to three times three? So that's nine plus five. So is seven equal to 14? No, clearly seven is not equal to 14. So these things are not equal to each other. So this is not a solution, when x equals two y cannot be to three and satisfy this equation. So only three, two is a solution.