-Dragoon-
- 308
- 7
Homework Statement
The vertices of a triangle are given by A(-3, 1, 2), B(1, -3, -1), and C(3, -1, -1). What are the coordinates of D(x, y, z) such that ABCD is a rectangle?
Homework Equations
\vec{AB} = \vec{CD}
\vec{AB} = \vec{OB} - \vec{OA}
\vec{CD} = \vec{OD} - \vec{OC}
The Attempt at a Solution
Since ABCD is a triangle, and two sides are equal:
\vec{AB} = \vec{CD} \vec{BC} = \vec{AD}
I decide to go with \vec{AB} = \vec{CD} to find vector D
First I find \vec{AB}:
\vec{AB} = \vec{OB} - \vec{OA}
\vec{AB} = (1 - (-3), -3 - 1, -1 - 2)
\vec{AB} = (4, -4, -3)
So, now that I have found vector AB, I can now find vector CD:
\vec{CD} = \vec{OD} - \vec{OC}
\vec{CD} = (x - 3, y - (-1), z - (-1)) = (4, -4, -3)
So, by using the values of vector AB to find the unknowns of vector D, I yield:
x = 7, y = -5, z = -3 (7, -5, -3). But, my book says the solution is x = -1, y = 3, z= 2 (-1, 3, 2). Instead of calculating vector AB = vector CD, they went with vector BC = vector AD. But, since it was a rectangle, shouldn't I have come to same answer as the textbook? Where did I go wrong? Thanks in advance.