# How do you complete the square for y=3x^2-24x+10?

Jun 7, 2018

$y = 3 {\left(x - 4\right)}^{2} - 38$

#### Explanation:

Easiest way to complete the square is to use formula for vertex form:
$y = a {\left(x - h\right)}^{2} + k$
where $h = \frac{- b}{2 a}$ and $k = \setminus \frac{- {b}^{2}}{4 a} + c$

$a = 3 , b = - 24 , c = 10$
$h = \setminus \frac{- \left(- 24\right)}{2 \left(3\right)} = 4$
$k = \setminus \frac{- {\left(- 24\right)}^{2}}{4 \left(3\right)} + 16 = - 48 + 10 = - 38$

Thus the vertex form is $y = 3 {\left(x - 4\right)}^{2} - 38$