GMAT Problem Solving Strategy: Test Cases:

by on March 17th, 2015

math_3If you’re going to do a great job on the GMAT, then you’ve got to know how to Test Cases. This strategy will help you on countless quant problems.

This technique is especially useful for Data Sufficiency problems, but you can also use it on some Problem Solving problems, like the GMATPrep© problem below. Give yourself about 2 minutes. Go!

* “For which of the following functions f is f(x)=f(1-x) for all x?

“(A) f(x)=1-x

“(B) f(x)=1-x^2

“(C) f(x)=x^2-(1-x)^2

“(D) f(x)=x^2(1-x)^2

“(E) f(x)=x/{1-x}

Testing Cases is mostly what it sounds like: you will test various possible scenarios in order to narrow down the answer choices until you get to the one right answer. What’s the common characteristic that signals you can use this technique on problem solving?

The most common language will be something like “Which of the following must be true?” (or “could be true”)

The above problem doesn’t have that language, but it does have a variation: you need to find the answer choice for which the given equation is true “for all x,” which is the equivalent of asking for which answer choice the given equation is always, or must be, true.

All right, so how are we actually going to test this thing? Here are the steps:

First, choose numbers to test in the problem.

Second, double check that you have selected a valid case. If the problem provided any restrictions, make sure that you didn’t pick numbers that violate those restrictions.

Third, test your numbers in the answer choices to eliminate wrong answers.

But wait, I’m not even sure I understand the question yet. Let’s take a minute to wrap our heads around the function notation. What’s the significance of saying that f(x) = f(1-x)?

The f letter signals a function. Normally, you’d see something like this:

f(x) = 3x + 19

What that’s saying is “every time I give you a specific value for x, multiply it by 3 and then add 19.”

The question stem, though, has something weird: it’s got that f(x) thing on both sides of the equation. What’s that all about?

Glance down at the answers. They’re all normal functions (that is, they look the way we expect functions to look). So there’s really only one f(1-x) function for each answer, but we’re supposed to solve the function in two different ways. First, we solve the function for f(x). Then, we solve the same function for f(1-x). If those two solutions match, then the answer choice stays in. If the two solutions do not match, then we get to cross that answer choice off.

All right, ready to try the first case? Pick something easy for x, making sure you follow any restrictions given by the problem, and test those answer choices.

Let’s try x = 2 first.

Case #1:

x = 2

(1 - x) = -1

The question is: f(x) = f(1-x)?

Rewrite it: does f(2) = f(-1)?

Lucky! In this case, we had to try only one number to get rid of the 4 wrong cases. More typically, you’ll try 2 or sometimes 3 cases in order to get down to a single answer.

The correct answer is (D).

Using this method, you’ll sometimes get lucky and only need to try one case. As I mentioned, though, you’ll often need to try two cases, or even three. Once you eliminate an answer, though, it’s gone for good, so each case gets faster as you try fewer and fewer answers. Once you have only one answer left, you’re done. (On a really hard problem, you might not get down to one answer, but you will likely be able to eliminate at least one or two of the wrong answers.)

The other thing I’ll point out here is that this is quite a complex problem (I received it towards the end of a GMATPrep on which I scored 51—so the difficulty level is up there). There’s some necessary thoughtful thinking upfront in order to figure out the best path through this thing, and you do need to feel pretty comfortable with functions in order to be able to interpret the unusual set-up.

Key Takeaways: Test Cases on Problem Solving

(1) If a PS problem asks you what must or could be true (or the equivalent language), then you are likely going to be Testing Cases to solve this problem. Remember your three steps: (1) choose numbers, (2) double-check that you chose valid / allowable numbers, and (3) test the answer choices using those numbers. Typically, you’ll have to try 2 or 3 cases to get down to one answer.

(2) Before you dive in and start testing cases, do make sure that you understand what’s going on in the problem. This is true for any quant problem: take a step back and think through the best path. If you just dive in and start calculating, you’re more likely to get yourself into trouble.

* GMATPrep© questions courtesy of the Graduate Management Admissions Council. Usage of this question does not imply endorsement by GMAC.


  • Hi, guys! If you read this before and are coming back now, you might notice that the last part of the solution looks a bit different. I had a math error! (I had been trying to find a number to test for the first case that then left me with 2 answers so that I could then show how to try a second case. So I kept erasing and re-trying numbers in the table and... suffice to say: I reminded myself that I need to do math on paper and not in a table in a Word doc. Hello, careless mistake!) Anyway, this article is all fixed up now. Happy studying!

    • Hi Stacey! 

      I recently encountered the same question with different answer please check the following link  -

      Im wondering how to solve this ? Please help


Ask a Question or Leave a Reply to Stacey Koprince

The author Manhattan Prep gets email notifications for all questions or replies to this post.

Some HTML allowed. Keep your comments above the belt or risk having them deleted. Signup for a Gravatar to have your pictures show up by your comment.