Find two consecutive positive integers such that the sum of their squares is 25.
Let the first integer be x. The next consecutive positive integer is x + 1.
The sum of their squares equals 25. We write this as::
x^2 + (x + 1)^2
Expanding, we get:
x^2 + x^2 + 2x + 1 = 25
Group like terms...