document.write( "Question 1199347: If tan(x/2)=sinx and cosx≠0, then the value of tanx is… \n" ); document.write( "
Algebra.Com's Answer #833196 by ikleyn(52803)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "If tan(x/2)=sin(x) and cos(x)≠0, then the value of tan(x) is . . .
\n" ); document.write( "~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Our starting equation is \r\n" );
document.write( "\r\n" );
document.write( "    \"tan%28x%2F2%29\" = \"sin%28x%29\".      (1)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Since \"tan%28x%2F2%29\" is not defined when \"cos%28x%2F2%29\" = 0, the domain of this equation is \r\n" );
document.write( "the set of all real numbers except \"x%2F2\" = \"pi%2F2%2Bk%2Api\",  or  x = \"pi%2B2k%2Api\" = \"%282k%2B1%29%2Api\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "One obvious solution to equation (1) is x = \"2k%2Api\", when both sides of equation (1) are zeroes.    (2)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In what follows, we assume that x is neither \"2k%2Api\" nor \"%282k%2B1%29%2Api\".    (3)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "        In particular, it implies that \"sin%28x%2F2%29\" =/= 0.    (4)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now we transform equation (1) step by step\r\n" );
document.write( "\r\n" );
document.write( "    \"sin%28x%2F2%29%2Fcos%28x%2F2%29\" = \"sin%282%2A%28x%2F2%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "    \"sin%28x%2F2%29%2Fcos%28x%2F2%29\" = \"2sin%28x%2F2%29cos%28x%2F2%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Due to (4), we can divide both sides by \"sin%28x%2F2%29\", since this factor is not zero.\r\n" );
document.write( "\r\n" );
document.write( "    \"1%2Fcos%28x%2F2%29\" = \"2cos%28x%2F2%29\"\r\n" );
document.write( "\r\n" );
document.write( "    \"1\" = \"2cos%5E2%28x%2F2%29\"\r\n" );
document.write( "\r\n" );
document.write( "    \"1%2F2\" = \"cos%5E2%28x%2F2%29\"\r\n" );
document.write( "\r\n" );
document.write( "    \"cos%28x%2F2%29\" = \"%22%22%2B-sqrt%281%2F2%29\" = \"%22%22%2B-sqrt%282%29%2F2\"\r\n" );
document.write( "\r\n" );
document.write( "    \"x%2F2\" = \"%22%22%2B-pi%2F4+%2B+pi%2An\"    <<<---=== notice here the difference with the Edwin's solution\r\n" );
document.write( "                                 (here Edwin lost some/(half of the) solutions)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \"x\" = \"%22%22%2B-pi%2F2+%2B+2pi%2An\" = \"2pi%2An+%2B-+pi%2F2\" = \"pi%2A%282n+%2B-+1%2F2+%29\", where n is any integer.\r\n" );
document.write( "\r\n" );
document.write( "              But for all these values of x, cos(x) = 0, so we should exclude this set of values\r\n" );
document.write( "              from our consideration due to condition cos(x) =/= 0, imposed in the problem.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Finally, the only set of solutions is  x = \"2k%2Api\", found in (2).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  The solution to equation (1) with the imposed condition cos(x) =/= 0 \r\n" );
document.write( "\r\n" );
document.write( "         is the set  x = \"2k%2Api\", and tan(x) = 0 for all these values of x.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );