Answer:
The direction of
is (4,4,-5).
The midpoint of the line segment
is in (-1 , 3 , 2.5)
Explanation:
The direction of a vector that goes from the initial point A to the final point B can be calculated as the subtraction of B with A. In this case:
![\overrightarrow{P_1P_2}=\vec{P_2}-\vec{P_1}=(1, 5, 0) - (-3, 1, 5)=(4, 4, -5)](https://img.qammunity.org/2021/formulas/mathematics/college/61wj42uatjdux70t24zv3376197ql2flr4.png)
The midpoint of the line segment between two points A and B can be obtained as the halving of the addition of the vector A with the vector B. The line segment AB and the vector A+B make a rhombus. These lines will cross each other in their respective mediatrix. Therefore, if you obtain the point of the mediatrix of the vector A+B, you will find the midpoint of the segment AB. In this case:
![P_(mid1-2)=(\vec{P_1}+\vec{P_2})/2=(1)/(2)[(-3, 1, 5)+(1, 5, 0)]=(-1, 3, 2.5)](https://img.qammunity.org/2021/formulas/mathematics/college/624zpz9z7tujot9u357ls1hhqjv8miwdwh.png)