How Do You Calculate Projection and Symmetry in Vector Geometry?

In summary: IR is the set of real numbers (I think).Yes, IR is the set of real numbers.The projection of P on p is the point P' on p that is closest to P. This can be found by drawing a line from P perpendicular to p and finding where it intersects p. This is the point P'.The distance of P from p is the length of the line segment connecting P and P', which can be found using the distance formula.The coordinates of the point R symmetric to P with respect to p can be found by reflecting P across p. This can be done by finding the point P'' on p that is the same distance from p as P, but on the opposite side. This can be found by finding
  • #1
says
594
12

Homework Statement


Find the projection, P', of the point P on the line p, the distance of P from p and the coordinates of the point R symmetric to P with respect to p, where P = [1, 2, 0], and p : X = [3, 0, 0] + t(0, 1, 0), t ∈ IR.

*Sorry about all the P's, but this is how the question is written.

Homework Equations


https://en.wikibooks.org/wiki/Linear_Algebra/Orthogonal_Projection_Onto_a_Line

The Attempt at a Solution


Projection of P on to p = [P ⋅ X / X ⋅X] * X

= [ [1,2,0] ⋅ [3,0,0] + t(0,1,0) / [3,0,0] + t(0,1,0) ⋅ [3,0,0] + t(0,1,0) ] * [3,0,0] + t(0,1,0)

I'm a bit confused with what [3,0,0] + t(0,1,0) actually means. I've usually seen the line being equal to L = cv, where v is a vector and c is some scalar. So from this I'd assume that [3,0,0] is the vector for the line, and t(0,1,0) is the scalar.
 
Physics news on Phys.org
  • #2
says said:

Homework Statement


Find the projection, P', of the point P on the line p, the distance of P from p and the coordinates of the point R symmetric to P with respect to p, where P = [1, 2, 0], and p : X = [3, 0, 0] + t(0, 1, 0), t ∈ IR.

*Sorry about all the P's, but this is how the question is written.

Homework Equations


https://en.wikibooks.org/wiki/Linear_Algebra/Orthogonal_Projection_Onto_a_Line

The Attempt at a Solution


Projection of P on to p = [P ⋅ X / X ⋅X] * X

= [ [1,2,0] ⋅ [3,0,0] + t(0,1,0) / [3,0,0] + t(0,1,0) ⋅ [3,0,0] + t(0,1,0) ] * [3,0,0] + t(0,1,0)

I'm a bit confused with what [3,0,0] + t(0,1,0) actually means.
It's the sum of two vectors. The first vector, <3, 0, 0> extends from the origin to the point (3, 0, 0). The second part of the sum is a scalar multiple of the vector <0, 1, 0>. As a sum, you get a vector from the origin to some point on the line that is parallel to the y-axis and passes through the point (3, 0, 0). For example, if t = 1, the vector extends out to the point (3, 1, 0).
says said:
I've usually seen the line being equal to L = cv, where v is a vector and c is some scalar.
That would apply only to lines that go through the origin.
says said:
So from this I'd assume that [3,0,0] is the vector for the line, and t(0,1,0) is the scalar.
No, both are vectors -- <3, 0, 0> and t<0, 1, 0> and their sum is a vector -- you can't add a scalar to a vector.
 
  • #3
The "points" are usually represented as position vectors in some coordinate system - which tells you the distance (and direction) from some origin O. (What is the difference between the point P and the vector OP?)
A line requires two points to define it ... eg. if L is a point on the line through P and Q then L = P +t(Q-P) for some t.
In the equation you are used to, P=O. Off what you are used to, c=t and v=Q-P is the "vector".
You can also define a line as the set of points equi-distant from P and Q (i.e. |LP|=|LQ|) ... try working out the equation from that.
 
  • #4
ok.

so I can find t using the equation:
t = [ P ⋅ p' / p' ⋅ p' ] ⋅ p'
= ( [1,2,0] ⋅ [3,1,0] / [3,1,0]⋅ [3,1,0] ) ⋅ [3,1,0]
= 5/10 ⋅ [3,1,0]
t= [ 3/2 , 1/2, 0 ]

Does this mean that [3,0,0] + 1/2 (0,1,0) = [3,1/2,0]

Does this mean the proj P on to p' = [3,1/2,0]

I don't think this is right because (P-p') ⋅ p' = 0 because P-p' is orthogonal to p'

if p' = [3,1/2,0] then I need to ⋅ it with another vector that makes it = 0
 
  • #5
says said:
ok.

