In mathematics, a shift refers to moving a graph up, down, left, or right. These can be either vertical or horizontal shifts, modifying the function's graph position without altering its basic shape.
For vertical shifts, consider the function \( f(x) = |x| + k \). Here, \( k \) moves the graph up or down:
- If \( k > 0 \): the graph shifts upward by \( k \) units.
- If \( k < 0 \): the graph shifts downward by \( |k| \) units.
Horizontal shifts involve altering the input of the function, for example \( f(x) = |x - h| \). This affects its position along the x-axis:
- If \( h > 0 \): the graph shifts right by \( h \) units.
- If \( h < 0 \): the graph shifts left by \( |h| \) units.
These shifts allow adjustments to the function's intercepts, enabling better alignment with desired data or applications.