The Pythagorean identity
The hub of the space station, the cabin, and the point on the axis straight below the cabin make a right-angled triangle. Its legs are cosine of v across and sine of v up, and its hypotenuse is the radius, 1:
By Pythagoras, then,
This holds for every angle. In the other quadrants, the legs can be negative, but their squares are the same. It is called the Pythagorean identity: an identity is an equation that is true whatever the letter is.
One value gives the other
Say we know that sine of v equals minus 1 over 4, and that v is in the third quadrant. Then
which is 1 minus 1 over 16, so 15 over 16. The root of a fraction is the root of the top over the root of the bottom, so cosine of v is the square root of 15 over 4 or minus the square root of 15 over 4. Both fit: a cabin a quarter of a radius below the hub can be on either side of it. The quadrant decides which: in the third quadrant, the cabin is to the left of the hub, where cos is negative. So
tan as well
With both in hand, tan is sin divided by cos:
The quarters cancel, and so do the minuses, which leaves 1 over the square root of 15. Multiplying the top and the bottom by the square root of 15 writes it without a root on the bottom, as the square root of 15 over 15. Both forms are right. The sign is plus, as it must be: in the third quadrant, sin and cos are both negative.
1 + tan² = 1/cos²
Dividing both sides of the identity by cosine of v squared gives
and the first fraction is tangent of v squared. So
That is why the derivative of tan can be written both ways. Writing tangent of v as sine of v over cosine of v, the quotient rule gives
By the identity, the top is 1, which gives 1 over cosine of v squared. Splitting the fraction up instead gives 1 plus tangent of v squared.
sin²v + cos²v = 1, for every angle. Knowing one of them gives the other, up to its sign, and the quadrant decides the sign.