Shortest distance between point and line.

In summary: Since you have not yet taken Lagrange multiplier methods, you will be forced to do this problem the hard way. You need to reduce everything to a single-variable problem, which you can do by using the constraint equation 5x^2−6xy+5y^2=4 to solve for y as a function of x, say. Of course, there will be two roots, because the quadratic formula has '±' in it. This is not mysterious; it just corresponds to something like an upper and lower branches of an ellipse.Anyway, since you have (on each branch of the solution) an expression of the form y = h(x), the square of the distance d^2 =
  • #1
ninjohn
2
0
1. Shortest distance between: 5x^2 - 6xy + 5y^2 = 4 and origin.

2. d = sqrt(x^2 + y^2)

3. d = sqrt[(4+6xy)/5]. Can't figure out how to get an explicit equation in x or y.

This is a first semester calculus problem out of Thomas from my 1971 class. This is indepent study.
 
Last edited:
Physics news on Phys.org
  • #2
ninjohn said:
1. Shortest distance between: 5x^2 - 6xy + 5y^2 = 4 and origin.

2. d = sqrt(x^2 + y^2)

3. d = sqrt[(4+6xy)/5]. Can't figure out how to get an explicit equation in x or y.
Is this your work for this problem? What you have is so terse, it's difficult to tell what you're doing. Please tell us how you got the above.
ninjohn said:
This is a first semester calculus problem out of Thomas from my 1971 class. This is indepent study.

Also, when you start a thread, don't delete the three parts in the homework template. They are there for a reason.
 
  • #3
He probably did:
Distance=
[itex]\sqrt{x^2+y^2}[/itex]
And
[itex]5x^2-6xy+5y^2=4[/itex]
[itex]5x^2+5y^2=4+6xy[/itex]
[itex]x^2+y^2=(4+6xy)/5[/itex]
ninjohn. How do you generally calculate the minimum distance between a point and a fuction?
 
  • #4
SqueeSpleen said:
He probably did:
Distance=
[itex]\sqrt{x^2+y^2}[/itex]
And
[itex]5x^2-6xy+5y^2=4[/itex]
[itex]5x^2+5y^2=4+6xy[/itex]
[itex]x^2+y^2=(4+6xy)/5[/itex]
ninjohn. How do you generally calculate the minimum distance between a point and a fuction?

We prefer it that the OP says how he did it. Of course Mark44 knows how to derive the formula. But the point is that the OP should show his work. For all we know, he did something very wrong. Or his assignment was "prove that [itex]d=\sqrt{(4+5xy)/5}[/itex]. In the latter case, you actually gave him the answer!
 
  • #5
Thanks for comments. This is my first use of forum, so please forgive my criptic description or any etiquette faux pas. Both SS & mm have shown work I did to get d^2 = x^2 + y^2 for distance between origin and any (x,y). Rearranging curve equation produces relationship shown above. I would like to take deravitive of 'd' = sqrt[(4+6xy)/5] set = 0 and solve for x and y to get min value. Problem is that last equation has both x & y. Since this is a first semester calc problem, there are no partial derivatives yet. I need another equation to get d=f(x) or d=g(y) explicitely.
 
  • #6
ninjohn said:
Thanks for comments. This is my first use of forum, so please forgive my criptic description or any etiquette faux pas. Both SS & mm have shown work I did to get d^2 = x^2 + y^2 for distance between origin and any (x,y). Rearranging curve equation produces relationship shown above. I would like to take deravitive of 'd' = sqrt[(4+6xy)/5] set = 0 and solve for x and y to get min value. Problem is that last equation has both x & y. Since this is a first semester calc problem, there are no partial derivatives yet. I need another equation to get d=f(x) or d=g(y) explicitely.

Since you have not yet taken Lagrange multiplier methods, you will be forced to do this problem the hard way. You need to reduce everything to a single-variable problem, which you can do by using the constraint equation 5x^2−6xy+5y^2=4 to solve for y as a function of x, say. Of course, there will be two roots, because the quadratic formula has '±' in it. This is not mysterious; it just corresponds to something like an upper and lower branches of an ellipse.

Anyway, since you have (on each branch of the solution) an expression of the form y = h(x), the square of the distance d^2 = x^2 + (h(x))^2 is now a single-variable function.
 
  • #7
Do you know how to reduce a conic to it's canonical form? (I tried to search the book but I didn't find it).
 

FAQ: Shortest distance between point and line.

What is the definition of "Shortest distance between point and line"?

The shortest distance between a point and a line is the distance between the point and the closest point on the line. This distance is perpendicular to the line, meaning it forms a 90 degree angle with the line.

How is the shortest distance between point and line calculated?

The shortest distance between a point and a line can be calculated using the formula d = |ax0 + by0 + c| / √(a2 + b2), where (x0, y0) are the coordinates of the point and ax + by + c = 0 is the equation of the line.

Can the shortest distance between point and line be negative?

No, the shortest distance between a point and a line is always positive. This distance represents the length of the perpendicular segment between the point and the line, and length cannot be negative.

Is there a difference between the shortest distance between point and line and the shortest distance between point and line segment?

Yes, the shortest distance between a point and a line segment is the distance between the point and the closest point on the line segment. This distance can be calculated using the same formula as the shortest distance between point and line, but the line segment's endpoints should be used to define the line equation.

Why is finding the shortest distance between point and line important in science?

Finding the shortest distance between a point and a line is important in various scientific fields, including physics, engineering, and geometry. It can be used to determine the shortest path between two points, the distance between a moving object and a fixed line, or the closest approach of a satellite to a planet's surface, among others.

Similar threads

Replies
10
Views
1K
Replies
11
Views
971
Replies
14
Views
2K
Replies
13
Views
773
Replies
2
Views
1K
Back
Top