Plot the graph of |y|=ln(x)
We want to plot |y|=lnx.
|y| is always positive (y can be negative) so lnx should also be positive. We will remove the part where lnx becomes negative.
If lnx is positive, |y|=lnx⇒y=∓lnx (This is similar to |x|=3⇒x=∓3)
So, we will plot lnx first then remove the part below x-axis. In the next step we will plot y=+lnx and y=−lnx together, because y=∓lnx. (We just have to take the reflection of the previous curve in this step).