Tan(x) + sec(x) = sqrt(3), find x

  • Thread starter Thread starter ritwik06
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 11K views
ritwik06
Messages
577
Reaction score
0

Homework Statement



[tex]tan x + sec x=\sqrt{3}[/tex]
Find x in 0 to 2*pi




The Attempt at a Solution


[tex]\frac{sin x+1}{cos x}=\sqrt{3}[/tex]


[tex]\sqrt{3}cos x - sin x=1[/tex]


[tex]2 sin (x - \frac{\pi}{3})=1[/tex]


[tex]x - \frac{\pi}{3}=n\pi + (-1)^{n}\frac{\pi}{6}[/tex]

My problem is that the the solution x=pi/6 is missing fom my general solution. Why?
 
Physics news on Phys.org
Hi ritwik06! :smile:
ritwik06 said:
[tex]\sqrt{3}cos x - sin x=1[/tex]

[tex]2 sin (x - \frac{\pi}{3})=1[/tex]

Nooo … [tex]\ \ 2\,sin (\frac{\pi}{3}\ -\ x)\ =\ 1[/tex] :smile:

and whyever is there a (-1)n in your:
[tex]x - \frac{\pi}{3}=n\pi + (-1)^{n}\frac{\pi}{6}[/tex]
 


ritwik06 said:

Homework Statement



[tex]tan x + sec x=\sqrt{3}[/tex]
Find x in 0 to 2*pi




The Attempt at a Solution


[tex]\frac{sin x+1}{cos x}=\sqrt{3}[/tex]


[tex]\sqrt{3}cos x - sin x=1[/tex]


[tex]2 sin (x - \frac{\pi}{3})=1[/tex]


[tex]x - \frac{\pi}{3}=n\pi + (-1)^{n}\frac{\pi}{6}[/tex]

My problem is that the the solution x=pi/6 is missing fom my general solution. Why?
It's hard to tell why if you don't show all of your work!

How did you get from
[tex]\sqrt{3}cos x - sin x=1[/tex]
to
[tex]2 sin (x - \frac{\pi}{3})=1[/tex]?
I would have done this a completely different way:
From
[tex]\frac{sin x+1}{cos x}=\sqrt{3}[/tex]
[tex]sin x+ 1= \sqrt{3} cos x[/tex]
Now square both sides:
[tex](sin x+ 1)^2= sin^2 x+ 2sin x+ 1= 3 cos^2x= 3(1- sin^2 x)[/itex]<br /> so that<br /> [tex]4sin^2 x + 2sin x- 2=0[/tex]<br /> or<br /> [tex]2 sin^2 x+ sin x- 2= (2 sin x- 1)(sin x+ 1)= 0.<br /> That has the two roots sin x= 1/2 and sin x= -1.<br /> <br /> If sin x= 1/2, then [itex]x= \pi/6[/itex] or [itex]5\pi/6[/itex] and if sin x= -1, then [itex]x= 3\pi/2[/itex].<br /> <br /> Since we squared, we may have introduced a new solution so we had better check in the original equation. If [itex]x= \pi/6[/itex], then [itex]tan x= sin x/cos x= \sqrt{3}/3[/itex] and [itex]sec x= 1/cos x= 2\sqrt{3}/3. Yes, those add to [itex]\sqrt{3}! If [itex]x= 5\pi/6[/itex] then [itex]tan x= sin x/cos x= -\sqrt{3}{3}[/itex], [itex]sec x= 1/cos x= -2\sqrt{3}/3[/itex] and those add to [itex]-\sqrt{3}[/itex], not [itex]\sqrt{3}[/itex]. If [itex]x= 3\pi/2[/itex], cos x does not exist and neither tan x nor sec x exists. The ONLY solution to the equation between 0 and [itex]2\pi[/itex] is [itex]x= \pi/6[/itex].[/itex][/itex][/tex][/tex]
 


HallsofIvy said:
It's hard to tell why if you don't show all of your work!

How did you get from
[tex]\sqrt{3}cos x - sin x=1[/tex]
to
[tex]2 sin (x - \frac{\pi}{3})=1[/tex]?
I would have done this a completely different way:
From
[tex]\frac{sin x+1}{cos x}=\sqrt{3}[/tex]
[tex]sin x+ 1= \sqrt{3} cos x[/tex]
Now square both sides:
[tex](sin x+ 1)^2= sin^2 x+ 2sin x+ 1= 3 cos^2x= 3(1- sin^2 x)[/itex]<br /> so that<br /> [tex]4sin^2 x + 2sin x- 2=0[/tex]<br /> or<br /> [tex]2 sin^2 x+ sin x- 2= (2 sin x- 1)(sin x+ 1)= 0.<br /> That has the two roots sin x= 1/2 and sin x= -1.<br /> <br /> If sin x= 1/2, then [itex]x= \pi/6[/itex] or [itex]5\pi/6[/itex] and if sin x= -1, then [itex]x= 3\pi/2[/itex].<br /> <br /> Since we squared, we may have introduced a new solution so we had better check in the original equation. If [itex]x= \pi/6[/itex], then [itex]tan x= sin x/cos x= \sqrt{3}/3[/itex] and [itex]sec x= 1/cos x= 2\sqrt{3}/3. Yes, those add to [itex]\sqrt{3}! If [itex]x= 5\pi/6[/itex] then [itex]tan x= sin x/cos x= -\sqrt{3}{3}[/itex], [itex]sec x= 1/cos x= -2\sqrt{3}/3[/itex] and those add to [itex]-\sqrt{3}[/itex], not [itex]\sqrt{3}[/itex]. If [itex]x= 3\pi/2[/itex], cos x does not exist and neither tan x nor sec x exists. The ONLY solution to the equation between 0 and [itex]2\pi[/itex] is [itex]x= \pi/6[/itex].[/itex][/itex][/tex][/tex]
[tex][tex][itex][itex] Thats obvious. But I used the polar format there...<br /> [tex] \sqrt{3}cos x - sin x=1[/tex]<br /> <br /> <br /> Suppose:<br /> f(x)=a cos x+ b sin x<br /> let <br /> a =r sin y <br /> b =r cos y<br /> [tex]r=\sqrt{a^{2}+b^{2}}[/tex] <br /> <br /> <br /> <br /> [tex]y=tan^{-1}\frac{x}{y}[/tex]<br /> then f(x)=r sin(x+y) <br /> I used this. And I am wondering what i did wrong?[/itex][/itex][/tex][/tex]