so I can find t using the equation:
t = [ P ⋅ p' / p' ⋅ p' ] ⋅ p'
?
This makes no sense. t is a scalar -- a number.
Also, what is p'? In post 1 you give explanations for P, P', and p, but not for p'.
I can appreciate that you might be confused, with this problem's overuse of a single letter, differentiated only by upper and lower case, and with or without an apostrophe.
Where did you get this formula -- t = [ P ⋅ p' / p' ⋅ p' ] ⋅ p' -- ?
As you have written it, you are trying to find the dot product of a scalar and a vector. That doesn't make sense. You can only take the dot product of two vectors. In the brackets you have P⋅p' (a scalar -- a number) divided by p' ⋅ p' (a scalar), which gives you a scalar. So far, so good. Then you have the dot product of a scalar (in the brackets) and p'. That's not right.

Possibly you mean for the final multiplication to be scalar multiplication rather than the dot product. If so, don't use the same symbol for dot product that you use for multiplication of a vector by a scalar.
says said:
= ( [1,2,0] ⋅ [3,1,0] / [3,1,0]⋅ [3,1,0] ) ⋅ [3,1,0]
= 5/10 ⋅ [3,1,0]
t= [ 3/2 , 1/2, 0 ]

Does this mean that [3,0,0] + 1/2 (0,1,0) = [3,1/2,0]
Yes. Here t = 1/2. It's NOT a vector, so can't possibly be equal to <3/2, 1/2, 0>
says said:
Does this mean the proj P on to p' = [3,1/2,0]

I don't think this is right because (P-p') ⋅ p' = 0 because P-p' is orthogonal to p'

if p' = [3,1/2,0] then I need to ⋅ it with another vector that makes it = 0
 
  • #6
says said:
Find the projection, P', of the point P on the line p, the distance of P from p and the coordinates of the point R symmetric to P with respect to p, where P = [1, 2, 0], and p : X = [3, 0, 0] + t(0, 1, 0), t ∈ IR.
Have you drawn a sketch that includes the information here?

What does IR mean, as you have it in "t ∈ IR"?
 
  • #7
Sorry, I copied and pasted the question. t ∈ R.

The problem I am having with this question is understanding [3,0,0] + t(0,1,0). I've calculated the projection, presuming the vector that is on the line p is [3,0,0].

You are right in post #5 @Mark44, I have used an incorrect equation. It should have been
t = [ P ⋅ p / p ⋅ p ]

where
t is a scalar
P is the vector [1,2,0]
p is the vector that sits on the line

t = [1,2,0] ⋅ [3,0,0] / [3,0,0] ⋅ [3,0,0] ]
= 3/9 = 1/3

projection of P on to p = 1/3 * [3,0,0]
= [1,0,0]

To check the answer we know that the vector P - the projection dotted with the vector p = 0 because they are orthogonal to each other.

(P - projp P) ⋅ [3,0,0] = 0
(0,2,0) ⋅ [3,0,0] = 0

I've attached a photo of my working. I know I probably haven't answered the question properly, because I ignored the + t(0,1,0) bit, but I'm confused with the notation and what it means. The projection of P on to p will be any multiple of the vector [3,0,0] + t(0,1,0). If [3,0,0] and (0,1,0) both sit on the line then I can create a linear combination of the two and say that the vector [3,1,0] multiplied by some scalar, t, is equal to the projection of P on to p.
 

Attachments

  • 20160127_010020.jpg
    20160127_010020.jpg
    22.1 KB · Views: 324
  • #8
says said:
Sorry, I copied and pasted the question. t ∈ R.

The problem I am having with this question is understanding [3,0,0] + t(0,1,0).
As I said before, this is the sum of two vectors: the first, <3, 0, 0>, is the vector from the origin to the point (3, 0, 0). I use <> to denote vectors, and () to denote points. The second vector is t<0, 1, 0> which is exactly the same as <0, t, 0>. If you add <3, 0, 0> and t<0, 1, 0> you get a vector that extends from the origin to some point on the line.

For example, if t = 0, the vector sum is <3, 0, 0>. If t = 1/2, you get the vector <3, 0, 0> + <0, 1/2, 0> = <3, 1/2, 0>, which extends from the origin to the point (3, 1/2, 0). For each value of t, you get a different vector that points to a different point on the line.
says said:
I've calculated the projection, presuming the vector that is on the line p is [3,0,0].
(3, 0, 0) is a point on the line, but the direction of the line is the vector <0, 1, 0>. In other words, the line is parallel to the y-axis.
says said:
You are right in post #5 @Mark44, I have used an incorrect equation. It should have been
t = [ P ⋅ p / p ⋅ p ]

where
t is a scalar
P is the vector [1,2,0]
p is the vector that sits on the line

t = [1,2,0] ⋅ [3,0,0] / [3,0,0] ⋅ [3,0,0] ]
= 3/9 = 1/3
No. If t = 1/3, and assuming you're still working with your parametric form of the line, you get <3, 0, 0> + (1/3)<0, 1, 0> = <3, 1/3, 0>. This vector goes from the origin to the point (3, 1/3, 0).
says said:
projection of P on to p = 1/3 * [3,0,0]
= [1,0,0]

To check the answer we know that the vector P - the projection dotted with the vector p = 0 because they are orthogonal to each other.

