We've updated our

TEXT

### Learning Outcomes

• Graph vertical and horizontal shifts of quadratic functions
• Graph vertical compressions and stretches of quadratic functions
• Write the equation of a transformed quadratic function using the vertex form
• Identify the vertex and axis of symmetry for a given quadratic function in vertex form

The standard form of a quadratic function presents the function in the form

$f\left(x\right)=a{\left(x-h\right)}^{2}+k$

where $\left(h,\text{ }k\right)$ is the vertex. Because the vertex appears in the standard form of the quadratic function, this form is also known as the vertex form of a quadratic function.

The standard form is useful for determining how the graph is transformed from the graph of $y={x}^{2}$. The figure below is the graph of this basic function.

## Shift Up and Down by Changing the Value of $k$

You can represent a vertical (up, down) shift of the graph of $f(x)=x^2$ by adding or subtracting a constant, $k$.

$f(x)=x^2 + k$

If $k>0$, the graph shifts upward, whereas if $k<0$, the graph shifts downward.

### Example

Using an online graphing calculator, plot the function $f(x)=x^2+k$. Now change the $k$ value to shift the graph down 4 units, then up 4 units.

Answer: The equation for the graph of $f(x)=x^2$ that has been shifted up 4 units is [latex-display]f(x)=x^2+4[/latex-display] The equation for the graph of $f(x)=x^2$ that has been shifted down 4 units is [latex-display]f(x)=x^2-4[/latex-display]

## Shift left and right by changing the value of $h$

You can represent a horizontal (left, right) shift of the graph of $f(x)=x^2$ by adding or subtracting a constant, $h$, to the variable $x$, before squaring.

$f(x)=(x-h)^2$

If $h>0$, the graph shifts toward the right and if $h<0$, the graph shifts to the left.

### tip for success

Remember that the negative sign inside the argument of the vertex form of a parabola (in the parentheses with the variable $x$ ) is part of the formula $f(x)=(x-h)^2 +k$. If $h>0$, we have $f(x)=(x-h)^2 +k$. You'll see the negative sign, but the graph will shift right. If  $h<0$, we have $f(x)=(x-(-h))^2 +k \rightarrow f(x)=(x+h)^2+k$. You'll see the positive sign, but the graph will shift left.

### Example

Using an online graphing calculator, plot the function $f(x)=(x-h)^2$. Now change the $h$ value to shift the graph 2 units to the right, then 2 units to the left.

Answer: The equation for the graph of $f(x)=x^2$ that has been shifted right 2 units is

$f(x)=(x-2)^2$

The equation for the graph of $f(x)=^2$ that has been shifted left 2 units is

$f(x)=(x+2)^2$

## Stretch or compress by changing the value of $a$.

You can represent a stretch or compression (narrowing, widening) of the graph of $f(x)=x^2$ by multiplying the squared variable by a constant, $a$.

$f(x)=ax^2$

The magnitude of $a$ indicates the stretch of the graph. If $|a|>1$, the point associated with a particular $x$-value shifts farther from the $x$-axis, so the graph appears to become narrower, and there is a vertical stretch. But if $|a|<1$, the point associated with a particular $x$-value shifts closer to the $x$-axis, so the graph appears to become wider, but in fact there is a vertical compression.

### Example

Using an online graphing calculator plot the function $f(x)=ax^2$. Now adjust the $a$ value to create a graph that has been compressed vertically by a factor of $\frac{1}{2}$ and another that has been vertically stretched by a factor of 3. What are the equations of the two graphs?

Answer: The equation for the graph of $f(x)=x^2$ that has been compressed vertically by a factor of $\frac{1}{2}$ is

$f(x)=\frac{1}{2}x^2$

The equation for the graph of $f(x)=x^2$ that has been vertically stretched by a factor of 3 is

$f(x)=3x^2$

The standard form and the general form are equivalent methods of describing the same function. We can see this by expanding out the general form and setting it equal to the standard form.
\begin{align}&a{\left(x-h\right)}^{2}+k=a{x}^{2}+bx+c\\ &a{x}^{2}-2ahx+\left(a{h}^{2}+k\right)=a{x}^{2}+bx+c \end{align}
For the two sides to be equal, the corresponding coefficients must be equal. In particular, the coefficients of $x$ must be equal.
$-2ah=b,\text{ so }h=-\dfrac{b}{2a}$.

This is the $x$ coordinate of the vertexr and $x=-\dfrac{b}{2a}$ is the axis of symmetry we defined earlier. Setting the constant terms equal gives us:

