#Help Required Asap (Linear Algebra)

47 messages · Page 1 of 1 (latest)

ivory oracle
#

(b).
We can take that v just as the difference of vectors of points they go through:
v = r1 - r0 = {0, 1, 0} - {2, 1, 0} = {-2, 0, 0}
(c).
First, we find v = r1 - r0 again.
Then we need to find its component that is perpendicular to the direction vector s of both lines:
perp(s, v) = v - proj(s, v) = v - (v·s/(s·s))s
Then the distance between the lines is just the length of that vector:
d(L0, L1) = |perp(s, v)| = |v - (v·s/(s·s))s|
We can stop there, but I will bring it to a more common form first.
Let's consider the squared distance.
d(L0, L1)^2 = (v - (v·s/(s·s))s)^2 = v·v + (v·s/(s·s))^2 s·s - 2(v·s/(s·s))v·s = |v|^2 + (v·s)^2/|s|^2 - 2(v·s)^2/|s|^2 = |v|^2 - (v·s)^2/|s|^2 = (|v|^2 |s|^2 - (v·s)^2)/|s|^2
And now we can apply the following identity: (v·s)^2 + (v⨯s)^2 = |v|^2 |s|^2.
d(L0, L1)^2 = (v⨯s)^2)/|s|^2
Thus:
d(L0, L1) = |(r1 - r0)⨯s|/|s|
(d).
The normal vector of the plane must be perpendicular to both s and v. So, we can take it as their cross product:
n = s⨯v
Now we can pick a point that the plane passes through: either r0 or r1, doesn't matter. I'll pick r0.
Then the equation of the plane is, as usual:
n·(r - r0) = 0
Q6.
Just substitute these coordinates into the resulting equation of the plane and see that you don't get a valid equality.

fluid inlet
ivory oracle
fluid inlet
ivory oracle
fluid inlet
fluid inlet
# ivory oracle

Would you be able to calculate what the 2 equations for q5 part d) are as a confirmation?

fluid inlet
#

Also, for q5 part d) when u mentioned "The normal vector of the plane must be perpendicular to both s and v. So, we can take it as their cross product: n = s⨯v" What are s and v in this case?

ivory oracle
ivory oracle
#

Wait, equations? There's just one plane.

fluid inlet
ivory oracle
ivory oracle
fluid inlet
#

Yes, so since we have 2 direction vectors, which one would be used for the vector equation of the plane?

ivory oracle
#

The lines are parallel.

fluid inlet
#

Ah so either one can be used?

ivory oracle
#

They are the same, though...

fluid inlet
#

ah ok got it

#

Ok so is this the correct vector equation:

r = [0, 1, 0] + t_1[0, 1 ,2] + t_2[-2, 0, 0] t_1, t_2 are elements of the real numbers

fluid inlet
#

ok, i will confirm my scalar equation soon.

#

When u mentioned "Then the equation of the plane is, as usual: n·(r - r0) = 0" What is r in this case?

fluid inlet
#

Would this be the correct scalar equation?

ivory oracle
#

n should be {0, -4, 2}, not {0, -4, -2}.

#

Anyway, the final equation should be 2y - z = 2, which I think you will arrive to after correcting that and some cancellation.

fluid inlet
#

Yes, thank you.

#

Could you confirm if the distance between the two lines for part q5 part c) is 2 units?

fluid inlet
#

I have one last question. Now that I know the scalar equation for q5 is 2y -z =2. How can I use that to show that the origin does not belong to the plane in q6? How does simply plugging in (0,0,0) and showing that both sides of the equation are not the same prove that (0,0,0) does not belong to the plane in q5?

ivory oracle
#

If the origin doesn't, then it doesn't contain it.

fluid inlet
#

and this can only be shown using the scalar equation and not the vector equation?

ivory oracle
#

Well, you can show it with the vector equation, but it takes a while, so not worth it.

fluid inlet
#

Since my equation does not have any x in ax + by +cz = d. I don't have to worry about the first 0 in (0,0,0) when plugging it into 2y -z = 2, right?

ivory oracle
#

Really, only the planes ax + by + cz = 0 pass through the origin.

fluid inlet
#

Ah ok, gotcha.

#

Lastly, for q5 b) when u said "We can take that v just as the difference of vectors of points they go through:" is this just some theorem that holds?

ivory oracle
fluid inlet
#

Ok. Thanks a lot for all your help!