<< Chapter < Page Chapter >> Page >

Given a tabular function, create a new row to represent a horizontal shift.

  1. Identify the input row or column.
  2. Determine the magnitude of the shift.
  3. Add the shift to the value in each input cell.

Shifting a tabular function horizontally

A function f ( x ) is given in [link] . Create a table for the function g ( x ) = f ( x 3 ) .

x 2 4 6 8
f ( x ) 1 3 7 11

The formula g ( x ) = f ( x 3 ) tells us that the output values of g are the same as the output value of f when the input value is 3 less than the original value. For example, we know that f ( 2 ) = 1. To get the same output from the function g , we will need an input value that is 3 larger . We input a value that is 3 larger for g ( x ) because the function takes 3 away before evaluating the function f .

g ( 5 ) = f ( 5 3 ) = f ( 2 ) = 1

We continue with the other values to create [link] .

x 5 7 9 11
x 3 2 4 6 8
f ( x 3 ) 1 3 7 11
g ( x ) 1 3 7 11

The result is that the function g ( x ) has been shifted to the right by 3. Notice the output values for g ( x ) remain the same as the output values for f ( x ) , but the corresponding input values, x , 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.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Identifying a horizontal shift of a toolkit function

[link] represents a transformation of the toolkit function f ( x ) = x 2 . Relate this new function g ( x ) to f ( x ) , and then find a formula for g ( x ) .

Graph of a parabola.

Notice that the graph is identical in shape to the f ( x ) = x 2 function, but the x- 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

g ( x ) = f ( x 2 )

Notice how we must input the value x = 2 to get the output value y = 0 ; the x -values must be 2 units larger because of the shift to the right by 2 units. We can then use the definition of the f ( x ) function to write a formula for g ( x ) by evaluating f ( x 2 ) .

f ( x ) = x 2 g ( x ) = f ( x 2 ) g ( x ) = f ( x 2 ) = ( x 2 ) 2
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Interpreting horizontal versus vertical shifts

The function G ( m ) gives the number of gallons of gas required to drive m miles. Interpret G ( m ) + 10 and G ( m + 10 ) .

G ( m ) + 10 can be interpreted as adding 10 to the output, gallons. This is the gas required to drive m miles, plus another 10 gallons of gas. The graph would indicate a vertical shift.

G ( m + 10 ) 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 m miles. The graph would indicate a horizontal shift.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Given the function f ( x ) = x , graph the original function f ( x ) and the transformation g ( x ) = f ( x + 2 ) on the same axes. Is this a horizontal or a vertical shift? Which way is the graph shifted and by how many units?

The graphs of f ( x ) and g ( x ) are shown below. The transformation is a horizontal shift. The function is shifted to the left by 2 units.

Graph of a square root function and a horizontally shift square foot function.
Got questions? Get instant answers now!

Combining vertical and horizontal shifts

Now that we have two transformations, we can combine them. Vertical shifts are outside changes that affect the output ( y -) values and shift the function up or down. Horizontal shifts are inside changes that affect the input ( x -) values and shift the function left or right. Combining the two types of shifts will cause the graph of a function to shift up or down and left or right.

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask