Vectors and 3D Coordinate Geometry

In summary, you are trying to find the equation of a curve, and you've found that r'(t) is the vector which is tangential to the curve at a given point. You also found that the derivative of the dot-product is 2(r(t) - p) . (r'(t)) + (r(t) - p) . (r'(t)).
  • #1
kehler
104
0

Homework Statement


Suppose that II c R3 is a plane, and that P is a point not on II. Assume that Q is a point in II whose distance to P is minimal; in other words, the distance from P to Q is less than or equal to the distance from P to any other point in II. Show that the vector PQ is orthogonal to II.
Hint given: Define a differentiable vector function r(t) with r(t) a subset of II, and r(0) = Q. Let p be the vector with components given by the coordinates of P. Let
f(t) = |r(t)-p|2 = (r(t)-p) . (r(t)-p)
What can u say about
df(t)/dt |t=0 ?


The Attempt at a Solution


Not quite sure how to do it
I let r(t) = ro + vt, where v is any vector in II and r(0) = Q
So r(t) = Q + vt
Then,
f(t) = (Q + vt -p) . (Q + vt -p)
df(t)/dt = (Q + vt - p) . (v) + (Q + vt - p) . (v) (wasn't quite sure how to differentiate dot products but i used the product rule)

So, df(t)/dt |t=0 = 2(Q-p) . (v)

I don't know where to go from here. I guess I must show that equation is zero to prove that it's ortogonal but I don't know how to...
Is this method even right? Any help would be much appreciated :)
 
Last edited:
Physics news on Phys.org
  • #2
You should make it clear the Q=r(0) is the closest point in the plane to P. That makes r(t).r(t) a minimum at t=0. What's the derivative of a function at a minimum?
 
  • #3
kehler said:
Hint given: Define a differentiable vector function r(t) with r(t) a subset of II, and r(0) = Q. Let p be the vector with components given by the coordinates of P. Let
f(t) = |r(t)-p|2 = (r(t)-p) . (r(t)-p)
What can u say about
df(t)/dt |t=0 ?

Hi kehler! :smile:

I think you're missing the point …

r(t) is a vector in II.

In other words, r defines a perfectly general curve in II, with a parameter t …

r(t) is the vector (from the origin) to the point on the curve with parameter t.

Then you get a relationship between r'(t) and r(t). :smile:

(and you're right, you can use the product rule on a dot-product!)
 
  • #4
r(t) is a vector in II.

In other words, r defines a perfectly general curve in II, with a parameter t …

r(t) is the vector (from the origin) to the point on the curve with parameter t.

Then you get a relationship between r'(t) and r(t).

I still don't really get it, tiny-tim :S. So did I do it correctly? Does this mean r(t) is not ro + vt because this is the equation of a line not a curve?
r'(t) is the slope of r(t) isn't it?

You should make it clear the Q=r(0) is the closest point in the plane to P. That makes r(t).r(t) a minimum at t=0. What's the derivative of a function at a minimum?
Thd derivative should be zero but I don't really know how to get it to be zero :S


Thanks guys for your help :). Sorry I'm a bit slow to get stuff :(
 
  • #5
kehler said:
Does this mean r(t) is not ro + vt because this is the equation of a line not a curve?

Yes. It's a line, and therefore it's not in II.

r(t) is in II. :smile:
r'(t) is the slope of r(t) isn't it?

Hold it!

r(t) is a vector.

So r'(t) is a vector also (not a number, such as a slope).

And in fact r'(t) is the vector which is … ? :smile:
 
  • #6
Yes. It's a line, and therefore it's not in II.

r(t) is in II.

How then do I get an equation of a curve, tiny-tim? :S
r(t) = At2 + Bt + C?

Hold it!

r(t) is a vector.

So r'(t) is a vector also (not a number, such as a slope).

And in fact r'(t) is the vector which is … ?

Would it be the vector tangential to the point on the curve then?
 
  • #7
Hi kehler! :smile:
kehler said:
How then do I get an equation of a curve, tiny-tim? :S
r(t) = At2 + Bt + C?

No, r(t) is the equation of the curve!

r is an "unknown curve", just as x can be an "unknown number". :wink:

You don't need to know what r(t) is!
Would it be the vector tangential to the point on the curve then?

Yes. r'(t) is tangential to the (unknown, general) curve at that point.

Now combine that with the differential of that dot-product. :smile:
 
  • #8
Yes. r'(t) is tangential to the (unknown, general) curve at that point.

Now combine that with the differential of that dot-product.

