Solveeit Logo

Question

Question: If $f(x)=\prod_{i=1}^{3}(x-a_i)+\sum_{i=1}^{3}a_i-3x$ where $a_i < a_{i+1}$ for i = 1, 2, then f(x) ...

If f(x)=i=13(xai)+i=13ai3xf(x)=\prod_{i=1}^{3}(x-a_i)+\sum_{i=1}^{3}a_i-3x where ai<ai+1a_i < a_{i+1} for i = 1, 2, then f(x) = 0 has :

A

only one distinct real root

B

exactly two distinct real roots

C

exactly 3 distinct real roots

D

3 equal real roots

Answer

exactly 3 distinct real roots

Explanation

Solution

Let the given function be f(x)=i=13(xai)+i=13ai3xf(x)=\prod_{i=1}^{3}(x-a_i)+\sum_{i=1}^{3}a_i-3x, where a1<a2<a3a_1 < a_2 < a_3. This can be written as f(x)=(xa1)(xa2)(xa3)+(a1+a2+a3)3xf(x) = (x-a_1)(x-a_2)(x-a_3) + (a_1+a_2+a_3) - 3x.

f(x)f(x) is a cubic polynomial in xx. As xx \to \infty, f(x)f(x) \to \infty, and as xx \to -\infty, f(x)f(x) \to -\infty. A cubic polynomial with real coefficients must have at least one real root.

Let's evaluate the function at the points a1,a2,a3a_1, a_2, a_3:

f(a1)=(a1a1)(a1a2)(a1a3)+(a1+a2+a3)3a1=0+a1+a2+a33a1=a2+a32a1f(a_1) = (a_1-a_1)(a_1-a_2)(a_1-a_3) + (a_1+a_2+a_3) - 3a_1 = 0 + a_1+a_2+a_3 - 3a_1 = a_2+a_3-2a_1. Since a1<a2a_1 < a_2 and a1<a3a_1 < a_3, we have a2a1>0a_2-a_1 > 0 and a3a1>0a_3-a_1 > 0. f(a1)=(a2a1)+(a3a1)>0f(a_1) = (a_2-a_1) + (a_3-a_1) > 0.

f(a2)=(a2a1)(a2a2)(a2a3)+(a1+a2+a3)3a2=0+a1+a2+a33a2=a1+a32a2f(a_2) = (a_2-a_1)(a_2-a_2)(a_2-a_3) + (a_1+a_2+a_3) - 3a_2 = 0 + a_1+a_2+a_3 - 3a_2 = a_1+a_3-2a_2. f(a2)=(a1a2)+(a3a2)f(a_2) = (a_1-a_2) + (a_3-a_2). Since a1<a2<a3a_1 < a_2 < a_3, a1a2<0a_1-a_2 < 0 and a3a2>0a_3-a_2 > 0. The sign of f(a2)f(a_2) depends on the relative magnitudes of a1a2|a_1-a_2| and a3a2|a_3-a_2|. f(a2)f(a_2) can be positive, negative, or zero.

f(a3)=(a3a1)(a3a2)(a3a3)+(a1+a2+a3)3a3=0+a1+a2+a33a3=a1+a22a3f(a_3) = (a_3-a_1)(a_3-a_2)(a_3-a_3) + (a_1+a_2+a_3) - 3a_3 = 0 + a_1+a_2+a_3 - 3a_3 = a_1+a_2-2a_3. Since a1<a3a_1 < a_3 and a2<a3a_2 < a_3, we have a1a3<0a_1-a_3 < 0 and a2a3<0a_2-a_3 < 0. f(a3)=(a1a3)+(a2a3)<0f(a_3) = (a_1-a_3) + (a_2-a_3) < 0.

We have f(a1)>0f(a_1) > 0 and f(a3)<0f(a_3) < 0. Since f(x)f(x) is continuous and a1<a3a_1 < a_3, by the Intermediate Value Theorem, there must be at least one real root in the interval (a1,a3)(a_1, a_3).

To determine the exact number of distinct real roots, let's consider the derivative of f(x)f(x). f(x)=ddx[(xa1)(xa2)(xa3)]+ddx[a1+a2+a33x]f'(x) = \frac{d}{dx}[(x-a_1)(x-a_2)(x-a_3)] + \frac{d}{dx}[a_1+a_2+a_3-3x] f(x)=(xa2)(xa3)+(xa1)(xa3)+(xa1)(xa2)3f'(x) = (x-a_2)(x-a_3) + (x-a_1)(x-a_3) + (x-a_1)(x-a_2) - 3. This is a quadratic function of xx.

