# How do you graph f(x) = log (x) + 4 ?

Jan 18, 2017

Explanation below.

#### Explanation:

Simply graph the function $g \left(x\right) = \log x$

graph{logx [-10, 10, -5, 5]}

then, shift it upwards $4$ units:

graph{logx + 4 [-9.67, 10.33, -2.36, 7.64]}

In general, for any function $f$, the graph of the function $h \left(x\right) = f \left(x\right) + c$, where $c$ is a constant, is the graph of $f$, shifted upwards $c$ degrees. (If $c$ is negative, it means the shift is downwards instead)