# Trigonometry

### What is Trigonometry?

Trigonometry, or "Trig" for short, is the study of the relationships between the angles and sides of triangles. We will mostly be dealing with right triangles, but all triangles can be analyzed with trig. Trig is a vital branch of mathematics because it has many real world applications in engineering, architecture, optics, and many more fields.

### Trigonometric Functions

The trigonometric functions are the main functions that are used to describe the relationships between angles and sides of figures.

The triangle below is a good way to visualize what the reference angle $(\theta)$ is, and what the different sides are. ### Sine, Cosine, and Tangent

The three basic trig functions are the Sine, Cosine, and Tangent functions. Let's begin by looking at the sine function.

In the context of a right angle, the sine function, written as $\sin{\theta}$ is equal to the division of the opposite side of the reference angle $(\theta)$ by the hypotenuse, or long side, of the triangle.

$$\sin{\theta} = \frac{\text{opposite}}{\text{hypotenuse}}$$

Similarly, the cosine function, denoted as $\cos{\theta}$ is defined as the division of the adjacent side to reference angle divided by the hypotenuse.

$$\cos{\theta} = \frac{\text{adjacent}}{\text{hypotenuse}}$$

The tangent function, denoted as $\tan{\theta}$, is defined as the division of the opposite side of the reference angle by the adjacent side.

$$\tan{\theta} = \frac{\text{opposite}}{\text{adjacent}}$$

### Cosecant, Secant, and Cotangent

Since the previously described trigonometric functions are described as fractions, we can take the reciprocals of the functions and obtain 3 new functions. The Cosecant function is the reciprocal of the Sine function, the Secant is the reciprocal of the Cosine, and Cotangent is the reciprocal of Tangent.

\begin{array}{c}
\sec{\theta} = \frac{1}{\cos\theta} = \frac{\text{hypotenuse}}{\text{opposite}}\\
\end{array}

### Trigonometric Identities

All of the trigonometric functions are related to the unit circle so it should naturally follow that there are ways of writing them in terms of each other. A way of writing a trigonoetric function in terms of other trigonometric functions is called a trigonometric identity. Below are some of the most common trigonometric identities that you will encounter in a trig course.

#### The Reciprocal Identities

\begin{array}{c c}
\sin\theta = \frac{1}{\csc\theta} & \csc\theta = \frac{1}{\sin\theta}\\
\cos\theta = \frac{1}{\sec\theta} & \sec\theta = \frac{1}{\cos\theta}\\
\tan\theta = \frac{1}{\cot\theta} & \cot\theta = \frac{1}{\tan\theta}\\
\end{array}

#### Pythagorean Identities

\begin{array}{c} \sin^2\theta + \cos^2\theta = 1\\
1 + \tan^2\theta = \sec^2\theta\\
1 + \cot^2\theta = \csc^2\theta\\
\end{array}

#### Quotient Identities

\begin{array}{c c}
\tan\theta = \frac{\sin\theta}{\cos\theta} & \cot\theta = \frac{\cos\theta}{\sin\theta}\\
\end{array}

#### Cofunction Identities

\begin{array}{c c}
\sin\theta=\cos\left(\frac{\pi}{2}-\theta\right), & \cos\theta=\sin\left(\frac{\pi}{2}-\theta\right)\\
\sec\theta=\csc\left(\frac{\pi}{2}-\theta\right), & \csc\theta=\sec\left(\frac{\pi}{2}-\theta\right)\\
\tan\theta=\cot\left(\frac{\pi}{2}-\theta\right), & \cot\theta=\tan\left(\frac{\pi}{2}-\theta\right)\\
\end{array}

#### Half Angle Identities

\begin{array}{c}
\sin\frac{\theta}{2}=\pm\sqrt{\frac{1-\cos\theta}{2}}\\
\cos\frac{\theta}{2}=\pm\sqrt{\frac{1+\cos\theta}{2}}\\
\tan\frac{\theta}{2}=\frac{\sin\theta}{1+\cos\theta}=\frac{1-\cos\theta}{\sin\theta}\\
\end{array}

#### Sum/Difference Identities

\begin{array}{c}
\sin(\theta\pm\phi) = \sin\theta\cdot\cos\phi \pm \cos\theta\cdot\sin\phi\\
\cos(\theta\pm\phi) = \cos\theta\cdot\cos\phi \mp \sin\theta\cdot\sin\phi\\
\tan(\theta\pm\phi) = \frac{\tan\theta\pm\tan\phi}{1\mp\theta\theta\cdot\tan\phi}\\
\end{array}