x = -2y^2 - 14y - 1

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

Answer

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

Work

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

Step-by-step solution

  1. Factor out the coefficient of $y^2$ from the $y$ terms: $x = -2(y^2 + 7y) - 1$.
  2. Complete the square inside the parentheses. Take half of $7$, which is $\frac{7}{2}$, and square it to get $\frac{49}{4}$.
  3. Add and subtract this value inside the expression: $x = -2(y^2 + 7y + \frac{49}{4} - \frac{49}{4}) - 1$.
  4. Distribute the $-2$ to the $-\frac{49}{4}$ and move it outside: $x = -2(y^2 + 7y + \frac{49}{4}) + \frac{49}{2} - 1$.
  5. Simplify the constant term: $\frac{49}{2} - \frac{2}{2} = \frac{47}{2}$.
  6. Write the perfect square trinomial as a binomial squared: $x = -2(y + \frac{7}{2})^2 + \frac{47}{2}$.