document.write( "Question 1088216: If 3sinA+5cosA=5 then 5sinA-3cosA equals \n" ); document.write( "
Algebra.Com's Answer #702542 by ikleyn(53763)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "If 3sinA + 5cosA = 5 then 5sinA - 3cosA equals
\n" ); document.write( "~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I will give ABSOLUTELY UNUSUAL and UNEXPECTED solution that you never saw/heard before.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "1.  You are given that \r\n" );
document.write( "\r\n" );
document.write( "        3*sin(A) + 5*cos(A) = 5.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Divide both sides by \"sqrt%283%5E2+%2B+5%5E2%29\" = \"sqrt%2834%29\". You will get\r\n" );
document.write( "\r\n" );
document.write( "        \"%283%2Fsqrt%2834%29%29%2Asin%28A%29\" + \"%285%2Fsqrt%2834%29%29%2Acos%28A%29\" = \"5%2Fsqrt%2834%29\".     (1)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "2.  Consider vector U = (\"3%2Fsqrt%2834%29\",\"5%2Fsqrt%2834%29\")  and  vector  B = (sin(A),cos(A)).\r\n" );
document.write( "\r\n" );
document.write( "    The equality (1) means that the scalar product of these vectors is equal to \"5%2Fsqrt%2834%29\".\r\n" );
document.write( "\r\n" );
document.write( "    In other words, \r\n" );
document.write( "\r\n" );
document.write( "        |U|*|B|*cos(a) = \"5%2Fsqrt%2834%29\",    (2)\r\n" );
document.write( "\r\n" );
document.write( "    where |U| is the modulus (= the magnitude, the length) of the vector U, |B| is the modulus of the vector B and \r\n" );
document.write( "    \"a\" is the angle between these two vectors.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    But (!!!) the length of the vector U is equal to 1, as well as the length of the vector B.   \r\n" );
document.write( "\r\n" );
document.write( "        (Everybody who knows how to calculate the length of the vector, can easily check it).\r\n" );
document.write( "\r\n" );
document.write( "   Therefore, the equality (2) means that the cosine of the angle \"a\" is equal to \"5%2Fsqrt%2834%29\":\r\n" );
document.write( "        cos(a) = \"5%2Fsqrt%2834%29\".        (3)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "3.  Very good. Now let us consider the expression y = 5*sin(A) - 3*cos(A) which is under the question.\r\n" );
document.write( "\r\n" );
document.write( "    Again, divide both sides by \"sqrt%2834%29\".  You will get\r\n" );
document.write( "\r\n" );
document.write( "    \"y%2Fsqrt%2834%29\" = \"%285%2Fsqrt%2834%29%29%2Asin%28A%29+-+%283%2Fsqrt%2834%29%29%2Acos%28A%29\".    (4)\r\n" );
document.write( "\r\n" );
document.write( "    The right side of (4) is NOTHING ELSE AS the scalar product of the vectors V = (\"5%2Fsqrt%2834%29\",\"-3%2Fsqrt%2834%29\") and vector B introduced above.\r\n" );
document.write( "\r\n" );
document.write( "    Notice that the vector V has the length of 1 and is orthogonal to vector U.\r\n" );
document.write( "\r\n" );
document.write( "    So, V is the unit vector orthogonal to U.\r\n" );
document.write( "\r\n" );
document.write( "    Therefore, (4) simply is\r\n" );
document.write( "\r\n" );
document.write( "        \"y%2Fsqrt%2834%29\" = cos(b),                                         (5)\r\n" );
document.write( "\r\n" );
document.write( "    where \"b\" is the angle between the vectors V and B.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "4.  BUT (!!!), since the vectors U and V are orthogonal, the angles \"a\" and \"b\" are complementary:\r\n" );
document.write( "\r\n" );
document.write( "        b = \"pi%2F2\" - a.\r\n" );
document.write( "\r\n" );
document.write( "     Then \r\n" );
document.write( "\r\n" );
document.write( "        cos(b) = sin(a) = \"sqrt%281-cos%5E2%28a%29%29\" = \"sqrt%281+-+%285%2Fsqrt%2834%29%29%5E2%29\" = \"sqrt%281+-+25%2F34%29\" = \"sqrt%28%2834-25%29%2F34%29\" = \"sqrt%289%2F34%29\" = +/-\"3%2Fsqrt%2834%29\".  (6)\r\n" );
document.write( "\r\n" );
document.write( "      Thus \"y%2Fsqrt%2834%29\" = cos(b) = +/- \"3%2Fsqrt%2834%29\".\r\n" );
document.write( "\r\n" );
document.write( "      It implies that  y = +/- 3.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Answer.   If  3*sin(A) + 5*cos(A) = 5  then  5*sin(A) - 3*cos(A) = +/- 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plots  y1 = 3*sin(x) + 5*cos(x) (red),  y2 = 5 (green),  y3 = 5*sin(x) - 3*cos(x) (blue)  and  y4 = 3 (purple).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The plot shows very clearly that there are two points in the segment  [\"0\",\"pi\"]  where  3*sin(x) + 5*cos(x) = 5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "One of these points is  x = A = 0.  But there is the other point,  too.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The plot shows very clearly,  also,  that at the points where  3*sin(x) + 5*cos(x) = 5  we have  5*sin(x) - 3*cos(x) = +/- 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It serves as the  CHECK.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );