I'm going to ignore the -3 in your problem for now. Since the cotangent has many different segments that map onto the y axis, the "inverse" would be a multi-valued function. A partial graph of that is:
If you want a single valued definition (that is, a
function), you have pick what part of this graph to use. It doesn't matter which part is chosen as long as everyone knows which it is. That's why you need a standard choice. If you want the arccotangent to be continuous, the standard choice would be the blue one. Many texts choose this branch and then call it Arccot, with a capital A. With this choice, Arccot(x) is always an angle in ##(0,\pi)##.
An alternate, less common, choice is to choose the left part of the green and right part of the blue graphs, which would put the standard angle in ##(-\frac \pi 2, \frac \pi 2)##. This gives a jump at ##x=0##, but you still must choose either ##\frac \pi 2## or ##-\frac \pi 2## for its value at 0.
So, no matter which way you do it, it is incorrect to say arccot(0) is undefined. In any case, as I pointed out in post #4, it is apparent that your professor uses Arccot(x) as above as his standard one. So would I, and I would suggest you do so too. That being said, I think you should move on from this problem. I think you understand the issue and that's all that is needed.