What is the value of |f(x)| - |g(x)| + |f(g(x)|

This topic has expert replies
Source: — Problem Solving |

GMAT/MBA Expert

User avatar
Elite Legendary Member
Posts: 10392
Joined: Sun Jun 23, 2013 6:38 pm
Location: Palo Alto, CA
Thanked: 2867 times
Followed by:511 members
GMAT Score:800

by [email protected] » Wed Jul 10, 2013 10:54 am
Hi wholelottalove,

A double-fuction is similar to having a parentheses inside of another parentheses; you have to do the inner function first, then plug that RESULT into the outer function.

In this question, if we set x = 2, then....

|f(g(x))| = .......

g(2) = 5 - 2 = 3
f(3) = 3 - 5 = -2
|-2| = +2

If you continue on with this example, then you'll end up with....

|-3| - |3| + 2 =

3 - 3 + 2 = 2 which would be either C or E

With another test (try changing x to - 2) and rerunning the calculation, you'll end up with just one answer: C

GMAT assassins aren't born, they're made,
Rich
Contact Rich at [email protected]
Image

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Wed Jul 10, 2013 3:51 pm
wholelottalove wrote:If f(x) = x-5 and g(x) = 5-x, what is the value of |f(x)| - |g(x)| + |f(g(x)|?

A. |x - 10|
B. 3x + 10
C. |x|
D. |x - 5|
E. x
To make the problem and solution easier to follow, I've rephrased the question stem and replaced a and b with x.
When the answer choices involve absolute value, I recommend plugging in a NEGATIVE number.

Let x=-1.

f(x):
Since f(x) = x-5, we get:
f(-1) = -1 - 5 = -6.

g(x):
Since g(x) = 5-x, we get:
g(-1) = 5 - (-1) = 6.

f(g(x)):
Work from the INSIDE OUT.
Since g(x) = 6, we get:
f(g(x)) = f(6).

Since f(x) = x-5, we get:
f(6) = 6-5 = 1.

Thus:
f(g(x)) = 1.

Plugging these values into the given expression, we get:
|f(x)| - |g(x)| + |f(g(x)| = |-6| - |6| + |1| = 1. This is our target.

Now we plug x=-1 into the answers to which yields our target of 1.
Only C works:
|x| = |-1| = 1.

The correct answer is C.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3