Stretching and compressing refer to vertical transformations of a graph that change its steepness or flatness. These are controlled by multiplying the function by a constant: \[ g(x) = C f(x) \] where the value of \( C \) determines whether the graph stretches or compresses vertically.