053Mathematics · Coordinate geometry

Area enclosed by four ordered lines

Area enclosed by four ordered lines

Area enclosed by four ordered lines · S

  • 308 bytes
  • CMPLX mode
01

Worked examples

Example 1

A rectangular activity area has ordered boundaries x=0, y=0, x=4 and y=3. Coordinates are in metres. Which option gives its exact area?

  1. A.7
  2. B.10
  3. C.12
  4. D.24
Answer
C — 12 m².
Standard solution (without a calculator)
  1. Find the vertices: x=0 and y=0 give P(0,0); y=0 and x=4 give Q(4,0).
  2. Close the boundary: x=4 and y=3 give R(4,3); y=3 and x=0 give T(0,3).
  3. Find the sides: PQ=4−0=4 m and QR=3−0=3 m; adjacent sides are horizontal and vertical.
  4. Calculate the area: S=4×3=12 m², exactly, so no rounding is needed.
  5. Select the option: the required area is 12 m², option C.
Do it on the calculator

Example 2

A region on a coordinate grid satisfies x≥0, y≥0, y≤2 and x+y≤5, with one unit equal to 1 m. Its ordered boundaries are x=0, y=0, x+y=5 and y=2. Which option gives its exact area?

  1. A.6
  2. B.8
  3. C.10
  4. D.12
Answer
B — 8 m².
Standard solution (without a calculator)
  1. Find the lower vertices: x=0,y=0 gives P(0,0); setting y=0 in x+y=5 gives Q(5,0).
  2. Find the upper vertices: setting y=2 in x+y=5 gives x=3, hence R(3,2); x=0,y=2 gives T(0,2).
  3. Identify a trapezium: PQ and RT are horizontal, with lengths 5 m and 3 m. Their perpendicular separation is 2 m.
  4. Calculate: S=(5+3)×2/2=8 m², exactly.
  5. Select the option: the required area is 8 m², option B.
Do it on the calculator

Example 3

A simple concave quadrilateral PQRT has successive sides on x=0, y=0, x+3y=4 and 3x+y=4. Define P as the intersection of the first two lines, then Q,R,T from consecutive pairs. Coordinates are in metres. Find all four vertices and its exact area, and explain why a trapezium formula cannot be used directly.

Answer
P(0,0), Q(4,0), R(1,1), T(0,4); S=4 m². Neither pair of opposite sides is parallel.
Standard solution (without a calculator)
  1. Find P and Q: x=0,y=0 gives P(0,0); y=0,x+3y=4 gives Q(4,0).
  2. Solve for R: subtract x+3y=4 from 3x+y=4 to obtain 2x−2y=0. Thus x=y and 4x=4, giving R(1,1).
  3. Find T: x=0 in 3x+y=4 gives T(0,4). The vertex R lies inside triangle PQT, making the specified boundary concave.
  4. Split along PR: triangle PQR has base PQ=4 and height 1, so area 2 m²; triangle PRT has base PT=4 and height 1, also area 2 m². Hence S=2+2=4 m² exactly.
  5. Check the shape: one pair of opposite sides lies on a vertical line and a line of slope −1/3; the other pair has slopes 0 and −3. Neither pair is parallel, so the trapezium formula does not apply directly.
Do it on the calculator
02

When to use it

For ordered lines L₁,L₂,L₃,L₄, the vertices are L₁∩L₂, L₂∩L₃, L₃∩L₄ and L₄∩L₁. Their coordinates determine the enclosed area; four equations alone do not choose a region without the intended boundary order.

Enter the four lines

  • Write each line as aⱼx+bⱼy=cⱼ. Enter a₁+b₁i at A?, c₁ at B?, a₂+b₂i at C? and c₂ at D?.
  • Then enter a₃+b₃i at B?, c₃ at D?, a₄+b₄i at B? and c₄ at D?. Use ENG for i; enter every value, including zero.

Read the area

  • Read the single final S in square coordinate units. −1 marks a detected self-intersecting boundary; Math ERROR can mean parallel adjacent lines, a zero normal or repeated adjacent vertices.
  • After a valid area, X,Y,M,C hold the four vertices in order as x+yi. Do not interpret these memories after an error or −1.

Question types

  • Original practice at HKDSE Mathematics Compulsory Part level: find a region’s area from boundary equations, including a concave boundary. Determine the required region before entering its lines.

Before you start

  • Use CMPLX / Deg / Norm 1 and P1 with 308 bytes available; P1–P4 share 680 bytes. A,B,C,D,X,Y,M and Ans are overwritten.
  • Enter exactly eight values in boundary order, with a+bi followed by c for each ax+by=c. For x+y=5, enter 1+i then 5; do not enter 5+i.
  • The intended region must be a nonzero-area simple quadrilateral. Both clockwise and anticlockwise orders and simple concave shapes are allowed; unordered lines or unspecified half-planes do not identify a unique intended region.
  • Parallel or coincident adjacent lines, a zero normal and coincident adjacent intersections can give Math ERROR. A detected self-intersection returns −1, not an area.
  • Only after a valid result may X,Y,M,C be recalled as vertices. This program does not clip segments, select half-planes or handle polygons with five or more sides.
  • Use a single length unit for both axes; S has its square unit. Nearly parallel lines and extreme coordinate scales can magnify rounding error; confirm intersections algebraically when precision matters.
  • Blank EXE reuses a stored value, including B and D reused between lines. Enter zero explicitly. The LCD has no area-unit label; use AC after the final result.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.