Math Help - completing the square

1. completing the square

im having trouble working out c in this formula

The method of completing the square can be used to write the expression:

5x^2+20x-12 in the form a(x+b)^2+c where a, b and c are constants. What is the value of c?

2. Originally Posted by offahengaway and chips
im having trouble working out c in this formula

The method of completing the square can be used to write the expression:

5x^2+20x-12 in the form a(x+b)^2+c where a, b and c are constants. What is the value of c?
$5(x^2+4x + r) - 12 -5r$

can you work from here? find that $r$ so that the thing in the parenthesis is a perfect square..

3. Still a bit confused here, is r=c?

4. Originally Posted by offahengaway and chips
Still a bit confused here, is r=c?
$
=5x^2+20x-12$

$=5(x^ 2+4x)-12$

$=5(x^2 + 4x +4 -4) -12$

$=5(x+2)^2-20-12$

Now, finish up.

5. Just to double check is c= -32?

6. yes, it is -32.

7. In general, for $A,B,C\in\mathbb{R}$ with $A\neq0$, we have
$Ax^{2}+Bx+C=A\Bigg(x^{2}+\frac{B}{A}x\Bigg)+C$
...................._ $=A\Bigg(x^{2}+\frac{B}{A}x+\bigg(\frac{B}{2A}\bigg )^{2}-\bigg(\frac{B}{2A}\bigg)^{2}\Bigg)+C$
...................._ $=A\Bigg(x^{2}+\frac{B}{A}x+\bigg(\frac{B}{2A}\bigg )^{2}\Bigg)+C-\frac{1}{A}\bigg(\frac{B}{2}\bigg)^{2}$
...................._ $=A\Bigg(x+\frac{B}{2A}\Bigg)^{2}+C-\frac{1}{A}\bigg(\frac{B}{2}\bigg)^{2}$