Deriving the Minimum of a Summation Function - How Do I Do It?

In summary, the conversation is about someone seeking help in deriving a function to find the minimum point of a series of distances to a set of points. They clarify that it is not a homework assignment and express their curiosity in finding the solution. They also mention wanting to see the process of finding the solution.
  • #1
rider-pt
2
0
Hello,

Could you help me derive this function, so I can find the minimum of it.

[tex]z=\sum_{i=1}^{n}{\sqrt{\left( x-x_{i} \right)^{2}+\left( y-y_{i} \right)^{2}}}[/tex]

Thank you.
 
Physics news on Phys.org
  • #2
This looks like homework. We help you do your own homework; we do not do it for you.

You need to show some work before someone will help you.
 
  • #3
It is not homework. It is just some curiosity of mine.

What I want to do is find the point [tex](x,y)[/tex], that has the smallest sum of distances to a series of points [tex](x_{1},y_{1})[/tex], [tex](x_{2},y_{2})[/tex], [tex](x_{3},y_{3})[/tex], ...,[tex](x_{n},y_{n})[/tex]. Something like a centre of gravity.

I don't need just the result, I would like to see the path to it.

Thank you.
 
  • #4
Welcome to Physics Forums.
rider-pt said:
It is not homework. It is just some curiosity of mine.
Thanks for the clarification, it makes a difference in how we approach helping you. There are designated homework subforums (not this one however) that some new members ignore.

First, realize that there is not necessarily a unique solution to this. Consider a set of just 2 points. Any point on the line segment joining them will have the same sum-of-distances.

That being said, you would take the partial derivatives of z with respect to both x and y, set each equal to zero, and solve the two equations you get.
 

FAQ: Deriving the Minimum of a Summation Function - How Do I Do It?

What is the derivative of a summation?

The derivative of a summation is the sum of the derivatives of each term in the summation.

How do you find the derivative of a summation?

To find the derivative of a summation, you can use the linearity property of derivatives to take the derivative of each term in the summation separately and then add them together.

Can you take the derivative of a summation with an infinite number of terms?

Yes, you can take the derivative of a summation with an infinite number of terms as long as the terms follow a pattern and the derivatives of each term exist.

What is the formula for the derivative of a summation?

The formula for the derivative of a summation is d/dx (a + b + c + ...) = d/dx a + d/dx b + d/dx c + ..., where a, b, c, etc. are the terms in the summation.

Can the derivative of a summation be used for optimization problems?

Yes, the derivative of a summation can be used for optimization problems as it helps find the maximum or minimum value of a function.

Similar threads

Replies
5
Views
2K
Replies
12
Views
2K
Replies
6
Views
2K
Replies
2
Views
1K
Replies
8
Views
1K
Replies
8
Views
2K
Replies
15
Views
2K
Replies
3
Views
2K
Back
Top