Page 1 of 1

Analytic geometry?

Posted: Mon Jul 02, 2012 1:15 am
by hadimotamedi
Dear All
For the line crossing from points P0(x0,y0,z0) and P1(x1,y1,z1) and in the direction of vector P0P1 we know that :
P0P1 (x1-x0,y1-y0,z1-z0)
So the line equation will be :
(x-x0)/(x1-x0)=(y-y0)/(y1-y0)=(z-z0)/(z1-z0)
So how we can obtain the coordinates of the middle point M(x,y,z) on the P0P1 line with equal distance from P0 and P1?
(Can you please let me know how can I write mathematics formula here? For example, writing them in Microsoft Word 2007 and then copy-paste here?)

Re: Analytic geometry?

Posted: Mon Jul 02, 2012 3:26 am
by mathgradhopeful
Are you asking about how you would get the midpoint on the line with endpoints P0 and P1?

If this is what you're asking, use the midpoint formula:
((x1-x0)/2, (y1-y0)/2, (z1-z0)/2))

Re: Analytic geometry?

Posted: Mon Jul 02, 2012 4:15 am
by hadimotamedi
Thank you very much for your help. It is exactly what I meant.

Re: Analytic geometry?

Posted: Mon Jul 02, 2012 4:16 am
by hadimotamedi
Sorry. What about copy-paste mathematics formula here?

Re: Analytic geometry?

Posted: Mon Jul 02, 2012 8:23 am
by vonLipwig
Trying to do fancy mathematical formulas is more effort than it's worth - what you wrote was fine, really. If you really really want the equations to look nice, you could use MathBin. http://mathbin.net/