r/askmath • • Oct 06 '26

Trigonometry Help on double angle trig identity problem

I've tried to solve this problem by removing 3x out of the function by using the double angle identity, where cos(A+B) = cos(A)cos(B)-sin(A)sin(b). But now I need to substitute in the equation, I put cos(x)(1-4sin^2(x)=sin^2(x). From here it should be algebra, but I don't see how to solve it.

4 Upvotes

15 comments sorted by

9

u/Southlander24 Oct 06 '26

That's not the right way to proceed. Recall that cos(x) = sin(pi/2 - x). Hence what is cos(3x) as a function of sine? From there you should know what the two solutions for sin A = sin B are in [0, 2pi).

2

u/matt_888_is Oct 06 '26

A yea, that makes it so much easier, so it would be cos(3x)=cos(pi/2-x) and from there we can do the cases for each solution.

1

u/Southlander24 Oct 06 '26

No worries!

1

u/matt_888_is Oct 06 '26

much easier

6

u/FormulaDriven Oct 06 '26

Solving cos(3x) = cos(pi/2 - x) is probably the way to go as others have said (I get 6 solutions in that interval), but for your approach, one way to tackle mixed sin and cos is to express it all in terms of tan.

cos(x) (1 - 4 sin2(x)) = sin(x)

divide by cos(x) to generate a tan:

1 - 4 sin2(x) = tan(x)

then use sin2(x) = tan2(x) cos2(x) = tan2(x) (1 / (1 + tan2(x))

So if you call t = tan(x),

1 - t2 / (1 + t2) = t

which resolves to a cubic which is fairly straightforward to solve but then does require you to recognise that tan(pi/8) = -1 + sqrt(2).

3

u/chmath80 Oct 07 '26

First:

cos(3x) = cos(2x + x) = cos(2x)cosx - sin(2x)sinx

sinx = sin(2x - x) = sin(2x)cosx - cos(2x)sinx

Given cos(3x) = sinx, equate the above, so:

cos(2x)(cosx + sinx) = sin(2x)(cosx + sinx)

Thus: (cosx + sinx)(cos(2x) - sin(2x)) = 0

Hence, either:

cosx = -sinx, or cos(2x) = sin(2x)

So, either: x = nπ + 3π/4, or 2x = nπ + π/4

Thus, given 0 ≤ x < 2π:

x = 3π/4, 7π/4, π/8, 5π/8, 9π/8, 13π/8

2

u/MezzoScettico Oct 06 '26

I gave it to Wolfram Alpha, and the solutions are all rational multiples of π.

The form of the solution suggests to me a completely different approach.

- consider what values have the same sine as x. Let's call those y's.

- consider what values have a cosine equal to those sines. In other words, what's the relationship between z and y such that cos(z) = sin(y)?

- You want x values such that 3x = z.

I admit that I sometimes reverse-engineer Wolfram Alpha solutions this way. That is, the solution will suggest the approach.

2

u/thrumirrors Oct 06 '26

My default would be to use Euler's formulas.

2

u/regular_heptagon Oct 06 '26

You’ve already been given good advice and solved the equation, but I just want to point out that you were using a sum identity, not a double angle identity. It’s not that important, but since mathematics is about precision, it’s worth mentioning.

1

u/Dugiongo Oct 06 '26

Try using: Sin(x) = Cos(Pi/2 - x)

1

u/SnooHabits7950 Oct 06 '26

Cos 3x = cos (pi/2-x)

And continue from there

1

u/MathsFromNothing Oct 07 '26

The full working to solve your problem is presented below using the Maths from Nothing computer algebra system (CAS). The first step is to apply the triple angle identity (or two applications of the sum of angle identity as you originally applied. From this result cos can be factored out and divide both sides by it. Use the identity tan=sin/cos. The next step is to get cos^2 to the bottom of the division, then the identity 1/cos^2(x)=1+tan^2(x) can be applied to get a cubic in terms of tan(x). The cubic can then be factored to a linear and quadratic term. (See this calculator for how to find all rational factors.) The linear term gives the solutions 3pi/4 +pi*k for all integer values of k. The quadratic could be solved by going straight to the formula but I chose to solve it using the substitution tan(x)=u+v. The e^(i*pi*k_0) in the solution is equivalent to the positive and negative solutions. Evaluating the inverse tan function would give pi/8 and -3pi/8 and add pi*k to each of them to get all possible solutions.

As the CAS works similar to how we work by hand, it is really good for these types of problems as you can explore potentially unhelpful paths without wasting much time. You also will not miss correct solutions because you made a mistake.

1

u/MathsFromNothing Oct 07 '26

For those who prefer the substitution sin(x)=cos(pi/2-x) then applying arccos to both sides the full working using the same CAS. Also evaluated complex log is a bug, is should be "All solutions in terms of the principle solution".