Question #53074

I need to clear up something. What's the difference between the midpoint of two coordinates and finding half the distance between the points.

The formula for midpoint is ((x2 + x1)/2 , (y2 + y1)/2)
The formula for distance between two points is √((x2 - x1)^2 + (y2 - y1)^2)

Expert's answer

Answer on Question #53074 – Math – Analytic Geometry

Question

I need to clear up something. What's the difference between the midpoint of two coordinates and finding half the distance between the points? The formula for midpoint is ((x2+x1)/2,(y2+y1)/2)((x2 + x1)/2, (y2 + y1)/2) . The formula for distance between two points is (x2x1)2+(y2y1)2\sqrt{(x2 - x1)^2 + (y2 - y1)^2} ?

Solution

To understand the difference let's use the geometric interpretation and consider the following problem. Assume that two points A={x1;y1}A = \{x_1; y_1\} and B={x2;y2}B = \{x_2; y_2\} are given, and let ABAB be the line segment connecting the given points. Find the length of this segment and coordinates of its midpoint C={x,y}C = \{x, y\} .

Let's sketch out the figure concerning our problem (see fig.1) and introduce the following notation: the point O={x0;y0}O = \{x_0; y_0\} is the origin of coordinates; OA=r1\overrightarrow{OA} = \vec{r}_1 , OB=r2\overrightarrow{OB} = \vec{r}_2 , OC=r\overrightarrow{OC} = \vec{r} , where r1,r2,r\vec{r}_1, \vec{r}_2, \vec{r} are the radius vectors from the point OO to the points A,BA, B and CC respectively; AB\overrightarrow{AB} is vector from given point AA to the point BB .



Fig.1

Using the rule of vector addition we can write (see fig.1)


AB=AC+CB,\overrightarrow {A B} = \overrightarrow {A C} + \overrightarrow {C B},r1+AC=r,r+CB=r2.\vec {r} _ {1} + \overrightarrow {A C} = \vec {r}, \vec {r} + \overrightarrow {C B} = \vec {r} _ {2}.


As CC is midpoint of ABAB , then AC=CB\overrightarrow{AC} = \overrightarrow{CB} and from (1) we get


rr1=r2r.\vec {r} - \vec {r} _ {1} = \vec {r} _ {2} - \vec {r}.


or


r=r1+r22.\vec {r} = \frac {\vec {r} _ {1} + \vec {r} _ {2}}{2}.


By the definition of vector in a coordinate representation


r={xx0;yy0},r1={x1x0;y1y0},r2={x2x0;y2y0}.\vec {r} = \left\{x - x _ {0}; y - y _ {0} \right\}, \vec {r} _ {1} = \left\{x _ {1} - x _ {0}; y _ {1} - y _ {0} \right\}, \quad \vec {r} _ {2} = \left\{x _ {2} - x _ {0}; y _ {2} - y _ {0} \right\}.


Putting x0=0,y0=0x_0 = 0, y_0 = 0 we have


r={x;y},r1={x1;y1},r2={x2;y2}.\vec {r} = \{x; y \}, \vec {r} _ {1} = \left\{x _ {1}; y _ {1} \right\}, \quad \vec {r} _ {2} = \left\{x _ {2}; y _ {2} \right\}.


Thus, the relation (3) in a coordinate form is


r={x;y},x=x1+x22,y=y1+y22.\vec {r} = \{x; y \}, x = \frac {x _ {1} + x _ {2}}{2}, y = \frac {y _ {1} + y _ {2}}{2}.


Now we can write for the midpoint CC :


C={x,y}={x1+x22;y1+y22}.C = \{x, y \} = \left\{\frac {x _ {1} + x _ {2}}{2}; \frac {y _ {1} + y _ {2}}{2} \right\}.


According to definition, the distance between the two points AA and BB is the length dd of segment ABAB connecting these points.

Let's write the relations for the vector AB\overrightarrow{AB} (see fig.1):


AB=r2.r1AB={x2x1;y1y2}.\overrightarrow {A B} = \vec {r} _ {2.} - \vec {r} _ {1} \Rightarrow \overrightarrow {A B} = \left\{x _ {2} - x _ {1}; y _ {1} - y _ {2} \right\}.


In our case the length dd of segment ABAB is equal to the length of vector AB\overrightarrow{AB} :


d=AB=(ABAB)=(x2x1)2+(yy1)2.d = \left| \overrightarrow {A B} \right| = \sqrt {\left(\overrightarrow {A B} \cdot \overrightarrow {A B}\right)} = \sqrt {\left(x _ {2} - x _ {1}\right) ^ {2} + \left(y - y _ {1}\right) ^ {2}}.


Therefore, the formula (8) defines the length of segment (or the distance between the two points), whereas the formula (6) defines the coordinates of midpoint that lies on the line connecting the two given points.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS