GMAT Quant: How to Solve Two Equations with Two Variables

Fact: If you have two variables and only one equation, in general you will not be able to solve for the individual values of the variables.  You need two separate equations in order to solve for the individual values of each of two variables. (This fact is crucially important for GMAT algebra questions on the Quantitative Section.)

More Advanced Fact: As a general rule, if you wish to solve for the values of n different variables, you need at least n different equations.  (If n = 3, this could possibly come into play on 700+ questions on GMAT Quantitative.)


A Boon for Data Sufficiency!

Just this one mathematical fact, the first one, has powerful implications for hundreds of possible DS questions.  Consider this template DS question:


1) In blah blah blah scenario, x is blah blah blah and y is blah blah blah.

Statement #1: 2x + y = 6

Statement #2: x – y = 6


Statement #1: two variables, one equation, not sufficient by itself.  Statement #2: two variables, one equation, not sufficient by itself.  Combined: two equations, two variables, can be solved, sufficient.  Done.  Answer = C.

Notice, we had to do a minimum of math to solve this question.  Just this one fact can make short work of any of a number of seeming complicated DS questions.  Often, notice that the “equations” are given in verbal form: one first has to translate, but once you realize the verbal information constitutes an equation, you don’t even need to find the question: you can just use this logic to power through to an answer.


Improve your GMAT score with Magoosh.

Strategy for Problem Solving

For DS, all you have to determine is whether you can find an answer.  On Problem Solving, and on the occasional Two-Part Analysis in the Integrated Reasoning section, actually have to find the answer.

Your Algebra Two teacher probably taught you two different ways to solve these equations.  For simplicity, I am just going to review one method, the one that is most useful in solving the systems of equations you will see on the GMAT.  If you remember the other method, and prefer that, by all means use it.

The method I am going to review is sometimes called “elimination” or “linear combination.”  Here is the strategy.

Step #1 — Multiply one or both equations so that the coefficients of the same variable are opposites of each other (e.g. +7 and –7).

Step #2 — Add the two equations

Sometimes you get very lucky because in the equation, as given, coefficients of one variable already are opposites, so you can bypass Step #1 and proceed immediately to Step #2.

I’ll demonstrate with the two equations in my hypothetical question above.  Suppose, in a PS question we were given those two equations (2x + y = 6 and x – y = 6) and had to solve for either x or y.  Here, we are very lucky —- the coefficients of y are opposites, all we have to do is add the two equations:

Once we know x = 4, we can plug into either equation to find that y = –2.


A Slightly More Challenging Example

Consider this question:

2) The symphony sells two kinds of tickets: orchestra, for $40, and upper tiers, for $25.  On a certain night, the symphony sells 90 tickets and gets $2625 in revenue from the sales.  How many orchestra tickets did they sell?

    (A) 25
    (B) 35
    (C) 45
    (D) 55
    (E) 65


Notice, in verbal form, this is a two-equations-two variables problem.  The two variables are x = the number of orchestra tickets, and y = the number of upper tier tickets.

One equation we get is x + y = 90, for the total number of tickets sold.  That’s one equation.  If we sell x orchestra tickets, we get $40 for each, so we get 40x in total revenue from all of the orchestra tickets.  Similarly, we get 25y in total revenue from all the upper tier tickets.  Thus, the total revenue is 40x + 25y = 2625.  That’s our second equation.

The first equation is incredibly convenient to multiply.  I would rather multiply by 40 than by 25, so I make the coefficients of x match.  I’ll multiply the first equation by 40, and the second equation by –1.

corrected equation for tickets

Now, at first blush, that might look like an ugly division problem awaiting us, 975 divided by 15.  Let’s break it down a bit.   I know 900/3 = 300, and 75/3 = 25, so if I divide both sides by 3, I get

5y = 975/3 = 325

Now, 100/5 = 20, so three times that is 300/5 = 60.  Of course, 25/5 = 5, so

y = 325/5 = 65

Improve your GMAT score with Magoosh.

We want x, so x + (65) = 90 \(right\) x = 25, answer = A.


BTW, if these steps totally elude you, remember you can always backsolve from the numerical answers as a backup strategy.


Practice Question


Here’s a practice question.

If you can solve these, you are a master of what is, by some counts, the fourth most commonly tested concept on GMAT Quantitative.


Ready to get an awesome GMAT score? Start here.

Most Popular Resources

7 Responses to GMAT Quant: How to Solve Two Equations with Two Variables

  1. Will October 22, 2016 at 7:30 pm #

    Hi Mike, is this practice question:

    If x and y are different positive integers, what is the value of x?

    (1) x + y = 5

    (2) xy = 6

    An exception to the general rule mentioned in the first paragraph of this blogpost? I got the answer correct (both statements are insufficient, even together). However, isn’t this contrary to the general rule, that if you have two variable equations you can solve the values if you use both answers?

    Thanks, and apologies if I am confused.


    • Magoosh Test Prep Expert
      Magoosh Test Prep Expert October 23, 2016 at 7:14 am #

      Hi Will,

      This is a great question. So, when we solve for two equations with two variables, the one clarification I would like to make is that these two equations must be linear equations. A linear equation looks like “y = ax + b” with “a” and “b” representing constants. We know this equation is linear because the variables (“x” and “y”) are raised to the first power. So, “x^2” or “x^5” or “x^-1” are all not linear.

      When we have Statement (2), we are told that “xy = 6”. This is the same as the following:

      xy = 6 [Divide both sides by “x”]
      y = 6/x [Translate]
      y = 6 * x^-1

      Because the two equations ARE NOT linear, we cannot use this rule. Again, this was a great question and good clarification.

  2. Jukka November 12, 2014 at 1:36 pm #

    In the second example where you ‘multiply the first equation by 40, and the second equation by –1.’ it seems that you are missing negative before $2625

    • Mike MᶜGarry
      Mike November 12, 2014 at 2:25 pm #

      Dear Jukka,
      Thank you for pointing that out! 🙂 I just corrected that mistake. Your good eye for detail will serve you well on the GMAT! Best of luck!
      Mike 🙂

    • Polstar November 8, 2020 at 11:15 pm #

      The simple concept is subratcting (eqn 1- eqn2)

  3. Julia June 17, 2014 at 12:02 pm #

    Hi Mike!

    Thanks a lot for the great post – extremely helpful!

    However, I’ve just realized that the link to the practice question doesn’t work anymore:(
    ‘Here’s a practice question:

    Would you mind re-posting the question, please? You left such an intriguing description, so I would really love to test my knowledge on the topic:)

    Huge thanks in advance,

    • Mike MᶜGarry
      Mike June 17, 2014 at 1:31 pm #

      Dear Julia,
      Thank you for pointing this out, and I apologize for the bad link. At Magoosh, we are constantly editing and updating our questions with more data, so it happens some times that a question we thought was good actually does not look so good, for whatever reason, after we gather data on it. When that occurs, we change or eliminate the question. Apparently, that’s what happened to this question. Thanks for pointing this out. The link should be fine now. Best of luck to you!
      Mike 🙂

Magoosh blog comment policy: To create the best experience for our readers, we will only approve comments that are relevant to the article, general enough to be helpful to other students, concise, and well-written! 😄 Due to the high volume of comments across all of our blogs, we cannot promise that all comments will receive responses from our instructors.

We highly encourage students to help each other out and respond to other students' comments if you can!

If you are a Premium Magoosh student and would like more personalized service from our instructors, you can use the Help tab on the Magoosh dashboard. Thanks!

Leave a Reply