dash–calculator

02 Complex Numbers and Functions

Product to Sum Identity Calculator

Readout 02-0252 · Updated · Standard formula, shown below

Result 0.3536
Angle A
30.0 deg
Result, rounded to 1 decimal place
Angle B
45.0 deg
Result, rounded to 1 decimal place
Angle A
30 deg
Input
You enter
Angle A (deg), Angle B (deg), Product type
You get
Result, Angle A (deg), Angle B (deg)
Rounding
4 dp · 1 dp

This calculator takes two angles and applies the product-to-sum trigonometric identities to rewrite a product of sine and cosine functions as a sum or difference. You enter the two angles (in degrees or radians) and choose which product you have (sin·cos, cos·sin, cos·cos, or sin·sin), and the calculator returns the equivalent sum expression with a numerical evaluation.

Formula

The product-to-sum identities are a set of four trigonometric equations that convert a product of two sine or cosine functions into a sum or difference of two sine or cosine functions. They are derived from the sum and difference formulas for sine and cosine. The four standard identities are:

  • sin a cos b = ½ [sin(a + b) + sin(a − b)]
  • cos a sin b = ½ [sin(a + b) − sin(a − b)]
  • cos a cos b = ½ [cos(a + b) + cos(a − b)]
  • sin a sin b = ½ [cos(a − b) − cos(a + b)]

In the calculator above, the variables are:

  • a – the first angle, in degrees (default 30°)
  • b – the second angle, in degrees (default 45°)
  • type – which product you are starting with

All angles are interpreted as degrees. The calculator internally converts them to radians for the sine and cosine functions, but the displayed result is in the same unit you entered. The output is the exact sum expression, followed by the numeric value rounded to four decimal places.

Worked Example

Using the default inputs: a = 30°, b = 45°, and the product type sin a cos b, the identity gives:

  1. Compute a + b = 30° + 45° = 75°
  2. Compute a − b = 30° − 45° = −15°
  3. Apply the identity: sin 30° cos 45° = ½ [sin(75°) + sin(−15°)]
  4. Evaluate: sin(75°) ≈ 0.9659, sin(−15°) ≈ −0.2588
  5. Sum: 0.9659 + (−0.2588) = 0.7071
  6. Multiply by ½: 0.5 × 0.7071 = 0.3536

The calculator shows the result as 0.3536, which matches the direct product: sin 30° = 0.5, cos 45° ≈ 0.7071, and 0.5 × 0.7071 ≈ 0.3536. The identity holds.

When to Use Product-to-Sum Identities

These identities are most useful when you need to integrate a product of trigonometric functions, solve trigonometric equations, or simplify expressions before applying other techniques. In calculus, converting a product to a sum often makes integration straightforward because the integral of a sum is the sum of integrals. In physics and engineering, they appear in signal processing, wave interference, and modulation analysis.

For example, if you need to integrate ∫ sin(3x) cos(2x) dx, you can rewrite it as ½ ∫ [sin(5x) + sin(x)] dx, which is much easier to evaluate. The calculator above helps you verify the conversion for specific angles before applying it symbolically.

Common Mistakes and How to Avoid Them

  • Mixing up the order of angles: The identity for sin a cos b is different from cos a sin b. The calculator lets you choose the correct product type, but when doing it by hand, double-check which function comes first.
  • Forgetting the ½ factor: Every product-to-sum identity has a factor of ½. Omitting it gives a result that is exactly double the correct value.
  • Using degrees vs. radians: The identities work in both, but you must be consistent. The calculator defaults to degrees; if you need radians, convert first or use the degree mode on your calculator.
  • Sign errors in the difference term: For cos a cos b, the difference term is added; for sin a sin b, the difference term is subtracted. A quick check: plug in a = b = 0°, then sin 0° sin 0° = 0, and the identity gives ½ [cos(0°) − cos(0°)] = 0, which is correct.

How to Use the Calculator Effectively

To get the most out of this tool, first identify which product you have. Write down the two angles and make sure they are in the same unit. Enter them in the fields, select the product type, and read the result. The output shows both the symbolic form (with the sum of sines or cosines) and the numeric value.

If you are verifying a hand calculation, use the numeric result to check your work. If you are solving an integral, use the symbolic form to set up the integration. For angles outside the typical 0°–360° range, the calculator accepts any real number, but remember that sine and cosine are periodic, so results will repeat every 360°.

Limitations of the Product-to-Sum Approach

The identities are exact for any real angles, but they only apply to products of two sine/cosine functions with the same angle variable or two different angles. They do not handle products of three or more functions directly, nor do they handle tangent or cotangent products. For those, you would first convert to sine and cosine and then apply the identities iteratively.

Also, the calculator gives a numerical result for the specific angles you enter. It does not provide a general symbolic expression with variables. For symbolic manipulation, you would still need to apply the identity manually or use a computer algebra system.

Frequently Asked Questions

What is the difference between product-to-sum and sum-to-product identities?

Product-to-sum identities convert a product of two trig functions into a sum or difference. Sum-to-product identities do the reverse: they convert a sum or difference of two trig functions into a product. For example, sin x + sin y = 2 sin((x+y)/2) cos((x−y)/2). Both are useful in different contexts.

Can I use these identities with radians?

Yes, the identities are unit-agnostic. The calculator defaults to degrees, but you can enter radian values if you first convert them to degrees (multiply by 180/π) or simply treat the numbers as degrees and then convert the result back. For hand calculations, just be consistent.

Why is there a ½ in every identity?

The ½ comes from the derivation using the sum and difference formulas. When you add or subtract the two formulas, the cross terms cancel, leaving a factor of 2 in the denominator. For instance, sin(a+b) + sin(a−b) = 2 sin a cos b, so dividing by 2 gives the identity.

How do I remember which identity has a minus sign?

A common mnemonic is to focus on the right-hand side. For sin a sin b, the result is a difference of cosines: cos(a−b) − cos(a+b). For cos a cos b, it is a sum: cos(a+b) + cos(a−b). For sin a cos b, it is a sum of sines; for cos a sin b, it is a difference of sines. Practice with a few examples to lock it in.

What if my angles are in degrees but my calculator is in radians?

This calculator always interprets the input as degrees, so no conversion is needed. If you are using a scientific calculator, make sure it is in degree mode. If you want to use radians, you can enter the radian value and then multiply the result by 180/π to get degrees, but the identity itself does not care about the unit.

Related

Formula used
in a | Angle A | deg | 30 | -100000 | 100000
in b | Angle B | deg | 45 | -100000 | 100000
sel type | Product type | sin a cos b=1, cos a sin b=2, cos a cos b=3, sin a sin b=4
out result | Result | - | 0.5 * (sind(a - b) + sind(a + b)) | 4
out a_deg | Angle A | deg | a | 1
out b_deg | Angle B | deg | b | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Complex Numbers and Functions panel →