Piano Guidance
Photo by Michael Burrows Pexels Logo Photo: Michael Burrows

Is shifting left positive or negative?

A General Note: Horizontal Shift If h is positive, the graph will shift right. If h is negative, the graph will shift left.

courses.lumenlearning.com - Shifts | College Algebra - Lumen Learning
Which is better digital or acoustic piano?
Which is better digital or acoustic piano?

THE KEY DIFFERENCES BETWEEN ACOUSTIC AND DIGITAL Digital pianos don't require tuning. Space: Acoustic pianos are larger than digital pianos and...

Read More »
Is music haram in Islam?
Is music haram in Islam?

Views of legal scholars range from music being strictly forbidden, to generally forbidden but with varying restrictions such as singing is allowed,...

Read More »

Learning Outcomes Graph functions using vertical and horizontal shifts.

One kind of transformation involves shifting the entire graph of a function up, down, right, or left. The simplest shift is a vertical shift, moving the graph up or down, because this transformation involves adding a positive or negative constant to the function. In other words, we add the same constant to the output value of the function regardless of the input. For a function [latex]gleft(x ight)=fleft(x ight)+k[/latex], the function [latex]fleft(x ight)[/latex] is shifted vertically [latex]k[/latex] units. To help you visualize the concept of a vertical shift, consider that [latex]y=fleft(x ight)[/latex]. Therefore, [latex]fleft(x ight)+k[/latex] is equivalent to [latex]y+k[/latex]. Every unit of [latex]y[/latex] is replaced by [latex]y+k[/latex], so the [latex]y ext{-}[/latex] value increases or decreases depending on the value of [latex]k[/latex]. The result is a shift upward or downward. A General Note: Vertical Shift Given a function [latex]fleft(x ight)[/latex], a new function [latex]gleft(x ight)=fleft(x ight)+k[/latex], where [latex]k[/latex] is a constant, is a vertical shift of the function [latex]fleft(x ight)[/latex]. All the output values change by [latex]k[/latex] units. If [latex]k[/latex] is positive, the graph will shift up. If [latex]k[/latex] is negative, the graph will shift down. Example: Adding a Constant to a Function To regulate temperature in a green building, airflow vents near the roof open and close throughout the day. Figure 2 shows the area of open vents [latex]V[/latex] (in square feet) throughout the day in hours after midnight, [latex]t[/latex]. During the summer, the facilities manager decides to try to better regulate temperature by increasing the amount of open vents by 20 square feet throughout the day and night. Sketch a graph of this new function. Show Solution We can sketch a graph of this new function by adding 20 to each of the output values of the original function. This will have the effect of shifting the graph vertically up. Notice that for each input value, the output value has increased by 20, so if we call the new function [latex]Sleft(t ight)[/latex], we could write [latex]Sleft(t ight)=Vleft(t ight)+20[/latex] This notation tells us that, for any value of [latex]t,Sleft(t ight)[/latex] can be found by evaluating the function [latex]V[/latex] at the same input and then adding 20 to the result. This defines [latex]S[/latex] as a transformation of the function [latex]V[/latex], in this case a vertical shift up 20 units. Notice that, with a vertical shift, the input values stay the same and only the output values change. [latex]t[/latex] 0 8 10 17 19 24 [latex]Vleft(t ight)[/latex] 0 0 220 220 0 0 [latex]Sleft(t ight)[/latex] 20 20 240 240 20 20 How To: Given a tabular function, create a new row to represent a vertical shift. Identify the output row or column. Determine the magnitude of the shift. Add the shift to the value in each output cell. Add a positive value for up or a negative value for down. Example: Shifting a Tabular Function Vertically A function [latex]fleft(x ight)[/latex] is given below. Create a table for the function [latex]gleft(x ight)=fleft(x ight)-3[/latex]. [latex]x[/latex] 2 4 6 8 [latex]fleft(x ight)[/latex] 1 3 7 11 Show Solution The formula [latex]gleft(x ight)=fleft(x ight)-3[/latex] tells us that we can find the output values of [latex]g[/latex] by subtracting 3 from the output values of [latex]f[/latex]. For example: [latex]egin{cases}fleft(2 ight)=1hfill & ext{Given}hfill \ gleft(x ight)=fleft(x ight)-3hfill & ext{Given transformation}hfill \ gleft(2 ight)=fleft(2 ight)-3hfill & hfill \ =1 - 3hfill & hfill \ =-2hfill & hfill end{cases}[/latex] Subtracting 3 from each [latex]fleft(x ight)[/latex] value, we can complete a table of values for [latex]gleft(x ight)[/latex]. [latex]x[/latex] 2 4 6 8 [latex]fleft(x ight)[/latex] 1 3 7 11 [latex]gleft(x ight)[/latex] −2 0 4 8 Analysis of the Solution As with the earlier vertical shift, notice the input values stay the same and only the output values change. Try It The function [latex]hleft(t ight)=-4.9{t}^{2}+30t[/latex] gives the height [latex]h[/latex] of a ball (in meters) thrown upward from the ground after [latex]t[/latex] seconds. Suppose the ball was instead thrown from the top of a 10-m building. Relate this new height function [latex]bleft(t ight)[/latex] to [latex]hleft(t ight)[/latex], and then find a formula for [latex]bleft(t ight)[/latex]. Show Solution [latex]bleft(t ight)=hleft(t ight)+10=-4.9{t}^{2}+30t+10[/latex]

