AMC 10 Step by Step

2023 AMC 10B Problem 12

P11-15~3 minPrint

When the roots of the polynomial

P(x)=(x−1)1(x−2)2(x−3)3⋅⋅⋅(x−10)10P(x) = (x-1)^1 (x-2)^2 (x-3)^3 \cdot \cdot \cdot (x-10)^{10}

are removed from the number line, what remains is the union of 1111 disjoint open intervals. On how many of these intervals is P(x)P(x) positive?

Log in to save your progress.
Show solution without answering

Key insight

To the right of 10 every factor is positive. Moving left, P changes sign only when you pass a root with an odd power: 9, 7, 5, 3, 1.

Solution

The roots are 1,2,…,101, 2, \ldots, 10, and they cut the number line into 1111 pieces. Between two roots the sign of PP cannot change, so we just need the sign on each piece. Start where the sign is obvious and walk left.

1. Far right. For x>10x > 10, for example x=11x = 11, every factor x−kx - k is positive, so P(x)P(x) is positive.
2. What happens when we pass a root. Passing x=kx = k changes the sign of only one factor, (x−k)(x - k), from positive to negative. That factor appears kk times in PP.
- If kk is odd, an odd number of signs flip, so the sign of PP flips.
- If kk is even, an even number of signs flip, and they cancel out, so the sign of PP stays the same.

(For example, (−1)3=−1(-1)^3 = -1 but (−1)2=+1(-1)^2 = +1.)
3. Walk left from ++.

interval(9,10)(9,10)(8,9)(8,9)(7,8)(7,8)(6,7)(6,7)(5,6)(5,6)(4,5)(4,5)(3,4)(3,4)(2,3)(2,3)(1,2)(1,2)left of 11
root just passed10987654321
flip?noyesnoyesnoyesnoyesnoyes
sign++−-−-++++−-−-++++−-
  1. Count the ++ signs. The piece to the right of 1010 is positive, and the table has 55 more: (9,10)(9,10), (6,7)(6,7), (5,6)(5,6), (2,3)(2,3), (1,2)(1,2). That is 66 intervals.

The answer is (C) 6\boxed{\textbf{(C)}\ 6}.

Why this works

A polynomial made of factors like (x−k)(x - k) can only change sign at a root, and it changes sign there only when that factor appears an odd number of times. Starting on the far right, where every factor is positive, and walking left with the rule "odd power flips, even power does not" gives the whole sign chart without plugging in any numbers.

Alternative approach

Group the roots in pairs from the right: 1010 and 99, 88 and 77, and so on. Passing an even root changes nothing, so the two pieces on either side of an even root always have the same sign, and only the odd roots switch between blocks. From the right, the blocks are: right of 1010 together with (9,10)(9,10) positive; (7,8)(7,8) and (8,9)(8,9) negative; (5,6)(5,6) and (6,7)(6,7) positive; (3,4)(3,4) and (4,5)(4,5) negative; (1,2)(1,2) and (2,3)(2,3) positive; left of 11 negative. Three positive blocks of two pieces each make 66.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

For x>10x > 10 every factor x−kx - k is positive, so P(x)>0P(x) > 0 on (10,∞)(10, \infty).

Move left across the roots one at a time. Crossing x=kx = k changes the sign of the single factor (x−k)(x - k), which appears kk times, so the sign of PP flips exactly when kk is odd and stays the same when kk is even.

Starting from ++ on (10,∞)(10,\infty):

interval(9,10)(9,10)(8,9)(8,9)(7,8)(7,8)(6,7)(6,7)(5,6)(5,6)(4,5)(4,5)(3,4)(3,4)(2,3)(2,3)(1,2)(1,2)(−∞,1)(-\infty,1)
root crossed10987654321
sign++−-−-++++−-−-++++−-

The positive intervals are (10,∞)(10,\infty), (9,10)(9,10), (6,7)(6,7), (5,6)(5,6), (2,3)(2,3), (1,2)(1,2): six in all.

The answer is (C) 6\boxed{\textbf{(C)}\ 6}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.