Whether you are calculating the total impedance of a series RL circuit or sizing a guy-wire for a sloped antenna mast, trigonometric formulas for triangles bridge the gap between abstract math and physical reality. In electrical and structural work, a triangle is rarely just a shape; it is a vector map. The most critical formulas you will use on the bench and the jobsite are the Pythagorean theorem for right triangles and the Law of Cosines for oblique (non-right) triangles.

The Core Formulas and Symbol Definitions

Before plugging numbers into a calculator, you must define your geometry. In AC circuit theory, right triangles represent phasor relationships (like resistance vs. reactance). In physical rigging, oblique triangles handle uneven terrain or non-perpendicular mounts.

Symbol Definition Typical Electrical/Physical Unit
a, b, c Lengths of the triangle's sides (c is traditionally the hypotenuse or longest side) Ohms (Ω), Volts (V), Meters (m), Millimeters (mm)
A, B, C Interior angles opposite to sides a, b, and c respectively Degrees (°) or Radians (rad)
θ (theta) Phase angle (electrical) or angle of elevation/depression (physical) Degrees (°)
sin, cos, tan Trigonometric ratios relating sides to angles Dimensionless (ratios)

Right Triangle Formulas (Angle C = 90°):

  • Hypotenuse: c = √(a² + b²)
  • Sine: sin(θ) = opposite / hypotenuse
  • Cosine: cos(θ) = adjacent / hypotenuse
  • Tangent: tan(θ) = opposite / adjacent

Oblique Triangle Formula (Law of Cosines):

When you do not have a 90-degree angle, the Pythagorean theorem fails. The Law of Cosines adjusts for the angle's deviation from 90°:

c² = a² + b² - 2ab·cos(C)

When These Formulas Apply (And When They Break)

These formulas assume Euclidean (flat) planar geometry and steady-state linear systems. In AC theory, they apply strictly to linear components (resistors, inductors, capacitors) driven by sinusoidal sources. If your circuit contains diodes or saturated transformer cores, the waveforms distort, and simple trigonometric phasor math breaks down—you will need Fourier analysis instead.

Unit Mistakes That Break the Math

  1. Degrees vs. Radians: The most common calculator error. If your calculator is in radian mode and you type cos(80), it calculates the cosine of 80 radians, not 80 degrees. This will yield a completely wrong physical length or phasor angle.
  2. Peak vs. RMS Voltage: When building a voltage triangle (e.g., finding total voltage in a series RC circuit), you must use all RMS values or all Peak values. Mixing 120V RMS with a 169V Peak calculation will result in a mathematically valid but physically meaningless triangle.
  3. Frequency Mismatch: Reactance (X_L = 2πfL) depends on frequency. If you calculate an impedance triangle using 60 Hz reactance but apply it to a 50 Hz system, the phase angle θ will be wrong.

Realistic Answer Magnitudes

How do you know if your answer makes sense? For a right triangle, the hypotenuse must be longer than either leg, but shorter than their sum. In AC impedance, a phase angle θ greater than 90° in a passive RLC circuit is impossible. In physical rigging, if your calculated guy-wire length is shorter than the mast height, you have a math error.

Rearranged Forms: Solving for Every Variable

On the bench, you rarely solve for the exact same variable twice. Here are the algebraic rearrangements for the Law of Cosines, allowing you to isolate any missing parameter.

  • Solve for side c: c = √(a² + b² - 2ab·cos(C))
  • Solve for side a: a = (b·cos(C)) ± √(c² - b²·sin²(C)) (Use the positive root for physical lengths)
  • Solve for side b: b = (a·cos(C)) ± √(c² - a²·sin²(C))
  • Solve for Angle C: C = arccos((a² + b² - c²) / 2ab)
Bench Tip: When using the arccos function to find an angle, ensure your input ratio is strictly between -1 and 1. If your measured side lengths yield a ratio outside this range due to tape-measure error, your calculator will throw a 'Domain Error'.

Worked Problem 1: The AC Impedance Triangle

Scenario: You are troubleshooting a series RL motor control circuit. You measure the resistance at 40 Ω and calculate the inductive reactance at 60 Hz to be 30 Ω. You need to find the total impedance (Z) and the phase angle (θ) to properly set the overload relay.

Step 1: Calculate Total Impedance (Hypotenuse)

Z = √(R² + X_L²)

Z = √((40 Ω)² + (30 Ω)²)

Z = √(1600 Ω² + 900 Ω²)

Z = √(2500 Ω²)

Z = 50 Ω