Identifying Horizontal Shifts

Is 11 too old to learn piano?
Is 11 too old to learn piano?

No, it is never too late to start piano lessons for beginners! For some children, starting after age eight will actually be better, depending on...

Read More »
What level is Fur Elise grade?
What level is Fur Elise grade?

grade 5 The full version of Fur Elise is considered reasonably difficult, broadly an intermediate piece around grade 5, but a shorter arrangement...

Read More »
Join almost HALF A MILLION Happy Students Worldwide
Join almost HALF A MILLION Happy Students Worldwide

Pianoforall is one of the most popular online piano courses online and has helped over 450,000 students around the world achieve their dream of playing beautiful piano for over a decade.

Learn More »

We just saw that the vertical shift is a change to the output, or outside, of the function. We will now look at how changes to input, on the inside of the function, change its graph and meaning. A shift to the input results in a movement of the graph of the function left or right in what is known as a horizontal shift. For example, if [latex]fleft(x ight)={x}^{2}[/latex], then [latex]gleft(x ight)={left(x - 2 ight)}^{2}[/latex] is a new function. Each input is reduced by 2 prior to squaring the function. The result is that the graph is shifted 2 units to the right, because we would need to increase the prior input by 2 units to yield the same output value as given in [latex]f[/latex]. A General Note: Horizontal Shift Given a function [latex]f[/latex], a new function [latex]gleft(x ight)=fleft(x-h ight)[/latex], where [latex]h[/latex] is a constant, is a horizontal shift of the function [latex]f[/latex]. If [latex]h[/latex] is positive, the graph will shift right. If [latex]h[/latex] is negative, the graph will shift left. Example: Adding a Constant to an Input Returning to our building airflow example from Example 2, suppose that in autumn the facilities manager decides that the original venting plan starts too late, and wants to begin the entire venting program 2 hours earlier. Sketch a graph of the new function. Show Solution We can set [latex]Vleft(t ight)[/latex] to be the original program and [latex]Fleft(t ight)[/latex] to be the revised program. [latex]egin{align}{c}Vleft(t ight)&= ext{ the original venting plan}\ Fleft(t ight)&= ext{starting 2 hrs sooner}end{align}[/latex] In the new graph, at each time, the airflow is the same as the original function [latex]V[/latex] was 2 hours later. For example, in the original function [latex]V[/latex], the airflow starts to change at 8 a.m., whereas for the function [latex]F[/latex], the airflow starts to change at 6 a.m. The comparable function values are [latex]Vleft(8 ight)=Fleft(6 ight)[/latex]. Notice also that the vents first opened to [latex]220{ ext{ ft}}^{2}[/latex] at 10 a.m. under the original plan, while under the new plan the vents reach [latex]220{ ext{ ft}}^{ ext{2}}[/latex] at 8 a.m., so [latex]Vleft(10 ight)=Fleft(8 ight)[/latex]. In both cases, we see that, because [latex]Fleft(t ight)[/latex] starts 2 hours sooner, [latex]h=-2[/latex]. That means that the same output values are reached when [latex]Fleft(t ight)=Vleft(t-left(-2 ight) ight)=Vleft(t+2 ight)[/latex]. Analysis of the Solution Note that [latex]Vleft(t+2 ight)[/latex] has the effect of shifting the graph to the left. Horizontal changes or “inside changes” affect the domain of a function (the input) instead of the range and often seem counterintuitive. The new function [latex]Fleft(t ight)[/latex] uses the same outputs as [latex]Vleft(t ight)[/latex], but matches those outputs to inputs 2 hours earlier than those of [latex]Vleft(t ight)[/latex]. Said another way, we must add 2 hours to the input of [latex]V[/latex] to find the corresponding output for [latex]F:Fleft(t ight)=Vleft(t+2 ight)[/latex]. How To: Given a tabular function, create a new row to represent a horizontal shift. Identify the input row or column. Determine the magnitude of the shift. Add the shift to the value in each input cell. Example: Shifting a Tabular Function Horizontally A function [latex]fleft(x ight)[/latex] is given below. Create a table for the function [latex]gleft(x ight)=fleft(x - 3 ight)[/latex]. [latex]x[/latex] 2 4 6 8 [latex]fleft(x ight)[/latex] 1 3 7 11 Show Solution The formula [latex]gleft(x ight)=fleft(x - 3 ight)[/latex] tells us that the output values of [latex]g[/latex] are the same as the output value of [latex]f[/latex] when the input value is 3 less than the original value. For example, we know that [latex]fleft(2 ight)=1[/latex]. To get the same output from the function [latex]g[/latex], we will need an input value that is 3 larger. We input a value that is 3 larger for [latex]gleft(x ight)[/latex] because the function takes 3 away before evaluating the function [latex]f[/latex]. [latex]egin{cases}gleft(5 ight)=fleft(5 - 3 ight)hfill \ =fleft(2 ight)hfill \ =1hfill end{cases}[/latex] We continue with the other values to create this table. [latex]x[/latex] 5 7 9 11 [latex]x - 3[/latex] 2 4 6 8 [latex]fleft(x ight)[/latex] 1 3 7 11 [latex]gleft(x ight)[/latex] 1 3 7 11 The result is that the function [latex]fleft(x ight)[/latex] has been shifted to the right by 3. Notice the output values for [latex]gleft(x ight)[/latex] remain the same as the output values for [latex]fleft(x ight)[/latex], but the corresponding input values, [latex]x[/latex], have shifted to the right by 3. Specifically, 2 shifted to 5, 4 shifted to 7, 6 shifted to 9, and 8 shifted to 11. Analysis of the Solution The graph below represents both of the functions. We can see the horizontal shift in each point. Example: Identifying a Horizontal Shift of a Toolkit Function This graph represents a transformation of the toolkit function [latex]fleft(x ight)={x}^{2}[/latex]. Relate this new function [latex]gleft(x ight)[/latex] to [latex]fleft(x ight)[/latex], and then find a formula for [latex]gleft(x ight)[/latex]. Show Solution Notice that the graph is identical in shape to the [latex]fleft(x ight)={x}^{2}[/latex] function, but the [latex]x[/latex]–values are shifted to the right 2 units. The vertex used to be at (0,0), but now the vertex is at (2,0). The graph is the basic quadratic function shifted 2 units to the right, so [latex]gleft(x ight)=fleft(x - 2 ight)[/latex] Notice how we must input the value [latex]x=2[/latex] to get the output value [latex]y=0[/latex]; the [latex]x[/latex]-values must be 2 units larger because of the shift to the right by 2 units. We can then use the definition of the [latex]fleft(x ight)[/latex] function to write a formula for [latex]gleft(x ight)[/latex] by evaluating [latex]fleft(x - 2 ight)[/latex]. [latex]egin{cases}fleft(x ight)={x}^{2}hfill \ gleft(x ight)=fleft(x - 2 ight)hfill \ gleft(x ight)=fleft(x - 2 ight)={left(x - 2 ight)}^{2}hfill end{cases}[/latex] Analysis of the Solution To determine whether the shift is [latex]+2[/latex] or [latex]-2[/latex] , consider a single reference point on the graph. For a quadratic, looking at the vertex point is convenient. In the original function, [latex]fleft(0 ight)=0[/latex]. In our shifted function, [latex]gleft(2 ight)=0[/latex]. To obtain the output value of 0 from the function [latex]f[/latex], we need to decide whether a plus or a minus sign will work to satisfy [latex]gleft(2 ight)=fleft(x - 2 ight)=fleft(0 ight)=0[/latex]. For this to work, we will need to subtract 2 units from our input values.

