Engineering ToolBox - Resources, Tools and Basic Information for Engineering and Design of Technical Applications!

This is an AMP page - Open full page! for all features.

Search is the most efficient way to navigate the Engineering ToolBox!

Cartesian Coordinate System - Distance and Intermediate Position Between Two Points

Sponsored Links

In the rectangular Cartesian coordinate system the coordinate axes are perpendicular to one another and the same unit length is chosen on the two axes.

The distance between two points in Cartesian x and y coordinate system can be calculated as

$$ d(P_1, P_2) = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \tag{1}$$

Example - Distance between two points

For point P1 the coordinates are x1 = 4, y1 = 5, and for point P2 the coordinates are x2 = 7, y2 = 9.

The distance between the points can be calculated as

$$ d(P_1, P_2) = \sqrt{(7 - 4)^2 + (9 - 5)^2} = \underline {5} $$

Intermediate position between two points

The intermediate position between two point in the cartesian coordinate system can be calculated as

$$ x ={ (r_1 x_1 + r_2 x_2) \over (r_1 + r_2 )} \tag{2}$$

$$ y = {(r_1 y_1 + r_2 y_2)  \over (r_1 + r_2 ) }\tag{3}$$

where

r1 = ratio of the distance between P1 to P - to the distance of P1 to P2

r2 = ratio of the distance between P2 to P - to the distance of P1 to P2

For the midpoint between P1 and P2:

$$ r_1 = r_2 = 1 \tag{4}$$

- and eq. 2 and 3 can be expressed as

$$ x ={ (x_1 + x_2) \over 2} \tag{2a}$$

$$ y = {(y_1 + y_2)  \over 2}\tag{3a}$$

Example - Midpoint on Line

The midpoint on the line in the example above can be calculated as

$$ x ={ (4 + 7) \over 2 } = \underline {5.5} $$

$$ y = {(5 + 9)  \over 2 } = \underline {7} $$

Sponsored Links

Related Topics

Mathematics

Mathematical rules and laws - numbers, areas, volumes, exponents, trigonometric functions and more.

Related Documents

Circle Equation

The equation for a circle

Distance between 3D Points

Distance between two points in a three dimension x, y and z coordinate system - online calculator.

Polar vs. Cartesian Coordinates

Convert between Cartesian and Polar coordinates.

Pythagorean Theorem

Verifying square corners.

Triangle

Triangle analytical geometry.

Sponsored Links

Search Engineering ToolBox

Search is the most efficient way to navigate the Engineering ToolBox!

SketchUp Extension - Online 3D modeling!

Add standard and customized parametric components - like flange beams, lumbers, piping, stairs and more - to your Sketchup model with the Engineering ToolBox - SketchUp Extension - enabled for use with the amazing, fun and free SketchUp Make and SketchUp Pro . Add the Engineering ToolBox extension to your SketchUp from the Sketchup Extension Warehouse!

Privacy

We don't collect information from our users. Only emails and answers are saved in our archive. Cookies are only used in the browser to improve user experience.

Some of our calculators and applications let you save application data to your local computer. These applications will - due to browser restrictions - send data between your browser and our server. We don't save this data.

Google use cookies for serving our ads and handling visitor statistics on the AMP pages. Please read Google Privacy & Terms for more information about how you can control adserving and the information collected.

AddThis use cookies for handling links to social media. Please read AddThis Privacy for more information.