The Tangent Function
Learning objectives
- Define tangent as the ratio of sine to cosine
- Evaluate tangent at standard angles
- Identify the period and vertical asymptotes of the tangent graph
- Relate tangent to slope of a line from the origin
Sine and cosine measure positions. Tangent measures slope. If a ray leaves the origin at angle and you ask "how steep is it?", the answer is . That single fact, tangent equals slope, is what makes tangent the function calculus reaches for when computing instantaneous rates of change. The unit-circle definition makes the slope interpretation precise; the algebra makes it computable; and the graph makes the asymptotes visible.
Definition
For any where ,
The domain excludes the angles where cosine vanishes, these are for integer . At those angles tangent has vertical asymptotes: as approaches from below, while , so the ratio shoots to . From above, it dives to .
Tangent as slope
Draw the ray from the origin at angle . It hits the unit circle at . The slope of that ray is rise over run:
So tangent is the slope of the ray. Equivalently: the line passes through the origin at angle .
- Surveying: Tangent gives the slope (rise over run); a surveyor measuring the height of a tower from a known distance uses with from a theodolite.
- Computer Graphics: A camera's field-of-view is set by ; the projection matrix in OpenGL/Vulkan literally contains this number, and choosing the right FOV avoids the "fish-eye" look.
- Civil Engineering: Road-grade signs ("7% grade ahead") are tangent values: a 7% grade is , or about a 4^\circ incline. Highway engineering codes specify maximum tangents for safety.
(Drag the orange point. The dotted vertical line at is the tangent line in the literal sense: the point where the extended ray hits it has height . Hide projections if the picture gets busy.)
Standard values
From the unit-circle table for sine and cosine: , , , , is undefined. Beyond the function picks up signs from the quadrant pattern: positive in QI and QIII, negative in QII and QIV.
Period , not
Here is the surprise. Sine and cosine repeat every , but tangent repeats every . Why? Rotating by sends to . Both signs flip, so the ratio stays the same: . Half a turn around the unit circle gives a different point but the same slope of the ray, because a ray and its reverse have the same slope, just pointing the other way.
The Pythagorean cousin
Dividing the identity by produces another identity:
This shows up constantly in calculus, the derivative of is , for example.
Try it
- Predict first: what is , and what slope does the ray have? Snap to and verify the readout shows .
- Pick an angle slightly less than . Watch the tangent readout balloon. Now nudge past , it flips sign and is large and negative.
- If a line through the origin has slope , at what angle does it make with the -axis? (Hint: it is one of the standard angles.)
Pause: tangent has period , half the period of sine and cosine. Where does the second factor of come from? It comes from the sign-cancellation when you rotate by . Try to articulate this in one sentence before continuing.
A trap to watch for
A frequent slip is treating as as if it were a number. It is undefined. Saying "" is informal shorthand for " grows without bound as ," but is not a value of the function. Similarly, watch the sign: goes to from one side and from the other; it does not pass smoothly through. In a calculus computation, never plug in ; instead, take a one-sided limit.
What you now know
You can compute as a ratio of sine to cosine, locate its asymptotes, evaluate it at standard angles, interpret it as the slope of a ray from the origin, and apply the identity . The next section builds the trigonometric power tools, the addition formulas, that let you compute and from sine and cosine of and individually.
Quick check
Mark section complete →
References
- Lang, S. (1971). Basic Mathematics. Springer. Chapter 11, §4, tangent and its geometric interpretation as slope.
- Spivak, M. (2008). Calculus (4th ed.). Publish or Perish. Chapter 15: analytic properties of trigonometric functions, including the derivative of tangent.
- Stewart, J. (2015). Calculus: Early Transcendentals (8th ed.). Cengage. Section 1.2: tangent as the slope of an inclined line.