How do you determine whether the function y=ln x is concave up or concave down and its intervals?