Skip to main content
SingaporeMaths

N(A)-Level Mathematics Coordinate Geometry and Vectors: gradient and equation of a line, length and midpoint of a line segment, and vectors in two dimensions

An overview of the N(A)-Level Mathematics Coordinate Geometry and Vectors strand (SEAB 4045). Finding the gradient and equation of a straight line, the length and midpoint of a line segment, and working with column vectors in two dimensions, with links to every dot point.

Generated by Claude Opus 4.88 min readSEAB-4045

Reviewed by: AI editorial process; not yet individually human-reviewed

Jump to a section
  1. Why coordinate geometry and vectors matter
  2. Gradient and equation of a line
  3. Length and midpoint of a line segment
  4. Vectors in two dimensions
  5. Check your knowledge

Why coordinate geometry and vectors matter

This strand of N(A)-Level Mathematics (SEAB 4045, Mathematics Syllabus A) puts geometry onto the coordinate grid, so that points, lines and movements all become calculations. The gradient and equation of a line, the length and midpoint of a segment, and the arithmetic of vectors all use the same coordinate thinking, and they connect directly to the functions and graphs and Pythagoras work elsewhere in the syllabus. This overview links to every dot point in the module, each with its own worked answers and practice.

See the full set of dot points at /sg-n-level/mathematics/syllabus.

Gradient and equation of a line

Gradient and equation of a line shows how to find a straight-line equation y=mx+cy = mx + c. First compute the gradient mm from two points as the change in yy over the change in xx (or use a given gradient), then substitute a known point into y=mx+cy = mx + c to find the intercept cc, and write the complete equation. Check by substituting the other point, taking care with signs when coordinates are negative.

Length and midpoint of a line segment

Length and midpoint of a line segment uses two coordinate formulae. The length joining (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is

(x2βˆ’x1)2+(y2βˆ’y1)2,\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2},

which is Pythagoras applied to the horizontal and vertical gaps. The midpoint is found by averaging the coordinates,
(x1+x22,y1+y22),\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right),

and written as a coordinate pair. Squaring removes any sign issue for the length.

Vectors in two dimensions

Vectors in two dimensions introduces quantities that have both size and direction, written as column vectors with the xx-change on top and the yy-change below. Add or subtract vectors by combining the top components together and the bottom components together, multiply by a scalar by scaling both components, and find the magnitude with Pythagoras as the square root of the sum of the squared components.

Check your knowledge

A mix of gradient, length, midpoint and vector questions covering the strand. Attempt them, then check the solutions.

  1. Find the gradient of the line through (2,1)(2, 1) and (6,9)(6, 9). (2 marks)
  2. Find the equation of the line through (0,3)(0, 3) with gradient 22. (2 marks)
  3. Find the length of the segment joining (1,1)(1, 1) and (4,5)(4, 5). (2 marks)
  4. Find the midpoint of the segment joining (βˆ’2,3)(-2, 3) and (4,7)(4, 7). (2 marks)
  5. Given vectors a=(3βˆ’1)\mathbf{a} = \begin{pmatrix} 3 \\ -1 \end{pmatrix} and b=(25)\mathbf{b} = \begin{pmatrix} 2 \\ 5 \end{pmatrix}, find a+b\mathbf{a} + \mathbf{b} and the magnitude of b\mathbf{b}. (3 marks)

Sources & how we know this

  • mathematics
  • sg-n-level
  • n-a-level
  • seab
  • 4045
  • coordinate-geometry
  • gradient
  • midpoint
  • length
  • vectors
  • 2026