Step 2: Calculate Phase Angle (θ)

tan(θ) = X_L / R

tan(θ) = 30 Ω / 40 Ω (Notice the Ω units cancel out, leaving a dimensionless ratio of 0.75)

θ = arctan(0.75)

θ = 36.87°

Verification: A 50 Ω impedance is physically realistic for a small fractional-horsepower motor winding, and a 36.87° lagging phase angle is standard for inductive loads. If your Fluke 87V measures a voltage drop that implies a 10 Ω impedance, you likely have a shorted turn in the motor winding.

Worked Problem 2: Jobsite Antenna Guy-Wire Routing

Scenario: You are erecting a 10-meter ham radio mast on a hillside. Because of the slope, the angle between the mast and the ground is not 90°, but 80°. You place your ground anchor 8 meters away from the base of the mast (measured along the slope). You need to cut the 12 AWG THHN guy-wire to the exact length (c).

Step 1: Set up the Law of Cosines

Let a = mast height = 10 m

Let b = ground distance = 8 m

Let C = angle between them = 80°

Step 2: Execute with Unit Tracking

c² = a² + b² - 2ab·cos(C)

c² = (10 m)² + (8 m)² - 2(10 m)(8 m)·cos(80°)

c² = 100 m² + 64 m² - (160 m²)·(0.173648)

c² = 164 m² - 27.783 m²

c² = 136.217 m²

Step 3: Solve for c

c = √(136.217 m²)

c = 11.67 m

Verification: If the ground were flat (90°), the wire would be √(100+64) = 12.8 m. Because the ground slopes inward (80°), the anchor is physically closer to the top of the mast, so a shorter wire (11.67 m) makes logical sense. Always add 0.5 meters to your final cut for the thimble and wire rope clips.

Real-World Scenario Walkthrough: The Solar Array Tilt Miscalculation

Formulas are useless if the underlying assumptions are flawed. Here is a failure analysis from a recent dual-axis solar tracker build that resulted in a tripped BMS and a stalled actuator.

The Setup

We were designing the linkage for a solar panel tilt mechanism using a 12V DC linear actuator (Eco-Worthy 150mm stroke). The distance from the panel's pivot hinge to the actuator's mounting point on the panel frame was exactly 400 mm. The target maximum tilt angle was 30° from horizontal to optimize winter solar gain.

The Numbers and The Mistake

To find the required vertical actuator stroke (opposite side), the initial calculation used the sine function:

Stroke = 400 mm × sin(30°)

Stroke = 400 mm × 0.5 = 200 mm.

However, the physical linkage was mounted horizontally from the pivot, not perpendicular to the panel. The correct geometric relationship required the cosine of the complementary angle, or more accurately, modeling it as an oblique triangle as the panel tilted. By blindly applying right-triangle SOH-CAH-TOA to a pivoting linkage that changes its effective hypotenuse, the math was fundamentally wrong. Furthermore, when verifying the geometry in Fusion 360 CAD, the software's default parameter input was set to radians. Typing cos(30) in the CAD calculator computed the cosine of 30 radians, yielding a simulated clearance that looked fine on screen but was physically impossible.

The Outcome

We installed the 150mm stroke actuator based on the flawed right-triangle assumption. When the controller commanded the panel to tilt to 30°, the actuator bottomed out at its physical limit at roughly 22°. The motor stalled, drawing 8.5 Amps continuously. This exceeded the 5A limit of the LiFePO4 battery's BMS, causing the BMS to trip and shut down the entire tracker array in the middle of the day.

What Went Wrong and The Fix

  1. Wrong Triangle Model: A pivoting linkage forms an oblique triangle where the actuator length is side 'c', not a simple right-triangle opposite side. We should have used the Law of Cosines to calculate the exact actuator length at 0° and 30°, then found the difference.
  2. Unit Blindness: The CAD software's radian default masked the physical interference. Always explicitly type deg or ° in parametric CAD inputs (e.g., cos(30 deg)).
  3. The Fix: We relocated the actuator mount 100 mm closer to the pivot point, reducing the lever arm to 300 mm. Recalculating with the correct oblique triangle geometry showed a required stroke of 115 mm. The 150mm actuator now reaches 35° of tilt comfortably, drawing only 2.1A under load.

For deeper reading on applying vector math to physical and electrical systems, the All About Circuits AC textbook provides excellent phasor diagrams, while the ARRL antenna modeling resources cover the physical rigging geometry required for safe tower installations. Always verify your trigonometric assumptions against a physical sketch before cutting wire or ordering parts.