Whether you are calculating the phase angle of a series RL filter or sizing the guy wires for a rooftop antenna mast, triangle trigonometry is the bridge between abstract schematic values and physical reality. In electrical and electronics work, we rely heavily on two geometric models: the right triangle (for single-phase AC impedance and power) and the non-right triangle (for 3-phase vector math and structural geometry). This guide breaks down the core trig formulas triangles use in practical applications, complete with symbol definitions, algebraic rearrangements, and bench-tested worked examples.

Core Right Triangle Formulas and Symbol Definitions

The right triangle is the foundational geometry for single-phase AC circuit analysis. When dealing with resistors, inductors, and capacitors in series, their combined opposition to current (impedance) forms a right triangle because the voltage across a resistor is exactly 90° out of phase with the voltage across a pure reactance. This same 90° relationship applies to the power triangle (Real Power vs. Reactive Power).

These formulas strictly assume a Euclidean flat plane and require one interior angle to be exactly 90°. In practical electronics, realistic magnitudes for impedance (Z) range from 1 Ω to 10,000 Ω, while power magnitudes span from milliwatts (mW) in signal traces to kilovolt-amperes (kVA) in residential panels.

Table 1: Right Triangle Formula Symbols
Formula Symbol Definition & Units Electrical Equivalent
c² = a² + b² c, a, b Hypotenuse and legs (any linear unit or Ω, W, VA) Z² = R² + X² (Impedance)
sin(θ) = opp / hyp θ, opp, hyp Angle (degrees/radians), opposite side, hypotenuse sin(θ) = X / Z or Q / S
cos(θ) = adj / hyp θ, adj, hyp Angle (degrees/radians), adjacent side, hypotenuse cos(θ) = R / Z or P / S (Power Factor)
tan(θ) = opp / adj θ, opp, adj Angle (degrees/radians), opposite side, adjacent side tan(θ) = X / R or Q / P

The Law of Cosines for Non-Right Triangles

When your geometry lacks a 90° angle, the Pythagorean theorem fails. In electrical work, this happens constantly in 3-phase power systems where voltage vectors are separated by 120°. It also applies to physical maker projects, like calculating the exact length of a diagonal support brace when the mounting points do not form a square corner. The Law of Cosines generalizes the Pythagorean theorem by adding a correction factor based on the included angle.

Table 2: Law of Cosines Symbols
Formula Component Symbol Definition & Units Typical Application
c² = a² + b² - 2ab·cos(C) a, b, c Side lengths (Volts, meters, inches) Phase voltages, physical struts
C C The interior angle opposite side c (degrees/radians) 120° for 3-phase, physical joint angles

Rearranged Forms for Quick Bench Calculations

On the bench, you rarely solve for the hypotenuse from scratch; more often, you are measuring two sides with a multimeter and need to find the missing vector or angle. Here are the algebraically rearranged forms for rapid calculation:

  • Solving for legs (Right Triangle): a = √(c² - b²) or b = √(c² - a²)
  • Solving for angles (Right Triangle): θ = arcsin(opp / hyp) or θ = arccos(adj / hyp) or θ = arctan(opp / adj)
  • Solving for the missing side (Law of Cosines): c = √(a² + b² - 2ab·cos(C))
  • Solving for the missing angle (Law of Cosines): C = arccos((a² + b² - c²) / 2ab)

Worked Examples with Unit Tracking

Abstract formulas lead to wiring mistakes. Below are two solved problems demonstrating strict unit tracking and intermediate steps to prevent magnitude errors.

Problem 1: Series RL Impedance Triangle (Right Triangle)

Scenario: You are designing a low-pass filter for an audio crossover. The circuit consists of a 40 Ω resistor (R) in series with an inductor that exhibits 30 Ω of inductive reactance (X_L) at your target frequency. Find the total impedance (Z) and the phase angle (θ).

  1. Step 1: Identify knowns and formula.
    R = 40 Ω, X_L = 30 Ω. Formula: Z = √(R² + X_L²)
  2. Step 2: Square the knowns and track units.
    R² = (40 Ω)² = 1600 Ω²
    X_L² = (30 Ω)² = 900 Ω²
  3. Step 3: Sum and take the square root.
    Z = √(1600 Ω² + 900 Ω²) = √(2500 Ω²) = 50 Ω
  4. Step 4: Calculate phase angle.
    θ = arctan(X_L / R) = arctan(30 Ω / 40 Ω) = arctan(0.75)
    θ = 36.87° (Current lags voltage by 36.87°).

