Sub topic 11
Areas of Shapes Defined by Coordinates
This chapter assumes you can compute distance between two points, find slope, write a line equation, and find intercepts. It also assumes you are comfortable with the Pythagorean theorem and with the area formulas for rectangles and triangles. The goal is to turn coordinates into base and height as quickly as possible, because the GRE rewards the shortest route.
The Core Idea
Area formulas need lengths. Coordinates give you lengths, but only some lengths are easy to read.
- A segment that is horizontal or vertical has a length equal to a simple difference of coordinates.
- A tilted segment needs the distance formula, which is slower and more error-prone.
So the main strategy is to choose a base and height that lie along the axes, or along lines parallel to them, whenever you can.
The area formulas you need are these.
- Rectangle: area = width × height.
- Triangle: area = (1/2) × base × height, where the height is the perpendicular distance from the base to the opposite vertex.
Rectangles with Sides Parallel to the Axes
If a rectangle has opposite corners at (x1, y1) and (x2, y2) and its sides are parallel to the axes, then:
- width = |x2 − x1|
- height = |y2 − y1|
- area = |x2 − x1| × |y2 − y1|
The absolute values matter. A difference can be negative, but a length cannot.
For example, a rectangle with opposite corners (−2, 1) and (4, 5) has width |4 − (−2)| = 6 and height |5 − 1| = 4. Its area is 24.
def rect_area(p, q):
(x1, y1), (x2, y2) = p, q
return abs(x2 - x1) * abs(y2 - y1)
print(rect_area((-2, 1), (4, 5))) # 24A common error is subtracting without care for signs. Computing 4 − 2 instead of 4 − (−2) gives a width of 2 instead of 6. When a coordinate is negative, write the parentheses.
Triangles with a Horizontal or Vertical Side
If two vertices share a y-coordinate, the segment between them is horizontal, and it makes a convenient base. The height is the vertical distance from the third vertex to that line. The same logic applies when two vertices share an x-coordinate, with the roles of x and y swapped.
Take the vertices A(1, 2), B(7, 2), and C(4, 6).
- A and B share y = 2, so the base AB has length 7 − 1 = 6.
- The third vertex C is at y = 6, so the height is 6 − 2 = 4.
- Area = (1/2)(6)(4) = 12.
Notice that C's x-coordinate does not matter here. Sliding C left or right along y = 6 leaves the area unchanged, because the base and height stay the same. This is a useful fact for quantitative comparison questions.
Right Triangles on the Axes
The most common GRE setup is a triangle formed by a line and the two axes. The vertices are the origin, the x-intercept, and the y-intercept. The axes are perpendicular, so the legs of the triangle lie along them.
- One leg has length |x-intercept|.
- The other leg has length |y-intercept|.
- Area = (1/2) × |x-intercept| × |y-intercept|.
Consider the line y = −2x + 6.
- The y-intercept is 6.
- Setting y = 0 gives 2x = 6, so the x-intercept is 3.
- The area is (1/2)(3)(6) = 9.
def axes_triangle_area(m, b):
# line y = m*x + b, with m != 0 and b != 0
x_int = -b / m
return 0.5 * abs(x_int) * abs(b)
print(axes_triangle_area(-2, 6)) # 9.0The code fails if m = 0 (a horizontal line never crosses the x-axis) or if b = 0 (the line passes through the origin, so no triangle forms). Check for these cases in GRE problems too.
Triangles Cut Off in Other Quadrants
The formula uses absolute values, so it works in any quadrant. The line y = 2x − 8 has intercepts −8 and 4, and it forms a triangle with the axes in the fourth quadrant. The area is (1/2)(4)(8) = 16.
Triangles with No Axis-Parallel Side
Sometimes no side is horizontal or vertical. You have three main options.
Option 1: Enclose the triangle in a rectangle
Draw the smallest axis-parallel rectangle that contains the triangle. Then subtract the leftover right triangles.
Take P(0, 0), Q(6, 2), and R(2, 5).
- The bounding rectangle runs from (0, 0) to (6, 5), so its area is 30.
- Leftover triangle 1 (below PQ, with corners (0,0), (6,0), (6,2)): wait, this needs care. The pieces outside the triangle are three right triangles:
- Corners (0,0), (6,0), (6,2): legs 6 and 2, area 6.
- Corners (6,2), (6,5), (2,5): legs 3 and 4, area 6.
- Corners (0,0), (0,5), (2,5): legs 5 and 2, area 5.
- Triangle area = 30 − 6 − 6 − 5 = 13.
Option 2: The shoelace formula
For vertices (x1, y1), (x2, y2), (x3, y3):
area = (1/2) |x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)|
For the same triangle: (1/2)|0(2 − 5) + 6(5 − 0) + 2(0 − 2)| = (1/2)|0 + 30 − 4| = 13. The two methods agree.
def triangle_area(p, q, r):
(x1, y1), (x2, y2), (x3, y3) = p, q, r
return abs(x1*(y2 - y3) + x2*(y3 - y1) + x3*(y1 - y2)) / 2
print(triangle_area((0, 0), (6, 2), (2, 5))) # 13.0
print(triangle_area((1, 2), (7, 2), (4, 6))) # 12.0Option 3: Use a right angle or the distance formula
If two sides are perpendicular (their slopes are negative reciprocals), use them as base and height. Find each length with the distance formula. This is slower, so use it only when the problem hands you perpendicular sides.
The table compares the approaches.
| Situation | Best method | Column | Column | Column | Column |
|---|---|---|---|---|---|
| Rectangle with axis-parallel sides | Width × height | ||||
| Two vertices share an x or y value | Use that segment as the base | ||||
| Line and both axes | (1/2)·\ | x-int\ | ·\ | y-int\ | |
| Two sides are perpendicular | Use them as legs | ||||
| Nothing lines up | Bounding rectangle or shoelace |
Other Quadrilaterals and Composite Shapes
For a shape that is not a rectangle, split it into triangles and rectangles, or subtract pieces from a larger rectangle.
A trapezoid with parallel horizontal sides has area (1/2)(b1 + b2) × h, where b1 and b2 are the horizontal lengths and h is the vertical distance between them. For vertices (0, 0), (8, 0), (6, 3), and (2, 3), the bases are 8 and 4 and the height is 3, so the area is (1/2)(12)(3) = 18.
A parallelogram with a horizontal side has area base × vertical height. Do not multiply by the slanted side length. That is a frequent trap.
Areas Between a Line and the Axes in Quantitative Comparison
GRE questions often ask you to compare areas without finding them exactly. Use these facts.
- Doubling both intercepts multiplies the area by 4, since each leg doubles.
- Doubling only the base, with the height fixed, doubles the area.
- Moving a vertex parallel to the base does not change the area.
Common Errors
- Forgetting the factor 1/2 for triangles.
- Using a slanted side as the height. The height is always perpendicular to the base.
- Dropping absolute values and getting a negative area.
- Mixing up intercepts. The x-intercept comes from setting y = 0, and the y-intercept from setting x = 0.
- Using the shoelace formula and forgetting the final absolute value.
Worked GRE-Style Example
Two lines, y = x and y = −x + 6, and the x-axis form a triangle. Find its area.
- The lines intersect where x = −x + 6, so x = 3 and y = 3. The point is (3, 3).
- The line y = x meets the x-axis at (0, 0). The line y = −x + 6 meets it at (6, 0).
- The base lies on the x-axis from 0 to 6, so its length is 6.
- The height is the y-coordinate of the intersection point, which is 3.
- Area = (1/2)(6)(3) = 9.
This combines the previous chapter on intersections with the area idea here. Intersection points often supply the apex of the triangle.
Exercise
The line 3x + 4y = 12 and the two coordinate axes form a triangle. What is its area?
Show answer
Set y = 0 to get x = 4, and set x = 0 to get y = 3. The legs are 4 and 3, so the area is (1/2)(4)(3) = 6.
Exercise
A triangle has vertices (−1, 3), (5, 3), and (2, −2). What is its area?
Show answer
The first two vertices share y = 3, so the base is 5 − (−1) = 6. The third vertex is 3 − (−2) = 5 units below that line, so the height is 5. The area is (1/2)(6)(5) = 15.
Exercise
Quantity A is the area of the triangle with vertices (0, 0), (4, 0), and (1, 3). Quantity B is the area of the triangle with vertices (0, 0), (4, 0), and (3, 3). Which quantity is greater, or are they equal?
Show answer
Both triangles have the base from (0, 0) to (4, 0), with length 4. Both third vertices have y = 3, so both heights are 3. Each area is (1/2)(4)(3) = 6, so the quantities are equal.
Exercise
Use the shoelace formula to find the area of the triangle with vertices (1, 1), (5, 2), and (3, 6).
Show answer
Area = (1/2)|1(2 − 6) + 5(6 − 1) + 3(1 − 2)| = (1/2)|−4 + 25 − 3| = (1/2)(18) = 9.