sliding the graph

Let be a function with its domain.

Let be defined as with its induced domain.

Then the domain of is

the domain of shifted left the domain of shifted right the same as for

Adding or subtracting a constant from the function, as oposed to the domain, shifts the graph up and down. The shape of the graph doesn’t change. All of the characteristics and features of the function, like maximums and minimums, occur at the same places in the domain. Their values just change accordingly.

Together

We can apply horizontal and vertical shifts together as well.

ooooo=-=-=-=-=-=-=-=-=-=-=-=-=ooOoo=-=-=-=-=-=-=-=-=-=-=-=-=ooooo
more examples can be found by following this link
More Examples of Shifting