Sum Difference Identities Calculator - Sum and Difference Identity Solver
Use this sum difference identities calculator to enter two angles, get sin, cos, and tan of (a+b) and (a-b) in degrees or radians, with an identity check.
Sum Difference Identities Calculator
Results
What Is the Sum Difference Identities Calculator?
A sum difference identities calculator is a trigonometry tool that takes two angles, alpha and beta, and returns the sine, cosine, and tangent of (alpha + beta) and (alpha - beta) using the standard angle addition and subtraction formulas. The six outputs sit on one screen, so a homework problem that asks for sin(75), cos(75), and tan(75) is one input away, in degrees or radians.
- • Evaluating sin(75) and cos(75) for a 30 + 45 problem: Enter alpha = 30, beta = 45, and read sin(75) and cos(75) from the sum row.
- • Verifying a hand-written cos(alpha - beta) expansion: Expand cos(alpha - beta) on paper, then enter the same alpha and beta to confirm.
- • Working through tangent asymptotes: Pick alpha and beta so alpha + beta lands on 90 degrees and see tan(alpha + beta) flip to 'undefined'.
- • Switching between degrees and radians: Toggle the unit selector so the same identities work in either unit.
For the alpha = beta special case, the Double Angle Formula Calculator returns sin(2 theta), cos(2 theta), and tan(2 theta) directly from the same identity framework.
How the Sum and Difference Identity Solver Works
The solver reads alpha, beta, and the unit selector, converts both angles to a single radian representation, builds the two composite angles (alpha + beta) and (alpha - beta), and evaluates the six identities on those two angles. A single input drives the full answer.
- alpha: The first input angle, converted to radians internally.
- beta: The second input angle, also converted to radians internally.
- alpha + beta: The composite angle that drives the sin/cos/tan of the sum row.
- alpha - beta: The composite angle that drives the sin/cos/tan of the difference row.
- Identity check (sum): Right-hand side of the sine sum identity, shown in the identity checks row at the bottom of the results panel.
- Identity check (difference): Right-hand side of the cosine difference identity, shown in the identity checks row at the bottom of the results panel.
The identity check on the results panel re-evaluates the right-hand side of the sine sum and cosine difference identities separately. When the two numbers match to four decimal places, the formulas are behaving as predicted.
Worked example: alpha = 30, beta = 45 (degrees)
alpha = 30, beta = 45, unit = degrees
sin(75) = (sqrt(6) + sqrt(2)) / 4. cos(75) = (sqrt(6) - sqrt(2)) / 4. tan(75) = 2 + sqrt(3).
sin(alpha + beta) = 0.9659, cos(alpha + beta) = 0.2588, tan(alpha + beta) = 3.7321, sin(alpha - beta) = -0.2588, cos(alpha - beta) = 0.9659, tan(alpha - beta) = -0.2679.
Reproduces the textbook value sin(75) = (sqrt(6) + sqrt(2)) / 4.
Worked example: alpha = 30, beta = 60 (degrees), tangent asymptote
alpha = 30, beta = 60, unit = degrees
alpha + beta = 90, so cos(alpha + beta) = 0 and tan(alpha + beta) is undefined. The denominator 1 - tan(30)tan(60) = 0 gives the same value from the formula side.
sin(alpha + beta) = 1, cos(alpha + beta) = 0, tan(alpha + beta) = 'undefined', sin(alpha - beta) = -0.5, cos(alpha - beta) = 0.8660, tan(alpha - beta) = -0.5774.
The cleanest classroom example of the tangent branch failing in the sum identity.
According to Wolfram MathWorld: Addition Formulas, the six angle sum and difference identities are sin(α ± β) = sin(α)cos(β) ± cos(α)sin(β), cos(α ± β) = cos(α)cos(β) ∓ sin(α)sin(β), and tan(α ± β) = (tan(α) ± tan(β)) / (1 ∓ tan(α)tan(β)).
According to Cuemath: Sum and Difference Identities, sin(75°) = (sqrt(6) + sqrt(2)) / 4 ≈ 0.9659, which is exactly what the sum identity produces for alpha = 30° and beta = 45°.
Once the sum and difference identities feel comfortable, the natural next step is the special case alpha = beta, which the Double Angle Identities Calculator covers for sin(2 theta), cos(2 theta), and tan(2 theta) in a single step.
Key Concepts Behind the Sum and Difference Identities
Four concepts make the identities on this page intuitive. Once they are clear the six identities fall out as one-line applications.
The unit circle and the geometric picture of rotation
Adding two angles on the unit circle means rotating the radius by alpha, then by beta. The sum and difference identities translate that two-step rotation into trig values at the composite angle.
Euler's formula and the complex exponential proof
Writing e to the i theta as cos(theta) + i sin(theta) lets you derive all four sine and cosine identities in two lines by multiplying the exponentials and matching the real and imaginary parts.
The sign convention: sine difference flips, cosine difference does not
sin(alpha - beta) flips the sign of the second term because sine is odd, and cos(alpha - beta) keeps the sign because cosine is even.
Tangent asymptotes at cos(alpha +/- beta) = 0
Both tangent formulas divide by a cosine, so the output is undefined whenever the matching composite angle alpha + beta or alpha - beta lands on 90 + k*180 degrees.
Euler's formula is the most compact way to remember the identities: multiplying cos(theta) + i sin(theta) for the two angles gives cos(alpha + beta) + i sin(alpha + beta), and matching real and imaginary parts recovers the four sine and cosine identities in two lines.
Going the other direction, the Half Angle Calculator applies the half-angle identity to recover sin(theta/2), cos(theta/2), and tan(theta/2) from the same sin(theta) and cos(theta) values that drive the sum and difference identities on this page.
How to Use the Sum and Difference Identities Calculator
Using the solver takes a few seconds. Pick the unit, type alpha and beta, and read the six identity outputs plus the two identity checks from the results panel.
- 1 Pick the unit: Choose degrees or radians. The solver does the conversion internally.
- 2 Enter alpha: Type the first angle. The default of 30 degrees is the most common reference value, but any real number works, including negatives and angles outside 0 to 360.
- 3 Enter beta: Type the second angle. The default of 45 pairs well with alpha = 30 to give the clean sin(75) and cos(75) values from the textbook.
- 4 Read the sum row: The first three results show sin(alpha + beta), cos(alpha + beta), and tan(alpha + beta). tan(alpha + beta) shows 'undefined' when cos(alpha + beta) is effectively zero.
- 5 Read the difference row: The next three results show sin(alpha - beta), cos(alpha - beta), and tan(alpha - beta).
- 6 Verify with the identity checks: The two extra rows re-evaluate the right-hand side of the sine sum identity and the cosine difference identity.
Suppose alpha = 22.5 degrees and beta = 67.5 degrees. Enter 22.5 and 67.5 with degrees selected, then read sin(90) = 1, cos(90) = 0 from the sum row and sin(-45) = -0.7071, cos(-45) = 0.7071 from the difference row.
If a problem gives the inputs in degrees but the textbook identity table uses radians, the Angle Converter is the fastest way to switch the unit on a known angle before re-entering the value here.
Benefits of Using This Sum Difference Identities Calculator
Putting the six identity outputs and two identity checks on one screen collapses a multi-step manual problem into a single read.
- • All six identity outputs in one view: sin, cos, and tan for (alpha + beta) and (alpha - beta) appear together.
- • Degree and radian support side by side: Switching the unit selector re-evaluates the same six outputs in the new unit.
- • Built-in identity check: The right-hand side of the sine sum and cosine difference identities are re-evaluated in the identity checks row at the bottom of the results panel.
- • Tangent asymptotes handled cleanly: The solver reports 'undefined' when the composite cosine is effectively zero.
- • Negative and out-of-range inputs work: alpha and beta can be negative, larger than 360, or both.
- • Faster than hand expansion: Once alpha + beta or alpha - beta is known, the identity outputs are immediate.
For problems that ask for cos(2 theta) in particular, the Cos 2 Theta Calculator returns the same cosine value alongside the alternative forms cos squared - sin squared and 1 - 2 sin squared.
Factors That Affect the Sum Difference Identities Calculator
Most of the time the solver returns the expected six values, but a handful of factors control what the tool can and cannot do.
The unit selector drives every conversion
Pick degrees for inputs like 30, 45, 60, and 90. Pick radians and enter the decimal form of the same reference values, for example 0.5236 (30 degrees), 0.7854 (45 degrees), 1.0472 (60 degrees), and 1.5708 (90 degrees).
Composite angle lands on 90 + k*180 degrees
When alpha + beta or alpha - beta equals 90 + k*180 degrees, the tangent output is undefined and the cosine output is essentially zero.
Sign convention: only sine difference flips the sign
sin(alpha - beta) keeps the sign on sin(alpha)cos(beta) and flips the sign on cos(alpha)sin(beta). cos(alpha - beta) keeps both signs positive.
Floating-point rounding near the asymptote
Inputs like 30.0000001 degrees can land tan(alpha + beta) on either side of the undefined threshold.
- • The solver returns the principal real values; it does not compute complex-valued trig outputs.
- • Floating-point arithmetic means the identity checks match to roughly 15 significant digits.
According to Wikipedia: List of trigonometric identities, the angle sum and difference identities form the foundation that all other derived identities follow from.
If a factor keeps forcing alpha + beta or alpha - beta past 360 degrees or into negative territory, the Coterminal Angle Calculator reduces any real angle to its principal value, which is often the cleanest way to spot the asymptote threshold before re-entering the values here.
Frequently Asked Questions
Q: What are the sum and difference identities?
A: The sum and difference identities are six trigonometric identities that express the sine, cosine, and tangent of (alpha + beta) and (alpha - beta) in terms of the sine, cosine, and tangent of the two input angles alpha and beta. The full set is sin(a +/- b) = sin(a)cos(b) +/- cos(a)sin(b), cos(a +/- b) = cos(a)cos(b) -/+ sin(a)sin(b), and tan(a +/- b) = (tan(a) +/- tan(b)) / (1 -/+ tan(a)tan(b)).
Q: How do you find sin(alpha + beta) using the sum identity?
A: Apply sin(alpha + beta) = sin(alpha)cos(beta) + cos(alpha)sin(beta). Compute the sine and cosine of each input angle separately, multiply, and add the two products. For alpha = 30 and beta = 45 degrees, sin(75) = 0.5 * (sqrt(2)/2) + (sqrt(3)/2) * (sqrt(2)/2) = (sqrt(6) + sqrt(2)) / 4 = 0.9659.
Q: What does cos(alpha - beta) expand to?
A: cos(alpha - beta) = cos(alpha)cos(beta) + sin(alpha)sin(beta). Both terms keep their original sign because cosine is an even function of its argument. The corresponding sine difference identity flips the sign of the second term, but the cosine difference identity does not.
Q: When does tan(alpha + beta) become undefined?
A: tan(alpha + beta) becomes undefined whenever the denominator 1 - tan(alpha)tan(beta) is zero, which is the same as cos(alpha + beta) being zero. The cleanest example is alpha + beta = 90 degrees, where the cosine output is 0 and the tangent output is reported as 'undefined' on the results panel.
Q: What is the difference between sum and difference identities?
A: The sum identities give the trig values of (alpha + beta) and the difference identities give the trig values of (alpha - beta). The sine and cosine difference identities are derived from the sum identities by replacing beta with -beta and using sin(-x) = -sin(x) and cos(-x) = cos(x). The tangent difference identity has the opposite sign on the cross term in the denominator compared to the tangent sum identity.
Q: How do you derive the sum and difference identities from Euler's formula?
A: Write e to the i alpha = cos(alpha) + i sin(alpha) and e to the i beta = cos(beta) + i sin(beta). Multiply the two exponentials to get e to the i (alpha + beta) = cos(alpha + beta) + i sin(alpha + beta). Expand the right side as (cos(alpha)cos(beta) - sin(alpha)sin(beta)) + i (sin(alpha)cos(beta) + cos(alpha)sin(beta)), then match the real and imaginary parts to recover the four sine and cosine sum identities in two lines.