Consider the graph of $y=f\left(x\right)$y=f(x), which is defined for all real $x$x.
Define the function for $x>4$x>4.
Define the function for $x\le4$x≤4.
The function $f\left(x\right)$f(x) is defined below:
Consider the graph of $y=f\left(x\right)$y=f(x).
The function $f\left(x\right)$f(x) is defined as:
$f\left(x\right)$f(x) | $=$= | $2$2 | when $x<0$x<0 | |
$x+2$x+2 | when $x>0$x>0 |