document.write( "Question 1200631: Function h is defined by h : x —> x^2 + 4x for x ≥ k and it is given that h has an inverse.
\n" ); document.write( "State the smallest possible value of k.
\n" ); document.write( "Find an expression for h^-1(x).
\n" ); document.write( "

Algebra.Com's Answer #834844 by Edwin McCravy(20062)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Even though the graph of h : x —> x^2 + 4x is this parabola:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "since it has a inverse, it must pass the horizontal line test.  But as you see\r\n" );
document.write( "in the graph below, the green horizontal lines cuts the graph in two places, so\r\n" );
document.write( "the function as graphed does not have an inverse. It is not one-to-one.\r\n" );
document.write( "\r\n" );
document.write( "  \r\n" );
document.write( "\r\n" );
document.write( "This is where \"x+%3E=+k\" comes in. We must chop off enough of the graph, so\r\n" );
document.write( "that what's left will pass the horizontal line test. We will chop it off at\r\n" );
document.write( "the smallest value of x so that no points on the graph will be directly to the\r\n" );
document.write( "left of any other part of the graph.  So obviously we chop it off at the very\r\n" );
document.write( "bottom point, which is the vertex of the parabola. \r\n" );
document.write( "\r\n" );
document.write( "To find the vertex of a parabola we use the formula for the x-coordinate of the\r\n" );
document.write( "vertex, which is \"-b%2F%282a%29\". In the equation \"h%28x%29=x%5E2%2B4x\" \"a\" is the coefficient of \r\n" );
document.write( "x2, which is 1. The \"b\" is the coefficient of x, which is 4.\r\n" );
document.write( "\r\n" );
document.write( "\"-b%2F%282a%29\"\"%22%22=%22%22\"\"-%284%29%2F%282%281%29%29\"\"%22%22=%22%22\"\"-2\". Therefore k=-2.\r\n" );
document.write( "\r\n" );
document.write( "So the x-coordinate of the vertex is -2, when we substitute -2 for x in\r\n" );
document.write( "\"x%5E2%2B4x\" we get the y-coordinate of the vertex \"%28-2%29%5E2%2B4%28-2%29\"\"%22%22=%22%22\"\"4-8=-4\". \r\n" );
document.write( "So the vertex is the point (-2,-4). So we chop the parabola where x=k=2, \r\n" );
document.write( "right at the vertex, \r\n" );
document.write( "so we will only leave the right half of the parabola, like this:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( " \r\n" );
document.write( "\"x%3E=-2\". We only use the part at or right of x=-2\r\n" );
document.write( "\r\n" );
document.write( "To find the inverse of h(x) = x2 + 4x  for x > -2\r\n" );
document.write( "\r\n" );
document.write( "1. We replace h(x) by y,\r\n" );
document.write( "\r\n" );
document.write( "\"y+=+x%5E2%2B4x\", \"x%3E=-2\"\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%2B4y\", \"y%3E=-2\"\r\n" );
document.write( "\r\n" );
document.write( "We solve for y:\r\n" );
document.write( "\r\n" );
document.write( "\"-y%5E2-4y%2Bx=0\", \"y%3E=-2\"\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%2B4y-x=0\", \"y%3E=-2\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Use the quadratic formula:\r\n" );
document.write( "\r\n" );
document.write( "\"y+=+%28-%284%29+%2B-+sqrt%28%284%29%5E2-4%2A1%2A%28-x%29+%29%29%2F%282%2A1%29+\" \r\n" );
document.write( "\"y+=+%28-4+%2B-+sqrt%2816%2B4x%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28-4+%2B-+sqrt%284%284%2Bx%29%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28-4+%2B-+2sqrt%284%2Bx%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%282%28-2+%2B-+sqrt%284%2Bx%29%29%29%2F2+\"\r\n" );
document.write( "\"y+=+%28cross%282%29%28-2+%2B-+sqrt%284%2Bx%29%29%29%2Fcross%282%29+\"\r\n" );
document.write( "\"y+=+-2+%2B-+sqrt%284%2Bx%29+\"\r\n" );
document.write( "\r\n" );
document.write( "Now we work out the domain of the inverse \"y%3E=-2\"\r\n" );
document.write( "Replace y by what y equals:\r\n" );
document.write( "\"-2+%2B-+sqrt%284%2Bx%29%3E=-2\"\r\n" );
document.write( "Add 2 to both sides\r\n" );
document.write( "\"%22%22+%2B-+sqrt%284%2Bx%29%3E=0\"\r\n" );
document.write( "Since it is non-negative we use the positive sign\r\n" );
document.write( "for the square root. \r\n" );
document.write( "\"sqrt%284%2Bx%29%3E=0\"\r\n" );
document.write( "That tells us that for the inverse we also use the \r\n" );
document.write( "positive sign for the same square root: \r\n" );
document.write( "\"y+=+-2+%2B+sqrt%284%2Bx%29+\"\r\n" );
document.write( "Going back to the inequality, \r\n" );
document.write( "\"sqrt%284%2Bx%29%3E=0\"\r\n" );
document.write( "we square both sides. \r\n" );
document.write( "\"%28sqrt%284%2Bx%29%29%5E2%3E=%280%29%5E2\"\r\n" );
document.write( "\"4%2Bx%3E=0\"\r\n" );
document.write( "\"x%3E=-4\"\r\n" );
document.write( "That's the domain of the inverse function. So the inverse is\r\n" );
document.write( "\"y+=+-2+%2B+sqrt%284%2Bx%29+\"\r\n" );
document.write( "although we write h-1(x) for y:\r\n" );
document.write( "\r\n" );
document.write( "\"h%5E%28-1%29\"\"%28x%29\"\"%22%22=%22%22\"\"-2+%2B+sqrt%284%2Bx%29\"\"for\"\"x%3E=-4\"  <---ANSWER\r\n" );
document.write( "\r\n" );
document.write( "If you want to use the same kind of notation your teacher uses,\r\n" );
document.write( "\r\n" );
document.write( "\"h\"\"%22%3A%22\"\"%22--%3E%22\"\"x%5E2%2B4x\"\"for\"\"x%3E=-2\"  <---ORIGINAL FUNCTION with k = -2\r\n" );
document.write( "\r\n" );
document.write( "\"h%5E%28-1%29\"\"%22%3A%22\"\"%22--%3E%22\"\"-2%2Bsqrt%284%2Bx%29\"\"for\"\"x%3E=-4\"  <---INVERSE FUNCTION\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 function\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( "Edwin
\n" ); document.write( "
\n" );