Hmm ok. So df(t)/dt = (r(t) - p) . (r'(t)) + (r(t) - p) . (r'(t)) = 2 (r(t) - p) . (r'(t))
So, df(t)/dt |t=0 = 2(Q-p) .(r'(0))
I guess this should be zero... But I don't know how to show it without already knowing that they are ortogonal :S.
 
  • #9
kehler said:
Hmm ok. So df(t)/dt = (r(t) - p) . (r'(t)) + (r(t) - p) . (r'(t)) = 2 (r(t) - p) . (r'(t))
So, df(t)/dt |t=0 = 2(Q-p) .(r'(0))
I guess this should be zero... But I don't know how to show it without already knowing that they are ortogonal :S.

Are you forgetting how this started? :wink:

When the distance is a minimum, df(t)/dt = … ? :smile:

(going to sleep now … :zzz:)
 
  • #10
Hmm ok. I'll think about it some more and come back if I still don't get it. Thanks tiny-tim for your patience! Goodnight :D
 
  • #11
A very simple way to do this is purely geometric. Suppose PQ is NOT perpendicular to the plane. Draw the perpendicular from P to the plane and call the point at which the perependicular crosses the plane R. Then PQR is a right triangle with right angle at R. PR is a leg of that right triangle and PQ is the hypotenuse. By the Pythagorean theorem, [itex]|PQ|= \sqrt{|PR|^2+ |QR|^2}< |PR|[/itex] contradicting the fact that |PQ| is minimal. (| | here indicates the length of the line.)
 
  • #12
A very simple way to do this is purely geometric. Suppose PQ is NOT perpendicular to the plane. Draw the perpendicular from P to the plane and call the point at which the perependicular crosses the plane R. Then PQR is a right triangle with right angle at R. PR is a leg of that right triangle and PQ is the hypotenuse. By the Pythagorean theorem, contradicting the fact that |PQ| is minimal. (| | here indicates the length of the line.)

Oh wow, that method's a lot simpler :). Thanks HallsOfIvy.

Tiny-tim, is my solution correct now:
Let r(t) be a differentiable vector function r(t) with r(t) a subset of II, and r(0) = Q.
Let p be the vector with components given by the coordinates of P.
Let f(t) = |r(t)-p|2 = (r(t)-p) . (r(t)-p)
So, f'(t) = (r(t)-p).r'(t) + (r(t)-p).r'(t) = 2(r(t)-p).r'(t)
Since the distance from P to Q is less than or equal to the distance from P to any other point in II, f'(t) = 0 when r(t) = Q. This occurs when t=0 by definition
So f'(0) = 0
But f'(0) = 2(r(0)-p).r'(0) = 2(Q-p).r'(0)
Therefore, 2(Q-p).r'(0) = 2(PQ).r'(0) = 0
Since r'(0) lies in II, PQ is orthogonal to II
 
  • #13
kehler said:
Tiny-tim, is my solution correct now:
Let r(t) be a differentiable vector function r(t) with r(t) a subset of II, and r(0) = Q.
Let p be the vector with components given by the coordinates of P.
Let f(t) = |r(t)-p|2 = (r(t)-p) . (r(t)-p)
So, f'(t) = (r(t)-p).r'(t) + (r(t)-p).r'(t) = 2(r(t)-p).r'(t)
Since the distance from P to Q is less than or equal to the distance from P to any other point in II, f'(t) = 0 when r(t) = Q. This occurs when t=0 by definition
So f'(0) = 0
But f'(0) = 2(r(0)-p).r'(0) = 2(Q-p).r'(0)
Therefore, 2(Q-p).r'(0) = 2(PQ).r'(0) = 0
Since r'(0) lies in II, PQ is orthogonal to II

Hi kehler! :smile:

Yes, that's fine, except for the last line.

All you've proved is that PQ is perpendicular to the tangent of that particular curve, r(t).

So you should add "but this applies for any curve through Q, and so PQ is perpendicular to the tangent of every curve in II through Q, ad so is perpendicular to II."

btw, HallsofIvy's proof works fine in this case, where II is a plane, but the proof above will work for any surface, to prove that pQ is perpendicular to the tangent plane at Q. :wink:
 
  • #14
Thanks tiny-tim! :D
 

FAQ: Vectors and 3D Coordinate Geometry

What is a vector?

A vector is a mathematical object that has both magnitude and direction. It is represented by an arrow with a specific length and direction in a coordinate system.

How do you add and subtract vectors?

To add or subtract vectors, you can use the head-to-tail method or the component method. In the head-to-tail method, you place the tail of one vector at the head of the other vector and draw a new vector from the tail of the first vector to the head of the second vector. In the component method, you break down the vectors into their x-, y-, and z-components and then add or subtract the components separately.

What is the dot product of two vectors?

The dot product of two vectors is a scalar value that represents the product of their magnitudes and the cosine of the angle between them. It is calculated by multiplying the corresponding components of the vectors and then adding the results.

How do you find the equation of a line or plane in 3D coordinate geometry?

To find the equation of a line in 3D coordinate geometry, you need two points on the line and the direction vector of the line. The equation is then written in the form of r = r0 + tv, where r0 is the position vector of one point on the line, v is the direction vector, and t is a parameter. To find the equation of a plane, you need three non-collinear points on the plane and then use the formula n · (r - r0) = 0, where n is the normal vector to the plane and r0 is the position vector of any point on the plane.

How do you find the distance between two points in 3D coordinate geometry?

The distance between two points in 3D coordinate geometry can be found using the distance formula: d = √((x2 - x1)2 + (y2 - y1)2 + (z2 - z1)2), where (x1, y1, z1) and (x2, y2, z2) are the coordinates of the two points.

Back
Top