Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIHugging Face LMArena Human Preference 140K

How do I easily find the reference angle for a degree?

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Mistralmistral-medium-2505’s answer.
  1. User

    How do I easily find the reference angle for a degree?

  2. Assistant

    Finding the reference angle for a given angle in degrees is straightforward once you know which quadrant the angle lies in. Here’s an easy step-by-step method:

    Step 1: Find the angle’s quadrant

    • Quadrant I: 0° to 90°
    • Quadrant II: 90° to 180°
    • Quadrant III: 180° to 270°
    • Quadrant IV: 270° to 360°

    If your angle is greater than 360°, subtract 360° repeatedly until it falls between 0° and 360° (this is called finding the coterminal angle).


    Step 2: Use the quadrant to find the reference angle

    • Quadrant I: Reference angle = the angle itself
    • Quadrant II: Reference angle = 180° − angle
    • Quadrant III: Reference angle = angle − 180°
    • Quadrant IV: Reference angle = 360° − angle

    Example

    Find the reference angle for 130°:

    • 130° is in Quadrant II (between 90° and 180°)
    • Reference angle = 180° − 130° = 50°

    Summary Table

    QuadrantAngle RangeReference Angle Formula
    I0° to 90°θ
    II90° to 180°180° − θ
    III180° to 270°θ − 180°
    IV270° to 360°360° − θ

    If you want, I can help you find the reference angle for a specific degree!

  3. User

    Is there no 1 formula I can use?

  4. Assistant

    Great question! While the quadrant method is the most intuitive, you can use a single formula involving the absolute value and modulo operation to find the reference angle for any angle θ (in degrees):


    Single formula for reference angle:

    [ \text{Reference angle} = \min\big( \theta \bmod 360, ; |360 - (\theta \bmod 360)|, ; |180 - (\theta \bmod 360)| \big) ]


    Explanation:

    1. First, reduce the angle to between 0° and 360° by taking (\theta \bmod 360).
    2. Then, the reference angle is the smallest positive difference between this reduced angle and the nearest x-axis angle (0°, 180°, or 360°).

    Simplified approach:

    If you want a simpler formula without the min function, you can do:

    1. Find the angle modulo 360:

    [ \alpha = \theta \bmod 360 ]

    1. Then:

    [ \text{Reference angle} = \begin{cases} \alpha, & 0 \leq \alpha \leq 90 \ 180 - \alpha, & 90 < \alpha \leq 180 \ \alpha - 180, & 180 < \alpha \leq 270 \ 360 - \alpha, & 270 < \alpha < 360 \end{cases} ]


    But if you want a single compact formula (using absolute values):

    [ \text{Reference angle} = 90 - \left| 90 - (\theta \bmod 360) \right| ]

    This works because it "folds" the angle around 90°, giving the correct reference angle for all quadrants.


    Example:

    For (\theta = 130^\circ):

    • (\theta \bmod 360 = 130)
    • (90 - |90 - 130| = 90 - | -40 | = 90 - 40 = 50^\circ)

    Which matches the quadrant method result.


    If you want, I can help you apply this formula to any angle!

  5. User

    write it in proper latex

  6. Assistant

    Certainly! Here is the single compact formula for the reference angle written properly in LaTeX:

    [ \boxed{ \text{Reference angle} = 90^\circ - \left| 90^\circ - (\theta \bmod 360^\circ) \right| } ]


    Explanation:

    • First, reduce the angle (\theta) to between (0^\circ) and (360^\circ) using the modulo operation: (\theta \bmod 360^\circ).
    • Then, the formula calculates the reference angle by measuring how far the reduced angle is from (90^\circ), effectively folding the angle around (90^\circ).

    Example:

    For (\theta = 130^\circ):

    [ 130^\circ \bmod 360^\circ = 130^\circ ]

    [ \text{Reference angle} = 90^\circ - |90^\circ - 130^\circ| = 90^\circ - 40^\circ = 50^\circ ]


    If you want, I can also provide the piecewise formula in LaTeX!

  7. User

    I said proper latex without brackets

  8. Assistant

    Got it! Here’s the formula without extra brackets, written cleanly in LaTeX:

    [ \text{Reference angle} = 90^\circ - \left| 90^\circ - \theta \bmod 360^\circ \right| ]

    If you want it even cleaner, you can write the modulo operation with \operatorname{mod} for clarity:

    [ \text{Reference angle} = 90^\circ - \left| 90^\circ - \theta \operatorname{mod} 360^\circ \right| ]


    Note:

    • The absolute value bars \left| \cdots \right| are necessary to indicate the absolute value.
    • The modulo operation applies only to (\theta), so no extra parentheses are needed around it.

    If you want the piecewise formula without brackets, here it is:

    [ \text{Reference angle} = \begin{cases} \theta \bmod 360^\circ, & 0^\circ \leq \theta \bmod 360^\circ \leq 90^\circ \ 180^\circ - \theta \bmod 360^\circ, & 90^\circ < \theta \bmod 360^\circ \leq 180^\circ \ \theta \bmod 360^\circ - 180^\circ, & 180^\circ < \theta \bmod 360^\circ \leq 270^\circ \ 360^\circ - \theta \bmod 360^\circ, & 270^\circ < \theta \bmod 360^\circ < 360^\circ \end{cases} ]


    Let me know if you want it formatted differently!

  9. User

    okay, write it in regular text without latex

  10. Assistant

    Sure! Here’s the formula written out in regular text without LaTeX:

    Reference angle = 90 degrees minus the absolute value of (90 degrees minus (theta modulo 360 degrees))

    In other words:

    Reference angle = 90° - |90° - (θ mod 360°)|

    This means you first take your angle θ, find the remainder when divided by 360 (to get an angle between 0° and 360°), then subtract that from 90°, take the absolute value, and finally subtract that from 90° again to get the reference angle.

  11. User

    wait, so the reference angle of 60 would be 60? And the reference angle of 120 would be 60? And the reference angle of 150 would be 30?

  12. Assistant

    Exactly! Let’s check each one using the formula and the quadrant method:


    1. For 60°:

    • 60° is in Quadrant I (0° to 90°)
    • Reference angle = 60° (same as the angle)
    • Using formula:
      90° - |90° - 60°| = 90° - |30°| = 90° - 30° = 60°

    2. For 120°:

    • 120° is in Quadrant II (90° to 180°)
    • Reference angle = 180° − 120° = 60°
    • Using formula:
      90° - |90° - 120°| = 90° - |−30°| = 90° - 30° = 60°

    3. For 150°:

    • 150° is in Quadrant II (90° to 180°)
    • Reference angle = 180° − 150° = 30°
    • Using formula:
      90° - |90° - 150°| = 90° - |−60°| = 90° - 60° = 30°

    So yes, your understanding is correct! The formula works perfectly for these examples.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.