Art of Problem Solving

2025 AMC 12A Problems/Problem 25: Difference between revisions

Grogg007 (talk | contribs)
Grogg007 (talk | contribs)
Line 6: Line 6:


Case 1:  
Case 1:  
<cmath>f(x) = \frac{(x-a)(x-b)(x-f)}{(x-c)(x-d)(x-f)}</cmath> for some other value <imath>f.</imath>  
<cmath>f(x) = \frac{(x-a)(x-b)(x-f)}{(x-c)(x-d)(x-f)}</cmath> for some other value <imath>f</imath> not equal to <imath>a, b, c,</imath> or <imath>d.</imath>  


Note that <imath>f</imath> cannot be between <imath>a</imath> and <imath>b</imath> or between <imath>c</imath> and <imath>d</imath> because that would create a hole in that interval. So the only possibilities are:  
Note that <imath>f</imath> cannot be between <imath>a</imath> and <imath>b</imath> or between <imath>c</imath> and <imath>d</imath> because that would create a hole in that interval. So the only possibilities are:  

Revision as of 01:32, 8 November 2025

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

Solution (credit given to Sohil Rathi's video solution, pi_is_3.14)

First, consider the problem if it were talking about two second degree polynomials. We can see that the function \[f(x) = \frac{(x-a)(x-b)}{(x-c)(x-d)}\] by itself satisfies the condition of dropping below the x axis over $[a,b] \cup (c,d).$ Now, we need to add one extra $(x-n)$ term each to the numerator and denominator.

Case 1: \[f(x) = \frac{(x-a)(x-b)(x-f)}{(x-c)(x-d)(x-f)}\] for some other value $f$ not equal to $a, b, c,$ or $d.$

Note that $f$ cannot be between $a$ and $b$ or between $c$ and $d$ because that would create a hole in that interval. So the only possibilities are:

  • $a = 1, b = 2, c = 3, d = 4, f = 5$
  • $a = 1, b = 2, c = 4, d = 5, f = 3$
  • $a = 2, b = 3, c = 4, d = 5, f = 1$

This gives us $3$ valid functions so far.

Case 2: \[f(x) = \frac{(x-a)(x-b)(x-f)}{(x-c)(x-d)(x-f)}\] where $f$ is one of $c$ or $d$

If $f$ equals $c$ or $d$ the resulting function is essentially equivalent to $f(x) = \frac{(x-a)(x-b)}{(x-c)(x-d}$ because a hole already exists. It doesn't matter whether we choose $f$ to equal $c$ or $d$, the function will still be the same. There are $\binom{5}{4} = 5$ ways to select the values for $a, b, c, and d$ and $1$ way to choose which value $f$ equals, giving $5 \cdot 1 = 5$ valid functions for this case.

The correct answer is $5 + 3 = \boxed{8}.$

~grogg007, original solution by OmegaLearn/ Sohil Rathi

Video Solution 1 by OmegaLearn

https://youtu.be/SPbTyq3Dz_0

See Also

2025 AMC 12A (ProblemsAnswer KeyResources)
Preceded by
Problem 24
Followed by
Last Problem
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions

These problems are copyrighted © by the Mathematical Association of America.