A tricky question with complex numbers

Click For Summary

Homework Help Overview

The discussion revolves around finding a point (x,y) that minimizes the sum of distances from the points (0,0), (1,0), (0,1), and (3,4). The problem involves concepts from geometry and optimization, particularly in the context of complex numbers and distance minimization.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore various methods to minimize the distance, including checking partial derivatives, using the triangle inequality, and considering symmetry in the problem. Some participants suggest breaking down the problem and using geometric interpretations.

Discussion Status

There is an ongoing exploration of different approaches, with some participants questioning the use of calculus techniques due to the problem's placement in the Precalculus section. Guidance has been offered regarding the use of geometric properties and inequalities, but no consensus on a single method has been reached.

Contextual Notes

Participants note that the problem should be approached without calculus techniques, as it is categorized under Precalculus. There is also mention of needing to find relationships between the coordinates and the implications of the triangle inequality in the context of minimizing distances.

Physics lover
Messages
249
Reaction score
25
Homework Statement
The question is in Attempt at a solution
Relevant Equations
Triangular inequalities in complex no.
Distance formula
Polar coordinates
IMG-20191010-WA0001.jpg


All i was able to think was that i have to find a point (x,y) such that sum of its distances from points (0,0),(1,0),(0,1) and (3,4) is minimum.I tried by assuming the point to be centre of circle passing through any of the above 3 points,But it didn't helped me.
 
Physics news on Phys.org
Hi.Let (x,y) be the solution
[tex]s=\sqrt{x^2+y^2}+\sqrt{(x-1)^2+y^2}+\sqrt{x^2+(y-1)^2}+\sqrt{(x-3)^2+(y-4)^2}[/tex]
should have minimum value. How about checking partial derivatives of s ?
 
mitochan said:
Hi.Let (x,y) be the solution
[tex]s=\sqrt{x^2+y^2}+\sqrt{(x-1)^2+y^2}+\sqrt{x^2+(y-1)^2}+\sqrt{(x-3)^2+(y-4)^2}[/tex]
should have minimum value. How about checking partial derivatives of s ?
I was thinking abou PDs too, but this is the precalc section.
 
mitochan said:
Hi.Let (x,y) be the solution
[tex]s=\sqrt{x^2+y^2}+\sqrt{(x-1)^2+y^2}+\sqrt{x^2+(y-1)^2}+\sqrt{(x-3)^2+(y-4)^2}[/tex]
should have minimum value. How about checking partial derivatives of s ?
My teacher has asked to do it without partial derivative.
 
Physics lover said:
My teacher has asked to do it without partial derivative.

Can you use the symmetry of the problem? What if you only had ##|z|## and ##|z-1|##? Try looking at that to start with.
 
Physics lover said:
My teacher has asked to do it without partial derivative.
It looks like a problem solvable by AM-GM inequality however I can't quite get it. May wish to try it.
 
aheight said:
It looks like a problem solvable by AM-GM inequality however I can't quite get it. May wish to try it.

It's actually much simpler than that. You just have to break the problem down in the right way.
 
  • Like
Likes   Reactions: aheight
PeroK said:
Can you use the symmetry of the problem? What if you only had ##|z|## and ##|z-1|##? Try looking at that to start with.
i can apply triangular inequality to find that is it right?
 
Physics lover said:
i can apply triangular inequality to find that is it right?

You can always use the triangle inequality. You already worked out, I think, that to minimise the sum ##|z -1| + |z-i|## is equivalent to finding a point which minimises the sum of the distances to the points ##(1,0)## and ##(0, 1)##.

Can you solve that?
 
  • Like
Likes   Reactions: aheight
  • #10
PeroK said:
You can always use the triangle inequality. You already worked out, I think, that to minimise the sum ##|z -1| + |z-i|## is equivalent to finding a point which minimises the sum of the distances to the points ##(1,0)## and ##(0, 1)##.

Can you solve that?
that may be the point (1/2,1/2)
 
  • #11
Physics lover said:
that may be the point (1/2,1/2)

Only that point?
 
  • #12
PeroK said:
Only that point?
I think i need to find a relation between x and y and then i can differentiate the equation to find minimum.Is there any other method?
 
  • #13
PeroK said:
You can always use the triangle inequality. You already worked out, I think, that to minimise the sum ##|z -1| + |z-i|## is equivalent to finding a point which minimises the sum of the distances to the points ##(1,0)## and ##(0, 1)##.

Can you solve that?
It should be any point on the line passing by the two.
 
  • #14
archaic said:
It should be any point in between.

Yes, exactly, any point on the line segment between the two points in question. You can, of course, use the triangle inequality to prove that, if you wish.

Now, that leaves two more points to deal with.
 
  • #15
Physics lover said:
and then i can differentiate the equation to find minimum
You have posted the problem in the Precalculus section, which precludes the use of calculus techniques such as differentiation and integration. Should I move this thread to the Calculus & Beyond section?
 
  • #16
Mark44 said:
You have posted the problem in the Precalculus section, which precludes the use of calculus techniques such as differentiation and integration. Should I move this thread to the Calculus & Beyond section?
Ofcourse,You can.
 
  • #17