\begin{align}a{h}^{2}+k&=c \\[2mm] k&=c-a{h}^{2} \\ &=c-a-{\left(\dfrac{b}{2a}\right)}^{2} \\ &=c-\dfrac{{b}^{2}}{4a} \end{align}
In practice, though, it is usually easier to remember that $h$ is the output value of the function when the input is $h$, so $f\left(h\right)=f\left(-\dfrac{b}{2a}\right)=k$.

### Example

Using an online graphing calculator plot the function $f\left(x\right)\ =\ a\left(x-h\right)^2+k$. Now adjust the variables $a,h,k$ to define two quadratic functions whose axis of symmetry is $x=-3$, and whose vertex is $(-3, 2)$. How many potential values are there for $h$ in this scenario? How about $k$? How about $a$

Answer: There is only one $(h,k)$ pair that will satisfy these conditions, $(-3,2)$.  The value of $a$ does not affect the line of symmetry or the vertex of a quadratic graph, so $a$ can take on any value.

## Challenge Problem

Define a function whose axis of symmetry is $x = -3$, and whose vertex is $(-3,2)$ and has an average rate of change of 2 on the interval $[-2,0]$. Use the online graphing calculator where you plotted $f\left(x\right)\ =\ a\left(x-h\right)^2+k$ to help with this.

### Try It

A coordinate grid has been superimposed over the quadratic path of a basketball in the picture below. Find an equation for the path of the ball. Does the shooter make the basket?
(credit: modification of work by Dan Meyer)

Answer: The path passes through the origin and has vertex at $\left(-4,\text{ }7\right)$, so $\left(h\right)x=-\frac{7}{16}{\left(x+4\right)}^{2}+7$. To make the shot, $h\left(-7.5\right)$ would need to be about 4 but $h\left(-7.5\right)\approx 1.64$; he doesn’t make it.
The text passage contains multiple examples and exercises related to quadratic functions, including shifts, stretches, and compressions. Each example is followed by an answer, and there is a challenge problem at the end with a provided solution.
multiple_questions_with_answers
Given a text passage, determine:
    1. If it contains a mathematical question (including word problems or calculations)
    2. If an answer to that mathematical question is provided in the text

First, describe the content structure you found in 1-2 sentences.

Then provide your analysis in the following format:
TYPE: <one of the following values>
- NO_QUESTION
- SINGLE_QUESTION
- SINGLE_QUESTION_WITH_ANSWER
- MULTIPLE_QUESTIONS
- MULTIPLE_QUESTIONS_WITH_ANSWERS
system
We've updated our

TEXT

### Learning Outcomes

• Graph vertical and horizontal shifts of quadratic functions
• Graph vertical compressions and stretches of quadratic functions
• Write the equation of a transformed quadratic function using the vertex form
• Identify the vertex and axis of symmetry for a given quadratic function in vertex form

The standard form of a quadratic function presents the function in the form

$f\left(x\right)=a{\left(x-h\right)}^{2}+k$

where $\left(h,\text{ }k\right)$ is the vertex. Because the vertex appears in the standard form of the quadratic function, this form is also known as the vertex form of a quadratic function.

The standard form is useful for determining how the graph is transformed from the graph of $y={x}^{2}$. The figure below is the graph of this basic function.

## Shift Up and Down by Changing the Value of $k$

You can represent a vertical (up, down) shift of the graph of $f(x)=x^2$ by adding or subtracting a constant, $k$.

$f(x)=x^2 + k$

If $k>0$, the graph shifts upward, whereas if $k<0$, the graph shifts downward.

### Example

Using an online graphing calculator, plot the function $f(x)=x^2+k$. Now change the $k$ value to shift the graph down 4 units, then up 4 units.

Answer: The equation for the graph of $f(x)=x^2$ that has been shifted up 4 units is [latex-display]f(x)=x^2+4[/latex-display] The equation for the graph of $f(x)=x^2$ that has been shifted down 4 units is [latex-display]f(x)=x^2-4[/latex-display]

## Shift left and right by changing the value of $h$

You can represent a horizontal (left, right) shift of the graph of $f(x)=x^2$ by adding or subtracting a constant, $h$, to the variable $x$, before squaring.

$f(x)=(x-h)^2$

If $h>0$, the graph shifts toward the right and if $h<0$, the graph shifts to the left.

### tip for success

Remember that the negative sign inside the argument of the vertex form of a parabola (in the parentheses with the variable $x$ ) is part of the formula $f(x)=(x-h)^2 +k$. If $h>0$, we have $f(x)=(x-h)^2 +k$. You'll see the negative sign, but the graph will shift right. If  $h<0$, we have $f(x)=(x-(-h))^2 +k \rightarrow f(x)=(x+h)^2+k$. You'll see the positive sign, but the graph will shift left.

