Calculating Radial Distance to Midpoint of a Straight Line on an Octagon

  • I
  • Thread starter emmasaunders12
  • Start date
  • Tags
    Radial
In summary, the conversation discusses how to calculate the radial distance to the midpoint of a straight line connecting two points on a regular octagon. The summary includes information about the distance between two points, the center of the octagon, and the perpendicular distance between a line and a point. It also mentions that the problem cannot be solved uniquely with only two points and suggests finding formulas for the distance between a line and a point.
  • #1
emmasaunders12
43
0
Hi perhaps someone can point me in the correct direction.

If I have an Octagon and the co-ordinates of two points on separate faces, example, face 1 (xo,yo) and face 2 (x1,y1). And I draw a straight line connecting the two points. How can I calculate the radial distance to the midpoint of this straight line?

Thanks

Emma
 
Mathematics news on Phys.org
  • #2
If the points are diametrically opposite each other, then the line passes through the center of the octagon.
If the points are not diametrically opposite, then the line joining the two may pass through the center but may not ...
I think you need more information - like: is it a regular octagon?
 
  • Like
Likes billy_joule
  • #3
Simon Bridge said:
If the points are diametrically opposite each other, then the line passes through the center of the octagon.
If the points are not diametrically opposite, then the line joining the two may pass through the center but may not ...
I think you need more information - like: is it a regular octagon?

Thanks for the reply, yes its a regular octagon, your correct in stating that the lines won't pass through the centre and I need to figure out the deviation from the centre at the midpoint of the line that connects two faces
 
  • #4
The distance ##d(P_1,P_2)## between to points ##P_1 = (x_1,y_1)## and ##P_2 = (x_2,y_2)## is

##d(P_1,P_2) = \sqrt{(x_2 - x_1)^2 + (y_2-y_1)^2 }## (see https://en.wikipedia.org/wiki/Distance#Geometry)

The center ##C## of the line between them is ##C = (x_C, y_C ) = (\frac{1}{2} (x_2 + x_1),\frac{1}{2} (y_2 + y_1)).##
 
  • #5
I'm not sure what you want, can you draw a picture?
 
  • #6
fresh_42 said:
The center ##C## of the line between them is ##C = (x_C, y_C ) = (\frac{1}{2} (x_2 + x_1),\frac{1}{2} (y_2 + y_1)).##
That is right, but it is not necessarily the point closest to the center of the octagon.

@emmasaunders12: you need more information about the octagon. Where its center is, how long its sides are, where its corners are, or something like that.
 
  • #7
mfb said:
That is right, but it is not necessarily the point closest to the center of the octagon.
I know, but I interpreted "distance to the midpoint of this straight line" as the distance between the centers of the octagon and the line. It's not automatically the shortest distance to the line as a whole though.
 
  • #8
This is why a drawing from the OP might be very helpful...
 
  • #9
Geometrically, draw straight line connecting 2 points. Erect perpendicular to this line passing through center. You want distance from center along perpendicular to original straight line.
 
  • #10
Edit : Cancelled post
 
Last edited:
  • #11
I got it ... you know you have two points on a regular octagon. You want to know the distance between the line through these two points and the center of the octagon. This is similar to finding the distance from a chord to the center of a circle. However, you need three points to uniquely establish the circle ... you certainly need more than two to uniquely establish an octagon. The problem cannot be solved uniquely as stated.
 
  • #12
ok what if the added info is that the origin point is (0,0) and the line to the "midpoint" must be perpendicular
 
  • #13
Perpendicular to the line between your two points? Where is the relevance of the octagon then?

This is just the distance between a line and a point, and it should be easy to find formulas for that on various websites.
 
  • Like
Likes Simon Bridge

1. What is a radial distance octagon?

A radial distance octagon is a geometric shape that consists of eight sides and eight equal radial lines originating from the center of the octagon.

2. How is a radial distance octagon different from a regular octagon?

A radial distance octagon has eight equal radial lines, while a regular octagon has only four equal axes of symmetry.

3. What is the formula for calculating the area of a radial distance octagon?

The formula for the area of a radial distance octagon is A = 2(1 + √2) * r^2, where r is the length of one of the radial lines.

4. What are some real-life applications of a radial distance octagon?

Radial distance octagons can be found in architecture, such as in the design of windows or skylights, and in art, such as in the design of mandalas.

5. Can a radial distance octagon be divided into smaller shapes?

Yes, a radial distance octagon can be divided into eight isosceles triangles with their bases on the sides of the octagon and their apexes at the center of the octagon.

Similar threads

Replies
2
Views
299
  • General Math
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
17
Views
993
  • Introductory Physics Homework Help
Replies
1
Views
788
Replies
10
Views
2K
Replies
2
Views
1K
Replies
16
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
1K
Replies
2
Views
2K
Back
Top