Heya! I myself am a newbie to the absolute beast that is trigonometry and I struggle myself with understanding it but I think I’ve grasped a bit of it to maybe help clear up some confusion(Anyone feel free to correct me if I’m wrong at any point in this post)
To start off Trigonometry focuses on the relationships within the sides and lengths of the right triangle and therefore can be used to solve for unknowns in the triangle.
I think trigonometry is just based on what you’re trying to find, and by using what you already know you can utilize the trigonometric functions to find an unknown value, it could be an angle or the length of a side…
Let’s say we have this right angle triangle:
Now let’s say we know what angle A is and we know what side a is and we’re trying to find side b, well then what should we do to find side b?
When doing trig depending on the angle you’re inputting into your function all your sides will be relative to that angle, what do I mean by this?
Well if we’re using angle A then the opposite side would be c because it is directly opposite from angle A and side b would be the adjacent side because it is adjacent to angle A, but Syh isn’t side a adjacent to angle A as well? good question but you see side a would be the hypotenuse, why you ask? because it is the side directly opposite to the 90 degree angle. So remember that.
Now, now that we know our angle and side, how do we find side b?, well since side b is adjacent to angle A we should use cosine (Cosine is Adjacent over Hypotenuse) or CAH for short.
We’re using cosine because we want to find the adjacent side, and since cosine returns the ratio of the adjacent side to the hypotenuse, since we know the length of the hypotenuse(side a) we could just multiply that ratio to return the actual length of the side we’re trying to find i.e side b… let’s demonstrate.
let’s plug cosine(A) into a calculator
our answer:
Alas my friends we have found our ratio value this is essentially b/a, but remember we didn’t know what b was, so now how do we find it?
Algebra version:
we can multiply our ratio by the side we know to find the side we want that’d look like this:
don’t mind the numbers they’re just showing the steps in sequential order
In step 3 we cancelled out side a from the equation and were left with b in step 4.
some people may not be strong at algebra so here’s a simplified version of us multiplying the ratio by the side a to find side b with the values:
and now as you can see we were left with this long decimal value, that is in fact side b.
So this is really just the basics I tried to break it down as much as possible so it could be easy to understand and as well as provide many visual examples.
The same concept for cosine applies for all the trigonometric functions, such as tan, sine, and cosine… later I might post a follow up on how to actually use and apply the inverse trigonometric functions such as asin, acos and atan, these functions are more widely used in game development due to their ability to find unknown angles which is really useful and important especially in game development.