document.write( "Question 818755: Solve by completing the square.. What value should you add to each side of the equation?\r
\n" ); document.write( "\n" ); document.write( "x^2+2x=-6
\n" ); document.write( "

Algebra.Com's Answer #492767 by TimothyLamb(4379)\"\" \"About 
You can put this solution on YOUR website!
x^2 + 2x = -6
\n" ); document.write( "x^2 + 2x + 6 = 0
\n" ); document.write( "---
\n" ); document.write( "the above quadratic equation is in standard form, with a=1, b=2, and c=6
\n" ); document.write( "---
\n" ); document.write( "to solve the quadratic equation by using the quadratic formula, plug this:
\n" ); document.write( "1 2 6
\n" ); document.write( "into this: https://sooeet.com/math/quadratic-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "this quadratic has complex roots:
\n" ); document.write( "---
\n" ); document.write( "the two complex roots of the quadratic are:
\n" ); document.write( "x = -1 + (2.23606798)i
\n" ); document.write( "x = -1 - (2.23606798)i
\n" ); document.write( "---
\n" ); document.write( "check this result by completing the square:
\n" ); document.write( "x^2 + 2x = -6
\n" ); document.write( "---
\n" ); document.write( "convert to the complete-square form:
\n" ); document.write( "a(x + d)^2 + e = 0
\n" ); document.write( "where:
\n" ); document.write( "d = b/(2a) = 2/2 = 1
\n" ); document.write( "e = c - (b^2/(4a)) = 6 - (4/4) = 5
\n" ); document.write( "a=1, b=2, c=6
\n" ); document.write( "---
\n" ); document.write( "a(x + d)^2 + e = 0
\n" ); document.write( "(x + d)^2 = -e
\n" ); document.write( "(x + 1)^2 = -5
\n" ); document.write( "x + 1 = sqrt( -5 )
\n" ); document.write( "x + 1 = (2.23606798)i
\n" ); document.write( "x + 1 - (2.23606798)i = 0
\n" ); document.write( "---
\n" ); document.write( "x + (1 - (2.23606798)i) = 0
\n" ); document.write( "---
\n" ); document.write( "the roots of the above equation are:
\n" ); document.write( "x = -1 + (2.23606798)i
\n" ); document.write( "x = -1 - (2.23606798)i
\n" ); document.write( "---
\n" ); document.write( "which match the roots obtained from the quadratic formula method above !
\n" ); document.write( "---
\n" ); document.write( "Solve and graph linear equations:
\n" ); document.write( "https://sooeet.com/math/linear-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve quadratic equations, quadratic formula:
\n" ); document.write( "https://sooeet.com/math/quadratic-formula-solver.php
\n" ); document.write( "---
\n" ); document.write( "Convert fractions, decimals, and percents:
\n" ); document.write( "https://sooeet.com/math/fraction-decimal-percent.php
\n" ); document.write( "---
\n" ); document.write( "Calculate and graph the linear regression of any data set:
\n" ); document.write( "https://sooeet.com/math/linear-regression.php
\n" ); document.write( "
\n" );