Efficiently Computing x in 18sinxcosx=1-6sinx Equation

  • Thread starter Thread starter O garcia
  • Start date Start date
AI Thread Summary
The equation 18sinxcosx=1-6sinx can be rewritten as 1 - 6sinx - 9sin2x = 0, indicating that solutions are periodic and not easily identifiable. Plotting the function f(x) = 1 - 6sinx - 9sin2x can help locate the four solutions within the interval [0, 2π]. While squaring both sides and substituting cos^2x = 1 - sin^2x leads to a quadratic in sin, the complexity of the equation suggests that a straightforward solution may not exist. Some participants noted that using a computer algebra system (CAS) yields a complicated solution. Overall, the discussion highlights the challenges in solving this trigonometric equation efficiently.
O garcia
Messages
1
Reaction score
0
Hey can anyone help me? I'm trying to compute x in this equation:
18sinxcosx=1-6sinx

Would there be an easy way other than trial and error?
Thanks
 
Physics news on Phys.org
Since this could be rewritten as 1 - 6 sin x - 9 sin 2x = 0 , I don't think there's a tidy way to solve for x . The solutions are periodic (so there are an infinite number of them), but don't appear to take on obvious values.

Rather than just try solutions one by one, you could plot f(x) = 1 - 6 sin x - 9 sin 2x and locate the zeroes of the curve. There are four solutions in the interval [0, 2·pi]. The good news is that the function has a period of 2·(pi), so once you find those four, you can describe all the rest.
 
scrap this
 
Last edited:
If you square both sides and plug in \cos^2 x = 1 - \sin^2 x then you will obtain a quadratic in sin, which you can solve using the quadratic formula.
 
Uh, you get a QUADRIC equation, which you can solve by the QUADRIC formula. Looks pretty nasty to me.
 
By trigonometric sine rule, sin(a)cos(b)=(1/2)[sin(a+b)+sin(a-b)]
Edit: sorry, I'll use a and b to avoid confusion. Since a=b=x, then
Simplify this equation, we get (1/2)[sin(2x)+sin(x-x)]=sin(2x)/2 (*)

Plug (*) into the LHS, then we get 9sin(x)=1-6sin(x)
Solve, for x. It should be easy from here. =]
 
Last edited:
DavidWhitbeck said:
If you square both sides and plug in \cos^2 x = 1 - \sin^2 x then you will obtain a quadratic in sin, which you can solve using the quadratic formula.

Hmm..I posted something similar to that but deleted it since I set the coefficient of -a*sin(x) to 1 instead of 6.
One thing to note though, if you fling this into a CAS...you get a very, ahem... 'clever looking' solution. (ie; ridiculously messy!) :-p
 
konthelion said:
By trigonometric sine rule, sin(x)cos(x)=(1/2)[sin(x+x)+sin(a-x)]
Simplify this equation, we get (1/2)[sin(2x)+sin(x-x)]=sin(2x)/2 (*)

Plug (*) into the LHS, then we get 9sin(x)=1-6sin(x)
Solve, for x. It should be easy from here. =]

You dropped a '2' in that last equation: that should be

9 sin(2x) = 1 - 6 sin(x) ,

which is what I gave back in post #2. Unfortunately, there isn't any nice way to solve that...

DavidWhitbeck said:
If you square both sides and plug in \cos^2 x = 1 - \sin^2 x then you will obtain a quadratic in sin, which you can solve using the quadratic formula.

Alas, I looked at that possibility and it doesn't work for this equation. An approach of that sort will work for certain special cases of the numerical coefficients -- but this ain't one o'them...
 
Last edited:
dynamicsolo said:
You dropped a '2' in that last equation: that should be

9 sin(2x) = 1 - 6 sin(x) ,

which is what I gave back in post #2. Unfortunately, there isn't any nice way to solve that...
Ah, sorry. I didn't see that.
 
Back
Top