Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-12-19 10:52:13

Ramesh5492
Guest

Coordinates

Hello everyone, I am shivam's friend, and I will open account soon. I had a math test and was stuck on this point:
I will make a general figure of the thing I don't understand.
We have a quadrilateral ABCD. I am given the coordinates for all four vertices. How do you know which edges (i.e. AB or CD) are opposite to each other? Lets say I have to find the centroid for which I need bimedians. How do I know which sides are opposite, from the coordinates, to find the midpoint and so on...

Second question
Lets say I have a parerellogram, ABCD.
I am given coordinates for ABC, how many possible coordinates can I have for D?
Is it related to that CD has to be parallel to AB or something like that?
Thanks...

#2 2013-12-19 13:12:55

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

Hi Ramesh5492;

First question.

Try each pair of points, take the slope of the line between them. In a parallelogram the slopes of opposite sides are equal. When you find 2 slopes that are equal you have found the 2 opposing sides.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2013-12-19 13:41:56

ramesh5492
Guest

Re: Coordinates

a quadrilateral is not necessarily a parerellogram

#4 2013-12-19 13:48:07

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

Hi;

I would think that for a quadrilateral you are going to have to do a better job defining "opposite side." Which side is opposite AB?

And of course, complex or intersecting quadrilaterals are even more difficult to say what the opposite side is.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#5 2013-12-20 01:43:02

Bob
Administrator
Registered: 2010-06-20
Posts: 10,164

Re: Coordinates

hi Ramesh5492

Welcome to the forum.

I wonder if I have understood your question.  Let's check:

You know the coordinates of four points, A, B, C and D; but they are not necessarily lettered in order around the shape.

Now you want to know is AB opposite to CD or should it be AC opposite to BD  or AD and BC ?

I have a method that seems to work but I haven't checked all cases yet to make sure it won't let you down in extreme cases.

(i)  Out of the four x coordinates find the largest, xmax.  Similarly find xmin, ymax and ymin.

(ii) This means you can enclose the quadrilateral in a rectangle.  (see diagram below)

(iii) So find the equation of the line AC and also of BD.

(iv) If these lines cross inside the rectangle, then AB and CD are diagonals. That's the case in my diagram.

(v) But if I'd chosen my letters differently so that these lines cross outside the rectangle, then AB and CD are opposite.

Does that always work?  Still thinking about that ................................  dizzy

EDIT: Not if the quadrilateral has a reflex angle (arrowhead).

Bob

Last edited by Bob (2013-12-20 01:53:37)


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#6 2013-12-20 05:54:16

Ramesh5492
Guest

Re: Coordinates

Bobbym I tried that, but that would be too long. We would have to find the opposite sides then the midpoint then the equations and then solve the system to get the point of intersection. But anyways, if this was the intended way then how many slopes would I have to test?

Bob bundy, thanks but the only tools we were given were the distance and mid point formulas. I doubt we were expected to do it in that method.

#7 2013-12-20 06:02:01

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

My suggestion is one way if you have a parallelogram.

For a quadrilateral you are going to have define what you mean by opposite. In the quadrilateral below which side is opposite CEB or AB for that matter?

If it is difficult visually to find the opposite side of a given side how can we expect to do it mathematically? The word "opposite" is too ambiguous.

I think you will need to restrict the question to some particular type of quadrilateral.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2013-12-20 06:08:57

Ramesh5492
Guest

Re: Coordinates

I guess opposite means non-consecutive sides. Lets say I give you points ABCD (with the coordinates) but no diagram. I tell you to find the centroid by finding the bimedian lines' intersection. How would you know which sides are opposite such that their midpoints make up the bimedian?

#9 2013-12-20 06:15:53

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

In the above diagram in post #7, which is the opposite side to CEB ?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#10 2013-12-20 06:27:44

ramesh5492
Guest

Re: Coordinates

I don't know, but I meant simple quads like rectangles, squares, pararellograms etc. How can I get the opposite sides of that?

#11 2013-12-20 06:30:31

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

With those 3 types the slope idea will work fine because all of them have the property that the opposite sides are parallel to the given side. But if you have a type like post #4 you will have a problem again.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#12 2013-12-20 06:33:32

ramesh5492
Guest

Re: Coordinates

Yeah, so for non-complex/non-intersecting quads the check for slopes method will work? And how many slopes do I need to test if I have ABCD?

#13 2013-12-20 06:42:35

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

I am not following you?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#14 2013-12-20 06:44:08

ramesh5492
Guest

Re: Coordinates

I meant for quads like squares, rectangles etc the checking if slopes of equal method will work for finding opposite sides?

And secondly, how many slopes do I need to calculate for a quadrilateral ABCD to find the opposite sides?

#15 2013-12-20 06:48:17

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

I meant for quads like squares, rectangles etc the checking if slopes of equal method will work for finding opposite sides?

I believe so.

If I were given 4 points, I would need only one test to find the line opposite a given line.

Do you have an example?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#16 2013-12-20 06:50:19

ramesh5492
Guest

Re: Coordinates

I don't get it. If I had ABCD, wouldn't I need slopes of AB, CD, AC, BD etc?

#17 2013-12-20 06:53:53

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

Hi;

If you are given a side and 4 points then it is easy. 2 of your 4 points are the endpoints of the side you are given. The other 2 points are the endpoints of the other side. This will work provided you have a parallelogram ( square and rectangle are parallelograms) and are given a side.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#18 2013-12-20 06:55:59

ramesh5492
Guest

Re: Coordinates

I just have four points, ABCD. They form a quadrilateral. How many slopes do I need to test for equality?

#19 2013-12-20 07:02:00

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Coordinates

There are:

ways to pick 2 from the 4 points when order does not count.

If I pick A and B, I test the other 2, C and D. ( 1 test )

If I pick A and D, I test B and C. ( 1 test )

If I pick A and C then I have a small problem.

I have picked a diagonal and will have to choose again. Do you need to see a diagram?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#20 2013-12-21 04:17:41

Bob
Administrator
Registered: 2010-06-20
Posts: 10,164

Re: Coordinates

hi ramesh5492


Method for finding the centroid of a quadrilateral (works for all convex quads.)

Split the quad into two triangles along one diagonal.

Find the centroid of each triangle by intersecting medians.

Join these centroids with a line.

Repeat for the other diagonal.

Where the two centroid joining lines cross is the centroid of the quad.

So for your four points:

(i)  Choose any point and call it A

(ii)  Temporarily call the other three points, P, Q and R in any order.

(iii) Calculate the gradients for AP, AQ and AR.

(iv) The gradient which lies between the other two will be the diagonal.  Rename it AC

(v) Rename the other two points B and D either way round.


(vi) Find the centroid of ACB and also of ACD.  Join these points with a line.  The centroid of the quad will be somehwere on this line.

(vii) Repeat for triangles BDA and BDC.  Make a second line by joining these centroids.

(viii) The centroid of the quadrilateral is where these two lines cross.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

Board footer

Powered by FluxBB