Problem 2: 3-Phase Delta Line Voltage (Law of Cosines)

Scenario: You are wiring a 3-phase motor in a delta configuration. The phase-to-neutral voltage (V_phase) for each winding is 120V RMS. The electrical angle between any two phases is exactly 120°. Find the line-to-line voltage (V_line) that your multimeter should read across two hot legs.

  1. Step 1: Identify knowns and formula.
    a = 120V, b = 120V, C = 120°. Formula: c = √(a² + b² - 2ab·cos(C))
  2. Step 2: Calculate the cosine correction factor.
    cos(120°) = -0.5
    -2ab·cos(C) = -2(120V)(120V)(-0.5) = +14,400 V²
  3. Step 3: Sum the squared terms.
    a² = 14,400 V²
    b² = 14,400 V²
    Total sum = 14,400 + 14,400 + 14,400 = 43,200 V²
  4. Step 4: Take the square root.
    V_line = √(43,200 V²) ≈ 207.8V (Commonly rounded to 208V in NEC naming conventions).

Common Unit Mistakes and Magnitude Sanity Checks

When applying trig formulas triangles in the field, three specific mistakes routinely break calculations and lead to blown components or structural failures:

Warning: Radians vs. Degrees
Microcontrollers like the ESP32 or Arduino use the C++ math.h library, which expects radians for trigonometric functions. If you feed cos(120) into an Arduino sketch, it calculates the cosine of 120 radians, not 120 degrees, yielding a completely wrong PWM duty cycle. Always convert using radians = degrees * (PI / 180).
  • Mixing Peak and RMS: In AC power triangles, you must use all RMS values or all Peak values. If your multimeter reads 120V RMS, but your oscilloscope reads 170V Peak, plugging both into the Pythagorean theorem will yield a mathematically valid but physically meaningless impedance.
  • The Hypotenuse Sanity Check: The hypotenuse (Z, S, or V_line) must always be longer than either leg. If your calculated impedance is 25 Ω but your resistor is 40 Ω, you dropped a square or added instead of subtracted.
  • Power Factor Limits: The cosine of the impedance triangle (Power Factor) must mathematically fall between 0.0 and 1.0. If your calculation yields 1.2, you have swapped the adjacent and hypotenuse sides.

For deeper reading on how these vectors translate to real-world billing and efficiency, consult the Fluke guide on power factor or the Electronics Tutorials section on AC impedance.

Frequently Asked Questions

How do trig formulas triangles apply to AC power factor?

Power factor is literally the cosine of the angle in the AC power triangle. The power triangle maps Real Power (Watts, adjacent side) against Reactive Power (VAR, opposite side) to find Apparent Power (VA, hypotenuse). By calculating cos(θ) = Watts / VA, you determine what percentage of the current drawn from the grid is actually doing useful work. A power factor of 0.8 means the phase angle is roughly 36.8°, indicating significant reactive bounce in inductive loads like motors.

Why does my calculator give the wrong angle for impedance triangles?

The most common culprit is the calculator being set to Radians instead of Degrees, or vice versa. A secondary issue is using the wrong inverse trig function. If you know the resistance (adjacent) and reactance (opposite), you must use arctan (tan⁻¹), not arcsin. Finally, ensure you aren't accidentally inputting admittance (Siemens) values when your formula expects impedance (Ohms); mixing parallel and series math models flips the triangle geometry upside down.

Can I use right triangle trig formulas for 3-phase power calculations?

Only if you are analyzing a single phase relative to neutral (which forms a right triangle with the ground reference). However, when calculating line-to-line voltages or combining two phase vectors (like Phase A and Phase B), the angle between them is 120°, not 90°. Therefore, the Pythagorean theorem fails, and you must use the Law of Cosines as demonstrated in Problem 2. For structural maker projects, refer to the Wolfram MathWorld Law of Cosines reference for non-right geometric derivations.