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

  • Context: Graduate 
  • Thread starter Thread starter rider-pt
  • Start date Start date
  • Tags Tags
    Derivative Summation
Click For Summary

Discussion Overview

The discussion centers around deriving a function to find the minimum of a summation that represents the total distance from a point (x, y) to a series of other points (x_i, y_i). The scope includes theoretical exploration and mathematical reasoning related to optimization and distance minimization.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents a summation function z that calculates the total distance from a point (x, y) to multiple points (x_i, y_i).
  • Another participant suggests that the inquiry resembles a homework question and emphasizes the need for the original poster to show some work before receiving assistance.
  • The original poster clarifies that their question is driven by curiosity rather than homework, seeking to understand the derivation process for finding the minimum distance point.
  • A later reply notes that there may not be a unique solution to the problem, particularly when considering only two points, where any point on the line segment between them yields the same sum of distances.
  • It is suggested that the original poster should take the partial derivatives of z with respect to x and y, set them equal to zero, and solve the resulting equations to find critical points.

Areas of Agreement / Disagreement

Participants generally agree that the problem is not straightforward and that there may not be a unique solution. However, there is no consensus on the specific methods or steps to derive the minimum of the function.

Contextual Notes

The discussion does not resolve the mathematical steps involved in deriving the function or the implications of multiple solutions. There is an assumption that the original poster has a foundational understanding of calculus, particularly in relation to partial derivatives.

rider-pt
Messages
2
Reaction score
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
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.
 
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.
 
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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K