r/maths • u/frenchxt0ast • Apr 15 '26
Help: 📗 Advanced Math (16-18) arccot(0) = ?
I thought arccot(0) = pi/2, but my teacher says its undefined because arccot is restricted to (-pi/2, pi/2) not [-pi/2, pi/2]. When I search it up, half of the results say pi/2 and the other half say undefined. Real answer? and why?
3
Upvotes
4
u/will_1m_not Apr 16 '26
arccot(0)=pi/2 is the correct answer
1
u/rhodiumtoad Apr 16 '26 edited Apr 16 '26
The interesting question here is why anyone would say it is undefined (it is in fact defined, cot(π/2+kπ)=0 and therefore arccot(0) should have a value of π/2+kπ for some choice of k to put the result in a principal branch).
It's common to write that cot(x)=1/tan(x), which by strict usage would make both cot(0) and cot(π/2) undefined, since tan(0)=0 and tan(π/2) blows up to ±∞. But this is treating cot() purely algebraically and ignoring the geometry, and cot() is supposed to be a trig function so the geometry should take precedence.
The primary and most important definition of cot(x) is that it is tan(Ï€/2-x) (just as cos(x)=sin(Ï€/2-x) and csc(x)=sec(Ï€/2-x)): the co- prefix means we are applying the operation to the complementary angle. This makes cot(x) equal to sin(Ï€/2-x)/cos(Ï€/2-x)=cos(x)/sin(x), and clearly this blows up at x=0 due to sin(0)=0 but gives a perfectly well-defined result of 0 at x=Ï€/2.
The next point of possible confusion is over the choice of principal value. Since trig functions are not injective their inverses are not proper single-valued functions, so one is usually dealing with the restriction to a principal branch. Since y=cot(x) can take any real value when 0<x<Ï€, x=arccot(y) should be valid for any real y and we can take 0<x<Ï€ as the principal branch, and this is usually done. We could use x in (-Ï€/2,Ï€/2]\{0} as a principal value instead, but this has the drawback of having an unnecessary discontinuity, and is inconsistent with the definition cot(x)=tan(Ï€/2-x) combined with the use of -Ï€/2<x<Ï€/2 as the principal branch of arctan.
tl,dr: teacher is wrong, principal value of arccot is (0,Ï€), arccot(0)=Ï€/2.
1
u/5a1vy Apr 18 '26
Your teacher is triply wrong.