Algebra 1Quadratic Functions and Equations2 of 8
Quadratic Functions and Equations · 2

Vertex Form and Transformations

We want to graph a parabola and write its equation directly from its vertex and shape, without plugging a list of random xx-values into a table.

1

The Standard Parabola and Vertical Shifts

Before moving or reshaping a parabola, we start with the basic curve y=x2y = \parent{x^2} to see where its bottom point (the vertex) sits, how it steps upward from that point, and how adding or subtracting a number at the end shifts the whole graph up or down.

The Standard Parabola and Vertical Shifts
y=x2y = \htmlClass{lc-blue}{x^2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

Because squaring a real number never gives a negative result, the smallest value x2\parent{x^2} can reach is 00, which happens at x=0x = \zerox{0} and puts the vertex of y=x2y = \parent{x^2} at (0,0)(\zerox{0}, \height{0}). From that vertex, stepping horizontally out by 1\outstep{1} and 2\outstep{2} units in either direction gives the standard vertical steps of a parabola:

Out 1⟶Up 12=1Out 2⟶Up 22=4\displaystyle \begin{aligned} \text{Out } \outstep{1} &\longrightarrow \text{Up } 1^2 = \upstep{1} \\ \text{Out } \outstep{2} &\longrightarrow \text{Up } 2^2 = \upstep{4} \end{aligned}

Adding or subtracting a number after x2\parent{x^2} changes every height yy by that exact amount while keeping the same "out 1\outstep{1}, up 1\upstep{1}; out 2\outstep{2}, up 4\upstep{4}" shape from the new vertex:

y=x2+2⟶shifts up 2 to vertex (0,2)y=x2−3⟶shifts down 3 to vertex (0,−3)\displaystyle \begin{aligned} y &= \parent{x^2} \height{+ 2} \\ &\longrightarrow \quad \text{shifts } \text{up } \height{2} \text{ to vertex } (\zerox{0}, \height{2}) \\[0.6em] y &= \parent{x^2} \height{- 3} \\ &\longrightarrow \quad \text{shifts } \text{down } \height{3} \text{ to vertex } (\zerox{0}, \height{-3}) \end{aligned}
2

Horizontal Shifts and Finding the Vertex

Adding a number at the end moves the parabola up and down. Next, we want to shift the parabola left or right by changing the number inside the square, and find the vertex when both shifts happen together, as in y=(x−3)2+2y = (x \zerox{- 3})^2 \height{+ 2}.

Horizontal Shifts and Finding the Vertex
y=(x−3)2vertex=?y = (x \htmlClass{lc-blue}{- 3})^2 \qquad \text{vertex} = {?}
y=x2y = \htmlClass{lc-blue}{x^2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

To find the lowest point on y=(x−3)2+2y = (x \zerox{- 3})^2 \height{+ 2}, we don't memorize a sign rule; we ask what xx-value makes the squared parentheses equal zero, and then see what height yy is left over at the end:

(3−3)2=02=0⟶y=0+2=2\displaystyle \begin{aligned} (\zerox{3} \zerox{- 3})^2 &= 0^2 = 0 \\ \longrightarrow \quad y &= 0 \height{+ 2} = \height{2} \end{aligned}

So the vertex is at (3,2)(\zerox{3}, \height{2}), shifted right 3\zerox{3} units and up 2\height{2} units from (0,0)(0, 0).

No matter where the vertex sits, the parabola keeps its "out 1\outstep{1}, up 1\upstep{1}; out 2\outstep{2}, up 4\upstep{4}" shape. Let's move the vertex and see how the equation changes.

Wherever you move the vertex, the number inside flips its sign to zero out the square, and the number at the end matches the vertex height.
3

Stretching, Squishing, and Flipping

Shifting moves the vertex around the grid without changing the curve's shape. Now we want to make the parabola steeper, wider, or upside down by placing a multiplier in front of the squared parentheses.

Stretching, Squishing, and Flipping
y=‾ (x−3)2+2y = \htmlClass{lc-pink}{\underline{\hspace{0.6cm}}}\,(x \htmlClass{lc-blue}{- 3})^2 \htmlClass{lc-green}{+ 2}
y=(x−3)2+2y = (x \htmlClass{lc-blue}{- 3})^2 \htmlClass{lc-green}{+ 2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

The multiplier must be nonzero for the graph to stay a parabola. Because multiplying 020^2 by that multiplier still gives 00, the vertex stays at (3,2)(\zerox{3}, \height{2}). Instead, it multiplies every vertical step we take from the vertex:

y=2(x−3)2+2⟶Out 1, up 2(1)=2Out 2, up 2(4)=8(stretched,narrower)y=12(x−3)2+2⟶Out 1, up 12(1)=12Out 2, up 12(4)=2(squished,wider)y=−2(x−3)2+2⟶Out 1, down 2Out 2, down 8(flippedupside down)\displaystyle \begin{aligned} y &= \mult{2}(x \zerox{- 3})^2 \height{+ 2} \\ \longrightarrow \text{Out } \outstep{1}\text{, up } \mult{2}(1) &= \upstep{2} \\ \text{Out } \outstep{2}\text{, up } \mult{2}(4) &= \upstep{8} \\ & (\text{stretched,} \\ & \text{narrower}) \\[1em] y &= \mult{\tfrac{1}{2}}(x \zerox{- 3})^2 \height{+ 2} \\ \longrightarrow \text{Out } \outstep{1}\text{, up } \mult{\tfrac{1}{2}}(1) &= \upstep{\tfrac{1}{2}} \\ \text{Out } \outstep{2}\text{, up } \mult{\tfrac{1}{2}}(4) &= \upstep{2} \\ & (\text{squished,} \\ & \text{wider}) \\[1em] y &= \mult{-2}(x \zerox{- 3})^2 \height{+ 2} \\ \longrightarrow \text{Out } \outstep{1}\text{, down } \upstep{2} & \\ \text{Out } \outstep{2}\text{, down } \upstep{8} & \\ & (\text{flipped} \\ & \text{upside down}) \end{aligned}

When the multiplier is positive, the parabola opens upward and the vertex is the lowest point on the graph. When the multiplier is negative, the parabola opens downward and the vertex becomes the highest point.

Let's see how changing the multiplier reshapes the parabola around the vertex (3,2)(\zerox{3}, \height{2}).

The multiplier in front matches the vertical step one unit out from the vertex, stretching, squishing, or flipping the parabola without moving the vertex.
4

Describing Transformations and Writing Equations

Now we can put all of these pieces together to read the transformations directly off an equation, or build an equation from a description in words.

First, compared to y=x2y = \parent{x^2}, how is the graph of y=−3(x+5)2−1y = \mult{-3}(x \zerox{+ 5})^2 \height{- 1} transformed? Second, what is the equation when y=x2y = \parent{x^2} is squished vertically by 14\mult{\frac{1}{4}} and shifted right 6\text{right } \zerox{6} and up 7\text{up } \height{7}?

Describing Transformations and Writing Equations
y=x2⟶?y=−3(x+5)2−1y=x2→ right 6, up 7 squish 14y=?\displaystyle \small\begin{aligned}y = \htmlClass{lc-blue}{x^2} &\overset{\textstyle ?}{\longrightarrow} y = \htmlClass{lc-pink}{-3}(x \htmlClass{lc-blue}{+ 5})^2 \htmlClass{lc-green}{- 1}\\[16pt] y = \htmlClass{lc-blue}{x^2} &\xrightarrow[\textstyle\ \text{right } \htmlClass{lc-blue}{6},\ \text{up } \htmlClass{lc-green}{7}\ ]{\textstyle \text{squish } \htmlClass{lc-pink}{\tfrac{1}{4}}} y = {?}\end{aligned}
Text solution
Read each transformation from left to rightIn y=−3(x+5)2−1y = \mult{-3}(x \zerox{+ 5})^2 \height{- 1}, read the sign and size of the front multiplier, the xx-value that makes the parentheses zero, and the shift at the end.
y=−⏟flippedupsidedown  3⏟stretchedverticallyby 3  (x+5⏟x=−5gives 0:shiftedleft 5)2−1⏟shifteddown 1\displaystyle \begin{aligned}y &= \underbrace{\mult{-}}_{\substack{\text{flipped}\\\text{upside}\\\text{down}}}\;\underbrace{\mult{3}}_{\substack{\text{stretched}\\\text{vertically}\\\text{by } \mult{3}}}\;(\underbrace{x \zerox{+ 5}}_{\substack{x = \zerox{-5}\\\text{gives } 0:\\\text{shifted}\\\text{left } \zerox{5}}})^2 \underbrace{\height{- 1}}_{\substack{\text{shifted}\\\text{down } \height{1}}}\end{aligned}
Set up a blank equation for the word descriptionTo write the equation for the second parabola, start with spaces for the front multiplier, the inside of the square, and the end height.
y\displaystyle y =‾(x‾)2‾\displaystyle = \mult{\underline{\hspace{0.6cm}}}(x \zerox{\underline{\hspace{0.6cm}}})^2 \height{\underline{\hspace{0.6cm}}}
Fill in the multiplier and shiftsPlace the vertical squish of 14\mult{\frac{1}{4}} in front, put −6\zerox{- 6} inside so plugging in x=6x = \zerox{6} makes the square zero for a shift right 6\zerox{6}, and add +7\height{+ 7} at the end for a shift up 7\height{7}.
y\displaystyle y =14(x−6)2+7\displaystyle = \mult{\frac{1}{4}}(x \zerox{- 6})^2 \height{+ 7}
5

Graphing from Vertex Form

Instead of building a table of points, we can graph an equation directly by plotting its vertex and using the front multiplier to step out 1\outstep{1} and 2\outstep{2} units in both directions. Let's graph:

y\displaystyle y =−12(x+1)2+4\displaystyle = \mult{-\frac{1}{2}}(x \zerox{+ 1})^2 \height{+ 4}
Graphing from Vertex Form
y=−12(x+1)2+4y = \htmlClass{lc-pink}{-\dfrac{1}{2}}(x \htmlClass{lc-blue}{+ 1})^2 \htmlClass{lc-green}{+ 4}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Text solution
Find and plot the vertexSet the inside of the square (x+1)(x \zerox{+ 1}) to zero to get x=−1x = \zerox{-1}, and read the remaining height y=4y = \height{4} at the end.
(−1+1)2=0⟶Vertex: (−1,4)\displaystyle \begin{aligned} (\zerox{-1} \zerox{+ 1})^2 &= 0 \\ &\longrightarrow \quad \text{Vertex: } (\zerox{-1}, \height{4}) \end{aligned}
Step out 1\outstep{1} unit in both directionsMultiply the normal upward step of 1\upstep{1} by −12\mult{-\frac{1}{2}}, moving down 12\upstep{\frac{1}{2}} from the vertex height of 4\height{4} at x=−1±1x = \zerox{-1} \pm \outstep{1}.
y=4−12(1)=3.5⟶(−2,3.5) and (0,3.5)\displaystyle \begin{aligned} y &= \height{4} \mult{- \tfrac{1}{2}}(1) = 3.5 \\ &\longrightarrow \quad \point{(-2, 3.5)} \text{ and } \point{(0, 3.5)} \end{aligned}
Step out 2\outstep{2} units in both directionsMultiply the normal upward step of 22=42^2 = \upstep{4} by −12\mult{-\frac{1}{2}}, moving down 2\upstep{2} from the vertex height of 4\height{4} at x=−1±2x = \zerox{-1} \pm \outstep{2} to complete the wide, downward-opening parabola.
y=4−12(4)=2⟶(−3,2) and (1,2)\displaystyle \begin{aligned} y &= \height{4} \mult{- \tfrac{1}{2}}(4) = 2 \\ &\longrightarrow \quad \point{(-3, 2)} \text{ and } \point{(1, 2)} \end{aligned}
out 1, down 12\text{out }\htmlClass{lc-blue}{1}\text{, down }\htmlClass{lc-pink}{\tfrac{1}{2}}
(−1,4)(\htmlClass{lc-blue}{-1}, \htmlClass{lc-green}{4})
(−2,3.5)\htmlClass{lc-violet}{(-2, 3.5)}
(0,3.5)\htmlClass{lc-violet}{(0, 3.5)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
out 2, down 2\text{out }\htmlClass{lc-blue}{2}\text{, down }\htmlClass{lc-pink}{2}
(−1,4)(\htmlClass{lc-blue}{-1}, \htmlClass{lc-green}{4})
(−3,2)\htmlClass{lc-violet}{(-3, 2)}
(1,2)\htmlClass{lc-violet}{(1, 2)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
6

Writing the Equation from a Graph

Now let's go in reverse: we are given the graph of a parabola with its vertex at (−2,−5)(\zerox{-2}, \height{-5}) passing through (−1,−2)\point{(-1, -2)} and (−3,−2)\point{(-3, -2)}, and we want to write its equation.

(−2,−5)(\htmlClass{lc-blue}{-2}, \htmlClass{lc-green}{-5})
(−3,−2)\htmlClass{lc-violet}{(-3, -2)}
(−1,−2)\htmlClass{lc-violet}{(-1, -2)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Writing the Equation from a Graph
y\displaystyle y =‾ (x‾)2‾\displaystyle = \htmlClass{lc-pink}{\underline{\hspace{0.6cm}}}\,(x \htmlClass{lc-blue}{\underline{\hspace{0.6cm}}})^2 \htmlClass{lc-green}{\underline{\hspace{0.6cm}}}
Text solution
Fill in the vertexUse the vertex (−2,−5)(\zerox{-2}, \height{-5}) to put +2\zerox{+ 2} inside the parentheses (so x=−2x = \zerox{-2} makes the square zero) and −5\height{- 5} at the end.
y\displaystyle y =‾(x+2)2−5\displaystyle = \mult{\underline{\hspace{0.6cm}}}(x \zerox{+ 2})^2 \height{- 5}
Read the multiplier from the 1\outstep{1}-unit horizontal stepMoving 1\outstep{1} unit right from the vertex at x=−2x = \zerox{-2} to x=−1x = \point{-1}, the height rises from −5\height{-5} to −2\point{-2}, an upward step of 3\upstep{3} instead of the standard 1\upstep{1}.
Out 1, up (−2)−(−5)=3⟶y=3(x+2)2−5\displaystyle \begin{aligned} &\text{Out } \outstep{1}\text{, up } (\point{-2}) - (\height{-5}) = \upstep{3} \\ &\longrightarrow \quad y = \mult{3}(x \zerox{+ 2})^2 \height{- 5} \end{aligned}
7

Writing the Equation from the Vertex and a Point

Reading the multiplier straight from a 1\outstep{1}-unit step works when we can see where the graph sits 1\outstep{1} unit away from the vertex. When the given point is farther out, or when we have no graph at all, we fill in the vertex first and plug the other point into the equation to solve for the multiplier.

Let's write the equation for the parabola with vertex at (1,−3)(\zerox{1}, \height{-3}) that passes through (5,5)\point{(5, 5)}.

Writing the Equation from the Vertex and a Point
y=?y = {?}
vertex (1,−3)\text{vertex } (\htmlClass{lc-blue}{1}, \htmlClass{lc-green}{-3})
(5,5)\htmlClass{lc-violet}{(5, 5)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Text solution
Set up the equation using the vertexPut −1\zerox{- 1} inside the square and −3\height{- 3} at the end so the vertex is (1,−3)(\zerox{1}, \height{-3}), and call the unknown front multiplier a\mult{a}.
y\displaystyle y =a(x−1)2−3\displaystyle = \mult{a}(x \zerox{- 1})^2 \height{- 3}
Substitute the point (5,5)\point{(5, 5)} for (x,y)(x, y)Plug in x=5x = \point{5} and y=5y = \point{5}, then simplify (5−1)2(\point{5} \zerox{- 1})^2.
5=a(5−1)2−35=a(4)2−35=16a−3\displaystyle \begin{aligned} \point{5} &= \mult{a}(\point{5} \zerox{- 1})^2 \height{- 3} \\ \point{5} &= \mult{a}(4)^2 \height{- 3} \\ \point{5} &= 16\mult{a} \height{- 3} \end{aligned}
Solve for the multiplier a\mult{a}Add 33 to both sides and divide by 1616 to find a\mult{a}, then write the finished equation.
8=16aa=816=12⟶y=12(x−1)2−3\displaystyle \begin{aligned} 8 &= 16\mult{a} \\ \mult{a} &= \frac{8}{16} = \mult{\frac{1}{2}} \\ &\longrightarrow \quad y = \mult{\frac{1}{2}}(x \zerox{- 1})^2 \height{- 3} \end{aligned}

Putting all three pieces into letters gives the general Vertex Form of a parabola:

y=a⏟verticalmultiplier(x−h⏟vertex x(makessquare 0))2+k⏟vertex y(height atvertex)\displaystyle \boxed{y = \underbrace{\mult{a}}_{\substack{\text{vertical}\\\text{multiplier}}} (x - \underbrace{\zerox{h}}_{\substack{\text{vertex } x\\\text{(makes}\\\text{square } 0\text{)}}})^2 + \underbrace{\height{k}}_{\substack{\text{vertex } y\\\text{(height at}\\\text{vertex)}}}}

The minus sign in x−hx - \zerox{h} is a reminder that it takes x=+hx = \zerox{+h} to make x−hx - \zerox{h} equal zero, so (x−3)2(x \zerox{- 3})^2 has its vertex at x=3x = \zerox{3}, while (x+2)2(x \zerox{+ 2})^2 has its vertex at x=−2x = \zerox{-2}.

Key concepts

Every vertex-form problem comes down to three questions about y=a(x−h)2+ky = \mult{a}(x - \zerox{h})^2 + \height{k}:

What xx makes the squared parentheses zero?

That value is h\zerox{h}, the xx-coordinate of the vertex and the horizontal shift from 00. In y=(x+4)2−1y = (x \zerox{+ 4})^2 \height{- 1}, plugging in x=−4x = \zerox{-4} makes the parentheses zero, so the graph shifts left 4\zerox{4} to x=−4x = \zerox{-4}.

What height is left over when the square is zero?

The number added at the end is k\height{k}, the yy-coordinate of the vertex and the vertical shift. In y=(x+4)2−1y = (x \zerox{+ 4})^2 \height{- 1}, when the square is 00, y=−1y = \height{-1}, placing the vertex at (−4,−1)(\zerox{-4}, \height{-1}).

How fast does the curve step from the vertex?

The multiplier a\mult{a} multiplies the standard "out 1\outstep{1}, up 1\upstep{1}; out 2\outstep{2}, up 4\upstep{4}" vertical steps into "out 1\outstep{1}, change by a\mult{a}; out 2\outstep{2}, change by 4a4\mult{a}." When a>0\mult{a} > 0, the parabola opens up and the vertex is the lowest point; when a<0\mult{a} < 0, the parabola flips upside down and the vertex is the highest point.

Writing an equation from the vertex and a second point

Always place the vertex (h,k)(\zerox{h}, \height{k}) into y=a(x−h)2+ky = \mult{a}(x - \zerox{h})^2 + \height{k} first. If the second point is only 1\outstep{1} unit horizontally from the vertex, like vertex (−2,−5)(\zerox{-2}, \height{-5}) and point (−1,−2)\point{(-1, -2)}, you don't need algebra to find a\mult{a}, because the 1\outstep{1}-step vertical change from −5\height{-5} to −2\point{-2} gives a=3\mult{a} = \mult{3} right away. If the second point is farther away, like vertex (1,−3)(\zerox{1}, \height{-3}) and point (5,5)\point{(5, 5)}, plug its (x,y)(x, y) coordinates into y=a(x−1)2−3y = \mult{a}(x \zerox{- 1})^2 \height{- 3} and solve for a\mult{a}.

8

Practice

1

Find the vertex of y=(x−4)2+3y = (x - 4)^2 + 3, and state whether it is the lowest point or the highest point on the graph.

What xx-value makes (x−4)(x - 4) equal zero, and is the unwritten multiplier in front of the parentheses positive or negative? Watch out: Don't read the minus sign in (x−4)(x \zerox{- 4}) directly to get (−4,3)(-4, 3). It takes x=+4x = \zerox{+4} to make x−4=0x \zerox{- 4} = 0, and because the unwritten multiplier in front is +1\mult{+1} (positive), the parabola opens upward rather than making (4,3)(4, 3) the highest point.

The vertex is (4,3)(4, 3), and it is the lowest point on the graph.
2

Compared to y=x2y = x^2, describe how the graph of y=−3(x+2)2−5y = -3(x + 2)^2 - 5 is transformed.

Read the four pieces in order from left to right: the negative sign, the factor of 33, the xx-value that makes (x+2)(x + 2) zero, and the −5- 5 at the end. Watch out: Inside (x+2)2(x \zerox{+ 2})^2, it takes x=−2x = \zerox{-2} to make the parentheses zero, so the graph shifts left 2\zerox{2} units, not right 22 units. Also separate the negative sign (a flip upside down) from the 3\mult{3} (a vertical stretch by a factor of 3\mult{3}).

It is flipped upside down (reflected across the xx-axis), stretched vertically by a factor of 33, shifted left 22 units, and shifted down 55 units.
3

Write the equation for the parabola formed when y=x2y = x^2 is squished vertically by 15\frac{1}{5} and shifted right 44 units and up 11 unit.

Start with the blank equation y=‾(x‾)2‾y = \underline{\hspace{0.5cm}}(x \underline{\hspace{0.5cm}})^2 \underline{\hspace{0.5cm}}. If the vertex moves right to x=4x = 4, what number goes inside the parentheses so plugging in 44 gives zero? Watch out: Putting +4+ 4 inside the parentheses because "right" is positive gives y=15(x+4)2+1y = \frac{1}{5}(x + 4)^2 + 1, whose vertex actually sits at x=−4x = -4 (shifted left 44).

y=15(x−4)2+1y = \frac{1}{5}(x - 4)^2 + 1
4

To graph y=−12(x−2)2+5y = -\frac{1}{2}(x - 2)^2 + 5 without an xx-yy table, find the vertex and the four points you get by stepping out 11 unit and 22 units in both directions from the vertex.

Find the vertex first, then multiply the standard vertical steps (12=11^2 = 1 and 22=42^2 = 4) by −12-\frac{1}{2} as you step 11 and 22 units left and right from the vertex's xx-coordinate. Watch out: When stepping out 2\outstep{2} units, remember to square 2\outstep{2} first to get the normal vertical step of 4\upstep{4} before multiplying by −12\mult{-\frac{1}{2}} (multiplying the horizontal step 22 directly by −12-\frac{1}{2} drops the height by 11 instead of 22 and gives the wrong points (0,4)(0, 4) and (4,4)(4, 4); ignoring the negative sign adds the steps instead of subtracting and gives (1,5.5)(1, 5.5), (3,5.5)(3, 5.5), (0,7)(0, 7), and (4,7)(4, 7)).

Vertex at (2,5)(2, 5); stepping out 11 unit gives (1,4.5)(1, 4.5) and (3,4.5)(3, 4.5); stepping out 22 units gives (0,3)(0, 3) and (4,3)(4, 3).
5

A graphed parabola has its highest point at (−1,4)(-1, 4) and passes through (0,1)(0, 1) and (−2,1)(-2, 1). Write its equation in vertex form.

Fill in the vertex (−1,4)(-1, 4) first, then look at how far (0,1)(0, 1) is horizontally from x=−1x = -1 and how much the height yy changes on that step. Watch out: Stepping 1\outstep{1} unit out from x=−1x = \zerox{-1} to x=0x = \point{0}, the height drops from 4\height{4} down to 1\point{1}; forgetting the downward direction gives a positive multiplier (y=3(x+1)2+4y = 3(x + 1)^2 + 4), and copying the vertex's −1-1 sign directly into the parentheses gives y=−3(x−1)2+4y = -3(x - 1)^2 + 4.

y=−3(x+1)2+4y = -3(x + 1)^2 + 4
6

Write the equation in vertex form for the parabola with vertex at (−3,6)(-3, 6) that passes through the point (1,−2)(1, -2).

Fill in the vertex to get y=a(x+3)2+6y = a(x + 3)^2 + 6, then substitute x=1x = 1 and y=−2y = -2 to solve for aa. Watch out: After plugging in x=1x = \point{1}, don't forget to square (1+3)=4(\point{1} \zerox{+ 3}) = 4 to get 16a16\mult{a}. Leaving it unsquared as 4a4a gives −2=4a+6  ⟹  a=−2-2 = 4a + 6 \implies a = -2 and the wrong equation y=−2(x+3)2+6y = -2(x + 3)^2 + 6.

y=−12(x+3)2+6y = -\frac{1}{2}(x + 3)^2 + 6