David W. answered 11/25/15
Tutor
4.7
(90)
Experienced Prof
Finding the perimeter of any polygon is a matter of adding the length of the line segments that form its sides. So, if a four-sided figure has vertices A, B, C, and D, then the perimeter is the sum of the lengths AB, BC, CD, and DA:
Perimeter = AB + BC + CD + DA
That would be O.K. for a square (for which AB=BC=CD=DA) or a rectangle (for which AB=CD and BC=DA) or any other four-sided figure.
And -- the same process works for a five-sided figure or a six-sided figure or a ... (well, you get the idea). Often, it is just a matter of patience to calculate the perimeter. This is important, for example, when you want to put a fence around some property that has a complicated shape -- it is unacceptable to come up short of materials or to have way too much fence left over; and you would like to estimate the time it will take so you can get an idea of the total cost of the project (or share half the cost with each neighbor).
On a grid, there is a very important, very interesting help -- the distance formula. Two points, say A and B, have an x-distance difference and a y-distance difference that forms a right triangle with the hypotenuse being the direct distance. So, using the Pythagorean Theorem, the distance formula gives us the direct distance between any two points:
Direct distance = SQRT( (x-difference)^2 + (y-difference)^2 )
For the points A(1,1) and B(1,6) this is:
Distance AB = SQRT( (1-1)^2 + (6-1)^2 )
= SQRT( 0 + 5^2)
= 5
Note: When two points have the same x-coordinate, they form a vertical line segment. When two points have the same y-coordinate, they form a horizontal line segment. Those distances are pretty easy to determine. It's the slanted lines that force us to use the distance formula.