Đáp án:
$S = \{\pm 2\sqrt{3}, 10 + 2\sqrt{13} \}$.
Giải thích các bước giải:
- Với $x \geq 5$, ptrinh trở thành
$x^2 - 10x - 10(x-5) + 38 = 0$
$\Leftrightarrow x^2 - 20x + 48 = 0$
$\Leftrightarrow x = 10 \pm 2\sqrt{13}$
Do $x \geq 5$ nên $x = 10 + 2\sqrt{13}$
- Với $x < 5$, ptrinh trở thành
$x^2 - 10x - 10(5-x) + 38 = 0$
$\Leftrightarrow x^2 -12 = 0$
$\Leftrightarrow x = \pm 2\sqrt{3}$
Vậy $S = \{\pm 2\sqrt{3}, 10 + 2\sqrt{13} \}$.