Tutorials › Calculus I › Tangent as a Quotient of Coordinates

Trigonometric Function Toolkit · Tutorial 122 of 1495

Tangent as a Quotient of Coordinates

Learn to calculate tangent from the unit-circle coordinates and recognize when the quotient is undefined.

Beginner 9 min read

What You'll Learn

  • Define tangent as the quotient of sine and cosine when cosine is nonzero.
  • Identify angles on the vertical axis as points where tangent is undefined.
  • Determine the sign of tangent from the signs of the unit-circle coordinates.
  • Compute exact tangent values from special-angle coordinates.
  • Interpret tangent as the slope of the ray from the origin to a unit-circle point.

From Unit-Circle Coordinates to Tangent

For an angle \(\theta\), the unit-circle point has coordinates \((\cos\theta,\sin\theta)\). Sine is its vertical coordinate and cosine is its horizontal coordinate. Tangent combines these two coordinates in a quotient: the vertical coordinate divided by the horizontal coordinate.

This definition gives a direct way to calculate tangent, but it also imposes a condition. Division by zero is undefined, so tangent has no value at angles whose unit-circle point lies on the vertical axis. The signs of the two coordinates also determine whether tangent is positive or negative.

Definition: If \(\cos\theta\ne 0\), the tangent of \(\theta\) is \(\tan\theta=\dfrac{\sin\theta}{\cos\theta}\). If \(\cos\theta=0\), \(\tan\theta\) is undefined.

The condition \(\cos\theta\ne 0\) is part of the definition, not an optional check. Before calculating a tangent value, first make sure that the denominator is nonzero.

Why the Quotient Is a Slope

The quotient also has a simple geometric interpretation. Let \(P=(x,y)\) be the unit-circle point for an angle \(\theta\), measured from the positive horizontal axis. If \(x\ne 0\), the ray from the origin through \(P\) has slope equal to its vertical change divided by its horizontal change.

$$ \text{slope of }OP=\frac{y-0}{x-0}=\frac{y}{x}. $$

By the unit-circle coordinate definitions, \(x=\cos\theta\) and \(y=\sin\theta\). Substituting these coordinates gives

$$ \text{slope of }OP = \frac{\sin\theta}{\cos\theta} = \tan\theta, \qquad \cos\theta\ne 0. $$

This explains both the quotient and its restriction. When \(x=0\), the ray is vertical and its slope is undefined; at the same time, \(\cos\theta=x=0\), so the quotient defining tangent has a zero denominator. Here “slope” means the slope of the ray from the origin to the unit-circle point, not the slope of a line tangent to the circle.

Geometric interpretation: When it is defined, \(\tan\theta\) is the slope of the ray from the origin through the unit-circle point \((\cos\theta,\sin\theta)\). The ray is vertical, and tangent is undefined, exactly when its horizontal coordinate is zero.

Where Tangent Is Undefined

Tangent is undefined precisely when the cosine coordinate is zero. On the unit circle, that happens at points on the vertical axis, \((0,1)\) and \((0,-1)\). In radians, these points correspond to angles of the form

$$ \theta=\frac{\pi}{2}+k\pi, \qquad k\in\mathbb{Z}. $$

For example, \(\pi/2\) and \(3\pi/2\) correspond to the top and bottom of the unit circle. At either point, sine is nonzero but cosine is zero, so the quotient cannot be evaluated. Saying that tangent is “infinite” at such an angle is not correct: division by zero is undefined, and there is no real tangent value there.

At angles not on the vertical axis, the horizontal coordinate is nonzero, so the quotient is defined. This domain condition applies regardless of whether the angle is positive or negative, or how many turns it makes around the circle.

Signs from the Unit-Circle Coordinates

When tangent is defined, its sign follows from the signs of sine and cosine. A quotient of two positive numbers is positive, and a quotient of two negative numbers is also positive. A quotient with one positive and one negative number is negative.

Location of the point Sign of sine Sign of cosine Sign of tangent
First quadrant Positive Positive Positive
Second quadrant Positive Negative Negative
Third quadrant Negative Negative Positive
Fourth quadrant Negative Positive Negative

This sign check is useful before simplifying an exact value. For instance, an angle in the second quadrant must have negative tangent: its sine coordinate is positive and its cosine coordinate is negative. On the horizontal axis, the sine coordinate is zero and the cosine coordinate is nonzero, so tangent is zero. On the vertical axis, tangent is undefined instead.

Sign rule: At an angle where cosine is nonzero, tangent is positive when sine and cosine have the same sign and negative when they have opposite signs. On the vertical axis it is undefined.

Worked Examples

Worked Example: Tangent in the First Quadrant

Find \(\tan(\pi/3)\), using the unit-circle coordinates for \(\pi/3\).

At \(\theta=\pi/3\), the point is \((\cos\theta,\sin\theta)=(1/2,\sqrt{3}/2)\). In particular, \(\cos\theta=1/2\ne0\), so tangent is defined. Apply the quotient definition:

$$ \tan\left(\frac{\pi}{3}\right) = \frac{\sin(\pi/3)}{\cos(\pi/3)} = \frac{\sqrt{3}/2}{1/2} = \frac{\sqrt{3}}{2}\cdot\frac{2}{1} = \sqrt{3}. $$

The coordinates are both positive, so the positive result has the expected sign. Check the quotient by multiplying the answer by the denominator: \(\sqrt{3}\cdot(1/2)=\sqrt{3}/2\), which recovers the numerator. Therefore \(\tan(\pi/3)=\sqrt{3}\).

Worked Example: A Negative Tangent in the Second Quadrant