f(x)=(x2(a2+a3)x+a2a3)+(x2(a1+a3)x+a1a3)+(x2(a1+a2)x+a1a2)3f'(x) = (x^2 - (a_2+a_3)x + a_2a_3) + (x^2 - (a_1+a_3)x + a_1a_3) + (x^2 - (a_1+a_2)x + a_1a_2) - 3 f(x)=3x22(a1+a2+a3)x+(a1a2+a1a3+a2a33)f'(x) = 3x^2 - 2(a_1+a_2+a_3)x + (a_1a_2 + a_1a_3 + a_2a_3 - 3). The discriminant of this quadratic is Δ=(2(a1+a2+a3))24(3)(a1a2+a1a3+a2a33)\Delta' = (-2(a_1+a_2+a_3))^2 - 4(3)(a_1a_2 + a_1a_3 + a_2a_3 - 3) Δ=4(a1+a2+a3)212(a1a2+a1a3+a2a3)+36\Delta' = 4(a_1+a_2+a_3)^2 - 12(a_1a_2 + a_1a_3 + a_2a_3) + 36 Δ=4(a12+a22+a32+2a1a2+2a1a3+2a2a3)12(a1a2+a1a3+a2a3)+36\Delta' = 4(a_1^2+a_2^2+a_3^2 + 2a_1a_2 + 2a_1a_3 + 2a_2a_3) - 12(a_1a_2 + a_1a_3 + a_2a_3) + 36 Δ=4(a12+a22+a32)+8(a1a2+a1a3+a2a3)12(a1a2+a1a3+a2a3)+36\Delta' = 4(a_1^2+a_2^2+a_3^2) + 8(a_1a_2 + a_1a_3 + a_2a_3) - 12(a_1a_2 + a_1a_3 + a_2a_3) + 36 Δ=4(a12+a22+a32)4(a1a2+a1a3+a2a3)+36\Delta' = 4(a_1^2+a_2^2+a_3^2) - 4(a_1a_2 + a_1a_3 + a_2a_3) + 36 Δ=2(2a12+2a22+2a322a1a22a1a32a2a3)+36\Delta' = 2(2a_1^2+2a_2^2+2a_3^2 - 2a_1a_2 - 2a_1a_3 - 2a_2a_3) + 36 Δ=2((a1a2)2+(a1a3)2+(a2a3)2)+36\Delta' = 2((a_1-a_2)^2 + (a_1-a_3)^2 + (a_2-a_3)^2) + 36. Since a1<a2<a3a_1 < a_2 < a_3, the terms (a1a2)2(a_1-a_2)^2, (a1a3)2(a_1-a_3)^2, and (a2a3)2(a_2-a_3)^2 are all positive. Thus, Δ>0\Delta' > 0. This means f(x)=0f'(x) = 0 has two distinct real roots, say r1r_1 and r2r_2, with r1<r2r_1 < r_2. These are the critical points of f(x)f(x).

A cubic function with two distinct real critical points has a local maximum at one critical point and a local minimum at the other. For the equation f(x)=0f(x)=0 to have three distinct real roots, the local maximum must be positive and the local minimum must be negative.

We know f(a1)>0f(a_1) > 0 and f(a3)<0f(a_3) < 0.

Case 1: f(a2)>0f(a_2) > 0. We have signs +++ \quad + \quad -. f(x)f(x) \to -\infty as xx \to -\infty. f(a1)>0f(a_1) > 0. There is a root in (,a1)(-\infty, a_1). f(a1)>0f(a_1) > 0, f(a2)>0f(a_2) > 0. No guaranteed root in (a1,a2)(a_1, a_2). f(a2)>0f(a_2) > 0, f(a3)<0f(a_3) < 0. There is a root in (a2,a3)(a_2, a_3). f(a3)<0f(a_3) < 0. f(x)f(x) \to \infty as xx \to \infty. No guaranteed root in (a3,)(a_3, \infty). However, a cubic polynomial must have 1 or 3 real roots (counting multiplicity). Since we found roots in (,a1)(-\infty, a_1) and (a2,a3)(a_2, a_3), there must be a third real root. This third root must be in (a3,)(a_3, \infty) because f(a3)<0f(a_3) < 0 and f(x)f(x) \to \infty. So in this case, there are three real roots: one in (,a1)(-\infty, a_1), one in (a2,a3)(a_2, a_3), and one in (a3,)(a_3, \infty). Are they distinct? Yes, because they are in disjoint intervals.

Case 2: f(a2)<0f(a_2) < 0. We have signs ++ \quad - \quad -. f(x)f(x) \to -\infty as xx \to -\infty. f(a1)>0f(a_1) > 0. There is a root in (,a1)(-\infty, a_1). f(a1)>0f(a_1) > 0, f(a2)<0f(a_2) < 0. There is a root in (a1,a2)(a_1, a_2). f(a2)<0f(a_2) < 0, f(a3)<0f(a_3) < 0. No guaranteed root in (a2,a3)(a_2, a_3). f(a3)<0f(a_3) < 0. f(x)f(x) \to \infty as xx \to \infty. There is a root in (a3,)(a_3, \infty). So in this case, there are three real roots: one in (,a1)(-\infty, a_1), one in (a1,a2)(a_1, a_2), and one in (a3,)(a_3, \infty). Are they distinct? Yes, because they are in disjoint intervals.

Case 3: f(a2)=0f(a_2) = 0. We have signs +0+ \quad 0 \quad -. a2a_2 is a root. f(x)f(x) \to -\infty as xx \to -\infty. f(a1)>0f(a_1) > 0. There is a root in (,a1)(-\infty, a_1). f(a1)>0f(a_1) > 0, f(a2)=0f(a_2) = 0. a2a_2 is a root. f(a2)=0f(a_2) = 0, f(a3)<0f(a_3) < 0. a2a_2 is a root. f(a3)<0f(a_3) < 0. f(x)f(x) \to \infty as xx \to \infty. There is a root in (a3,)(a_3, \infty). So we have a root in (,a1)(-\infty, a_1), the root a2a_2, and a root in (a3,)(a_3, \infty). These are three distinct real roots.

In all possible cases for the sign of f(a2)f(a_2), we find that there are three distinct real roots.

Therefore, the final answer is exactly 3 distinct real roots.