Basic trigonometry
There are three trigonometric functions we’ll focus on here: sine, cosine, and tangent. These functions relate the side lengths of a right triangle. That means the definitions in this lesson apply only to right triangles.
SOH CAH TOA
The most common way to remember how to use these three trigonometric functions is the mnemonic SOH CAH TOA. In this mnemonic, S (SOH) stands for sine, C (CAH) stands for cosine, and T (TOA) stands for tangent. Each part of SOH CAH TOA tells you both which function you’re using and which sides to compare.
Because we only use these functions with right triangles, we’ll refer to the triangle below as we define each function:

In the diagram, the sides are labeled opposite, adjacent, and hypotenuse. These match the remaining letters in SOH CAH TOA (O, A, and H).
In each case, you’ll write an equation in this form:
- function (first side) divided by (second side)
We use the symbol (theta) to represent the angle.
Sine
Start with SOH. Replacing the letters with words gives Sine Opposite Hypotenuse. That tells you:
To find , substitute the side lengths into the formula. For example, if the opposite side is 4 and the hypotenuse is 8:
Cosine
Next is CAH, which stands for Cosine Adjacent Hypotenuse:
For example, if the adjacent side is and the hypotenuse is :
Tangent
Finally, TOA stands for Tangent Opposite Adjacent:
For example, if the opposite side is and the adjacent side is :
Theta ()
It’s important to know where is in the triangle because the labels opposite and adjacent depend on which angle you’re using.
For example, if you use the top-right angle instead, the triangle would look like this:

Now the opposite and adjacent sides have swapped. That happens because they are relative to :
- The opposite side is the side directly across from angle .
- The adjacent side is the side next to angle (but not the hypotenuse).
- The hypotenuse is always the longest side, opposite the right angle, so it doesn’t change.
So, instead of memorizing where the sides appear in a picture, identify opposite and adjacent by looking at the angle you’re working with.
Trigonometric functions in algebra
In algebra, you’ll often use trig functions to relate an angle to side lengths.
- Sometimes you’ll be asked to find a side length when you know an angle and another side.
- Other times you’ll be asked to find the angle .
This is the difference between finding a value like and finding the angle itself. To solve for , you use inverse trig functions.
Solving for a side
Solve for a side of a right triangle using trigonometric functions when you are given one side length and one angle. First, decide which trig function connects:
- a side you know, and
- the side you want to find.
For example:
- If you know the opposite side and want the adjacent side, use tangent (it involves opposite and adjacent).
- If you know the opposite side and want the hypotenuse, use sine (it involves opposite and hypotenuse).
Then set up the equation and solve for the unknown side.
Find the measure of side in the figure below.

The length of the side is .
Inverse trig functions
When you solve for in algebra, you use inverse operations to isolate the variable. For example, if is multiplied by a number, you divide by that number.
Inverse trig functions work the same way: they let you “undo” a trig function so you can isolate . Before using them, make sure your calculator is in degrees.
Inverse trig functions are as follows:
Let’s look at an example.
Find the value of for the following equation:
Isolate theta by taking the inverse cosine of both sides:
The measure of angle is degrees.