How do you solve x2+10x+5=0 by completing the square?

1 Answer
May 13, 2016

x=5±25
(see below for completing the squares method of solution)

Explanation:

Given:
XXXx2+10x+5=0

Move the constant to the right side as
XXXx2+10x=5

We know that (x+a)2=x2+2ax+a2
So if the first two terms of a squared binomial are
XXXx2+2ax=x2+10x
then
XXXa=5
and we will need to add
XXXa2=25 (to both sides) to complete the square:

XXXx2+10x+25=5+25

Writing as a squared binomial and simplifying the right side:
XXX(x+5)2=20

Taking the square root of both sides:
XXXx+5=±25

Subtracting 5 from both sides
XXXx=5±25