How do you find all local maximum and minimum points given y=(x^2-1)/x?