Extraneous solution?

  • Thread starter Mentallic
  • Start date

Mentallic

Homework Helper
3,797
94
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.
 

tiny-tim

Science Advisor
Homework Helper
25,790
249
Hi Mentallic! :smile:

(have a pi: π :wink:)
[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:
 

Mentallic

Homework Helper
3,797
94
Hi Mentallic! :smile:
Hi tiny-tim! :smile:

(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? :tongue:


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

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:
 

Related Threads for: Extraneous solution?

Replies
10
Views
582
Replies
2
Views
2K
Replies
3
Views
8K
Replies
2
Views
585
Replies
5
Views
7K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top