Cot

Cot[z]
gives the cotangent of z.

DetailsDetails

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • The argument of Cot is assumed to be in radians. (Multiply by Degree to convert from degrees.)
  • .
  • Cos[z]/Sin[z] is automatically converted to Cot[z]. TrigFactorList[expr] does decomposition.
  • For certain special arguments, Cot automatically evaluates to exact values.
  • Cot can be evaluated to arbitrary numerical precision.
  • Cot automatically threads over lists.

Background
Background

  • Cot is the cotangent function, which is one of the basic functions encountered in trigonometry. It is defined as the reciprocal of the tangent function: . The equivalent schoolbook definition of the cotangent of an angle in a right triangle is the ratio of the length of the leg adjacent to to the length of the leg opposite it.
  • Cot threads element-wise over lists and matrices. When given numbers as arguments, Cot may be evaluated to arbitrary numeric precision. MatrixFunction can be used to give the cotangent of a square matrix (i.e. the power series for the cotangent function with ordinary powers replaced by matrix powers) as opposed to the cotangents of the individual matrix elements.
  • Cot automatically evaluates to exact values when its argument is a simple rational multiple of . For more complicated rational multiples, FunctionExpand can sometimes be used to obtain an explicit exact value. TrigFactorList can be used to factor expressions involving Cot into terms containing Sin and Cos. Other operations useful for manipulation of symbolic expressions involving Cot include TrigToExp, TrigExpand, Simplify, and FullSimplify.
  • Cot satisfies the identity , which is equivalent to the Pythagorean theorem. The definition of the cotangent function is extended to complex arguments using the definition , where is the base of the natural logarithm. Cot has poles at for an integer and evaluates to ComplexInfinity at these points.
  • The inverse function of Cot is ArcCot. The hyperbolic cotangent is given by Coth.
Introduced in 1988
(1.0)
| Updated in 1996
(3.0)