Can a 60 year old learn piano?
Can a 60 year old learn piano?

No matter when you begin piano, you can have the enjoyment of playing an instrument, plus all the great mental, physical, and emotional benefits....

Read More »
What is the simplest music?
What is the simplest music?

In music, monophony is the simplest of musical textures, consisting of a melody (or "tune"), typically sung by a single singer or played by a...

Read More »

Example: Interpreting Horizontal versus Vertical Shifts The function [latex]Gleft(m ight)[/latex] gives the number of gallons of gas required to drive [latex]m[/latex] miles. Interpret [latex]Gleft(m ight)+10[/latex] and [latex]Gleft(m+10 ight)[/latex]. Show Solution [latex]Gleft(m ight)+10[/latex] can be interpreted as adding 10 to the output, gallons. This is the gas required to drive [latex]m[/latex] miles, plus another 10 gallons of gas. The graph would indicate a vertical shift. [latex]Gleft(m+10 ight)[/latex] can be interpreted as adding 10 to the input, miles. So this is the number of gallons of gas required to drive 10 miles more than [latex]m[/latex] miles. The graph would indicate a horizontal shift. Try It Given the function [latex]fleft(x ight)=sqrt{x}[/latex], graph the original function [latex]fleft(x ight)[/latex] and the transformation [latex]gleft(x ight)=fleft(x+2 ight)[/latex] on the same axes. Is this a horizontal or a vertical shift? Which way is the graph shifted and by how many units? Show Solution A horizontal shift results when a constant is added to or subtracted from the input. A vertical shift results when a constant is added to or subtracted from the output. Try It Desmos can graph transformations using function notation. Use an online graphing tool to graph the toolkit function [latex]f(x) = x^2[/latex]