Find \(\tan(5\pi/6)\) from the unit-circle coordinates.

The angle \(5\pi/6\) lies in the second quadrant. Its reference angle is \(\pi/6\), so its coordinates are \((-\sqrt{3}/2,1/2)\): the horizontal coordinate is negative and the vertical coordinate is positive. Thus \(\cos(5\pi/6)=-\sqrt{3}/2\ne0\), and the quotient is defined.

$$ \tan\left(\frac{5\pi}{6}\right) = \frac{\sin(5\pi/6)}{\cos(5\pi/6)} = \frac{1/2}{-\sqrt{3}/2} = \frac{1}{2}\cdot\frac{-2}{\sqrt{3}} = -\frac{1}{\sqrt{3}} = -\frac{\sqrt{3}}{3}. $$

The last equality comes from multiplying numerator and denominator by \(\sqrt{3}\). The signs differ, so tangent must be negative, as found. Check by multiplying the answer by the cosine coordinate: \((-\sqrt{3}/3)(-\sqrt{3}/2)=3/6=1/2\), which recovers the sine coordinate. Hence \(\tan(5\pi/6)=-\sqrt{3}/3\).

Worked Example: Tangent Undefined on the Vertical Axis

Determine whether \(\tan(3\pi/2)\) is defined.

At \(3\pi/2\), the unit-circle point is \((0,-1)\). Therefore \(\cos(3\pi/2)=0\) and \(\sin(3\pi/2)=-1\). Substitution into the quotient definition would require division by zero:

$$ \frac{\sin(3\pi/2)}{\cos(3\pi/2)} = \frac{-1}{0}. $$

Since division by zero is undefined, \(\tan(3\pi/2)\) is undefined. The vertical-ray interpretation gives the same conclusion: the ray through \((0,-1)\) is vertical and has no defined slope. This is not a value of zero or an infinite real number.

A Reliable Calculation Process

When an angle is given in a form for which you know its unit-circle coordinates, use the following sequence. The order matters: checking the denominator first prevents an undefined quotient from being treated as an ordinary calculation.

1
Find the unit-circle point.
Write the coordinates as \((\cos\theta,\sin\theta)\), using the quadrant and any relevant reference angle.
2
Check the horizontal coordinate.
If \(\cos\theta=0\), stop: tangent is undefined. Otherwise the quotient can be calculated.
3
Divide vertical by horizontal.
Evaluate \(\sin\theta/\cos\theta\), preserving the signs of both coordinates.
4
Check the result.
Confirm that its sign agrees with the quadrant and that multiplying it by \(\cos\theta\) gives \(\sin\theta\).

Common Mistake: Reversing the Quotient

A frequent error is to divide the horizontal coordinate by the vertical coordinate. Tangent is vertical divided by horizontal, not horizontal divided by vertical. The coordinate order in \((\cos\theta,\sin\theta)\) is horizontal first and vertical second, but the slope formula is vertical change over horizontal change.

Worked Example: Correcting a Reversed Quotient

Consider \(\theta=\pi/4\), whose unit-circle coordinates are \((\sqrt{2}/2,\sqrt{2}/2)\). A reversed quotient would give \[ \frac{\cos(\pi/4)}{\sin(\pi/4)} = \frac{\sqrt{2}/2}{\sqrt{2}/2} = 1. \] Here that incorrect method happens to produce the correct numerical result because the two coordinates are equal. That coincidence can hide the mistake.

Use a different angle to expose it. For \(\theta=\pi/3\), the coordinates are \((1/2,\sqrt{3}/2)\). The reversed calculation gives \[ \frac{\cos(\pi/3)}{\sin(\pi/3)} = \frac{1/2}{\sqrt{3}/2} = \frac{1}{\sqrt{3}}, \] but the definition requires sine divided by cosine:

$$ \tan\left(\frac{\pi}{3}\right) = \frac{\sqrt{3}/2}{1/2} = \sqrt{3}. $$

Check the correct answer: \(\sqrt{3}\cdot(1/2)=\sqrt{3}/2\), the sine coordinate. The reversed answer instead gives \((1/\sqrt{3})(1/2)=1/(2\sqrt{3})\), which is not \(\sqrt{3}/2\). The correction is to keep the slope order: vertical coordinate over horizontal coordinate.

Why the Coordinate View Is Useful

The coordinate definition makes tangent calculations systematic. Sine and cosine provide the coordinates; tangent is their quotient when the horizontal coordinate is nonzero. This lets you determine both existence and sign before doing any simplification.

The slope interpretation provides an additional check. A point in the first or third quadrant lies along a ray with positive slope, while a point in the second or fourth quadrant lies along a ray with negative slope. A point on the vertical axis has no finite slope, matching the zero-denominator restriction. These conclusions follow directly from the coordinate signs and do not require memorizing separate tangent values for each quadrant.

When using exact unit-circle values, keep the coordinates exact through the division. In particular, retain the negative sign of a coordinate in the second or fourth quadrant. The final multiplication check is simple: a proposed tangent value \(t\) must satisfy \(t\cos\theta=\sin\theta\), with \(\cos\theta\ne0\).

Check Your Understanding

Use unit-circle coordinates and the quotient definition to answer these questions.

  1. What condition on \(\cos\theta\) is required for \(\tan\theta\) to be defined?
  2. At which points on the unit circle is tangent undefined, and why?
  3. If \(\sin\theta<0\) and \(\cos\theta<0\), what is the sign of \(\tan\theta\)?
  4. Find \(\tan(7\pi/4)\) using its unit-circle coordinates, and check the answer by multiplication.
  5. In the coordinate interpretation, what quantity does tangent give when it is defined?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon