Why squaring the trigonometric equation changes the solution? I have a trigonometric equation that is defined as: sin(alpha)−cos(alpha)=1/2
Jefferson Booth
Answered question
2022-11-07
Why squaring the trigonometric equation changes the solution? I have a trigonometric equation that is defined as:
Solving this equation by mathematica will yield and But As I solve it analytically, I will obtain different results: First I exponentiate both sides to the power of two:
Now I expand the expressions:
As , I will have:
Again if I put I will be left with:
Which will readily give So, why I am having different results? I don't understand.
Answer & Explanation
Milton Gilmore
Beginner2022-11-08Added 20 answers
If you square, you also get the solutions of
In general, if you have an equation of the form and square both sides, you get, after rearranging,
that can be rewritten
so the solutions of (*) are the solutions of (the original equation) together with the solutions of A safer way to solve your equation is to set , so the equation becomes
that reduces to
with solutions
The first solutions corresponds to
and the second one to
or if you want a value between and .
MISA6zh
Beginner2022-11-09Added 3 answers
Squaring is often a useful (sometimes unavoidable) way to solve an equation, but it always introduces new solutions which may not fit the original problem. When you square both sides of an equation, you should always check your solutions to make sure they are applicable. If you can avoid squaring, you might try doing so so as not to be confused with extra solutions. For this particular problem, you can solve it without squaring as follows:
which gives which you can solve to give you the values obtained from Mathematica.