Skip to content

Mulkek

Math is simple

Menu
  • Home
  • All Lessons
  • Coordinate Geometry
  • Pythagorean Theorem
  • Triangles
  • Polygons
  • Circle
  • Algebra, Calculus, and Trigonometry
  • Private Tutoring
  • About
  • Contact Us
  • Privacy Policy
  • Cookie Policy

Distance Formula in \(2D\)

Explanation

In two dimensions \(2D\), points lie on a flat surface called the coordinate plane, also known as the \(xy\)-plane.

Each point is described by two coordinates:

$$(x,y)$$

The \(x\)-coordinate gives the horizontal position, and the \(y\)-coordinate gives the vertical position.

If we know the coordinates of two points, we can use the distance formula in \(2D\) to find the straight-line distance between them.

The distance formula comes from the Pythagorean Theorem. The horizontal and vertical changes form the two sides of a right triangle, while the distance between the two points forms the hypotenuse.

Formula / Rule

If the two points are:

$$P_1=(x_1,y_1)$$

and

$$P_2=(x_2,y_2)$$

then the distance between them is:

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

Where:

  • \(d\) is the distance between the two points.
  • \(x_1\) and \(y_1\) are the coordinates of the first point.
  • \(x_2\) and \(y_2\) are the coordinates of the second point.

The distance is always non-negative.

Example

Find the distance between:

$$P_1=(1,2)$$

and

$$P_2=(4,6)$$

Step 1: Use the distance formula.

$$d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

Step 2: Substitute the coordinates.

$$d=\sqrt{(4-1)^2+(6-2)^2}$$

Step 3: Simplify.

\begin{align}
d &= \sqrt{3^2+4^2}\\
\\
&= \sqrt{9+16}\\
\\
&= \sqrt{25}\\
\\
&=5
\end{align}

So, the distance between the two points is \(5\) units.

Video Explanation

Practice

  • More Examples
  • Take the Quiz

Continue Learning

  1. Plotting Points on the Coordinate Plane (\(2D\))
  2. Which Quadrant or Axis? Points on the Coordinate Plane \(2D\)
  3. Distance Formula in \(2D\) (Current lesson)
  4. Distance between Two Points in \(2D\)
  5. Distance Formula: Radius and Area of a Circle

Navigation

  • Back to Coordinate Geometry
  • Back to Home

© Mulkek 2026. Powered by WordPress

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. These cookies help us understand how visitors use our website so we can improve it.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}