Case 4
To draw the graph of form y = | f(x) | (graph 4)
Draw the graph of y = f(x) (in yellow) then restore that part of the curve, which is above x-axis. Take the reflection of the part of the curve which is below x-axis (in yellow) wrt to x-axis. Then erase the part which is below x-axis... The restored part along with the reflection will be the required curve (in red dotted)
Case 5
To draw the graph of form y = f(|x|) (graph 5)
Draw the graph of y = f(x) (in yellow) and then erase the part which is to the left of y-axis. Take the reflection to the part of the curve lying to the right of y-axis assuming y-axis as mirror. The part of the curve, which is at the right of y-axis along with its reflection, is the required curve (in red dotted)
Case 6
To draw the graph of form y = f(- x) (graph 6)
Draw y = f(x) (in yellow)..and then take the total reflection of this graph wrt y-axis (in red)
Case 7
To draw the graph of form y = - f(x) (graph 7)
Draw y = f(x) (in yellow)..and then take the total reflection of this graph wrt x-axis (in red)