document.write( "Question 248228: Solve by applying the Quadratic Formula. Show your work.thanks\r
\n" ); document.write( "\n" ); document.write( "p^2 + 3p - 9 = 0
\n" ); document.write( "

Algebra.Com's Answer #180906 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
p^2 + 3p - 9 = 0
\n" ); document.write( "what is the quadratic formula?
\n" ); document.write( "the quadratic equation is ax^2+bx+c=0
\n" ); document.write( "in your equation a=1; b=3 and c=-9
\n" ); document.write( "we solve for x to get the quadratic formula
\n" ); document.write( "It is wise to calculate the discriminant (b^2-4ac) first. You have to do it anyways.
\n" ); document.write( "It will tell you about the solutions.
\n" ); document.write( "It says that your equation can be factored but that is not normal factoring\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B3x%2B-9+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%283%29%5E2-4%2A1%2A-9=45\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=45 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-3%2B-sqrt%28+45+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%283%29%2Bsqrt%28+45+%29%29%2F2%5C1+=+1.85410196624968\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%283%29-sqrt%28+45+%29%29%2F2%5C1+=+-4.85410196624968\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B3x%2B-9\" can be factored:
\n" ); document.write( " \"1x%5E2%2B3x%2B-9+=+1%28x-1.85410196624968%29%2A%28x--4.85410196624968%29\"
\n" ); document.write( " Again, the answer is: 1.85410196624968, -4.85410196624968.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B3%2Ax%2B-9+%29\"

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " What other way can we solve this equation?
\n" ); document.write( "complete the square
\n" ); document.write( "p^2 + 3p - 9 = 0
\n" ); document.write( "p^2+3p=9=36/4
\n" ); document.write( "add (3/2)^2 to both sides
\n" ); document.write( "p^2+3p+9/4=(36+9)/4
\n" ); document.write( "p^2+3p+9/4=(45)/4
\n" ); document.write( "factor
\n" ); document.write( "(p+3/2)^2=(3sqrt(5)/2)^2
\n" ); document.write( "p+3/2=+\-(3sqrt)5//2
\n" ); document.write( "subtract 3/2 from both sides
\n" ); document.write( "p=-3/2+3sqrt(5)/2
\n" ); document.write( "p=-3/2-3sqrt(5)/2
\n" ); document.write( "factor out 3/2
\n" ); document.write( "
\n" );