We are given the function:
\[ f(x) = |x - a| + |x - 100| + |x - (a + 50)| \] and asked to find the value of \( a \) that maximizes \( f(x) \).
We analyze three cases based on the value of \( x \) relative to \( a \) and \( a + 50 \):
We now compare the maximum values from each case: - In Case 1, the maximum value is \( 2a + 150 \). - In Case 2, the function reaches a maximum at \( x = a \). - In Case 3, the maximum value occurs at \( x = 100 \).
To maximize \( f(x) \), we need to maximize the expression \( 2a + 150 \), which occurs when \( a = 100 \).
The maximum value of \( f(x) \) is 100, which occurs when \( a = 100 \).
The correct answer is \( \boxed{100} \).
For any natural number $k$, let $a_k = 3^k$. The smallest natural number $m$ for which \[ (a_1)^1 \times (a_2)^2 \times \dots \times (a_{20})^{20} \;<\; a_{21} \times a_{22} \times \dots \times a_{20+m} \] is: