JEE Main 2022 Mathematics question — Functional equations
For p,q∈R, consider the real valued function f(x)=(x−p)2−q, x∈R and q>0. Let a1,a2,a3 and a4 be in an arithmetic progression with mean p and positive common difference. If ∣f(ai)∣=500 for all i=1,2,3,4, then the absolute difference between the roots of f(x)=0 is
SOLUTION
We have f(x)=(x−p)2−q, q>0, and a1,a2,a3,a4 in AP with mean p and positive common difference d.
Since the four terms are in AP with mean p, we have 4a1+a2+a3+a4=p.
We may therefore set a1=p−23d, a2=p−2d, a3=p+2d, and a4=p+23d.
Substituting into f gives f(a1)=(23d)2−q=49d2−q, f(a2)=(2d)2−q=4d2−q, f(a3)=(2d)2−q=4d2−q, and f(a4)=(23d)2−q=49d2−q.
Since each of these values has absolute value 500, we obtain 49d2−q=500 and 4d2−q=500.
Because q>0 and the two expressions must both have absolute value 500 with different inputs, they must have opposite signs (otherwise 49d2−q=4d2−q would force d=0, contradicting the positive common difference).
Thus we consider the case 49d2−q=500 and 4d2−q=−500.
Subtracting the second from the first yields 49d2−4d2=1000, which simplifies to 2d2=1000 and therefore d2=500.
Substituting into the second equation gives q=4d2+500=125+500=625.
Hence (x−p)2=q=625, so x−p=±25 and the two roots are p+25 and p−25.
The absolute difference between the roots is 50, and therefore the answer is 50.
Tagged Functional equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.