Last visit was: 10 Aug 2024, 00:26 It is currently 10 Aug 2024, 00:26
Toolkit
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.

The sum of all solutions for x in the equation x^2 8x + 21 = |x 4|

SORT BY:
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 94850
Own Kudos [?]: 648301 [138]
Given Kudos: 86899
Math Expert
Joined: 02 Sep 2009
Posts: 94850
Own Kudos [?]: 648301 [45]
Given Kudos: 86899
Tutor
Joined: 16 Oct 2010
Posts: 15212
Own Kudos [?]: 67241 [13]
Given Kudos: 437
Location: Pune, India
GMAT Club Legend
Joined: 12 Sep 2015
Posts: 6804
Own Kudos [?]: 30989 [7]
Given Kudos: 799
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
3
Kudos
4
Bookmarks
Top Contributor
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

There are 3 steps to solving equations involving ABSOLUTE VALUE:
1. Apply the rule that says: If |x| = k, then x = k and/or x = -k
2. Solve the resulting equations
3. Plug solutions into original equation to check for extraneous roots

Given: x² – 8x + 21 = |x – 4|+ 5
Subtract 5 from both sides: x² – 8x + 16 = |x – 4|
Apply above rule

We get two cases: x² – 8x + 16 = x – 4 and -(x² – 8x + 16) = x – 4

x² – 8x + 16 = x – 4
Add 4 to both sides: x² – 8x + 20 = x
Subtract x from both sides: x² – 9x + 20 = 0
Factor: (x - 5)(x - 4) = 0
So, x = 5 or x = 4

-(x² – 8x + 16) = x – 4
Simplify: -x² + 8x - 16 = x – 4
Add 4 to both sides: -x² + 8x - 12 = x
Subtract x from both sides: -x² + 7x - 12 = 0
Multiply both sides by -1 to get: x² - 7x + 12 = 0
Factor: (x - 3)(x - 4) = 0
So, x = 3 or x = 4

We have three potential solutions: x = 5, x = 4 and x = 3

Now let's test for EXTRANEOUS ROOTS

x = 5
Plug into original equation to get:
5² – 8(5) + 21 = |5 – 4|+ 5
Evaluate: 6 = 6
WORKS! So, x = 5 IS a valid solution

x = 4
Plug into original equation to get:
4² – 8(4) + 21 = |4 – 4|+ 5
Evaluate: 5 = 5
WORKS! So, x = 4 is a valid solution

x = 3
Plug into original equation to get:
3² – 8(3) + 21 = |3 – 4|+ 5
Evaluate: 6 = 6
WORKS! So, x = 3 is a valid solution

SUM of all solutions = 5 + 4 + 3 = 12

RELATED VIDEO
General Discussion
Manager
Joined: 23 Nov 2014
Posts: 50
Own Kudos [?]: 51 [5]
Given Kudos: 64
Location: India
GMAT 1: 730 Q49 V40
GPA: 3.14
WE:Sales (Consumer Products)
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
2
Kudos
3
Bookmarks
Two cases: modulus function is positive or modulus function is negative

Positive case:

x^2-8x+21 = (x-4)+5
=> x^2-9x+20 = 0
=> x = 4 or 5

Negative case:

x^2-8x+21 = -(x-4)+5
=> x^2-7x+12 = 0
=> x = 3 or 4

=>Unique solutions: 3, 4, 5
=>Sum = 12?
Intern
Joined: 10 Jul 2014
Posts: 11
Own Kudos [?]: 10 [3]
Given Kudos: 6
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
2
Kudos
1
Bookmarks
|x-4|. |x-4| - |x-4|=0
|x-4|=0 then x=4
|x-4|=1
x=3,5
sum= 4+3+5=12
ans c
Intern
Joined: 06 Apr 2015
Posts: 5
Own Kudos [?]: 8 [2]
Given Kudos: 0
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
2
Kudos
x^2 - 8x + 16 = |x-4|

RHS can be -ve or +ve

x^2 - 9x + 20 = 0
x^2 - 7x + 12 = 0

x= 5,4,3

We test all 3 values in original equation, all ok.

Thus, Sum = 5 + 4 +3 = 12

Ans (D)

Originally posted by rajeev90 on 10 May 2015, 02:16.
Last edited by rajeev90 on 10 May 2015, 02:29, edited 1 time in total.
Manager
Joined: 07 Apr 2015
Posts: 127
Own Kudos [?]: 193 [2]
Given Kudos: 185
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
2
Kudos
x^2 - 8x + 21 = |x-4| +5

I: Positive Case
x^2 - 8x + 21 = x - 4 + 5
x^2 - 9x + 20 = 0
(x - 4) (x - 5)

x1 = 4
x2 = 5

II: Negative Case

x^2 - 8x + 21 = - |x-4| +5
x^2 - 8x + 21 = -x + 4 + 5
x^2 - 7x + 12 = 0
(x - 3) (x - 4)
x3 = 3
x4 = 4 (cancel out as 3 is already listed as x1)

3 + 4 + 5 = 12

Director
Joined: 21 May 2013
Posts: 539
Own Kudos [?]: 233 [0]
Given Kudos: 608
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

Kudos for a correct solution.

Now, we can have 2 situations here
Situation 1:x^2-8x+21=x-4+5
x^2-8x+21-x-5+4=x^2-9x+20
x^2-5x-4x+20
x=5 or x=4
Testing both values in the equation, both satisfy

Situation 2:x^2-8x+21=-x+4+5
x^2-7x+12=0
x^-3x-4x+12=0
x=3 or x=4
Testing both values in the equation, both satisfy
Therefor sum of all solutions=3+4+5=12
Intern
Joined: 23 Sep 2015
Posts: 27
Own Kudos [?]: 3 [0]
Given Kudos: 99
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
why do we take x-4>=0 and x-4<=0 .....and not x-4>0 and x-4<0....thanks in advance.

Bunuel wrote:
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

Kudos for a correct solution.

MANHATTAN GMAT OFFICIAL SOLUTION:

a. Unknowns: x
Given: x2 – 8x + 21 = |x – 4| + 5.
Constraints: The question implies that there may be multiple solutions, as does the non-linear given equation.
Question: What is the sum of all possible solutions for x?

b. Break into 2 equations (i.e. non-negative and negative inside absolute value sign) → Group all variables on one side of the equation, with 0 on the other → Factorable quadratic? → Factor → Solve → Answer.
Attachment:
2015-05-11_1802.png

Sum of the different solutions: 5 + 4 + 3 = 12.

Alternatively, we could focus on the left side of the equation, which looks like a manageable quadratic, isolating the absolute value on the right:

x^2 – 8x + 21 = |x – 4| + 5
x^2 – 8x + 16 = |x – 4|
(x – 4)(x – 4) = |x – 4|
(x – 4)2 = |x – 4|

“Something squared equals its absolute value. 1 squared equals 1, 0 squared equals 0…hmm, –1 squared equals 1…”

x – 4 = –1, 0, or 1
x = 3, 4, or 5

Sum of the different solutions: 5 + 4 + 3 = 12.

d. On absolute value problems, some of the solutions might be duplicates. Just cross these off at the end. Additionally, we could check to make sure the results for each solutions satisfy the initial assumptions. For example, in Scenario 1 we assumed x – 4 ≥ 0. Both solutions, 5 and 4, satisfy this inequality. Similarly, the solutions 4 and 3 satisfy Scenario 2’s assumption, that x – 4 ≤ 0. Thus all the solutions were valid. For complex absolute value equations such as this one, this need
not always be the case.
Manager
Joined: 24 Dec 2016
Posts: 93
Own Kudos [?]: 45 [0]
Given Kudos: 145
Location: India
Concentration: Finance, General Management
WE:Information Technology (Computer Software)
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
Bunuel wrote:
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

Kudos for a correct solution.

MANHATTAN GMAT OFFICIAL SOLUTION:

a. Unknowns: x
Given: x2 – 8x + 21 = |x – 4| + 5.
Constraints: The question implies that there may be multiple solutions, as does the non-linear given equation.
Question: What is the sum of all possible solutions for x?

b. Break into 2 equations (i.e. non-negative and negative inside absolute value sign) → Group all variables on one side of the equation, with 0 on the other → Factorable quadratic? → Factor → Solve → Answer.
Attachment:
2015-05-11_1802.png

Sum of the different solutions: 5 + 4 + 3 = 12.

Alternatively, we could focus on the left side of the equation, which looks like a manageable quadratic, isolating the absolute value on the right:

x^2 – 8x + 21 = |x – 4| + 5
x^2 – 8x + 16 = |x – 4|
(x – 4)(x – 4) = |x – 4|
(x – 4)2 = |x – 4|

“Something squared equals its absolute value. 1 squared equals 1, 0 squared equals 0…hmm, –1 squared equals 1…”

x – 4 = –1, 0, or 1
x = 3, 4, or 5

Sum of the different solutions: 5 + 4 + 3 = 12.

d. On absolute value problems, some of the solutions might be duplicates. Just cross these off at the end. Additionally, we could check to make sure the results for each solutions satisfy the initial assumptions. For example, in Scenario 1 we assumed x – 4 ≥ 0. Both solutions, 5 and 4, satisfy this inequality. Similarly, the solutions 4 and 3 satisfy Scenario 2’s assumption, that x – 4 ≤ 0. Thus all the solutions were valid. For complex absolute value equations such as this one, this need
not always be the case.

Hi Bunuel,

I have a conceptual doubt wrt such questions.
Like most people above have, I also solved for the x>0 and x<0 cases and got the roots as 4,5 for x>0 and 3,4 for x<0.
As we were considering case x<0 which doesn't get satisfied with the roots 3 and 4, I discarded those. Is that not right to do ?

Shruti.
Director
Joined: 20 Dec 2015
Status:Learning
Posts: 864
Own Kudos [?]: 573 [0]
Given Kudos: 755
Location: India
Concentration: Operations, Marketing
GMAT 1: 670 Q48 V36
GRE 1: Q157 V157
GPA: 3.4
WE:Engineering (Manufacturing)
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
IMO D
there will be two equations taking into account the two possible value of LHS i.e positive and negative .
The solution we will have 3 different values of the solutions
3,4 and 5
Total =12

Sent from my ONE E1003 using GMAT Club Forum mobile app
Tutor
Joined: 16 Oct 2010
Posts: 15212
Own Kudos [?]: 67241 [2]
Given Kudos: 437
Location: Pune, India
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
2
Kudos
Shruti0805 wrote:
Bunuel wrote:
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

Kudos for a correct solution.

MANHATTAN GMAT OFFICIAL SOLUTION:

a. Unknowns: x
Given: x2 – 8x + 21 = |x – 4| + 5.
Constraints: The question implies that there may be multiple solutions, as does the non-linear given equation.
Question: What is the sum of all possible solutions for x?

b. Break into 2 equations (i.e. non-negative and negative inside absolute value sign) → Group all variables on one side of the equation, with 0 on the other → Factorable quadratic? → Factor → Solve → Answer.
Attachment:
2015-05-11_1802.png

Sum of the different solutions: 5 + 4 + 3 = 12.

Alternatively, we could focus on the left side of the equation, which looks like a manageable quadratic, isolating the absolute value on the right:

x^2 – 8x + 21 = |x – 4| + 5
x^2 – 8x + 16 = |x – 4|
(x – 4)(x – 4) = |x – 4|
(x – 4)2 = |x – 4|

