2025 AMC 12A Problems/Problem 25
Polynomials
and
each have degree
and leading coefficient
, and their roots are all elements of
. The function
has the property that there exist real numbers
such that the set of all real numbers
such that
consists of the closed interval
together with the open interval
. How many functions
are possible?
Solution 1
We are told that
, where
and
are monic cubics whose roots are elements of
. The function satisfies
for some real numbers
.
From the given information,
changes sign only at
.
Thus:
-
are zeros of
.
-
are poles (values where the denominator is zero).
The sign pattern of
is:
\[(+)\ a\ (−)\ b\ (+)\ c\ (−)\ d\ (+),\] (Error compiling LaTeX. Unknown error_msg)
so
is positive outside
and nonpositive on those intervals.
Step 1. General Form
Because
and
are monic cubics, we can write
for some
.
This keeps both numerator and denominator degree 3.
To prevent any additional sign changes, the extra factor
must remain positive, so
must either equal
or
, or lie outside
.
Step 2. Counting Possible 
We must select four distinct values
from
:
possible sets:
For each case, we count valid
values.
- Case 1:*
![$[1,2]\cup(3,4)$](//latex-new.aopstest.com/c/d/1/cd1fd85db1157a27ef3aa4184d8d421ad6206778.png)
3 functions.
- Case 2:*
![$[1,2]\cup(3,5)$](//latex-new.aopstest.com/c/c/9/cc9e0b4dcb6f68b5ee589b76d0af05d0b8f6cedd.png)
2 functions.
- Case 3:*
![$[1,2]\cup(4,5)$](//latex-new.aopstest.com/1/b/a/1ba35087a58df324622074c4d942fb35502adc56.png)
3 functions.
- Case 4:*
![$[1,3]\cup(4,5)$](//latex-new.aopstest.com/5/9/d/59dfdb005350637a5e72542dc1507abec272dc54.png)
2 functions.
- Case 5:*
![$[2,3]\cup(4,5)$](//latex-new.aopstest.com/5/9/a/59adf58ab80ba15a2e8d9d51aa3ec5cee5ea29a3.png)
3 functions.
Adding up all cases:
Therefore, there are
possible functions
, which corresponds to
.
- Victor Zhang