Question
Question: If $f: [2, \infty) \to [8, \infty)$ is a surjective function defined by $f(x) = x^2 - (p-2)x + 3p - ...
If f:[2,∞)→[8,∞) is a surjective function defined by f(x)=x2−(p−2)x+3p−2, p∈R then sum of values of p is m+n, where m,n∈N. Find the value of mn.

2
3
4
5
2
Solution
The function f(x)=x2−(p−2)x+3p−2 is a quadratic with domain [2,∞) and codomain [8,∞). For surjectivity, the minimum value of f(x) on [2,∞) must be 8. The vertex of the parabola is at xv=2p−2.
Case 1: Vertex within the domain (xv≥2⟹p≥6). The minimum value is f(xv)=−4(p−2)2+3p−2. Setting f(xv)=8: −4(p−2)2+3p−2=8⟹p2−16p+44=0. The solutions are p=216±256−176=216±80=216±45=8±25. Since p≥6, we check the values: 8+25>6 (valid). 8−25≈8−4.47=3.53<6 (invalid). So, p=8+25 is a valid value.
Case 2: Vertex to the left of the domain (xv<2⟹p<6). The function is increasing on [2,∞). The minimum value is f(2). f(2)=(2)2−(p−2)(2)+3p−2=4−2p+4+3p−2=p+6. Setting f(2)=8: p+6=8⟹p=2. Since p<6, p=2 is a valid value.
The possible values of p are 8+25 and 2. The sum of these values is (8+25)+2=10+25. To match the form m+n, we rewrite 25=4×5=20. So, the sum is 10+20. Comparing with m+n, we get m=10 and n=20. Both are natural numbers. The value to find is mn=1020=2.