(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.
#Help Required Asap (Linear Algebra)
47 messages · Page 1 of 1 (latest)
For q6, which exact coordinates do I substitute in? And is the equation I am substituting them into the one from q5, d)?
The coordinates of the origin. And yes.
For q5 d), how I need to write a vector equation and a scalar equation. How do I find each one separately? Also, for q6 would I then plug my coordinates into the vector equation from q5 or the scalar equation?
The scalar equation is obtained by expanding the dot product definition I wrote.
The vector equation will be r = r0 + st1 + vt2 (t1 and t2 are parameters).
Just to clarify, what are you referring to when you mention r0 and r1?
Would you be able to calculate what the 2 equations for q5 part d) are as a confirmation?
Sure! What did you get?
What form are my equations supposed to be in? ax + by + cz = d?
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?
s is the direction vector of the lines, v = r1 - r0, like in (b).
Yes.
Wait, equations? There's just one plane.
well, q5 d) asks for a vector and scalar equation
Well, as I said, the vector equation is just r = r0 + st1 + vt2. No calculations needed for it.
What are s and v?
Well, I just said it above...
s is the direction vector of the lines, v = r1 - r0.
Yes, so since we have 2 direction vectors, which one would be used for the vector equation of the plane?
The lines are parallel.
Ah so either one can be used?
They are the same, though...
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
Yeah, that's correct.
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?
r = {x, y, z}
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.
Yes, thank you.
Could you confirm if the distance between the two lines for part q5 part c) is 2 units?
Yes, seems so.
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?
Because the plane only contains points that satisfy its equation.
If the origin doesn't, then it doesn't contain it.
and this can only be shown using the scalar equation and not the vector equation?
Well, you can show it with the vector equation, but it takes a while, so not worth it.
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?
Yes.
Really, only the planes ax + by + cz = 0 pass through the origin.
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?
Well, we have:
L0: r = r0 + st
L1: r = r1 + st
So, we can see that r(L1) - r(L0) = r1 - r0.
Ok. Thanks a lot for all your help!