Explore the Cartesian coordinate plane by moving two points on the graph. The interactive tool calculates the slope, midpoint, distance, and equation of the line in real time, helping learners connect each formula to a visual result.

How to use the Cartesian coordinate tool

Start with points A and B on the coordinate plane. Every time a point moves, the values beside the graph update automatically.

1

Move the points

Drag A or B on the graph. You can also select a point and enter its x- and y-coordinates directly.

2

Watch the results

Compare the new slope, midpoint, distance, and line equation after each movement.

3

Try whole numbers or decimals

Keep whole-number mode on for simpler examples, or turn it off to explore decimal coordinates.

4

Generate another example

Select New example to place both points at new coordinates and continue practicing.

What can you learn from two coordinates?

Slope

Slope describes how steep a line is and the direction in which it travels. It is calculated as the change in y divided by the change in x, often called rise over run.

Midpoint

The midpoint is exactly halfway between two points. Average the two x-coordinates, then average the two y-coordinates.

Distance

The distance formula measures the straight-line length between two points. It comes from the Pythagorean theorem.

Equation of a line

The equation describes every point on the same straight line. The tool displays it in slope-intercept form when possible and handles vertical lines separately.

Worked coordinate example

Suppose point A is (-4, 3) and point B is (5, -2).

The horizontal change is 9 and the vertical change is -5, so the slope is -5/9. The midpoint is (0.5, 0.5), and the distance between the points is approximately 10.3 units.

Move either point in the tool and notice which parts of these calculations change. Try making a horizontal line, a vertical line, and a line with a positive slope.

Ideas for practice

  • Make a horizontal line and explain why its slope is zero.
  • Make a vertical line and observe why its slope is undefined.
  • Place both points in the same quadrant, then place them in opposite quadrants.
  • Create a line with slope 1, then create a line with slope -1.
  • Find two points whose midpoint is the origin, (0, 0).

Frequently asked questions

What is a Cartesian coordinate plane?

A Cartesian coordinate plane is a two-dimensional grid formed by a horizontal x-axis and a vertical y-axis. A point is written as an ordered pair, (x, y).

Why is the slope of a vertical line undefined?

Slope is vertical change divided by horizontal change. A vertical line has no horizontal change, so the calculation would require division by zero, which is undefined.

How do I find the midpoint between two points?

Add the two x-coordinates and divide by two. Then add the two y-coordinates and divide by two. The resulting pair is the midpoint.

Can this tool be used on a phone or tablet?

Yes. The graph supports touch dragging and the layout adapts to smaller screens. Coordinate input fields are also available when precise placement is needed.

Leave a Comment