document.write( "Question 1002043: Find the value/s of k so that the minimum value of f(x) = x^2 + kx + 3 is the same as the maximum value of g(x) = k + 4x - x^2. \n" ); document.write( "
Algebra.Com's Answer #619073 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
your two equations are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + kx + 3 and -x^2 + 4x + k\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you want to find the max value of x^2 + kx + 3 and the min value of -x^2 + 4x + k and then set them equal to each other and then solve for k.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since these are in standard quadratic form, look for x = -b/2a in each.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + kx + 3 gets you:
\n" ); document.write( "a = 1
\n" ); document.write( "b = k
\n" ); document.write( "c = 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -b/2a = -k/2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-x^2 + 4x + k gets you:
\n" ); document.write( "a = -1
\n" ); document.write( "b = 4
\n" ); document.write( "c = k\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -b/2a gets you x = -4/-2 = 2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the min value of y for x^2 + kx + 3 will be at f(-b/2a) = f(-k/2).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the max value of y for -x^2 + 4x + k will be at f(-b/2a) = f(2).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(-k/2) for x^2 + kx + 3 becomes (-k/2)^2 + k(-k/2) + 3.
\n" ); document.write( "simplify this equation to get:
\n" ); document.write( "f(-k/2) = -k^2/4 + 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(2) for -x^2 + 4x + k becomes -(2^2) + 4(2) + k.
\n" ); document.write( "simplify this equation to get:
\n" ); document.write( "f(2) = k + 4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(-k/2) is the min value of x^2 + kx + 3
\n" ); document.write( "f(2) is the max value of -x^2 + 4x + k\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "set them equal to each other and you get:
\n" ); document.write( "f(-k/2) = f(2) which becomes:
\n" ); document.write( "-k^2/4 + 3 = k + 4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "add k^2/4 to both sides of the equation and subtract 3 from both sides of the equation to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "0 = k^2/4 + k + 4 - 3
\n" ); document.write( "simplify to get:
\n" ); document.write( "0 = k^2/4 + k + 1
\n" ); document.write( "multiply both sides of this equation by 4 to get:
\n" ); document.write( "0 = k^2 + 4k + 4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "factor k^2 + 4k + 4 to get (k+2)*(k+2) = 0
\n" ); document.write( "solve for k to get k = -2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the min point of x^2 + kx + 3 and the max point of -x^2 + 4x + k should be the same when k = -2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "replace k with -2 in x^2 + kx + 3 to get x^2 -2x + 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "replace k with -2 in -x^2 + 4x + k to get -x^2 + 4x - 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "min point of x^2 - 2x +3 is at (-b/2a,f(-b/2a))
\n" ); document.write( "-b/2a = 2/2 = 1
\n" ); document.write( "f(-b/2a) = f(1) = 1 - 2 + 3 = 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "max point of -x^2 + 4x - 2 is at (-b/2a,f(-b/2a))
\n" ); document.write( "-b/2a = -4/-2 = 2
\n" ); document.write( "f(2) = -4 + 8 - 2 = 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "min point of x^2 - 2x + 3 is at (1,2)
\n" ); document.write( "max point of -x^2 + 4x - 2 is at (2,2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the y values are the same so the min value and max value are the same.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the graph of both equations is shown below:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );