Find the sum of all real values of x which satisfy the following:
sgn ( x 2 − 3 x + 2 ) − ∣ x 2 − 3 x + 2 ∣ = 0
Notation: sgn ( ⋅ ) denotes the signum function .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
@Braden Dean , we have to mention real x in your problem question, because there are complex value x 's satisfying the equation. I have amended the statement for you.
Log in to reply
Thank you! Didn't catch that.
Given that
sgn ( x 2 − 3 x + 2 ) − ∣ x 2 − 3 x + 2 ∣ = 0 ⟹ ∣ x 2 − 3 x + 2 ∣ = sgn ( x 2 − 3 x + 2 ) = ⎩ ⎪ ⎨ ⎪ ⎧ − 1 0 1
When sgn ( x 2 − 3 x + 2 ) = − 1 , ⟹ ∣ x 2 − 3 x + 2 ∣ = − 1 . Since ∣ x 2 − 3 x + 2 ∣ ≥ 0 . there is no solution.
When sgn ( x 2 − 3 x + 2 ) = 0 ,
∣ x 2 − 3 x + 2 ∣ x 2 − 3 x + 2 ( x − 1 ) ( x − 2 ) ⟹ x = 0 = 0 = 0 = { 1 2
When sgn ( x 2 − 3 x + 2 ) = 1 ,
∣ x 2 − 3 x + 2 ∣ = 1 ⟹ x 2 − 3 x + 2 = ± 1 ⟹ ⎩ ⎨ ⎧ x 2 − 3 x + 1 = 0 x 2 − 3 x + 3 = 0 ⟹ x = 2 3 ± 5 No real roots.
Therefore the sum of real roots is 1 + 2 + 3 = 6 .
In the last case, you should not consider the case x^2-3x+2=-1 (which gives complex solutions), since its sign is 1, and therefore the function must be positive
Log in to reply
No, for example ∣ x ∣ = 1 ⟹ x = ± 1 , ∣ x − 1 ∣ = 1 ⟹ x = 0 , 2 , ∣ x 2 + 3 x + 1 ∣ = 1 ⟹ x = − 3 , − 2 , − 1 , 0 , ∣ x 2 + 3 x + 4 ∣ = 1 has no real root.
I think Chew-Seong Cheong might be failing to understand what you are saying on this one. I agree.
Okay I got it now.
s g n ( x 2 − 3 x + 2 ) = ∣ x 2 − 3 x + 2 ∣
Consider 3 cases x 2 − 3 x + 2 = 0 , 1 , − 1
Rearrange x 2 − 3 x + c = 0 where c = 1 , 2 , 3
Δ = ( − 3 ) 2 − 4 × 1 × c = 9 − 4 c which is < 0 when c = 3 .
sum of roots for each case = − ( − 3 ) / 1 = 3 .
The question requires the sum of all real roots = 3 + 3 = 6 for c = 1 , 2
Problem Loading...
Note Loading...
Set Loading...
The absoulte value fuction can be rewritten as: ∣ x ∣ = x sgn ( x )
Therefore:
∣ x 2 − 3 x + 2 ∣ = ( x 2 − 3 x + 2 ) sgn ( x 2 − 3 x + 2 )
Plugging this into our equation:
sgn ( x 2 − 3 x + 2 ) − ( x 2 − 3 x + 2 ) sgn ( x 2 − 3 x + 2 ) = 0
Factoring:
sgn ( x 2 − 3 x + 2 ) ( 1 − ( x 2 − 3 x + 2 ) ) = 0
The signum function is equal to zero whenever its argument is equal to zero, so for that we just have to solve:
x 2 − 3 x + 2 = 0
x = 1 , 2
Then the other part is already a simple quadratic:
( 1 − ( x 2 − 3 x + 2 ) ) = 0
x 2 − 3 x + 1 = 0
2 3 ± 2 5
Therefore:
1 + 2 + ( 2 3 + 2 5 ) + ( 2 3 − 2 5 ) = 6