Solveeit Logo

Question

Question: Let $f: R \rightarrow (-\infty, 4]$ be a function defined as $f(x) = -x^2 + 8px + 8 + 2p - 16p^2$ be...

Let f:R(,4]f: R \rightarrow (-\infty, 4] be a function defined as f(x)=x2+8px+8+2p16p2f(x) = -x^2 + 8px + 8 + 2p - 16p^2 be a surjective function on RR, then the value of pp is equal to:

Answer

-2

Explanation

Solution

The function is a downward-opening parabola, so its range is (,maximum value](-\infty, \text{maximum value}]. For the function to be surjective onto (,4](-\infty, 4], its maximum value must be 4. The maximum value of f(x)=x2+8px+8+2p16p2f(x) = -x^2 + 8px + 8 + 2p - 16p^2 occurs at x=b/(2a)=8p/(2(1))=4px = -b/(2a) = -8p/(2(-1)) = 4p. Substituting x=4px=4p into f(x)f(x) gives the maximum value: f(4p)=(4p)2+8p(4p)+8+2p16p2=16p2+32p2+8+2p16p2=2p+8f(4p) = -(4p)^2 + 8p(4p) + 8 + 2p - 16p^2 = -16p^2 + 32p^2 + 8 + 2p - 16p^2 = 2p + 8. Equating this to 4: 2p+8=4    2p=4    p=22p + 8 = 4 \implies 2p = -4 \implies p = -2.