DR.WANG Mathematics中文

2021 AIME I · Question 8

Algebra · absolute value · function · casework · problem-solving

Problem outline

For how many integer values of cc does the equation ∣∣20∣x∣−x2∣−c∣=21\bigl|\lvert20\lvert x\rvert-x^2\rvert-c\bigr|=21 have exactly twelve distinct real roots?

Show answer and methods 1 methods

Answer

057

Method 1 Count intersections with each of two horizontal levels

Put t=∣x∣≥0t=|x|\ge0 and H(t)=∣t(20−t)∣H(t)=|t(20-t)|. The outer absolute value gives two distinct levels, H(t)=c−21H(t)=c-21 and H(t)=c+21H(t)=c+21. On 0≤t≤200\le t\le20, H(t)=100−(t−10)2H(t)=100-(t-10)^2 rises to 100100 and falls back to 00. For t>20t>20, H(t)=(t−10)2−100H(t)=(t-10)^2-100 rises strictly from 00 without bound.

A level strictly between 00 and 100100 consequently has three positive preimages tt, each giving two real roots xx. Level 100100 has two positive preimages and four roots. Above 100100 there are two roots. Level zero gives only 0,±200,\pm20, and negative levels give none. Thus six is the largest possible number at any single level.

The two levels cannot share a root, so twelve roots require each to give six. This occurs exactly if 0<c−21<c+21<1000<c-21<c+21<100, equivalently 21<c<7921<c<79. The integers 2222 through 7878 give 78−22+1=5778-22+1=57 choices.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)