∣ x − 1 ∣ + ∣ 2 x − 1 ∣ + ∣ 3 x − 1 ∣ + ⋯ + ∣ 3 0 0 x − 1 ∣
If the minimum value of the expression above is B A , and it occurs when x = D C , where ( A , B ) and ( C , D ) are each coprime pairs of positive integers, find A + B + C + D .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
To complete this proof, you need to observe that, for example, the inequality ∣ x − a ∣ + ∣ x − b ∣ ≥ ∣ a − b ∣ is in fact an equality for all x between a and b . This will tell us that your final inequality for f is an equality at x = 2 1 2 1 .
I used the analogy to a graph.Clearly minimum occurs when the graph changes its slope.For some 1 / n < x < 1 / ( n + 1 ) .One could show that the expression f ( x , n ) = 2 n − 3 0 0 + x ( 1 5 0 ∗ 3 0 1 − n ( n + 1 ) ) So for the slope to be negative 1 5 0 ∗ 3 0 1 < n ( n + 1 ) or n > = 2 1 2 .And for n = < 2 1 1 the slope is positive.So for in the interval ( 1 / 2 1 1 , 1 / 2 1 2 ) the slope is positive and for x in the interval ( 1 / 2 1 2 , 1 / 2 1 3 ) slope is negative.Clearly minimum occurs at x = 1 / 2 1 2 .Putting the value of x the value of the expression is 1 3 1 4 1 / 1 0 6
great problem and wonderful solution
Is there any space for calculus here?
Any other way and how do u know that x-a plus x-b greater than a-b
Log in to reply
That's the form of Triangle inequality.Sum of any 2 sides is greater than third side.Fix three points in complex plane ( x , a , b ) .Let these form the vertices of a Triangle A B C .Clearly A B + A C > B C . A B = ∣ x − a ∣ , A C = ∣ x − b ∣ , B C = ∣ a − b ∣ .Plugging the values you get the trivial inequality ∣ x − a ∣ + ∣ x − b ∣ > ∣ a − b ∣ .But if the points are collinear then clearly equality holds.
13141/106 is 123. 97168 where as the minimum value of this expression is 123.97058
|x-1|+|2x-1|+|3x-1|+...+|nx-1|+|(n+1)x-1|+...+|300x-1|
if nth value of the series is 0, then nx-1=0 and n=1/x then it can be writen as
=(1-x)+(1-2x)+(1-3x)+...+(1-nx)+((n+1)x-1)+((n+2)x-1)+...+(300x-1)
=1 n - (x+2x+3x+...+nx) + (300-n) -1 + ((n+1)x+(n+2)x+...+300x)
=2n - 300 - (n (n+1) x/2 + (300-n)(301+n)*x/2
n=1/x as i said before
= 2n - 300 - (n+1)*n/2n + (90300-n-n^2)/2n
= (4n^2 - 600n - n^2 - n + 90300 - n - n^2)/2n
= (n^2 - 301n + 45150)/n
lowest value is where the derivative of the equation becomes zero
d/dn ((n^2 - 301n + 45150)/n) = 1 - (45150/n^2=0
45150/n^2=1
n^2=45150
now when n is 212, equation has minimum value
A/B= minimum value of (n^2 - 301n + 45150)/n = 26282/212 = 13141/106
x=C/D = 1/212
A+B+C+D= 13141+106+1+212 = 13460
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Absolute Value Inequalities - 2 Linear Terms
We will make use of the absolute value inequality.
∣ x − a ∣ + ∣ x − b ∣ ≥ ∣ a − b ∣
For every ∣ k x − 1 ∣ , we split this into k elements of ∣ x − k 1 ∣ . Thus, the entire summation would be
∣ x − 1 ∣ + ∣ x − 2 1 ∣ + ∣ x − 2 1 ∣ + ∣ x − 3 1 ∣ + ∣ x − 3 1 ∣ + ∣ x − 3 1 ∣ + . . .
With 4 5 1 5 0 terms. We now add the corresponding beginning and end terms. That is, the first to the last, the second to the second last, and so on..
From there we get that
f ( x ) ≥ ∣ 1 − 3 0 0 1 ∣ + ∣ 2 1 − 3 0 0 1 ∣ + . . .
Knowing that the last pair constitutes of the 22575th and the 22576th element of the expanded summation, we can find the fraction involved with it.
Notice that ∑ n = 1 2 1 1 n = 2 2 3 6 6 , and that ∑ n = 1 2 1 2 n = 2 2 5 7 8 . Thus, we know that the middle two elements are ∣ x − 2 1 2 1 ∣ and ∣ x − 2 1 2 1 ∣ . So by the inequality, this should be greater than or equal to zero. For it to be minimum, x has to be 2 1 2 1 .
From there, we can now solve for the minimum value, which is 1 0 6 1 3 1 4 1 .