Mark44 said:
You have posted the problem in the Precalculus section, which precludes the use of calculus techniques such as differentiation and integration. Should I move this thread to the Calculus & Beyond section?

I thought we were nearly there with some elementary geometry!
 
  • #18
After Pero's suggestion, it falls out, after some algebra, without Calculus: The diagonal line ##y=1-x##, minimizes the distance of one set, then minimize the distance from that set between ##x+iy## to ##3+4i##
minimizePlot.jpg
 
  • #19
aheight said:
After Pero's suggestion, it falls out, after some algebra, without Calculus: The diagonal line minimizes the distance of one set, then minimize the distance from that set between $x+iy$ to $3+4i$
View attachment 250945

That looks to me very like geometry, not algebra!
 
  • #20
PeroK said:
That looks to me very like geometry, not algebra!

Well, I did have to make two linear equations and then solve for their intersection (and I like making plots).
 
  • Like
Likes   Reactions: PeroK
  • #21
Physics lover said:
So should it be like this
I have to find a point from (0,1) and (1,0) and another loint from the other two mentioned points and then the final point will be on line joining these two points that i found.Is it correct?
Perhaps I can help with that: Find a point along the line from (0,1) to (1,0) such that the distance from that point to the origin plus the distance from that point to (3,4) is minimum. The Triangle Inequality requires the three points to be along a straight line.

Also, not wishing to cheat or anything, here's the code in Mathematica as a minimization problem. You can use it to check your work:
Code:
myVals = {x, y} /. 
  FindMinimum[{(Abs[z] + Abs[z - 1] + Abs[z - I] + 
        Abs[z - 3 - 4 I]) /. z -> x + I y, 
     Element[{x, y}, Disk[{0, 0}, 10]]}, {x, y}][[2]]

{0.4285714284248281`, 0.5714285709615166`}
 
  • Like
Likes   Reactions: PeroK
  • #22
aheight said:
Perhaps I can help with that: Find a point along the line from (0,1) to (1,0) such that the distance from that point to the origin plus the distance from that point to (3,4) is minimum. The Triangle Inequality requires the three points to be along a straight line.

Also, not wishing to cheat or anything, here's the code in Mathematica as a minimization problem. You can use it to check your work:
Code:
myVals = {x, y} /.
  FindMinimum[{(Abs[z] + Abs[z - 1] + Abs[z - I] +
        Abs[z - 3 - 4 I]) /. z -> x + I y,
     Element[{x, y}, Disk[{0, 0}, 10]]}, {x, y}][[2]]

{0.4285714284248281`, 0.5714285709615166`}

If we go back to the original question we had to find the minimum value of the expression. We didn't actually need to find ##z##.
 
  • #23
PeroK said:
If we go back to the original question we had to find the minimum value of the expression. We didn't actually need to find ##z##.
i think i would have to check my calculation since i am getting the desired point to be (3/5,2/5)
 
  • #24
Physics lover said:
i think i would have to check my calculation since i am getting the desired point to be (3/5,2/5)
That's not correct. But, as I said, you don't actually need to find the point.
 
  • #25
aheight said:
Perhaps I can help with that: Find a point along the line from (0,1) to (1,0) such that the distance from that point to the origin plus the distance from that point to (3,4) is minimum. The Triangle Inequality requires the three points to be along a straight line.

Also, not wishing to cheat or anything, here's the code in Mathematica as a minimization problem. You can use it to check your work:
Code:
myVals = {x, y} /.
  FindMinimum[{(Abs[z] + Abs[z - 1] + Abs[z - I] +
        Abs[z - 3 - 4 I]) /. z -> x + I y,
     Element[{x, y}, Disk[{0, 0}, 10]]}, {x, y}][[2]]

{0.4285714284248281`, 0.5714285709615166`}
This seems to be the pair (3/7,4/7).
 
  • #26
WWGD said:
This seems to be the pair (3/7,4/7).
thanks i got it.
 
  • #27
PeroK said:
That's not correct. But, as I said, you don't actually need to find the point.
so how we will do it without finding the point.
 
  • #28
Physics lover said:
so how we will do it without finding the point.
You're only asked for the sum of the distances. You don't need to calculate the point for that.
 
  • #29
PeroK said:
Yes, exactly, any point on the line segment between the two points in question. You can, of course, use the triangle inequality to prove that, if you wish.

Now, that leaves two more points to deal with.
I think I got it. Any point on the line passing by ##(0,1)## and ##(1,0)## minimizes the distance between them, it is also the same for the origin and ##(3,4)##, so ##z## that minimizes that equation should be the point of intersection of both lines.
 
  • Like
Likes   Reactions: mitochan
  • #30
archaic said:
I think I got it. Any point on the line passing by ##(0,1)## and ##(1,0)## minimizes the distance between them, it is also the same for the origin and ##(3,4)##, so ##z## that minimizes that equation should be the point of intersection of both lines.

Yes. And you know the sum of the distances in both cases, so you don't even need to calculate the point - as long as geometrically you can see it exists.
 
  • Like
Likes   Reactions: Physics lover and archaic

Similar threads

Replies
20
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
6
Views
4K
Replies
31
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
39
Views
6K