How to Find Midpoint of a Line Segment? - GeeksforGeeks (2024)

Midpoint of a Line Segment is the point which divides the line segment into two equal parts. It lies exactly between the endpoints of the line. The midpoint of a line segment is highly useful for solving various geometrical problems. With the help of the midpoint, we can find the center of an object, line, or any other curve.

In this article, we will learn about line segments, the midpoint of a line segment, the formula to calculate the midpoint of a line segment, and then we will see some practice problems on how to find the midpoint of a line segment.

What is Line Segment?

Line segment is a straight path that does not curve or bend. It is a part of a line that has a definite beginning and end, represented by two distinct endpoints.

A line segment always follows a straight path and has a definite length. The length of a line segment can be calculated by calculating the distance between the endpoints of the line segment using the Distance Formula, which is given below:

Distance = √ (x2 -x1 ) + (y2 -y1)

where (x2, x1) and (y2, y1) represent the coordinate of the endpoints of the line segment.

What is Mid-Point of a Line Segment?

Mid point of a line segment is the point lying in the Mid of line.

It is equidistant from both the ends of the line. Mid point divides the line segment in two equal parts.

Midpoint Formula

Since mid point lies exactly in the Mid of line segment so coordinates of mid point can be calculated using the mid point formula as

  • x coordinate of the mid point will be equal to the sum of x coordinate of end points divided by 2.
  • y coordinate of the mid point will be equal to the sum of y coordinate of end points divided by 2.

OR

Coordinate of Mid point = ( x1 + x2 / 2 , y1 + y2 / 2 )

Where

  • (x1 , y1 ) and (x2 , y2) represents the coordinates of end point of the line.

Midpoint Formula for Three Dimension

The mid point formula for two points in three dimension is given below:

Coordinate of Mid point = ( ( x1 + x2 ) / 2 , (y1 + y2 ) / 3 , (z1 + z2 ) / 2 )

where

(x1 , y1 , z1 ) and (x2 , y2 , z2 ) represents the coordinate of end point of the line in 3 Dimensions.

Read More,

  • Perpendicular Bisector
  • Mid Point Theorem
  • Practice Questions on Coordinate Geometry

Solved Examples on Midpoint of a Line Segment

Example 1: Find the Midpoint of line segment joining the points (-3,6 ) and (7,2) ?

Solution :

Given points are (-3, 6) and (7, 2) .

X coordinate of Mid Point = x1 + x2 / 2 = ( -3 + 7) / 2 = 4/2 = 2 .

Y coordinate of Mid Point = y1 + y2 / 2 = ( 6 + 2 ) / 2 = 8/2 = 4 .

So the coordinate of mid point of given points are (2,4) .

Example 2 : Find the Midpoint of line whose end points are represented as (acos2θ , bsin2θ) and (asin2θ , bcos2θ) ?

Solution :

The given points are (acos2θ , bsin2θ) and (asin2θ , bcos2θ) .

X coordinate of Mid Point = x1 + x2 / 2 = ( acos2θ + asin2θ) / 2 = a (cos2θ + sin2θ)/2 = a/2 .

Y coordinate of Mid Point = y1 + y2 / 2 = ( bsin2θ + bcos2θ) / 2 = b (sin2θ + cos2θ) /2 = b / 2 .

So the coordinate of mid point of given points are (a/2 , b/2 ) .

Note : Sin2θ + Cos2θ = 1

Example 3 : If the Midpoint of (h ,3) and (12 ,5) is (8 , 4) then find the value of h ?

Solution :

The given Points are (12 , 5 ) and (h,3 ) .

The x coordinate of mid Point is = (12 + h ) / 2

Comparing the x coordinate with the x coordinate of given point we have

(12 + h ) / 2 = 8

or

12 + h = 16

or

h = 4 .

So the required value of h is 4 .

Example 4 : If (h , k ) represents the Midpoint of line segment joining (7,-3) and ( 3, 7) then find the coordinates of p represented as (h2-5k , 2h – 5k ) .

Solution :

Given (h , k ) represents the coordinates of mid point of (7,-3 ) and (3,7 ) .

So ,

h = (sum of x coordinate of given points ) / 2 i.e. (7 + 3 ) / 2 = 5

and

k = (sum of y coordinate of given points )/2 i.e. (-3 + 7 ) 2 = 4/2 = 2 .

So (h , k ) is (5 , 2 ) .

Now

h2 – 5k = 52 – 5 . 2 = 25 – 10 = 15

and

2h – 5k = 2.5 – 5.2 = 0

So the required coordinates of p are ( 15 , 0 ) .

Example 5: Find the value of x and y if the Midpoint of line joining A (-3, 5 ) and B ( 7 , 7 ) is M ( x3 -6 , y2 – 3 ) .

Solution :

Given M represents the coordinates of Mid point of AB . So ,

Let (h , k ) be the coordinates of M i.e. Mid point of AB

So

h = (sum of x coordinate of given points ) / 2 i.e. (-3 + 7 ) / 2 = 2

and

k = (sum of y coordinate of given points )/2 i.e. (5+ 7 ) 2 = 12/2 = 6 .

Comparing the given coordinates of M and the coordinates of M from Mid Point formula .

x3 – 6 = h = 2

or x3 = 8

or x = 2

Similarly ,

y2 – 3 = k = 6

or

y2 = 9

and y = 3 or y = -3

So the required value of x is 2 and required value of y are = 3 or -3 .

Practice Question on Mid Point of a line Segment

Q1. Find the Midpoint of line joining ( 2 , – 6 ) and (8 , – 8 ) ?

Q2 . Find the Midpoint of line joining p ( 7 , 1 ) and q , where q represents the Mid point of A ( 8 , -5) and B ( -6 , 3 ) ?

Q3 : If M( 4, -4 ) represents the Mid point of A ( h , k ) and B ( 7 , 9) , find the coordinates of A then ?

Q4 : Find the value of x2 – 3x + y , where x and y represents the coordinate of Mid Point of A( 6 , 0 ) ( 0 , 4 ) ?

Q5 : Find the Mid point of A ( sinθ , tanθ ) and B ( cosθ , cotθ) when θ = π / 4 .

Q6 : Find the distance between the point A( 7 , 3 ) and Mid point of AB , where B ( -1, 3) ?

Answer Key

  1. ( 5 , -7 )
  2. ( 4 , 0 )
  3. ( 1 , -17 )
  4. 2
  5. ( 1/√2 , 1 )
  6. 4

FAQs on Midpoint of a Line Segment

Can zero be the Mid point of line ?

Yes zero can be the mid point a line segment for example the Mid point of line joining (-6 , 0 ) and (0 , 6 ) is (0,0).

What is the formula for the midpoint of a line segment?

Formula for the midpoint of a line segment = ( x1 + x2 / 2 , y1 + y2 / 2 )

Where

  • (x1 , y1 ) and (x2 , y2) represents the coordinates of end point of the line.

What is Midsegment of a Triangle?

The midsegment of a triangle is a line segment connecting the midpoints of two sides of the triangle. It is parallel to the third side of the triangle and is half its length.

What is Mid point of a circle ?

The Mid point of a circle is the center of the circle . It lies on the center of the largest chord (i.e. Diameter ) of the circle.

Can the Mid point be outside the line segment ?

No , the Mid point cannot lie outside the line segment . It always lie on the center / Mid of line segment joining the end points .

How to apply the Mid point formula in three dimension ?

We can use the Mid point formula in three dimensions as :

Coordinate of Mid point = ( ( x1 + x2 ) / 2 , (y1 + y2 ) / 3 , (z1 + z2 ) / 2 )

where ,

(x1 , y1 , z1 ) and (x2 , y2 , z2 ) represents the coordinate of end point of the line in 3 Dimensions.



How to Find Midpoint of a Line Segment? - GeeksforGeeks (1)

Anonymous

Improve

Previous Article

Program to check if three points are collinear

Next Article

Difference Between Discrete and Continuous Variable

Please Login to comment...

How to Find Midpoint of a Line Segment? - GeeksforGeeks (2024)

FAQs

How to Find Midpoint of a Line Segment? - GeeksforGeeks? ›

Midpoint of a line formula

Add the two x coordinates and divide by 2 to find the x coordinate of the midpoint, and add the two y coordinates and divide by 2 to find the y coordinate of the midpoint.

How do you find midpoint of a line segment? ›

Midpoint of a line formula

Add the two x coordinates and divide by 2 to find the x coordinate of the midpoint, and add the two y coordinates and divide by 2 to find the y coordinate of the midpoint.

What is the formula for the middle of a segment? ›

Find The Midpoint Of A Line Segment : Example Question #4

The formula for midpoint = (x1 + x2)/2, (y1 + y2)/2. Substituting in the two x coordinates and two y coordinates from the endpoints, we get (–1 + 3)/2. (4 + 6)/2 or (1, 5) as the midpoint.

What is the formula for midpoint line? ›

The midpoint formula in coordinate geometry is defined as the formula to find the center point of a straight line, using the coordinates of its endpoints. It says the midpoint of a line segment with coordinates (x1 y1) and (x2, y2) is given by the formula ((x1 + x2)/2, (y1 + y2)/2).

What is the formula for the midpoint of a section? ›

Important Notes on Section Formula:

Section formula for external division is: P(x, y) = (mx2−nx1m−n,my2−ny1m−n) ( m x 2 − n x 1 m − n , m y 2 − n y 1 m − n ) Midpoint formula is: M(x, y) = (x2+x12,y2+y12) ( x 2 + x 1 2 , y 2 + y 1 2 )

How to do midpoint formula? ›

The midpoint formula is just an average. Add the 2 X-values, then divide by 2. Add the 2 Y-values, then divide by 2. You have then found the average for the X and Y values which gives you the point half way between the original 2 points.

What is the formula for the line segment? ›

Line Segment Formula

In this case, we use the distance formula, that is, D = √[(x2−x1 x 2 − x 1 )2 + (y2−y1 y 2 − y 1 )2]. Here, (x1 x 1 , y1 y 1 ) and (x2 x 2 , y2 y 2 ) are the coordinates of the given points.

What is the midpoint method formula? ›

This average is calculated in the ( Q 2 + Q 1 ) / 2 and the ( P 2 + P 1 ) / 2 portions of the elasticity formula. This is where the midpoint method gets its name. The average is the midpoint between the old value and the new value.

What is the formula for the midpoint rule? ›

The Midpoint Rule

Mn=n∑i=1f(mi)Δx M n = ∑ i = 1 n f ( m i ) Δ x . Then limn→∞Mn=∫baf(x)dx lim n → ∞ M n = ∫ a b f ( x ) d x .

How to find the end point of a line segment? ›

Subtract the x-coordinate of the known endpoint from the first value to get the x-coordinate of the missing endpoint: x₂ = 2x - x₁. Subtract the y-coordinate of the known endpoint from the second value to get the y-coordinate of the missing endpoint: y₂ = 2y - y₁.

How do you find the midpoint of the line segment joining the points? ›

You can find the midpoint of a line segment given 2 endpoints, (x1, y1) and (x2, y2). Add each x-coordinate and divide by 2 to find x of the midpoint. Add each y-coordinate and divide by 2 to find y of the midpoint. It's important to note that a midpoint is the middle point on a line segment.

Top Articles
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 5705

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.