Wolfram Language Fast Introduction for Math Students
Get Started »

Trigonometry

For basic trig functions, use standard abbreviations (with the first letter capitalized):

In[1]:=
Click for copyable input
Sin[x]/Cos[x] == Tan[x]
Out[1]=

Add “Arc” for the inverses:

In[2]:=
Click for copyable input
ArcTan[1]
Out[2]=

Use Pi when working with radian expressions:

(Type ESCpiESC for the π character.)
In[1]:=
Click for copyable input
Sin[\[Pi]/2]
Out[1]=

Or type ESCdegESC for the built-in Degree symbol:

In[2]:=
Click for copyable input
Sin[90 \[Degree]]
Out[2]=

Automatically expand (or reduce) trig expressions using identities:

In[1]:=
Click for copyable input
TrigExpand[Sin[2 x]]
Out[1]=

Factor trig polynomials:

In[2]:=
Click for copyable input
TrigFactor[Cos[x]^2 - Sin[x]^2]
Out[2]=

Functions like Solve work as well:

In[1]:=
Click for copyable input
Solve[Cos[x]^2 + Sin[x]^2 == x]
Out[1]=

Specify a domain for solutions:

In[2]:=
Click for copyable input
Solve[{Tan[x] == 1, 0 < x < 2 Pi}]
Out[2]=

QUICK REFERENCE: Trigonometric Functions »