At our Math 17 class, we were asked to solve a trigo problem. The question is,
cosθ+sinθ=1 ,such that 0≤θ<2π
solve for θ
My Solution:
cosθ+sinθ=1
From the eq. cos2θ+sin2θ=1
cosθ±1−cos2θ=1
±1−cos2θ=1−cosθ
Squaring Both Sides,
1−cos2θ=1−2cosθ+cos2θ
0=2cos2θ−2cosθ
cos2θ−cosθ=0
cosθ(cosθ−1)=0
cosθ=0 and cosθ−1=0
Therefore,
θ=90∘,270∘ and 0∘
My Professor's Solution:
cosθ+sinθ=1
Squaring Both Sides
cos2θ+2cosθsinθ+sin2θ=1
2cosθsinθ+1=1
2cosθsinθ=0
cosθ=0 and sinθ=0
Thus,
θ=90∘,270∘,180∘ and 0∘
She wonders why my answer and her's are different. According to her, my solution is correct but came up with different answers. Could it be that there are some misconceptions? What would be the real answer?
This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.
When posting on Brilliant:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.
print "hello world"
Math
Appears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3
2×3
2^{34}
234
a_{i-1}
ai−1
\frac{2}{3}
32
\sqrt{2}
2
\sum_{i=1}^3
∑i=13
\sin \theta
sinθ
\boxed{123}
123
Comments
Both of your answers are wrong. Both errors come on from "squaring both sides". In your case, the effect of squaring both sides means that when you find cosθ=0 as a solution, you take both 90∘ and 270∘ as possible answers (since you are allowing sinθ=±1. If you look at the original equation, if cosθ=0, we must have sinθ=1, so 270∘ is not an answer.
Your professor is also finding the solutions to the equation cosθ+sinθ=−1, so is getting twice as many answers as there are.
The best solution is:
sinθ+cosθ21sinθ+21cosθsin(θ+45∘)θ+45∘θ=====121sin45∘45∘,135∘0∘,90∘
Your arguement goes:
sinθ+cosθsinθsin2θ===11−cosθ(1−cosθ)2
The third line includes the option that −sinθ=1−cosθ. In other words, in addition to solving cosθ+sinθ=1 (θ=0∘,90∘), you are also solving cosθ−sinθ=1 (θ=0∘,270∘).
The problem with squaring both sides is that the argument does not go both ways. While it is true that a2=b2 whenever a=b, it is not always the case that a=b whenever a2=b2. The method of squaring both sides is only totally safe when both sides of the equation are known to be positive (or both negative). In other words:
If a,b≥0thena=b⇔a2=b2
Always remember that when you manipulate equations (squaring, cubing, multiplying, adding, dividing, etc) you risk introducing additional solutions into the system. As such, you have to check that your solutions are indeed solutions, otherwise you will run into errors like claiming 1=−1.
Part of the reason why we don't realize this, is that we mostly deal with simultaneous linear equations, in which the operations that we do (addition of 2 equations, multiplication by a constant, substitution of variables) is well behaved. Outside of that, things could go wrong.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Both of your answers are wrong. Both errors come on from "squaring both sides". In your case, the effect of squaring both sides means that when you find cosθ=0 as a solution, you take both 90∘ and 270∘ as possible answers (since you are allowing sinθ=±1. If you look at the original equation, if cosθ=0, we must have sinθ=1, so 270∘ is not an answer.
Your professor is also finding the solutions to the equation cosθ+sinθ=−1, so is getting twice as many answers as there are.
The best solution is: sinθ+cosθ21sinθ+21cosθsin(θ+45∘)θ+45∘θ=====121sin45∘45∘,135∘0∘,90∘
Log in to reply
Thanks Mark, I agree with what you said about my Professor's mistake but I don't really get what is my mistake when I square both sides.
Log in to reply
Your arguement goes: sinθ+cosθsinθsin2θ===11−cosθ(1−cosθ)2 The third line includes the option that −sinθ=1−cosθ. In other words, in addition to solving cosθ+sinθ=1 (θ=0∘,90∘), you are also solving cosθ−sinθ=1 (θ=0∘,270∘).
The problem with squaring both sides is that the argument does not go both ways. While it is true that a2=b2 whenever a=b, it is not always the case that a=b whenever a2=b2. The method of squaring both sides is only totally safe when both sides of the equation are known to be positive (or both negative). In other words: If a,b≥0thena=b⇔a2=b2
Log in to reply
Always remember that when you manipulate equations (squaring, cubing, multiplying, adding, dividing, etc) you risk introducing additional solutions into the system. As such, you have to check that your solutions are indeed solutions, otherwise you will run into errors like claiming 1=−1.
Part of the reason why we don't realize this, is that we mostly deal with simultaneous linear equations, in which the operations that we do (addition of 2 equations, multiplication by a constant, substitution of variables) is well behaved. Outside of that, things could go wrong.
Nice :O I was thinking of making use of the R-formula to approach this question
very brilliant solution for mark
Log in to reply
I agree.