# GMAT Problem Solving Strategy: Test Cases

*by*, Mar 17, 2015

If youre going to do a great job on the GMAT, then youve 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 functionsfis [pmath]f(x)=f(1-x)[/pmath]for allx?(A) [pmath]f(x)=1-x[/pmath]

(B) [pmath]f(x)=1-x^2[/pmath]

(C) [pmath]f(x)=x^2-(1-x)^2[/pmath]

(D) [pmath]f(x)=x^2(1-x)^2[/pmath]

(E) [pmath]f(x)=x/{1-x}[/pmath]

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. Whats 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 doesnt 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 didnt pick numbers that violate those restrictions.

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

But wait, Im not even sure I understand the question yet. Lets take a minute to wrap our heads around the function notation. Whats the significance of saying that [pmath]f(x) = f(1-x)[/pmath]?

The *f* letter signals a function. Normally, youd see something like this:

[pmath]f(x) = 3x + 19[/pmath]

What thats 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: its got that [pmath]f(x)[/pmath]* *thing on both sides of the equation. Whats that all about?

Glance down at the answers. Theyre all normal functions (that is, they look the way we expect functions to look). So theres really only one[pmath]f(1-x)[/pmath]function for each answer, but were supposed to solve the function in two different ways. First, we solve the function for [pmath]f(x)[/pmath]. Then, we solve the same function for [pmath]f(1-x)[/pmath]. 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.

Lets try [pmath]x = 2[/pmath] first.

**Case #1:**

[pmath]x = 2[/pmath]

[pmath](1 -x) = -1[/pmath]

The question is: [pmath]f(x) = f(1-x)[/pmath]?

Rewrite it: does [pmath]f(2) = f(-1)[/pmath]?

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

The correct answer is (D).

Using this method, youll sometimes get lucky and only need to try one case. As I mentioned, though, youll often need to try two cases, or even three. Once you eliminate an answer, though, its gone for good, so each case gets faster as you try fewer and fewer answers. Once you have only one answer left, youre 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 Ill point out here is that this is quite a complex problem (I received it towards the end of a GMATPrep on which I scored 51so the difficulty level is up there). Theres 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, youll 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 whats 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, youre 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.

###### Recent Articles

###### Archive

- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009