MHB Sum of distances the same as the former

  • Thread starter Thread starter leprofece
  • Start date Start date
  • Tags Tags
    Sum
Click For Summary
To find a point on the OX axis that minimizes the sum of distances to the landmarks (2, 0) and (0, 3), the correct approach involves calculating the distances using the formula sqrt((x-2)² + 0²) + sqrt((x-0)² + 9). The discussion highlights confusion around deriving the correct derivative, with participants noting that the derivative of the distance function must account for absolute values and is undefined at certain points. The minimum occurs when the derivative changes sign, indicating a critical point. Ultimately, the correct minimal distance point is identified as zero, emphasizing the importance of proper derivative calculations in optimization problems.
leprofece
Messages
239
Reaction score
0
find a point on the axis OX whose sum of distances to landmarks: (2, 0) and (0, 3) is minimal.

Answer (2,0)

As the title says it is the same as the former
So the equations must be
sqrt((x-2)2+02)+sqrt((x-0)2+ 9) because the point is (x.0)

but it seems I am wrong because i don't get the answer
 
Last edited by a moderator:
Physics news on Phys.org
You should get the given answer. But, since you did not post your work, I can't tell you where you may have gone wrong. It is worked very similarly to the last question you posted.
 
MarkFL said:
You should get the given answer. But, since you did not post your work, I can't tell you where you may have gone wrong. It is worked very similarly to the last question you posted.

THIS IS MY WORK
So the equations must be
sqrt((x-2)2+02)+sqrt((x-0)2+ 9) because the point is (x.0)

After deriving i got 1 + x/(sqrt(x2+9)
And I got No answer

but it seems I am wrong because i don't get the answer
 
Last edited by a moderator:
leprofece said:
So the equations must be
sqrt((x-2)2+02)+sqrt((x-0)2+ 9) because the pòint is (x.0)

After deriving i got 1 + x/(sqrt(x2+9)
And I got No answer

but it seems I am wrong because i don't get the answer

That is not quite the right derivative.
The derivative of $\sqrt{(x-2)^2} = |x-2|$ is not just $1$.
Its derivative depends on the sign of $(x-2)$.
Consider the function:
$$g(x)=\sqrt{x^2} = |x|$$
Its derivative is:
$$g'(x)=\begin{cases}
-1 &\text{ if } x < 0 \\
\text{Undefined} &\text{ if } x = 0 \\
+1 &\text{ if } x > 0 \end{cases}$$

Where does $g(x)$ have its minimum?
 
En -1?
 
leprofece said:
En -1?

Huh? :confused:

Do you mean $x=-1$?

If so, then $|x|=|-1|=1$, which is not the minimum value for $|x|$...
 
I like Serena said:
Huh? :confused:

Do you mean $x=-1$?

If so, then $|x|=|-1|=1$, which is not the minimum value for $|x|$...

ZERO then i did not take into account the absolute value (Heidy)(Angry)

And Abs( 0-2) is 2
so (Priidu) this is the answer
 
leprofece said:
ZERO then i did not take into account the absolute value (Heidy)(Angry)

Good!

Note that the derivative of g(x) is undefined at 0.
What actually happens is that the derivative flips from a negative value to a positive value.
At the point where it flips, we have the minimum.

The same applies to your problem.
 
I realize that the second Function wasnt taken into account so That is sqrt (x2 +9)
WHY?
I Think because x / sqrt( ,,,) = 0 it is equal to 0
Am i right??

So the equations must be
sqrt((x-2)2+02)+sqrt((x-0)2+ 9) because the pòint is (x.0)

After deriving i got 1 + x/(sqrt(x2+9)
And I got No answer

but it seems I am wrong because i don't get the answer
 
  • #10
leprofece said:
After deriving i got 1 + x/(sqrt(x2+9)
And I got No answer

but it seems I am wrong because i don't get the answer

This is not the correct derivative.
It is only correct for $x>2$.
And then the derivative is always positive.
 
  • #11
But Why isnot correct
x/sqrt(...) is the deivative of the other
maybe because if I equate to 0 I get 0?
 
  • #12
leprofece said:
But Why isnot correct
x/sqrt(...) is the deivative of the other
maybe because if I equate to 0 I get 0?

The derivative of $\sqrt{(x-2)^2}$ is not $1$.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K