document.write( "Question 1204328: Find the largest possible domain and largest possible range of the function
\n" ); document.write( "𝑔(𝑥) = 4 cos(3𝑥) − 3 sin(3𝑥).
\n" ); document.write( "Give your answers in set/interval notations.
\n" ); document.write( "

Algebra.Com's Answer #840522 by ikleyn(52834)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Find the largest possible domain and largest possible range of the function
\n" ); document.write( "𝑔(𝑥) = 4 cos(3𝑥) − 3 sin(3𝑥).
\n" ); document.write( "Give your answers in set/interval notations.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "The domain is, OBVIOUSLY, the set of all real numbers, since this function (this expression) \r\n" );
document.write( "is defined over all this set.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To find the range, let's make this identical transformation\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    4*cos(3x) - 3*sin(3x) = \"5%2A%28%284%2F5%29%2Acos%283x%29+-+%283%2F5%29%2Asin%283x%29%29\".   (1)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Next, notice that  \"%284%2F5%29%5E2\" + \"%283%2F5%29%5E2\" = \"16%2F25+%2B+9%2F25\" = \"25%2F25\" = 1.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "THEREFORE, there is such angle \"theta\" that  \"sin%28theta%29\" = \"4%2F5\",  \"cos%28theta%29\" = \"3%2F5\".\r\n" );
document.write( "\r\n" );
document.write( "This  \"theta\"  is simply the angle in QI, which satisfies this equation  \"tan%28theta%29\" = \"4%2F3\",  or  \"theta\" = \"arctan%284%2F3%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then we can continue the equality (1) this way\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "      4*cos(3x) - 3*sin(3x) = \"5%2A%28%284%2F5%29%2Acos%283x%29+-+%283%2F5%29%2Asin%283x%29%29\" = \"5%2A%28sin%28theta%29%2Acos%283x%29+-+cos%28theta%29%2Asin%283x%29%29\" = \r\n" );
document.write( "\r\n" );
document.write( "          now apply the formula for sine of the sum of arguments   \r\n" );
document.write( "\r\n" );
document.write( "    = \"5%2Asin%28theta-3x%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus we presented the original expression as the sine function with amplitude 5 of argument  \"theta-3x\"\r\n" );
document.write( "\r\n" );
document.write( "    4*cos(3x) - 3*sin(3x) = \"5%2Asin%28theta-3x%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It tells you that the range of  4*cos(3x) - 3*sin(3x)  is the interval from -5 to 5, or, in the interval form, [-5,5].\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  The domain of the given function is the entire number line (-oo,oo).\r\n" );
document.write( "\r\n" );
document.write( "         The range of the given function is the interval [-5,5].\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "This transformation and the logic, which I used, may seem as a focus - pocus.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But actually, it is a general transformation of the expression a*cos(x) - b*sin(x) with real coefficients \"a\" and \"b\"\r\n" );
document.write( "into single harmonic function\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    a*sin(x) - b*cos(x) =  = \r\n" );
document.write( "\r\n" );
document.write( "                        =  = \r\n" );
document.write( "\r\n" );
document.write( "                        = \"sqrt%28a%5E2%2Bb%5E2%29%2A%28sin%28theta%29%2Acos%28x%29+-+cos%28theta%29%2Asin%28x%29%29\" = \"sqrt%28a%5E2%2Bb%5E2%29%2Asin%28theta-x%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "where  \"theta\" = \"arctan%28a%2Fb%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It works always for any real coefficients \"a\" and \"b\" and transforms any linear combination a*cos(x) + b*sin(x) \r\n" );
document.write( "\r\n" );
document.write( "into single harmonic function  \"sin%28theta-x%29\"  with the shift \"theta%29\" = \"arctan%28a%2Fb%29\"  and the amplitude  \"sqrt%28a%5E2%2Bb%5E2%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is very useful classic trigonometric transformation and the identity to know and to use in different \r\n" );
document.write( "trigonometric problems.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, it makes sense to learn and to memorize it.\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );