g(x) is basically f(x) but flipped or reflected over or the y-axis. We can achieve this effect by negating f(x), or -f(x).
g(x) = -f(x) = -|x|
1.6m questions
2.0m answers