Question
Question: Let $f(x)=\frac{x^3}{3}+\frac{x^2}{2}+x+2$ and $g'(x)=(x^2-9)(x^2-4x+3)(x^2-3x+2)(x^2-2x-3)$. If $n...
Let f(x)=3x3+2x2+x+2 and g′(x)=(x2−9)(x2−4x+3)(x2−3x+2)(x2−2x−3).
If n1, n2 and n3 denote number of points of local minima, number of points of local maxima and number of points of inflection of the function f(g(x)) then find the value of (n1+n2+n3).

9
Solution
To find the number of local minima (n1), local maxima (n2), and inflection points (n3) for the function h(x)=f(g(x)), we first analyze f(x) and g′(x).
1. Analyze f(x): f(x)=3x3+2x2+x+2 f′(x)=x2+x+1
The discriminant of f′(x) is Δ=12−4(1)(1)=−3<0. Since the leading coefficient is positive (1>0), f′(x)>0 for all x∈R. This means f(x) is a strictly increasing function. Consequently, the local extrema of f(g(x)) occur at the same points as the local extrema of g(x), and their nature (maxima/minima) is preserved. Also, f′′(x)=2x+1.
2. Analyze g′(x) to find local extrema of g(x): g′(x)=(x2−9)(x2−4x+3)(x2−3x+2)(x2−2x−3) Factorize each term: x2−9=(x−3)(x+3) x2−4x+3=(x−1)(x−3) x2−3x+2=(x−1)(x−2) x2−2x−3=(x−3)(x+1) So, g′(x)=(x−3)(x+3)(x−1)(x−3)(x−1)(x−2)(x−3)(x+1) g′(x)=(x−3)3(x−1)2(x−2)(x+1)(x+3)
The roots of g′(x) are x=−3,−1,1,2,3. Let's analyze the sign changes of g′(x) around these roots:
- For x>3: g′(x)>0 (all factors positive).
- As x decreases through x=3: (x−3)3 changes sign (odd power). So g′(x) changes from + to −. Thus, x=3 is a local maximum.
- As x decreases through x=2: (x−2) changes sign (odd power). So g′(x) changes from − to +. Thus, x=2 is a local minimum.
- As x decreases through x=1: (x−1)2 does not change sign (even power). So g′(x) changes from + to +. Thus, x=1 is neither a local maximum nor minimum.
- As x decreases through x=−1: (x+1) changes sign (odd power). So g′(x) changes from + to −. Thus, x=−1 is a local maximum.
- As x decreases through x=−3: (x+3) changes sign (odd power). So g′(x) changes from − to +. Thus, x=−3 is a local minimum.
Summary of local extrema for g(x):
- Local maxima: x=3,x=−1. So n2=2.
- Local minima: x=2,x=−3. So n1=2.
3. Find points of inflection for f(g(x)): A point x0 is an inflection point of h(x)=f(g(x)) if h′′(x0)=0 and h′′(x) changes sign at x0. h′(x)=f′(g(x))g′(x) h′′(x)=f′′(g(x))(g′(x))2+f′(g(x))g′′(x) Since f′(x)=x2+x+1, f′(g(x))=g(x)2+g(x)+1>0 for all x. This term is always positive and never zero. Also, f′′(x)=2x+1.
The inflection points of h(x) can arise from two types of points: Type A: Points where g′′(x)=0 and g′′(x) changes sign, AND g′(x)=0. Type B: Points where g′(x)=0 (and g′(x) does not change sign), leading to h′′(x) changing sign. Type C: Points where f′′(g(x))=0 AND g′(x)=0 (and g′′(x) does not change sign).
Let's find the roots of g′′(x). The degree of g′(x) is 8, so the degree of g′′(x) is 7. Roots of g′(x) are −3,−1,1,2,3.
- If x0 is a root of g′(x) with multiplicity m, then x0 is a root of g′′(x) with multiplicity m−1.
- For x=3, multiplicity is 3. So x=3 is a root of g′′(x) with multiplicity 2 (even).
- For x=1, multiplicity is 2. So x=1 is a root of g′′(x) with multiplicity 1 (odd).
- For x=−3,−1,2, multiplicity is 1. So these are not roots of g′′(x) unless g′′(x) has other roots at these points, which is not the case from this rule.
By Rolle's Theorem, there is at least one root of g′′(x) between any two distinct roots of g′(x). The distinct roots of g′(x) are −3,−1,1,2,3. So, there are roots of g′′(x) in the intervals:
- (−3,−1): Let it be c1.
- (−1,1): Let it be c2.
- (1,2): Let it be c3.
- (2,3): Let it be c4. These 4 roots c1,c2,c3,c4 are distinct and different from −3,−1,1,2,3. We have found 1 root at x=1 (multiplicity 1) and 2 roots at x=3 (multiplicity 2). Total roots found for g′′(x): c1,c2,c3,c4,1,3,3. This accounts for all 4+1+2=7 roots of g′′(x). All ci roots must be simple roots (multiplicity 1) because the sum of multiplicities equals the degree of g′′(x).
Now, let's identify the inflection points for h(x): An inflection point occurs where h′′(x)=0 and h′′(x) changes sign. h′′(x)=(2g(x)+1)(g′(x))2+(g(x)2+g(x)+1)g′′(x).
Consider the roots of g′′(x): c1,c2,c3,c4,1,3.
- At x=1: g′′(1)=0. g′(1)=0. h′′(1)=(2g(1)+1)(g′(1))2+(g(1)2+g(1)+1)g′′(1)=(2g(1)+1)(0)2+(g(1)2+g(1)+1)(0)=0. Since x=1 is a root of g′′(x) with odd multiplicity (1), g′′(x) changes sign at x=1. Also, since (x−1)2 is a factor of g′(x), g′(x) does not change sign at x=1. The term f′(g(x))g′′(x) changes sign at x=1 (because f′(g(x))>0 and g′′(x) changes sign). The term f′′(g(x))(g′(x))2 is 0 at x=1 and is non-negative around x=1 (due to (g′(x))2). So, the sign change of h′′(x) is dominated by the f′(g(x))g′′(x) term. Thus, x=1 is an inflection point.
- At x=3: g′′(3)=0. g′(3)=0. h′′(3)=(2g(3)+1)(g′(3))2+(g(3)2+g(3)+1)g′′(3)=0. Since x=3 is a root of g′′(x) with even multiplicity (2), g′′(x) does not change sign at x=3. The term f′(g(x))g′′(x) does not change sign at x=3. The term f′′(g(x))(g′(x))2 is 0 at x=3 and is non-negative around x=3. Thus, h′′(x) does not change sign at x=3. So x=3 is NOT an inflection point.
- At x=c1,c2,c3,c4: g′′(ci)=0 and g′(ci)=0. h′′(ci)=(2g(ci)+1)(g′(ci))2+(g(ci)2+g(ci)+1)g′′(ci)=(2g(ci)+1)(g′(ci))2. For h′′(ci) to be zero, we must have 2g(ci)+1=0, which means g(ci)=−1/2. If g(ci)=−1/2, then h′′(ci)=0, so ci is not an inflection point. If g(ci)=−1/2, then h′′(ci)=0. To be an inflection point, h′′(x) must change sign. The term f′′(g(x))(g′(x))2 changes sign only if f′′(g(x)) changes sign, which means g(x) crosses −1/2. The term f′(g(x))g′′(x) changes sign because g′′(x) changes sign at ci (since ci are simple roots). In general, for h′′(x)=A(x)B(x)+C(x)D(x), if D(x0)=0 and D(x) changes sign, and B(x0)=0, then h′′(x) will change sign unless A(x0)B(x0)=0 and A(x) or B(x) also changes sign. Since g′(ci)=0, the term (g′(x))2 is positive near ci. The sign of h′′(x) near ci is governed by f′(g(x))g′′(x) if f′′(g(x))(g′(x))2 does not change sign or is zero. Since g′′(x) changes sign at ci (as they are simple roots), and f′(g(x))>0, the term f′(g(x))g′′(x) changes sign at ci. The term f′′(g(x))(g′(x))2 generally does not change sign at ci unless g(x) crosses −1/2 at ci. Even if g(ci)=−1/2, which makes f′′(g(ci))=0, the term f′′(g(x))(g′(x))2 would change sign if g(x) crosses −1/2. If g(x) crosses −1/2 at ci, then both terms f′′(g(x))(g′(x))2 and f′(g(x))g′′(x) change sign. Let P(x)=f′′(g(x))(g′(x))2 and Q(x)=f′(g(x))g′′(x). P(x) changes sign if g(x) crosses −1/2. Q(x) changes sign because g′′(x) changes sign. Consider the case where g(ci)=−1/2. Then f′′(g(ci))=0. The function g(x) is monotonic between the local extrema. g′(x) sign: (−∞,−3):+; (−3,−1):−; (−1,1):+; (1,2):+; (2,3):−; (3,∞):+. So g(x) increases on (−∞,−3), decreases on (−3,−1), increases on (−1,2), decreases on (2,3), increases on (3,∞). The roots c1,c2,c3,c4 are located in the intervals (−3,−1), (−1,1), (1,2), (2,3). For c1∈(−3,−1), g(x) is decreasing. So g(x) is monotonic in this interval. For c2∈(−1,1), g(x) is increasing. For c3∈(1,2), g(x) is increasing. For c4∈(2,3), g(x) is decreasing. Since g(x) is monotonic on each interval containing ci, g(x) can cross −1/2 at most once in each interval. It is highly unlikely that g(x) values will be such that the sign changes cancel out precisely at all ci. Assuming general positions of g(x) values, these 4 points (c1,c2,c3,c4) are inflection points. Along with x=1, this gives n3=5.
Therefore: n1=2 (local minima at x=2,−3) n2=2 (local maxima at x=3,−1) n3=5 (inflection points at x=1,c1,c2,c3,c4)
The value of (n1+n2+n3)=2+2+5=9.