Solving sin2x=2sin^2x for 0\leq x\leq \pi: Find Extraneous Solution

  • Context: Undergrad 
  • Thread starter Thread starter Mentallic
  • 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 · 3K views
Messages
3,802
Reaction score
95
I attempted to solve [tex]sin2x=2sin^2x[/tex] for [tex]0\leq x\leq \pi[/tex]
as follows:

[tex]2sinxcosx=2sin^2x[/tex]
[tex]2sinx(sinx-cosx)=0[/tex]

Therefore,
[tex]2sinx=0[/tex] (1)
[tex]sinx-cosx=0[/tex] (2)

(2) -- [tex]cosxtanx-cosx=0[/tex]
[tex]cosx(tanx-1)=0[/tex]

Therefore,
[tex]cosx=0[/tex] (3)
[tex]tanx-1=0[/tex] (4)

Hence my solutions should be solving equations (1), (3) and (4).
i.e. [tex]sinx=0[/tex], [tex]x=0,\pi[/tex]
[tex]cosx=0[/tex], [tex]x=\pi/2[/tex]
[tex]tanx=1[/tex], [tex]x=\pi/4[/tex]

Hence, my solution set is [tex]x=0,\pi/4,\pi/2,\pi[/tex]

But testing the solutions (which I wouldn't have done so in test conditions) show that [tex]\pi/2[/tex] does not satisfy the original equation.
This means [tex]cosx\neq 0[/tex], but why?
I can't figure out where this extraneous solution came from, and which step I made was invalid to cause this. e.g. I never squared or multiplied the equation by anything etc.
 
Mathematics news on Phys.org
Hi Mentallic! :smile:

(have a pi: π :wink:)
Mentallic said:
[tex]sinx-cosx=0[/tex] (2)

(2) -- [tex]cosxtanx-cosx=0[/tex]
[tex]cosx(tanx-1)=0[/tex]

sinx = cosx tanx is not valid if x = π/2 :biggrin:

Instead, use sinx - cosx = a multiple of sin(x - something) :wink:
 
tiny-tim said:
Hi Mentallic! :smile:
Hi tiny-tim! :smile:

tiny-tim said:
(have a pi: π :wink:)

At first I was like... what?
Haha now I get it. Thanks for your pi :biggrin: would you also like an e with that pi? :-p


tiny-tim said:
sinx = cosx tanx is not valid if x = π/2 :biggrin:
Oh yes, the infamous 0/0=something trick. Foiled once again :blushing:

tiny-tim said:
Instead, use sinx - cosx = a multiple of sin(x - something) :wink:
I never really appreciated the beauty of (I think that method is called the subsidiary technique something or other..), so I've always used alternative solutions, such as squaring the equation and finally removing the extraneous solutions. But, I think that would have been much easier so you have a point there :smile:

Thanks tiny-tim, your help is greatly appreciated.



and your addictive smileys and font alterations are a curse hehehe :devil: