#Linear algebra

255 messages · Page 1 of 1 (latest)

ripe stream
#

Find the least distance between the ending point of a position vector r and the plane that is defined by three non colinear points with position vectors r1,r2,r3.
Can someone help? Cause I have no idea how to do this.

near karmaBOT
#
  1. Do not ping the Moderators, unless someone is breaking the rules.
  2. Do not ping the Helper Moderators, unless there is a conflict between helpers.
  3. Do not ping other members randomly for help.
  4. Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
  5. Wait patiently for a helper to come along.
  6. If the Helper has answered your question, remember to thank them with the Mathematics Ranks bot and close the thread with:

+close
Feel free to nominate the person for helper of the week in #helper-nominations
If you're happy with the help you got here, and the server overall, you can contribute financially as well:

jade plaza
#

Hello @ripe stream, try visualizing it. Do a sketch of a plane and a vector outside of that plane. what would be the minimal distance.

ripe stream
#

But how do I even describe a plane mathematically

#

I would guess I have to find the distance between two points, the one at the end of the vector and one on the plane. But I can’t arbitrarily choose a random point

jade plaza
#

How would you describe a plane using a single vector ?

ripe stream
#

How could I describe it?

#

Maybe a vector perpendicular to the plane?

jade plaza
#

YES !

ripe stream
#

Really?

jade plaza
#

Yes

ripe stream
#

Nice

#

So I need a cross product I guess?

jade plaza
#

Not just one cross product

ripe stream
jade plaza
#

Yes !!

ripe stream
#

Ok so I guess r2-r1 and r3-r2 or something

jade plaza
#

Good

#

Do you have some data or is it just an abstract question ?

ripe stream
#

Abstract

jade plaza
#

Ok

ripe stream
#

So now I work out the cross product between these vectors

#

And find a perpendicular vector n

#

Which I assume I have to make unitary?

jade plaza
#

Yeah

ripe stream
#

So n/|n|

jade plaza
#

But I suggest you make everything unitary

#

And create an orthonormal base

ripe stream
jade plaza
#

Yes

ripe stream
jade plaza
#

Absolutely

#

Cause as you said, you're gonna be doing orthogonal projections.

ripe stream
jade plaza
#

So you wanna make your life simple

ripe stream
#

So where do I go on from here?

#

I’m stuck

#

I mean how has this helped with the exercise though?

#

I now have a perpendicular unitary vector

#

But how does that help me find the distance between the vector r and the plane?

jade plaza
#

Did you create you basis in the plane ? is it orthonormal ?

ripe stream
#

Wait lemme do it

#

Maybe it’ll help me

jade plaza
#

Is this an exercice or are you just challenging yourself ?

ripe stream
#

@jade plaza how do I find the magnitude of n?

jade plaza
#

I'll be right back give me 5 (hungry)

ripe stream
jade plaza
#

Can I draw something for you ?

ripe stream
jade plaza
#

You're basically trying to find the green vector

#

which is the difference between the big red vector and the small one

ripe stream
jade plaza
#

Your original plane doesn't go through the origin point (not linear)

ripe stream
jade plaza
#

Noooo

#

It's parallel to your original plane, so that your basis works well

#

Now what you need to do is find the 2 red vectors

ripe stream
#

Just a plane parallel to the original?

jade plaza
#

yes and that goes through the origin

ripe stream
#

Alright

#

So we basically consider a plane parallel to the original that goes through the origin

ripe stream
#

How can I find the big red vector?

#

And the green one?

#

I have to project r somehow, I get that

#

But how?

#

I only have a vector perpendicular to the plane

jade plaza
#

ok, so small red vector is r projected on your plane. That will be easy since you did your gram schmidt thing, so it's the normal component of r. That's clear ?

jade plaza
#

Look at the small red vector ...

ripe stream
#

If I find the projection of r I can find the red vector too

jade plaza
#

It's normal to your planes right ?

ripe stream
jade plaza
#

yes

ripe stream
#

Yeah it is

jade plaza
#

So if you express r in your beautifully orthonormal basis. the "normal" component of r is that vector

#

the small red one

jade plaza
#

I drew the basis in blue

ripe stream
#

But first I have to make the basis

jade plaza
#

yeah but you can make that easily with gramm schmitt as you said

ripe stream
#

To use gramm Schmidt I have to have a basis already right?

#

I need three vectors b1,b2,b3 that are already a basis of E3 and then I make an orthonormal basis out of them

jade plaza
#

Well you have all your vectors expressed in a basis right ?

#

You have their coordinates so that's in a basis

ripe stream
#

No wait

#

I’ll use n r2-r1 and r3-r2?

jade plaza
#

yes

ripe stream
#

Alright

jade plaza
#

Anyway, whatever you take, your first vector needs to be n

ripe stream
#

Well n=(r2-r1)*(r3-r2)

jade plaza
ripe stream
#

I don’t have a cross product symbol sorry lol

jade plaza
#

in onrder to obtain n you need to solve :
n * (r2-r1) = 0
n * (r3-r2) = 0

#

That will give you n

ripe stream
#

Ohhhh

#

I didn’t think of that

#

I only thought of using cross product

jade plaza
#

cross product could work yeah

ripe stream
jade plaza
#

Would, sorry, I'm being a diva

ripe stream
#

No I mean like

#

It would actually work?

#

Cause I tried it and I don’t understand how to do it

#

Would I use a determinant?

jade plaza
#

It would, the cross product is always perpendicular to the original vectors

ripe stream
#

Yeah but how do I compute it here

#

Anyway imma try what you said

jade plaza
#

you take n = (x, y, z) and you solve

#

But what are you computing?? you told me this was all conceptual ?

ripe stream
#

That’s why idk what to compute

#

I would assume I have to express r1 r2 and r3 as through random coordinates

jade plaza
#

Forget computing we can do examples later if you want, you can pick any set of vectors and try

#

Let's finish the proof for now

ripe stream
#

Yeah Okk sorry

jade plaza
#

Ok, so small red vector clear ??

ripe stream
#

Wait no I haven’t found n yet 😭

#

Tbh idk how to make a basis

#

Like

jade plaza
#

wtf are you trying to find ?

ripe stream
#

I know how it works with the formula

#

But idk how to do it here

jade plaza
#

😄 we're just conceptualizing

ripe stream
#

Yeah I mean

#

n * (r2-r1) = 0
n * (r3-r2) = 0

#

What do I do with these?

jade plaza
#

To determine n, there are 2 :

  • Either you use the cross product (like you said)
  • or you use 2 scalar products (like I said)

Both work

jade plaza
ripe stream
#

Ok so now how do we go on😭

#

I’m sorry I’m so confused with this exercise

jade plaza
#

so where do you want to pick this up ?

ripe stream
#

Ok let’s say we have the orthonormal basis in terms of the vectors n,r1-r2,r3-r2

#

How exactly do I project r now?

jade plaza
#

Lets call them n, u1, u2

ripe stream
#

Okk

jade plaza
#

n being the normal component to the planes

ripe stream
#

Yep

jade plaza
#

the small red vector is just the n-component of vector r right ?

jade plaza
#

Sure ? understood ?

#

look at the draft

ripe stream
jade plaza
#

perfect

#

now the big red vector. how do you think we can get it ?

#

hint, it's also a normal component of a vector we know

#

Look at the draft

ripe stream
jade plaza
#

Yes, that’s why I put a minus, big red - small red

ripe stream
#

Oh kkkk

ripe stream
jade plaza
#

Let me give you a hint. It’s not just one vector

#

There are 3 of them

ripe stream
jade plaza
#

It could

#

But just take any point on the plane and it would work

#

so either r1, r2, r3

ripe stream
#

Oh yeah that makes sense

jade plaza
#

I added r1 and r2 to make it clear

#

with the right basis, they will all have the same vertical component

ripe stream
jade plaza
#

yes

ripe stream
#

How can we express the n component of r?

jade plaza
ripe stream
#

Isn’t it r-projection of r?

jade plaza
#

yes but you can just express r (as a vector) in the new basis

#

as you're gonna do with r1 btw ...

ripe stream
#

Yeahh

#

Ok

jade plaza
#

There are other ways

#

for example, if you don't want to go though the whole gramm schmidt, you can just focus on the normal vector and do projections

#

you'd be projecting (r2-r) projected along n

ripe stream
#

I don’t understand that

jade plaza
#

So

#

Small red = - r . n

#

right

#

?

ripe stream
#

Yeah

#

Wait

#

Is that -r*n?

#

Dot product?

jade plaza
#

yes dot

ripe stream
#

Omg

#

Bruhhhhhhhhhhhh

jade plaza
ripe stream
#

I feel so dumb rn

#

Yeah ffs

#

I couldn’t figure out how we find the red vectors

jade plaza
#

But make sure to have a unitary vector n !!

ripe stream
#

Yepp

jade plaza
#

Yeah I guess gramm schmidt was a bit overkill

ripe stream
#

So then I find the magnitude of the green vector and that’s it?

jade plaza
#

you can just do projections

#

YES

ripe stream
#

But this works perfectly

jade plaza
#

There's a 3rd way

#

😄

#

involving calculus

ripe stream
#

Calculus?

jade plaza
#

yes

ripe stream
#

Huhh?

#

Wait I’m curious now

#

Tell me

#

Pls

jade plaza
#

So basically ... let me draw it

#

So once you find the equation of the plane

#

You have the coordinates of the point N (basically the vector r)

#

You can express the coordinates of a generic point M belonging to the plane

#

Then you can express vector MN, and distance MN²

#

MN² is going to be a function of (x,y,z)

#

You'd have to minimize that function meaning :

  • First derivative = 0
  • Second derivative > 0
#

And solve

ripe stream
jade plaza
#

M (x,y,z) belonging to the plane should verify :

n . (OM + r1) = 0

#

OM (x,y,z), so that's gonna give you three equations ...

#

Once you have those you're gonna want to minimize OM

jade plaza
#

It's gonna be long if we do it now 😄

ripe stream
jade plaza
#

Actually you gotta check if the formula is in your syllabus, cause if that's the case, we don't need all this hassle

ripe stream
#

Cause this is a linear algebra class and we don’t even focus on planes so idek why this was an exercise to begin with

jade plaza
#

I hope you understood well the first 2 proofs

ripe stream
jade plaza
#

If I can give you an advice, when you feel stuck in algebra :

  • Either draw to visualize
  • or keep going with logical implications until you stumble on an insight
ripe stream
#

I appreciate your help very much

#

Tysm!!!!

jade plaza
#

You’re very welcome. Have a good night

ripe stream
#

+close

tired ravineBOT
# ripe stream +close
Please thank your Helpers before closing!

Please thank the helpers who assisted you by clicking the buttons below. You can thank each helper only once. Once you're done, click "Close Post" to close this thread.

tired ravineBOT
# tired ravine

Thank you for your feedback! ShakiGras has been awarded 1 helper_points. They now have 2 helper_points. They have 3 helper_points daily left for today.