(P - projp P) ⋅ [3,0,0] = 0
(0,2,0) ⋅ [3,0,0] = 0

I've attached a photo of my working. I know I probably haven't answered the question properly, because I ignored the + t(0,1,0) bit, but I'm confused with the notation and what it means. The projection of P on to p will be any multiple of the vector [3,0,0] + t(0,1,0). If [3,0,0] and (0,1,0) both sit on the line then I can create a linear combination of the two and say that the vector [3,1,0] multiplied by some scalar, t, is equal to the projection of P on to p.
Your drawing would be better if you had overlaid your vectors onto an x-y coordinate system. Because of the vectors involved in this problem, in which the z-coordinate is 0 for all, you can get away with drawing everything in two dimensions.
 
  • #9
Here's a sketch of your problem. Rather than call the line p, which is very confusing, I have labeled it L. Point P(1, 2, 0) can be thought of as the head of the vector ##\vec{OP}##, which extends from the origin to point P. The line segment I show going from the origin out to line L is the vector <3, 0, 0> + 1<0, 1, 0>, where t = 1. With different values of t, you get different vectors, all of which end on line L.

From the drawing, it should be pretty obvious what the projection of ##\vec{OP}## in the direction of L is, as well as how far P is from line L.
Projection.png
x
 
  • #10
Ok, that makes much more sense. Thank you.

So the line can be thought of as a vector [3,0,0] but the projection we want is the projection of P onto a vector that goes from the origin to the line, and sits on the y-axis at t-intervals of y.
 
  • #11
says said:
Ok, that makes much more sense. Thank you.

So the line can be thought of as a vector [3,0,0]
NO!
The vector <3, 0, 0> is parallel to the x-axis. In my updated drawing, below, the vector <3, 0, 0> is the horizontal red line segment. The line (L in my drawing) is parallel to the y-axis.
says said:
but the projection we want is the projection of P onto a vector that goes from the origin to the line, and sits on the y-axis at t-intervals of y.
No.
Here is the problem statement from post #1:
says said:
Find the projection, P', of the point P on the line p,
This problem is very poorly written, IMO, which makes it very difficult to understand. Some things that stand out:
1. If you project a point (P) onto a line, you get a point. The problem seems to be asking for a vector.
2. The way the problem is written suggests that point P is on the line (it isn't).
3. The problem's author is very unimaginative, using P, P', and p to describe different things in the problem, especially using p as the label for a line.

You have complained about your textbook before. Who is the author of this textbook? Maybe your complaint about the book being worthless is valid.

Here is how I interpret the first part of this problem.
Find the projection of the vector ##\vec{OP}## (in green) onto line L (in black).​

The red vector, <3, 1, 0> is the sum of two other vectors (in blue), <3, 0, 0> + t<0, 1, 0>. In the drawing, t = 1. Each choice of t results in a vector that points to a different point on the line (L, in black).

You seem to be trying to find the projection of <1, 2, 0> (in green) onto the red vector. The problem, the best I can understand it, is asking you to project the vector <1, 2, 0> onto the line L (in black).

Projection.png
 
  • #12
I agree with the statement about the question. Too many P's! I think the question is asking for the projection of P onto the line (3,1,0) or any other [3,0,0] + t(0,1,0) though.
 
  • #13
says said:
I agree with the statement about the question. Too many P's! I think the question is asking for the projection of P onto the line (3,1,0) or any other [3,0,0] + t(0,1,0) though.
That's not how I read the problem. It's asking for the projection onto the line I'm calling L, not onto a vector <3, 0, 0> + t<0, 1, 0>. This vector generates all of the points on line L.

You should probably ask your teacher for his or her opinion of what this problem ias asking for.

BTW, what textbook are you using?
 

1. What is the concept of projections on to a line?

The concept of projections on to a line refers to the process of projecting a higher-dimensional object or data set onto a one-dimensional line in order to better understand its structure and relationships. This technique is commonly used in mathematics, physics, and data analysis.

2. How is a projection on to a line calculated?

A projection on to a line is calculated by finding the component of the higher-dimensional object or data set that lies along the direction of the line. This can be done using mathematical formulas or algorithms, depending on the specific context and application.

3. What is the purpose of performing a projection on to a line?

The purpose of performing a projection on to a line is to simplify and visualize complex data or objects. By reducing the dimensionality of the data, patterns and relationships can become more apparent, making it easier to analyze and interpret.

4. Can projections on to a line be used in real-world applications?

Yes, projections on to a line have many real-world applications. They are commonly used in fields such as computer graphics, machine learning, and data analysis to analyze and visualize complex data sets and objects.

5. Are there different types of projections on to a line?

Yes, there are different types of projections on to a line, such as orthogonal projections and oblique projections. The type of projection used depends on the specific context and desired outcome of the analysis.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
18
Views
548
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
20
Views
2K
  • Precalculus Mathematics Homework Help
Replies
14
Views
228
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Back
Top