##### Related Content

# Midpoint Formula

**(x**=

_{1}, y_{1})**(**

**,**

**)**

**(x**=

_{2}, y_{2})**(**

**,**

**)**

**(**

*x*_{midpoint},*y*_{midpoint}) = ...**Voovers+ Full Solution Steps Preview:**

## Midpoint Formula Lesson

#### Lesson Contents

### What is the Midpoint Formula?

**The midpoint formula allows us to find the midpoint of a line between two distinct points. In other words, it takes the average of a line’s given endpoints.**

### Why do we Learn About the Midpoint Formula?

The midpoint formula might be a fundamental topic, but it can be very useful when high tech tools and gadgets are unavailable.

Let’s say that we are camping the woods and we want to set up our tent approximately between the lake where we will catch fish and a patch of small trees where we can gather firewood with a small hatchet.

Unfortunately, somewhere between the lake and firewood spot, there is a ravine that is surrounded by large trees that blocks a direct path and line of sight between our two points of interest. Since we only have a watch and a compass, we will have to make use of what we have to navigate to the approximate midpoint between the lake and firewood spot.

Beginning at the lake, we can begin walking north at a consistent pace until we see the firewood gathering area directly to the east such that the ravine is no longer in our way. At this point we will take a mental note of how long it took us to reach this spot to the north. Then, we can walk to the east until we get to our firewood gathering spot while taking note of the travel time.

Since the lake was our starting point, the coordinates based on travel time will be (0 minutes east, 0 minutes north). Let’s say that we walked 10 minutes to the north and 6 minutes to the east to get to the firewood spot from the lake. This would leave us with the travel time coordinates of (6 minutes east, 10 minutes north).

Applying the midpoint formula, we find that we need to walk north for five minutes and east for 3 minutes to reach the approximate midpoint between the lake and firewood gathering area where will set up camp.

### How to use the Midpoint Formula

We can find the midpoint of a line by using the following formula:

$$\begin{align}&\left(\frac{(x_{1} + x_{2})}{2}, \frac{(y_{1} + y_{2})}{2}\right)\end{align}$$

Where *x _{1}*,

*y*,

_{1}*x*, and

_{2}*y*are the given coordinates for the first and second points respectively.

_{2}The steps for finding the midpoint are as follows:

- Add
*x*to_{1}*x*._{2} - Divide the result from Step 1 by 2 (This is the
*x*coordinate for the midpoint). - Add
*y*to_{1}*y*._{2} - Divide the result from Step 3 by 2 (This is the
*y*coordinate for the midpoint).

### Example Problem

## How the Calculator Works

This calculator uses a combination of HTML, CSS, and JavaScript.

HTML, or “HyperText Markup Language”, provides the framework for the calculator. With HTML, we can create entities such as the calculator box, solution steps field, and the various buttons on the interface.

We then use CSS, or “Cascading Style Sheets”, for the aesthetic design of the aforementioned calculator, calculator buttons, and solution steps field.

While having the virtual calculator interface on the page is a good start, the calculator has to also be functional. To accomplish this, JS, or “JavaScript”, is used. JS allows the calculator buttons to insert the relevant value into the input fields when pressed. JS also allows the actual mathematical calculations to take place when the “calculate” button is pressed.

All of these elements come together to form the Midpoint Formula Calculator that allows users to find the midpoint between their given endpoints, see solution steps that change based on their inputs, and visualize their problem on an interactive graph.