You can put this solution on YOUR website! x^2 + x = 42
x^2 + x - 42 = 42 - 42 = 0
We can factor the above quadratic by inspection as:
x^2 + x - 42 = (x + 7)(x - 6) = 0
x + 7 = 0 x - 6 = 0
x = -7 x = 6
Both values satisfy the requirement:
(-7)^2 + (-7) = 49 - 7 = 42
6^2 + 6 = 36 + 6 = 42