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

  • Thread starter Thread starter Mentallic
  • Start date Start date
Mentallic
Homework Helper
Messages
3,802
Reaction score
95
I attempted to solve sin2x=2sin^2x for 0\leq x\leq \pi
as follows:

2sinxcosx=2sin^2x
2sinx(sinx-cosx)=0

Therefore,
2sinx=0 (1)
sinx-cosx=0 (2)

(2) -- cosxtanx-cosx=0
cosx(tanx-1)=0

Therefore,
cosx=0 (3)
tanx-1=0 (4)

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

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

But testing the solutions (which I wouldn't have done so in test conditions) show that \pi/2 does not satisfy the original equation.
This means cosx\neq 0, 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:
sinx-cosx=0 (2)

(2) -- cosxtanx-cosx=0
cosx(tanx-1)=0

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:
 
Mentallic said:
and your addictive smileys and font alterations are a curse hehehe :devil:


:rolleyes: o:)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top