Difference between revisions of "1983 AIME Problems/Problem 2"

Line 9: Line 9:
 
Adding these together, we find that the sum is equal to <math>30-x</math>, of which the minimum value is attained when <math>x=15</math>.
 
Adding these together, we find that the sum is equal to <math>30-x</math>, of which the minimum value is attained when <math>x=15</math>.
  
The answer is thus <math>015</math>.
+
The answer is thus <math>15</math>.
  
 
----
 
----

Revision as of 23:49, 23 July 2006

Problem

Let $f(x)=|x-p|+|x-15|+|x-p-15|$, where $p \leq x \leq 15$. Determine the minimum value taken by $f(x)$ by $x$ in the interval $0 < p<15$.

Solution

It is best to get rid of the absolute value first.

Under the given circumstances, we notice that $|x-p|=x-p$, $|x-15|=15-x$, and $|x-p-15|=15+p-x$.

Adding these together, we find that the sum is equal to $30-x$, of which the minimum value is attained when $x=15$.

The answer is thus $15$.