Scalar Projection: Find Distance Point to Line

  • Thread starter Thread starter jesuslovesu
  • Start date Start date
  • Tags Tags
    Projection Scalar
Click For Summary

Homework Help Overview

The discussion revolves around finding the distance from a point P(x1, y1) to the line defined by the equation ax + by + c = 0 using scalar projection. Participants are exploring the mathematical concepts involved in this geometric relationship.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand how to represent the line as a vector and how scalar projection relates to the distance from a point to the line. Some participants question the definition of points versus vectors and suggest using a unit normal vector to the line. Others propose finding a tangent vector to the line and deriving a normal vector from it.

Discussion Status

The discussion is active, with participants providing insights on vector representation and the relationship between points and lines. There is a recognition of the need to clarify the concepts of normal and tangent vectors, and some guidance has been offered regarding the approach to take.

Contextual Notes

Participants are navigating the challenge of visualizing the scalar projection in the context of geometry, and there is a mention of specific points on the line that may not align with the original poster's assumptions.

jesuslovesu
Messages
185
Reaction score
0

Homework Statement



Use the scalar projection to show that a distance from a point P(x1, y1) to the line ax + by + c = 0 is
\frac{ax1 + by1 + c}{\sqrt{a^2 + b^2}}

Homework Equations



scalar projection = \frac{a . b}{|a|}

The Attempt at a Solution


The first thing that I did was to say that b = (x1,y1). Unfortunately I'm having a difficult time coming up with a vector for the line. Honestly,, I am having a hard time visualizing how the scalar projection would yield the distance between a point and the line. Does anyone know what I should do to start?
 
Physics news on Phys.org
First, points aren't vectors. Vectors are differences between points. Second, to use scalar projection the distance between a point and a line is the scalar product of a unit normal to the line with a difference vector between the point and a point on the line. Can you find a unit normal to the line?
 
Ok got it thanks.
 
Last edited:
I'm not sure what you are up to in getting that 'normal' vector, P1 isn't even on the line (0,-c/b) is. Start by finding a tangent vector to the line. Since y=(-1/b)x-c/b and point on the line is (x,y), if I take d/dx, I get a tangent vector of (1,-a/b), right? A normal vector is perpendicular to that, like (a,b)? Now remember after you normalize it that you want to dot it with the DIFFERENCE between (x1,y1) and a point on the line.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
12
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K