document.write( "Question 937255: Solve the following for 0 < x < 2pi\r
\n" ); document.write( "\n" ); document.write( "(sin x + cos x)^2 = 1
\n" ); document.write( "

Algebra.Com's Answer #854647 by ikleyn(53937)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Solve the following for 0 < x < 2pi
\n" ); document.write( "(sin x + cos x)^2 = 1
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        In his post, @lwsshak3 came to conclusion \"no solution: x not in given interval.\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        This answer is INCORRECT. Given equation has 3 (three) solutions in the given interval.\r
\n" ); document.write( "\n" ); document.write( "        They are \"pi%2F2\", \"pi\" and \"3pi%2F2\". \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        The reasoning in the post by @l2sshak3 is conceptually wrong, \r
\n" ); document.write( "\n" ); document.write( "        it is why he missed 3 solutions.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        It is wrong way to teach students, so I came to bring a correct solution.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Your starting equation is\r\n" );
document.write( "\r\n" );
document.write( "    \"%28sin%28x%29+%2B+cos%28x%29%29%5E2\" = 1\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Transform it step by step\r\n" );
document.write( "\r\n" );
document.write( "    \"sin%5E2%28x%29+%2B+2%2Asin%28x%29%2Acos%28x%29+%2B+cos%5E2%28x%29\" = 1,\r\n" );
document.write( "\r\n" );
document.write( "    1 + 2*sin(x)*cos(x) = 1,\r\n" );
document.write( "\r\n" );
document.write( "    sin(2x) = 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Hence, 2x should be a multiple of \"pi\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Since x should be in interval (\"0\",\"2pi\"),  2x should be in interval (\"0\",\"4pi\")\r\n" );
document.write( "\r\n" );
document.write( "    0 < 2x < \"4pi\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "There are 3 possible values for 2x: \"pi\", \"2pi\" and \"3pi\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It gives 3 possible values for x: \"pi%2F2\", \"pi\" and \"3pi%2F2\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is easy to check that all these 3 values satisfy given equation.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  Given equation has 3 solutions in the given interval: \"pi%2F2\", \"pi\" and \"3pi%2F2\".\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved correctly to teach you in a right way.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );