y = x^2 + 7x + 6

Check the final answer first, then review the worked steps.

Answer

\(y = (x + \frac{7}{2})^2 - \frac{25}{4}\)

Work

y = x^2 + 7x + 6
y = (x^2 + 7x + \frac{49}{4}) - \frac{49}{4} + 6
y = (x + \frac{7}{2})^2 - \frac{25}{4}

Step-by-step solution

  1. Identify the coefficient of $x$, which is $7$. Divide it by $2$ to get $\frac{7}{2}$.
  2. Square this value: $(\frac{7}{2})^2 = \frac{49}{4}$.
  3. Add and subtract this value inside the equation: $y = (x^2 + 7x + \frac{49}{4}) - \frac{49}{4} + 6$.
  4. Factor the perfect square trinomial: $y = (x + \frac{7}{2})^2 - \frac{49}{4} + \frac{24}{4}$.
  5. Simplify the constants: $-\frac{49}{4} + \frac{24}{4} = -\frac{25}{4}$.
  6. The final vertex form is $y = (x + \frac{7}{2})^2 - \frac{25}{4}$.