The function p(x)=cotx is defined on each open interval that avoids its vertical asymptotes.
Focus on the interval (0,π).
(1) Without explicit calculation of p′(x), explain why the derivative of p must be negative throughout (0,π). Base your reasoning on the geometric behavior of p.
(2) Describe how the slope of the graph of p changes as x approaches each endpoint of the interval (0,π). Connect your description to the limiting behavior of p′(x) near the vertical asymptotes.