Find the minimum value of
\(\large \color{black}{\begin{align} |x-1|+|x-2|+|x-3|+\cdots \ \cdots+|x-75|,\ \ x\in\mathbb{R}\hspace{.33em}\\~\\ \end{align}}\)
thats a hard one
maybe -77 ?
absolute value is always +
yes true true
I get around 1406
how
thats right btw
that gives you x = 38
thats correct
Yeah, I meant 38.
\[37\cdot 38 = 1406\]
mathmath, I used computer software and did it by brute force. not elegantly
38 is the median value of integers 1-75
it works because of symmetry but we need to prove it i guess
u did (1+75)/2
\[|x - 1| + \cdots + |x - 75|\ge |75x - 75\cdot 38| = 75|x - 38| \]Equality occurs at \(x=38\).
Again, wrong method to do it. =_=
what is wrong
The answer is correct, but it's the wrong approach.
in case it was this then how we do it \(\large \color{black}{\begin{align} |x+0|+|x-1|+|x-2|+|x-3|+\cdots \quad \cdots+|x-75|,\ \ x\in\mathbb{R}\hspace{.33em}\\~\\ \end{align}}\)
This function is continuous and also symmetric about \(38\), so that is where the minimum should occur as there is no maximum.
if you take the derivative of that function it is negative for x < 38 and positive for x > 38
Derivatives with absolute values?
i dont know much calculus
$$\Large |x| =\sqrt{x^2}$$
This is not the optimal approach, maybe a last resort.
Yeah, I think the best way to explain it is \(f(38+k) = f(38 - k)\)
i was asking for this edited question do i here also substitute \(38\) \(\large \color{black}{\begin{align} |x-0|+|x-1|+|x-2|+|x-3|+\cdots \quad \cdots+|x-75|,\ \ x\in\mathbb{R}\hspace{.33em}\\~\\ \end{align}}\)
we take some cases 1) suppose x=<0 then all the mods will open as negative and we'll get a big number 2) suppose x>=75 then all mods will open positive and in this case we'll get a big number 3)if 0<x<75 then some mods will open positive and some negative nd thus the negative ones and positive ones will cancel each other nd we'll get a smaller value so we take a middle value from the numbers 1-75 i.e (1+75)/2 = 38 then then'll u must be able to solve it
yes @mathmath333 u have to put x = 38 in that equation
Observe that \(f(37.5 + k) = f(37.5 - k) \) so min should occur at \(37.5\)
f(37.5) = 1406.5 f(38) = 1406
ooo.
plugging x = 38 u get the value of equation as 1406
Nice! just nitpicking on your latest reply OK ;p below is symmetric but the min value occurs somewhere else |dw:1434029538657:dw|
Join our real-time social learning platform and learn together with your friends!