### Example

Using an online graphing calculator, plot the function $f(x)=(x-h)^2$. Now change the $h$ value to shift the graph 2 units to the right, then 2 units to the left.

Answer: The equation for the graph of $f(x)=x^2$ that has been shifted right 2 units is

$f(x)=(x-2)^2$

The equation for the graph of $f(x)=^2$ that has been shifted left 2 units is

$f(x)=(x+2)^2$

## Stretch or compress by changing the value of $a$.

You can represent a stretch or compression (narrowing, widening) of the graph of $f(x)=x^2$ by multiplying the squared variable by a constant, $a$.

$f(x)=ax^2$

The magnitude of $a$ indicates the stretch of the graph. If $|a|>1$, the point associated with a particular $x$-value shifts farther from the $x$-axis, so the graph appears to become narrower, and there is a vertical stretch. But if $|a|<1$, the point associated with a particular $x$-value shifts closer to the $x$-axis, so the graph appears to become wider, but in fact there is a vertical compression.

### Example

Using an online graphing calculator plot the function $f(x)=ax^2$. Now adjust the $a$ value to create a graph that has been compressed vertically by a factor of $\frac{1}{2}$ and another that has been vertically stretched by a factor of 3. What are the equations of the two graphs?

Answer: The equation for the graph of $f(x)=x^2$ that has been compressed vertically by a factor of $\frac{1}{2}$ is

$f(x)=\frac{1}{2}x^2$

The equation for the graph of $f(x)=x^2$ that has been vertically stretched by a factor of 3 is

$f(x)=3x^2$

The standard form and the general form are equivalent methods of describing the same function. We can see this by expanding out the general form and setting it equal to the standard form.
\begin{align}&a{\left(x-h\right)}^{2}+k=a{x}^{2}+bx+c\\ &a{x}^{2}-2ahx+\left(a{h}^{2}+k\right)=a{x}^{2}+bx+c \end{align}
For the two sides to be equal, the corresponding coefficients must be equal. In particular, the coefficients of $x$ must be equal.
$-2ah=b,\text{ so }h=-\dfrac{b}{2a}$.

This is the $x$ coordinate of the vertexr and $x=-\dfrac{b}{2a}$ is the axis of symmetry we defined earlier. Setting the constant terms equal gives us:

\begin{align}a{h}^{2}+k&=c \\[2mm] k&=c-a{h}^{2} \\ &=c-a-{\left(\dfrac{b}{2a}\right)}^{2} \\ &=c-\dfrac{{b}^{2}}{4a} \end{align}
In practice, though, it is usually easier to remember that $h$ is the output value of the function when the input is $h$, so $f\left(h\right)=f\left(-\dfrac{b}{2a}\right)=k$.

### Example

Using an online graphing calculator plot the function $f\left(x\right)\ =\ a\left(x-h\right)^2+k$. Now adjust the variables $a,h,k$ to define two quadratic functions whose axis of symmetry is $x=-3$, and whose vertex is $(-3, 2)$. How many potential values are there for $h$ in this scenario? How about $k$? How about $a$

Answer: There is only one $(h,k)$ pair that will satisfy these conditions, $(-3,2)$.  The value of $a$ does not affect the line of symmetry or the vertex of a quadratic graph, so $a$ can take on any value.

## Challenge Problem

Define a function whose axis of symmetry is $x = -3$, and whose vertex is $(-3,2)$ and has an average rate of change of 2 on the interval $[-2,0]$. Use the online graphing calculator where you plotted $f\left(x\right)\ =\ a\left(x-h\right)^2+k$ to help with this.

### Try It

A coordinate grid has been superimposed over the quadratic path of a basketball in the picture below. Find an equation for the path of the ball. Does the shooter make the basket?
(credit: modification of work by Dan Meyer)

Answer: The path passes through the origin and has vertex at $\left(-4,\text{ }7\right)$, so $\left(h\right)x=-\frac{7}{16}{\left(x+4\right)}^{2}+7$. To make the shot, $h\left(-7.5\right)$ would need to be about 4 but $h\left(-7.5\right)\approx 1.64$; he doesn’t make it.
user
The text passage contains multiple examples and exercises related to quadratic functions, including shifts, stretches, and compressions. Each example is followed by an answer, and there is a challenge problem at the end with a provided solution.

TYPE: MULTIPLE_QUESTIONS_WITH_ANSWERS