How do you complete the square to solve x2+6x=7?
Step 1: Complete the squares.
Given, x2+6x=7
To complete the squares, add 9 on both sides of the equation.
x2+6x+9=7+9⇒x2+2·3·x+32=16⇒x+32=16∵x2+2xy+y2=x+y2⇒x+3=±16Takingsquarerootofbothsides∴x+3=±4
Step 2: Solve for x.
If x+3=4,
x+3=4⇒x=4-3Subtract3onfromsides∴x=1
And if x+3=-4,
x+3=-4⇒x=-4-3Subtract3onfromsides∴x=-7
Hence, the solutions are x=-7, x=1.
How do you solve x2−6x=16 by completing the square?