Difference between revisions of "2010 AMC 12A Problems/Problem 22"
(→Solution 3) |
R00tsofunity (talk | contribs) |
||
(18 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
− | What is the minimum value of <math>\left|x-1\right| + \left|2x-1\right| + \left|3x-1\right| + \cdots + \left|119x - 1 \right|</math>? | + | What is the minimum value of <math>f(x)=\left|x-1\right| + \left|2x-1\right| + \left|3x-1\right| + \cdots + \left|119x - 1 \right|</math>? |
<math>\textbf{(A)}\ 49 \qquad \textbf{(B)}\ 50 \qquad \textbf{(C)}\ 51 \qquad \textbf{(D)}\ 52 \qquad \textbf{(E)}\ 53</math> | <math>\textbf{(A)}\ 49 \qquad \textbf{(B)}\ 50 \qquad \textbf{(C)}\ 51 \qquad \textbf{(D)}\ 52 \qquad \textbf{(E)}\ 53</math> | ||
− | + | == Solution 1 == | |
− | + | If we graph each term separately, we will notice that all of the zeros occur at <math>\frac{1}{m}</math>, where <math>m</math> is any integer from <math>1</math> to <math>119</math>, inclusive: <math>|mx-1|=0\implies mx=1\implies x=\frac{1}{m}</math>. | |
− | If we graph each term separately, we will notice that all of the zeros occur at <math>\frac{1}{m}</math>, where <math>m</math> is any integer from <math>1</math> to <math>119</math>, inclusive. | ||
− | The minimum value occurs where the sum of the slopes is at a minimum, since it is easy to see that the value will be increasing on either side. That means the minimum must happen at some <math>\frac{1}{m}</math>. | + | The minimum value of <math>f(x)</math> occurs where the absolute value of the sum of the slopes is at a minimum <math>\ge 0</math>, since it is easy to see that the value will be increasing on either side. That means the minimum must happen at some <math>\frac{1}{m}</math>. |
− | + | The sum of the slopes at <math>x = \frac{1}{m}</math> is | |
− | The sum of the | ||
<cmath>\begin{align*}&\sum_{i=m+1}^{119}i - \sum_{i=1}^{m}i\\ | <cmath>\begin{align*}&\sum_{i=m+1}^{119}i - \sum_{i=1}^{m}i\\ | ||
Line 21: | Line 19: | ||
We can now verify that both <math>x=\frac{1}{84}</math> and <math>x=\frac{1}{85}</math> yield <math>\boxed{49\ \textbf{(A)}}</math>. | We can now verify that both <math>x=\frac{1}{84}</math> and <math>x=\frac{1}{85}</math> yield <math>\boxed{49\ \textbf{(A)}}</math>. | ||
− | === Solution 2 | + | You can also think of the slopes playing 'tug of war', where the slope of each absolute function upon passing its <math>x</math>-intercept is negated, positively tugging on the remaining negative slopes. |
+ | |||
+ | The sum of the slopes is <math>1+2+3+4\dots 119=\sum_{m=1}^{119}m=\frac{119\cdot 120}{2}=60\cdot 119=7140</math> | ||
+ | |||
+ | So we need to find the least integer <math>a</math> such that <math>1+2+3+\dots a=\sum_{n=1}^an=\frac{a(a+1)}{2}\ge \frac{7140}{2}=3570:</math> | ||
+ | |||
+ | <cmath>a(a+1)\ge 7140\implies a^2+a-7140\ge 0\rightarrow a=84\text{ exactly!}</cmath> | ||
+ | This "exactly" means that the slope is ZERO between the whole interval <math>x\in\left(\frac{1}{85},\frac{1}{84}\right)</math>. We can explicitly evaluate both to check that they are both equal to the desired minimum value of <math>f(x)</math>: | ||
+ | |||
+ | <cmath>\frac{84+83+\dots+2+1+1+2+\dots+33+34}{85}=\frac{84(85)/2+34(35)/2}{85}=\frac{85(14+84)/2}{85}=49</cmath> | ||
+ | |||
+ | <cmath>\frac{83+82+\dots+2+1+1+2+\dots+34+35}{84}=\frac{83(84)/2+35(36)/2}{84}=\frac{84(15+83)/2}{84}=49</cmath> | ||
+ | |||
+ | Thus the minimum value of <math>f(x)</math> is <math>49</math>. | ||
+ | |||
+ | == Solution 2 == | ||
Rewrite the given expression as follows: | Rewrite the given expression as follows: | ||
<cmath> 1|x-1| + 2\left|x-\frac 12\right| + \cdots + 119\left|x-\frac 1{119}\right|</cmath> | <cmath> 1|x-1| + 2\left|x-\frac 12\right| + \cdots + 119\left|x-\frac 1{119}\right|</cmath> | ||
− | Imagine the real line. For each <math>n\in\{1,\dots,119\}</math> imagine that there are <math>n</math> boys standing at the coordinate <math>\frac 1n</math>. We now need to place a | + | Imagine the real line. For each <math>n\in\{1,\dots,119\}</math> imagine that there are <math>n</math> boys standing at the coordinate <math>\frac 1n</math>. We now need to place a donut on the real line in such a way that the sum of its distances from all the boys is minimal, and we need to compute this sum. |
Note that there are <math>B=1+2+\cdots+119 = 119\cdot 60=7140</math> boys in total. Let's label them from 1 (the only boy placed at <math>1</math>) to <math>B</math> (the last boy placed at <math>\frac 1{119}</math>. | Note that there are <math>B=1+2+\cdots+119 = 119\cdot 60=7140</math> boys in total. Let's label them from 1 (the only boy placed at <math>1</math>) to <math>B</math> (the last boy placed at <math>\frac 1{119}</math>. | ||
− | Clearly, the minimum sum is achieved if the | + | Clearly, the minimum sum is achieved if the donut's coordinate is the median of the boys' coordinates. To prove this, place the donut at the median coordinate. If you now move it in any direction by any amount <math>d</math>, there will be <math>B/2</math> boys such that it moves <math>d</math> away from this boy. For each of the remaining boys, it moves at most <math>d</math> closer, hence the total sum of distances does not decrease. |
− | Hence the optimal solution is to place the | + | Hence the optimal solution is to place the donut at the median coordinate. Or, more precisely, as <math>B</math> is even, we can place it anywhere on the segment formed by boy <math>B/2</math> and boy <math>(B/2)+1</math>: by extending the previous argument, anywhere on this segment the sum of distances is the same. |
By trial and error, or by solving the quadratic equation <math>z(z+1)/2 = 7140/2</math> we get that boy number <math>B/2</math> is the last boy placed at <math>\frac 1{84}</math> and the next boy is the one placed at <math>\frac 1{85}</math>. Hence the given expression is minimized for any <math>x\in\left[ \frac 1{85}, \frac 1{84} \right]</math>. | By trial and error, or by solving the quadratic equation <math>z(z+1)/2 = 7140/2</math> we get that boy number <math>B/2</math> is the last boy placed at <math>\frac 1{84}</math> and the next boy is the one placed at <math>\frac 1{85}</math>. Hence the given expression is minimized for any <math>x\in\left[ \frac 1{85}, \frac 1{84} \right]</math>. | ||
Line 74: | Line 87: | ||
Hence the total sum of distances is <math>\frac{83}2 + \frac{15}2 = 49</math>. | Hence the total sum of distances is <math>\frac{83}2 + \frac{15}2 = 49</math>. | ||
− | === | + | == Solution 3 == |
+ | By the triangle inequality,<math>|x-1|+|2x-1|+|3x-1|+\cdots + |119x-1| \geq |(x-1)+(2x-1)+\cdots+(119x)-1|.</math> | ||
+ | However, we may change signs of some of these terms to cancel out the <math>x</math>'s. | ||
+ | Since the minimum exists, we want all the <math>x</math>s to cancel out. Thus, we want to find some <math>n</math> such that <cmath>1+2+3+...+n=(n+1)+(n+2)+(n+3)+...+119</cmath> <cmath>\frac{n(n+1)}{2}=\frac{119\cdot120}{2}-\frac{n(n+1)}{2}</cmath> <cmath>n^2+n-7140=0</cmath> <cmath>n=84</cmath> | ||
+ | |||
+ | Then, <math>x=\frac{1}{n}= \frac{1}{84}</math>. The answer(expression's value) is then <math>84*1+(119-85+1)*(-1)</math> , which becomes <math>84-35=\boxed{49}</math>. | ||
− | + | ==Video Solution by mop 2024== | |
+ | https://youtu.be/lu4jlTNUYrQ | ||
− | + | ~r00tsOfUnity | |
== See also == | == See also == | ||
Line 84: | Line 103: | ||
[[Category:Intermediate Geometry Problems]] | [[Category:Intermediate Geometry Problems]] | ||
+ | {{MAA Notice}} |
Latest revision as of 22:22, 24 July 2023
Contents
Problem
What is the minimum value of ?
Solution 1
If we graph each term separately, we will notice that all of the zeros occur at , where is any integer from to , inclusive: .
The minimum value of occurs where the absolute value of the sum of the slopes is at a minimum , since it is easy to see that the value will be increasing on either side. That means the minimum must happen at some .
The sum of the slopes at is
Now we want to minimize . The zeros occur at and , which means the slope is where .
We can now verify that both and yield .
You can also think of the slopes playing 'tug of war', where the slope of each absolute function upon passing its -intercept is negated, positively tugging on the remaining negative slopes.
The sum of the slopes is
So we need to find the least integer such that
This "exactly" means that the slope is ZERO between the whole interval . We can explicitly evaluate both to check that they are both equal to the desired minimum value of :
Thus the minimum value of is .
Solution 2
Rewrite the given expression as follows: Imagine the real line. For each imagine that there are boys standing at the coordinate . We now need to place a donut on the real line in such a way that the sum of its distances from all the boys is minimal, and we need to compute this sum.
Note that there are boys in total. Let's label them from 1 (the only boy placed at ) to (the last boy placed at .
Clearly, the minimum sum is achieved if the donut's coordinate is the median of the boys' coordinates. To prove this, place the donut at the median coordinate. If you now move it in any direction by any amount , there will be boys such that it moves away from this boy. For each of the remaining boys, it moves at most closer, hence the total sum of distances does not decrease.
Hence the optimal solution is to place the donut at the median coordinate. Or, more precisely, as is even, we can place it anywhere on the segment formed by boy and boy : by extending the previous argument, anywhere on this segment the sum of distances is the same.
By trial and error, or by solving the quadratic equation we get that boy number is the last boy placed at and the next boy is the one placed at . Hence the given expression is minimized for any .
Common part of both solutions
To find the minimum, we want to balance the expression so that it is neither top nor bottom heavy. .
Now that we know that the sum of the first 84 's is equivalent to the sum of 's 85 to 119, we can plug either or to find the minimum.
Note that the terms to are negative, and the terms to are positive. Hence we get: and Hence the total sum of distances is .
Solution 3
By the triangle inequality, However, we may change signs of some of these terms to cancel out the 's. Since the minimum exists, we want all the s to cancel out. Thus, we want to find some such that
Then, . The answer(expression's value) is then , which becomes .
Video Solution by mop 2024
~r00tsOfUnity
See also
2010 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 21 |
Followed by Problem 23 |
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 |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.