Sagot :
Let the whole number be x.
x + x² = 2x + 2
x² + x - 2x - 2 = 0
x² - x - 2 = 0
Factor:
(x - 2) (x + 1) = 0
x - 2 = 0 x + 1 = 0
x = 2 x = -1
The whole number is 2.
To check:
2 + 2² = 2 (2) + 2
2 + 4 = 4 + 2
6 = 6
x + x² = 2x + 2
x² + x - 2x - 2 = 0
x² - x - 2 = 0
Factor:
(x - 2) (x + 1) = 0
x - 2 = 0 x + 1 = 0
x = 2 x = -1
The whole number is 2.
To check:
2 + 2² = 2 (2) + 2
2 + 4 = 4 + 2
6 = 6