“Something squared equals its absolute value. 1 squared equals 1, 0 squared equals 0…hmm, –1 squared equals 1…”

x – 4 = –1, 0, or 1
x = 3, 4, or 5

Sum of the different solutions: 5 + 4 + 3 = 12.

d. On absolute value problems, some of the solutions might be duplicates. Just cross these off at the end. Additionally, we could check to make sure the results for each solutions satisfy the initial assumptions. For example, in Scenario 1 we assumed x – 4 ≥ 0. Both solutions, 5 and 4, satisfy this inequality. Similarly, the solutions 4 and 3 satisfy Scenario 2’s assumption, that x – 4 ≤ 0. Thus all the solutions were valid. For complex absolute value equations such as this one, this need
not always be the case.

Hi Bunuel,

I have a conceptual doubt wrt such questions.
Like most people above have, I also solved for the x>0 and x<0 cases and got the roots as 4,5 for x>0 and 3,4 for x<0.
As we were considering case x<0 which doesn't get satisfied with the roots 3 and 4, I discarded those. Is that not right to do ?

Shruti.

Responding to a pm:

The ranges for which you are solving are not x > 0 and x < 0. They are x >= 4 and x < 4 because

we say that
|a| = a when a >= 0
|a| = -a when a < 0

So
|x - 4| = (x - 4) when (x - 4) >= 0 i.e. x >= 4
|x - 4| = -(x - 4) when (x - 4) < 0 i.e. x < 4

For more on this, check: https://www.gmatclub.com/forum/veritas-prep-resource-links-no-longer-available-399979.html#/2014/0 ... -the-gmat/
Manager
Joined: 26 Jul 2011
Posts: 65
Own Kudos [?]: 281 [1]
Given Kudos: 20
Location: India
WE:Marketing (Manufacturing)
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
1
Kudos
let me ask a lame question...

x^2-8x+21=|x-4|+5
x^2-8x+21-5=|x-4|
x^2-8x+16=|x-4|

(x-4)(x-4)=|x-4|

Now Scenario 1 where |x-4| is positive

(x-4)(x-4)=(x-4)
(x-4) = (x-4)/(x-4) ------> (x-4)=1-----> x = 5

Scenario 2 where |x-4| is negative
(x-4)(x-4)=-(x-4)---------> (x-4)=-(x-4)/(x-4)----------> (x-4)=-1--------> x = 3

So i have only two solutions x=5 and x=3...Why am I getting only 2 solutions ? while there are 3...

I know I am doing something very stupid with the basics. Can somebody please point out what is it ?
Math Expert
Joined: 02 Sep 2009
Posts: 94850
Own Kudos [?]: 648301 [1]
Given Kudos: 86899
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
1
Kudos
ratinarace wrote:
let me ask a lame question...

x^2-8x+21=|x-4|+5
x^2-8x+21-5=|x-4|
x^2-8x+16=|x-4|

(x-4)(x-4)=|x-4|

Now Scenario 1 where |x-4| is positive

(x-4)(x-4)=(x-4)
(x-4) = (x-4)/(x-4) ------> (x-4)=1-----> x = 5

Scenario 2 where |x-4| is negative
(x-4)(x-4)=-(x-4)---------> (x-4)=-(x-4)/(x-4)----------> (x-4)=-1--------> x = 3

So i have only two solutions x=5 and x=3...Why am I getting only 2 solutions ? while there are 3...

I know I am doing something very stupid with the basics. Can somebody please point out what is it ?

You cannot reduce (x-4)(x-4)=(x-4) by x-4 because x-4 can be 0 and we cannot divide by 0. By doing so you loose a root, namely x = 4.

Never reduce equation by variable (or expression with variable), if you are not certain that variable (or expression with variable) doesn't equal to zero. We can not divide by zero.
Director
Joined: 13 Mar 2017
Posts: 624
Own Kudos [?]: 604 [0]
Given Kudos: 88
Location: India
Concentration: General Management, Entrepreneurship
GPA: 3.8
WE:Engineering (Energy and Utilities)
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

Kudos for a correct solution.

x^2 – 8x + 21 = |x – 4|+ 5

If x>=4,
x^2 – 8x + 21 = x – 4+ 5
-> x^2 – 8x + 21 = x+1
-> x^2 - 9x + 20 = 0
-> (x-4) (x-5) = 0
-> x =4,5

If x<4 ,
x^2 – 8x + 21 = 4-x +5 = 9-x
x^2 - 7x + 12 = 0
(x-4)(x-3) =0
-> x=3

Total sum = 3+4+5= 12
Director
Joined: 12 Nov 2016
Posts: 569
Own Kudos [?]: 119 [0]
Given Kudos: 167
Location: United States
Schools: Yale '18
GMAT 1: 650 Q43 V37
GRE 1: Q157 V158
GPA: 2.66
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
Bunuel wrote:
The sum of all solutions for x in the equation x^2 – 8x + 21 = |x – 4|+ 5 is equal to:

(A) –7
(B) 7
(C) 10
(D) 12
(E) 14

Kudos for a correct solution.

Two basic ways to write out absolute values for the GMAT

l x -4 l

x - 4 =
- l x -4 l =
Manager
Joined: 17 Sep 2019
Posts: 110
Own Kudos [?]: 49 [0]
Given Kudos: 516
GMAT 1: 710 Q49 V38
GMAT 2: 680 Q49 V33
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
Damn!
Manager
Joined: 13 Jun 2019
Posts: 197
Own Kudos [?]: 97 [0]
Given Kudos: 645
GMAT 1: 490 Q42 V17
GMAT 2: 550 Q39 V27
GMAT 3: 630 Q49 V27
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]

Quote:
x^2 – 8x + 21 = |x – 4| + 5
x^2 – 8x + 16 = |x – 4|
(x – 4)(x – 4) = |x – 4|
(x – 4)2 = |x – 4|
“Something squared equals its absolute value. 1 squared equals 1, 0 squared equals 0…hmm, –1 squared equals 1…”

x – 4 = –1, 0, or 1
x = 3, 4, or 5

I have a conceptual question here

If it says
$$(x-4)^2 = |x-4|$$

Doesnt this mean that $$x-4 >= 0$$ all the time? (as $$(x-4)^2$$ is always positive)
Why are we considering$$x-4$$ can be negative?

Can anybody please explain if my understanding is wrong.
Tutor
Joined: 16 Oct 2010
Posts: 15212
Own Kudos [?]: 67241 [0]
Given Kudos: 437
Location: Pune, India
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
rsrighosh wrote:

Quote:
x^2 – 8x + 21 = |x – 4| + 5
x^2 – 8x + 16 = |x – 4|
(x – 4)(x – 4) = |x – 4|
(x – 4)2 = |x – 4|
“Something squared equals its absolute value. 1 squared equals 1, 0 squared equals 0…hmm, –1 squared equals 1…”

x – 4 = –1, 0, or 1
x = 3, 4, or 5

I have a conceptual question here

If it says
$$(x-4)^2 = |x-4|$$

Doesnt this mean that $$x-4 >= 0$$ all the time? (as $$(x-4)^2$$ is always positive)
Why are we considering$$x-4$$ can be negative?

Can anybody please explain if my understanding is wrong.

Because y^2 is positive does not mean y needs to be positive. Because |y| is positive, doesn't mean y needs to be positive too.
If y is -5, y^2 = 25 (positive) and |y| = 5 (positive) but y is still negative.

In above, (x - 4)^2 and |x - 4| are positive but x - 4 may not be positive. It could be positive or negative.
Re: The sum of all solutions for x in the equation x^2 8x + 21 = |x 4| [#permalink]
1   2
Moderator:
Math Expert
94850 posts