Now, enter [latex]f(x+5)[/latex], and [latex]f(x)+5[/latex] in the next two lines.

Now have Desmos make a table of values for the original function. Include integer values on the interval [latex][-5,5][/latex]. Replace the column labeled [latex]y_{1}[/latex] with [latex]f(x_{1})[/latex]. Now replace [latex]f(x_{1})[/latex] with [latex]f(x_{1}+3)[/latex], and [latex]f(x_{1})+3[/latex]. What are the corresponding functions associated with the transformations you have graphed? Show Show Solution You have graphed the following transformations: [latex]f(x+3)=(x+3)^2[/latex] [latex]f(x)+3=(x)^2+3[/latex]

Contribute!

Did you have an idea for improving this content? We’d love your input.

Improve this pageLearn More

courses.lumenlearning.com - Shifts | College Algebra - Lumen Learning
Does flowkey listen to you play?
Does flowkey listen to you play?

As the name suggests, in Wait Mode, Flowkey will listen to your playing and wait for you to play the correct note. This is very useful for the...

Read More »
Can a locksmith make a key without the original?
Can a locksmith make a key without the original?

Head to a locksmith You can replace your lost car key at a locksmith, even if you don't have the original key. Going straight to a locksmith may be...

Read More »
How do Boy Willie and Lymon end up in Pittsburgh?
How do Boy Willie and Lymon end up in Pittsburgh?

It all begins when Boy Willie and Lymon arrive in Pittsburgh from Mississippi with a truckload of watermelons. The two bust into the house of Boy...

Read More »
Join almost HALF A MILLION Happy Students Worldwide
Join almost HALF A MILLION Happy Students Worldwide

Pianoforall is one of the most popular online piano courses online and has helped over 450,000 students around the world achieve their dream of playing beautiful piano for over a decade.

Learn More »
Who has the most kids in the world?
Who has the most kids in the world?

Valentina Vassilyev and her husband Feodor Vassilyev are alleged to hold the record for the most children a couple has produced. She gave birth to...

Read More »