Question 152 of 157MediumMCQ
The sum of all the roots of the equation \[\left|x^{2}-8 x+15\right|-2 x+7=0\] is :
Solutions · 1
Official solution
\[
We have, x2−8x+15−2x+7=0⇒∣(x−3)(x−5)∣−2x+7=0
\]
Now, when x≤3 or x≥5, then
\[
\[\begin{gathered} x^2-8 x+15-2 x+7 =0 \\ \Rightarrow x^2-10 x+22=0 \\ \Rightarrow x^2-10 x+25-3=0 \\ \Rightarrow (x-5)^2-3=0 \\ \Rightarrow (x-5)= \pm \sqrt{3} \\ \Rightarrow x=5+\sqrt{3}, 5-\sqrt{3} \end{gathered}\]
\]
Since, x≤3 or x≥5
\[
\therefore x=5+\sqrt{3}
\]
When, 3<x<5, then
\[
\[\begin{gathered} -\left(x^2-8 x+15\right)-2 x+7 =0 \\ \Rightarrow -x^2+8 x-15-2 x+7 =0 \\ \Rightarrow -x^2+6 x-8 =0 \\ \Rightarrow x^2-6 x+8 =0 \\ \Rightarrow (x-4)(x-2) =0 \Rightarrow x=2,4 \end{gathered}\]
\]
Since, 3<x<5
\[
\therefore x=4
\]
\[
\therefore \text { Sum of roots }=(5+\sqrt{3})+4=9+\sqrt{3}
\] Answer the question to unlock