document.write( "Question 1200539: The function f is defined f(x) = x^2 - 6x + 2 for 0 ≤ x ≤ 3
\n" ); document.write( "a) state the range of f
\n" ); document.write( "b) state the domain of f^-1 (x)
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #834748 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Even though the graph of f(x) = x^2 - 6x + 2 is this:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "since \"0%3C=x%3C=3\", we only use the part between and on the vertical lines \r\n" );
document.write( "at x=0 (the y-axis) and x=3, which is this:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To find the inverse of f(x) = x2 - 6x + 2  for 0 < x < 3\r\n" );
document.write( "\r\n" );
document.write( "1. We replace f(x) by y,\r\n" );
document.write( "\r\n" );
document.write( "\"y+=+x%5E2-6x%2B2\", \"0%3C=x%3C=3\"\r\n" );
document.write( "\r\n" );
document.write( "2. We replace x by y and replace y by x:\r\n" );
document.write( "\r\n" );
document.write( "\"x+=+y%5E2-6y%2B2\", \"0%3C=y%3C=3\"\r\n" );
document.write( "\r\n" );
document.write( "We solve for y:\r\n" );
document.write( "\r\n" );
document.write( "\"-y%5E2%2B6y-2%2Bx=0\", \"0%3C=y%3C=3\"\r\n" );
document.write( "\r\n" );
document.write( "Multiply through by -1 to make squared term positive:\r\n" );
document.write( "\r\n" );
document.write( "\"y%5E2-6y%2B2-x=0\", \"0%3C=y%3C=3\"\r\n" );
document.write( "\r\n" );
document.write( "Enclose the term that represents \"c\" in parentheses:\r\n" );
document.write( "\r\n" );
document.write( "\"y%5E2-6y%2B%282-x%29=0\", \"0%3C=y%3C=3\"\r\n" );
document.write( "\r\n" );
document.write( "Use the quadratic formula:\r\n" );
document.write( "\r\n" );
document.write( "\"y+=+%28-%28-6%29+%2B-+sqrt%28%28-6%29%5E2-4%2A1%2A%282-x%29+%29%29%2F%282%2A1%29+\" \r\n" );
document.write( "\"y+=+%286+%2B-+sqrt%2836-4%282-x%29+%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%286+%2B-+sqrt%2836-8%2B4x%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%286+%2B-+sqrt%2828%2B4x%29+%29%2F2+\"\r\n" );
document.write( "\"y+=+%286+%2B-+sqrt%284%287%2Bx%29%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%286+%2B-+2sqrt%287%2Bx%29%29%2F2+\"\r\n" );
document.write( "\r\n" );
document.write( "\"y+=+%282%283+%2B-+sqrt%287%2Bx%29%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28cross%282%29%283+%2B-+sqrt%287%2Bx%29%29%29%2Fcross%282%29+\"\r\n" );
document.write( "\"y+=+3+%2B-+sqrt%287%2Bx%29+\"\r\n" );
document.write( "\r\n" );
document.write( "Now we work out the domain \"0%3C=y%3C=3\"\r\n" );
document.write( "Replace y by what y equals:\r\n" );
document.write( "\"0%3C=3+%2B-+sqrt%287%2Bx%29%3C=3\"\r\n" );
document.write( "Add -3 to all three sides\r\n" );
document.write( "\"-3%3C=%22%22+%2B-+sqrt%287%2Bx%29%3C=0\"\r\n" );
document.write( "Since it is between -3 and 0 we use the negative sign\r\n" );
document.write( "for the square root. \r\n" );
document.write( "\"-3%3C=-sqrt%287%2Bx%29%3C=0\"\r\n" );
document.write( "That tells us that for the inverse we use the negative\r\n" );
document.write( "sign for the same square root in the inverse:\r\n" );
document.write( "\"y+=+3+-+sqrt%287%2Bx%29+\"\r\n" );
document.write( "Going back to the inequality, we square all three sides. \r\n" );
document.write( "Squaring each side involves multiplying each side by \r\n" );
document.write( "itself, which is a negative quantity in the first two, \r\n" );
document.write( "and 0 is multiplied by 0, so we reverse the \r\n" );
document.write( "inequality signs:\r\n" );
document.write( "\"%28-3%29%5E2%3E=%28sqrt%287%2Bx%29%29%5E2%3E=%280%29%5E2\"\r\n" );
document.write( "\"9%3E=7%2Bx%3E=0\"\r\n" );
document.write( "Turn it around\r\n" );
document.write( "\"0%3C=7%2Bx%3C=9\"\r\n" );
document.write( "Add -7 to all three sides:\r\n" );
document.write( "\"-7%3C=x%3C=2\"\r\n" );
document.write( "That's the domain of the inverse function. So the inverse is\r\n" );
document.write( "\"y+=+3+-+sqrt%287%2Bx%29+\"\r\n" );
document.write( "although we write f-1(x) for y:\r\n" );
document.write( "\r\n" );
document.write( "\"f%5E%28-1%29\"\"%28x%29\"\"%22%22=%22%22\"\"3+-+sqrt%287%2Bx%29\"\"for\"\"-7%3C=x%3C=2\"  <---ANSWER\r\n" );
document.write( "\r\n" );
document.write( "Here is the graph of the inverse on the same set of axes (in blue):\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "And you see that the inverse is the reflection of the original funcetion\r\n" );
document.write( "across the identity line, whose equation is y = x  (where x and y are\r\n" );
document.write( "identically equal and the identity line is the line that bisects the 1st and 3rd\r\n" );
document.write( "quadrants (in green, dashed since it's not part of either graph).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );