Step by step
The question
Question: find tan B, when cos B = 5/13.
1 Draw the triangle
sin, cos and tan belong to an angle of a right triangle.
So we draw a right triangle with the angle B.
2 Use what cos B means
The opposite side is across from B.
We write opp, adj and hyp for short.
The adjacent side is next to B.
It is not the hypotenuse.
The hypotenuse is the longest side.
It is across from the right angle.
cos B is the adjacent side over the hypotenuse.
The question says cos B = 5/13.
So adj over hyp is 5/13.
Every right triangle with the angle B has the same shape.
A bigger one could have 10 and 26.
10/26 is 5/13 too.
So we can use the small one: adj = 5 and hyp = 13.
3 Find the missing side
The opposite side is missing.
We call it x.
Pythagoras: in a right triangle, the two short sides squared add up to the hypotenuse squared.
Now put the numbers in: opp = x, adj = 5 and hyp = 13.
5² means 5 times 5.
That is 25.
13² means 13 times 13.
That is 169.
Write the squares: x² + 25 = 169.
We want x² by itself.
The 25 is in the way.
To remove 25, we take away 25.
We do it on both sides.
Why both sides?
The = sign means both sides are the same amount.
If we change only one side, they are not the same any more.
25 and − 25 make zero.
Cross them out.
169 minus 25 is 144.
x² is 144.
So x times x is 144.
That means x is the square root of 144.
The square root of 144 is the plus number that times itself makes 144.
12 times 12 is 144.
−12 times −12 is 144 too, but the √ sign always means the plus one.
So x = 12.
4 Write tan B
tan B is the opposite side over the adjacent side.
Put in opp = 12 and adj = 5.
So tan B = 12/5.
Careful!
The hypotenuse is never in tan.
tan uses the two short sides: opp and adj.
5 Check
Let's check with the calculator.
Set the calculator to degrees first.
The cos⁻¹ button turns cos B back into the angle: B is about 67.4°.
tan 67.4° is about 2.4.
And 12/5 is 2.4.
The same.
So tan B = 12/5 is right!
Let's look back.
First: draw the triangle.
Then: use what cos B means.
Then: find the missing side.
Then: write tan B.
Last: check.