• Support PF! Buy your school textbooks, materials and every day products Here!

How would i compute x?

  • Thread starter O garcia
  • Start date
  • #1
1
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
 

Answers and Replies

  • #2
dynamicsolo
Homework Helper
1,648
4
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.
 
  • #3
210
0
scrap this
 
Last edited:
  • #4
If you square both sides and plug in [itex]\cos^2 x = 1 - \sin^2 x[/itex] then you will obtain a quadratic in sin, which you can solve using the quadratic formula.
 
  • #5
Dick
Science Advisor
Homework Helper
26,258
618
Uh, you get a QUADRIC equation, which you can solve by the QUADRIC formula. Looks pretty nasty to me.
 
  • #6
238
0
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:
  • #7
210
0
If you square both sides and plug in [itex]\cos^2 x = 1 - \sin^2 x[/itex] 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!!!) :tongue2:
 
  • #8
dynamicsolo
Homework Helper
1,648
4
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...

If you square both sides and plug in [itex]\cos^2 x = 1 - \sin^2 x[/itex] 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:
  • #9
238
0
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.
 

Related Threads for: How would i compute x?

Replies
3
Views
3K
  • Last Post
Replies
2
Views
554
Replies
3
Views
754
Replies
2
Views
986
Replies
3
Views
578
Top