which becomes:
vector R = <-1+T,6-2T,-1+2T>, where T is any real number.
that's the equation of the line R in vector equation form.
x = -1 + T
y = 6 - 2T
z = -1 + 2T
b. A second line L2 has equation r=(4,2,−1)+s(3,0,−4).
the equation of the first line is R = (-1,6,-1) + T * <1,-2,2>
the equation of the second line is L1 = (4,2,-1) + S * <3,0,-4>
the vector portion of these two lines is <1,-2,2> and <3,0,-4>
we'll call <1,-2,2> vector V and we'll call <3,0,-4> vector W.
these two vectors can be positioned anywhere on the graph, so they can be brought to intersect at a common point, allowing us to find the angle between them.
for example, you can place the tail end of both vectors at the origin.
the dot product of these two vectors can be found by the formula
vector V dot vector W = vx*wx + vy*wy + vz*wz.
that makes vector V dot vector W equal to 1*3 - 2*0 - 2*4 = -5.
there is an alternate formula for the dot product.
it is vector V dot vector W = magnitude of vector V * magnitude of vector W * cosine (theta), where theta is the angle between the two vectors.
you can use this formula to solve for the angle between the two vectors.
you get cosine (theta) = (vector V dot vector W) / (magnitude of vector V * magnitude of vector W).
we already calculated the dot product of vector V and vector W, which is equal to -5.
the magnitude of vector V is equal to sqrt(1^2 + (-2)^2 + 2^2) = sqrt(9)
the magnitude of vector W is equal to sqrt(3^2 + 0^2 + (-4)^2) = sqrt(25) = 5
cosine (theta) is therefore equal to -5 / (5*sqrt(9)) which is equal to -1/3.
in the first quadrant, the angle would be arcosine (1/3) = 70.52877936.
since the cosine is negative, the angle could be in the second quadrant or the third quadrant.
in the second quadrant, the angle would be (180 - 70.52877936) = 109.4712206.
in the third quadrant, the angle would be (180 + 70.52877936) = 250.5287794.
it's difficult to see what the angle is on the 3 dimension graph because the angle between the two vectors is in a different plane.
my guess is that the angle is 109.4712206 because 250 degrees just looks too large.
i used an online calculator and it told me the angle was 109 degrees, so i think my guess is right, assuming the calculator did the job correctly.
that calculator can be found at https://www.emathhelp.net/calculators/linear-algebra/angle-between-two-vectors-calculator/?ux=1&uy=-2&uz=2&vx=3&vy=0&vz=-4&steps=on
c. The lines L1 and L2 intersect at the point R. Find the coordinates of R.
Would I use a midpoint formula to discover this? Since R would be in the middle of both lines?
the intersection of the lines is the common point between the lines.
if you have a 3D graphing calculator, you might have the calculator find the point for you.
if not, then you need to find it algebraically by solving the two equations of the lines simultaneously.
a good reference on how to do that can be found at https://www.youtube.com/watch?v=LxDM5-wRAzI
the vector equations of both lines L1 and L2 would be:
L1 = <-1+T,6-2T,-1+2T>
L2 = <4+3S,2,-1-4S>
this means:
variable L1 L2
x -1 + T 4 + 3S
y 6 - 2T 2
z -1 + 2T -1 - 4S
if the lines intersect, then the (x,y,z) coordinate of the intersection point will be the same in both lines.
this means that:
-1 + T = 4 + 3S
6 - 2T = 2
-1 + 2T = -1 - 4S
take any two of these equations and solve for one of the variables.
then take the value of that variable and replace it in any one of the equations.
you will get S = -1 and T = 2
when S = -1 and T = 2, your lines will have a common x,y,z coordinate as shhown below.
for L1, x = -1 + 2 = 1
for L2, x = 4 + 3 * -1 = 4 - 3 = 1
for L1, y = 6 - 4 = 2
for L2, y = 2
for L1, z = -1 + 4 = 3
for L2, z = -1 - 4 * -1 = -1 + 4 = 3
the common intersection occurs when T = 2 and S = -1.
that intersection point is at (1,2,3).
since i really didn't know how to do this when i decided to try to answer this question, i had to rely on many references to embellish my understanding sufficiently to provide an answer.
the other tutor who answered these questions was one of those references, namely math_helper(1240).
he was quite helpful.
the other references were on the web and are shown below.
https://www.emathhelp.net/calculators/linear-algebra/angle-between-two-vectors-calculator/?ux=1&uy=-2&uz=2&vx=3&vy=0&vz=-4&steps=on
https://www.youtube.com/watch?v=98C7iv8OcnI
https://www.youtube.com/watch?v=qsgK1d-_8ik
https://www.youtube.com/watch?v=46y2ec1Nuuk
https://www.youtube.com/watch?v=PyPp4QvQY3Q
https://www.youtube.com/watch?v=h2kjjDK1t2s
https://www.youtube.com/watch?v=_YkIivLaVJs
https://www.youtube.com/watch?v=lulSApFPw1M
https://www.youtube.com/watch?v=DXB1PWq8Dg0
https://www.youtube.com/watch?v=MpN8BIci-Ys
https://www.youtube.com/watch?v=MpN8BIci-Ys
https://www.youtube.com/watch?v=H7wre3njI0Y
https://www.youtube.com/watch?v=LxDM5-wRAzI
there may be some redundancy, but better too much than too little so i included all that i found and reviewed that appeared to be pertinent to the problems at hand.
you may find them helpful as well.