Minimize distance between three points.

  • Thread starter nou-me-na
  • Start date
  • Tags
    Points
In summary, to find the value of m that minimizes the sum of the squares of the vertical distances from the points (1,1), (2,2), and (3,2) to the line y=mx, we need to set up an equation for the distance formula for each point and then add them together. This will give us a function of m that we can then minimize to find the optimal value for m.
  • #1
nou-me-na
1
0
Find the value of m such that the sum of the squares of the vertical distances from each of the points (1,1) , (2,2) , and (3,2) to the line y=mx is minimized. Hint: Find the sum as a function of m (no x in the expression) and then minimize it.



Distance equation. d=[itex]\sqrt{(x_{1}-x_{2})^{2}+(y_{1}-y_{2})^{2}}[/itex]



So, our professor made it easier on use and since we have single variable calculus the distance to be found is vertical to the line y=mx. Therefore, the x values will cancel out and we will only be interested in the y values. With this knowledge I set out and tried to set up an equation for the distance formula for each of the values given; but, x values were given in the equation I used for the distance values when I subbed the y value for mx. I'm not sure how to juggle these three equations. How would you proceed with solving this equation. Thank you.
 
Physics news on Phys.org
  • #2
Can you show what you did?

I'm not sure how to juggle these three equations.
Add them. The sum of the squared distances should be minimized.
 
  • #3
How would you express the vertical distance between a given point [tex](x_{1},y_{i})[/tex] and a point on the line y=mx. (hint, what is the vertical distance between the y values ?).
 

FAQ: Minimize distance between three points.

How do you calculate the minimum distance between three points?

To calculate the minimum distance between three points, you can use the distance formula in three-dimensional space. This formula takes into account the coordinates of all three points and uses the Pythagorean theorem to find the distance between them.

Why is it important to minimize the distance between three points?

Minimizing the distance between three points can be important in various scientific and mathematical applications. For example, in engineering, minimizing the distance between three points can help to optimize the placement of objects or structures. In physics, minimizing distance can help to determine the shortest path between points, which can be useful in the study of motion and energy.

What is the significance of the minimum distance between three points in real-world scenarios?

The minimum distance between three points can have significant implications in real-world scenarios. For instance, in transportation planning, minimizing distance between three points can help to determine the most efficient routes for vehicles. In biology, minimizing distance can be important in studying the movement and interactions of organisms in their environment.

How can minimizing the distance between three points be applied in computer science?

In computer science, minimizing distance between three points can be used in various algorithms and applications, such as in data clustering, routing algorithms, and optimization problems. It can also be applied in computer graphics for tasks such as finding the shortest path between points in a virtual environment.

Are there any limitations or challenges in minimizing the distance between three points?

While minimizing distance between three points can be useful in many scenarios, there are some limitations and challenges to consider. These can include dealing with high-dimensional data, finding an optimal solution in a reasonable amount of time, and accounting for any constraints or obstacles in the path between the points.

Back
Top