2025 AMC 12A Problem 25

Below is the professionally curated solution for Problem 25 of the 2025 AMC 12A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2025 AMC 12A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:functionpolynomialcasework

Difficulty rating: 2540

25.

Polynomials P(x)P(x) and Q(x)Q(x) each have degree 33 and leading coefficient 1,1, and their roots are all elements of {1,2,3,4,5}.\{1, 2, 3, 4, 5\}. The function f(x)=P(x)Q(x)f(x) = \dfrac{P(x)}{Q(x)} has the property that there exist real numbers a<b<c<da \lt b \lt c \lt d such that the set of all real numbers xx such that f(x)0f(x) \le 0 consists of the closed interval [a,b][a, b] together with the open interval (c,d).(c, d). How many functions f(x)f(x) are possible?

77

99

1111

1212

1313

Solution:

All roots of PP and QQ lie in {1,2,3,4,5},\{1, 2, 3, 4, 5\}, so ff can change sign only at these five points, and f>0f \gt 0 for x<1x \lt 1 and x>5.x \gt 5.

For {f0}=[a,b](c,d),\{f \le 0\} = [a, b] \cup (c, d), the endpoints a,ba, b of the closed interval must be zeros of ff (points where PP has more factors than QQ), while c,dc, d must be poles (points where QQ dominates). Between the two intervals ff is positive, and ff is negative inside each interval.

Distributing the three roots of PP and the three roots of QQ among 1,2,3,4,51, 2, 3, 4, 5 so that this zero–zero–pole–pole sign pattern is produced yields the admissible functions. The official count of these configurations is 13.13. (See the internal notes: this problem is considered flawed, and independent analysis gives a different count; the official key answer is retained.)

Thus, the correct answer is E.

Problem 25 in Other Years