Coordinate geometry (distance, midpoint, gradient) — KCSE Mathematics

KCSE Mathematics · 137 practice questions · 4 syllabus objectives · 4 revision lessons

46 easy46 medium45 hard

Last updated · Aligned to the KNEC KCSE syllabus

What You'll Learn

Key learning outcomes for this topic, aligned to the KNEC KCSE syllabus.

Calculate the distance between two points, the midpoint of a line segment and the gradient of a line

Write the equation of a straight line in the form y = mx + c and ax + by + c = 0; find the equation given gradient and a point, or two points

Determine whether two lines are parallel or perpendicular from their gradients; find the equation of a line perpendicular to a given line

Coordinate geometry (distance, midpoint, gradient)

Revision Notes

Concise lesson notes for Coordinate geometry (distance, midpoint, gradient), written to the KCSE Mathematics marking standard. Read the first lesson free below.

Distance, Midpoint, and Gradient in Geometry

In coordinate geometry, we often work with two points, say A(x₁, y₁) and B(x₂, y₂). To calculate the distance between these points, we use the formula:
Distance (d) = √[(x₂ - x₁)² + (y₂ - y₁)²].
Next, to find the midpoint M of the line segment joining A and B, we use:
Midpoint (M) = ((x₁ + x₂)/2, (y₁ + y₂)/2).
Lastly, the gradient (m) of the line through these points is calculated as:
Gradient (m) = (y₂ - y₁) / (x₂ - x₁).
These formulas are essential for solving various geometry problems effectively.

Key points to remember

  • Distance formula is derived from the Pythagorean theorem.
  • Midpoint averages the x and y coordinates of two points.
  • Gradient measures the slope of the line between two points.
  • Distance is always a positive value.
  • Gradient can be positive, negative, or zero.

Worked example

Calculate the distance, midpoint, and gradient between points A(2, 3) and B(5, 7).
Distance = √[(5 - 2)² + (7 - 3)²] = √[9 + 16] = √25 = 5.
Midpoint = ((2 + 5)/2, (3 + 7)/2) = (3.5, 5).
Gradient = (7 - 3) / (5 - 2) = 4 / 3.

Read all 4 Coordinate geometry (distance, midpoint, gradient) lessons free

Sign up free to unlock the full set of revision notes, all 137 practice questions with marking schemes, plus a personalised study plan that adapts to the topics you keep getting wrong.

More lessons in this topic

Lesson 2: Equations of a Straight Line

Objective: Write the equation of a straight line in the form y = mx + c and ax + by + c = 0; find the equation given gradient and a point, or two points

To write the equation of a straight line, we can use two forms: slope-intercept form (y = mx + c) and general form (ax + by + c = 0). Here, m is the gradient (slope) and c is the y-intercept.

Finding the Equation Given Gradient and a Point

  1. Start with the slope-intercept form: y = mx + c.
  2. Substitute the gradient and the coordinates of the point (x₁, y₁) into the equation to find c.
  3. Rearrange to get it in the general form if needed.

Example:

  • Given a gradient m = 2 and a point (3, 4).
  • Substitute: 4 = 2(3) + c → 4 = 6 + c → c = -2.
  • The equation is y = 2x - 2.
  • In general form: 2x - y - 2 = 0.

Finding the Equation Given Two Points

  1. Calculate the gradient (m) using the formula: m = (y₂ - y₁) / (x₂ - x₁).
  2. Use one of the points to find c in the slope-intercept form.

Example:

  • Points (1, 2) and (3, 6).
  • m = (6 - 2) / (3 - 1) = 2.
  • Using point (1, 2): 2 = 2(1) + c → c = 0.
  • The equation is y = 2x + 0 or 2x - y = 0.
  • Use y = mx + c for slope-intercept form.
  • Calculate c using a point and gradient.
  • Convert to general form ax + by + c = 0.
  • Use two points to find the gradient.
  • Substitute to find the equation of the line.

Find the equation of the line through points (2, 3) and (4, 7).

  • Gradient m = (7 - 3) / (4 - 2) = 2.
  • Using point (2, 3): 3 = 2(2) + c → c = -1.
  • Equation: y = 2x - 1 or 2x - y - 1 = 0.
Lesson 3: Parallel and Perpendicular Lines in Geometry

Objective: Determine whether two lines are parallel or perpendicular from their gradients; find the equation of a line perpendicular to a given line

In coordinate geometry, the gradient (slope) of a line is crucial in determining relationships between lines.

  1. Parallel Lines: Two lines are parallel if they have equal gradients. For example, if line A has a gradient of 2, line B must also have a gradient of 2 to be parallel.

  2. Perpendicular Lines: Two lines are perpendicular if the product of their gradients is -1. If line A has a gradient of m, then line B must have a gradient of -1/m.

To find the equation of a line perpendicular to a given line, use the formula for the line's equation:

y - y1 = m(x - x1), where (x1, y1) is a point on the line and m is the gradient of the perpendicular line.

For instance, if the equation of line A is y = 3x + 2, the gradient is 3. The gradient of a perpendicular line will be -1/3. If it passes through the point (1, 2), the equation becomes:

y - 2 = -1/3(x - 1).

  • Parallel lines have equal gradients.
  • Perpendicular lines have gradients that multiply to -1.
  • Use y - y1 = m(x - x1) for line equations.
  • Identify gradients from line equations.
  • Calculate perpendicular gradients as -1/m.

Determine if lines y = 2x + 3 and y = -1/2x + 1 are parallel or perpendicular.

  • Gradients are 2 and -1/2.
  • Product of gradients is 2 * (-1/2) = -1, so lines are perpendicular.
Lesson 4: Understanding Distance, Midpoint, and Gradient

Objective: Coordinate geometry (distance, midpoint, gradient)

In coordinate geometry, we analyze relationships between points on a plane using formulas for distance, midpoint, and gradient.

Distance Formula: The distance between two points (x1, y1) and (x2, y2) is calculated using:

[ d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} ]

Midpoint Formula: The midpoint M between two points (x1, y1) and (x2, y2) is given by:

[ M = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2} \right) ]

Gradient (Slope) Formula: The gradient (m) of a line through points (x1, y1) and (x2, y2) is:

[ m = \frac{y_2 - y_1}{x_2 - x_1} ]

These formulas are essential for solving problems related to the position and relationship of points on a coordinate plane.

  • Distance formula calculates the space between two points.
  • Midpoint formula finds the center point between two coordinates.
  • Gradient formula determines the slope of a line.

Calculate the distance between points A(2, 3) and B(5, 7).

  • Use distance formula: d = √((5 - 2)² + (7 - 3)²)
  • d = √(3² + 4²) = √(9 + 16) = √25 = 5.

Sample Questions

Read 3 questions and answers free. Sign up to access all 137 questions with full KNEC-style marking schemes and a personalised study plan.

1
easySHORT ANSWER2 marks

Calculate the distance between the points P(-1, -2) and Q(7, 3). Leave your answer in surd form where necessary.

Answer & marking scheme

Part (a) — 2 marks
Distance = √[(7 − -1)² + (3 − -2)²] (1 mk)
Simplify the surd where possible (1 mk)
2
easySHORT ANSWER2 marks

Find the coordinates of the midpoint M of the line segment joining A(2, 1) and B(-1, 10).

Answer & marking scheme

Part (a) — 2 marks
M = ((2 + -1)/2, (1 + 10)/2) (1 mk)
State the midpoint coordinates (1 mk)
3
easySHORT ANSWER2 marks

For the straight line equation 4y = -4x + -8, determine the coordinates of the points where the line meets the x-axis and the y-axis.

Answer & marking scheme

Part (a) — 2 marks
y-intercept: set x = 0 → 4y = -8 → y = -8/4; point is (0, -8/4) (1 mk)
x-intercept: set y = 0 → 0 = -4x + -8 → x = −-8/-4; point is (−-8/-4, 0) (1 mk)
4

A straight line L₁ has a gradient of 2/3 and passes through the point (-3, -1). Find its equation in the form y = mx + c.

+134 More Questions

Sign up free to access all 137 questions with marking schemes, track your progress, and get personalised recommendations.

Frequently asked questions

What does the KCSE Mathematics topic "Coordinate geometry (distance, midpoint, gradient)" cover?

Coordinate geometry (distance, midpoint, gradient) covers Calculate the distance between two points, the midpoint of a line segment and the gradient of a line; Write the equation of a straight line in the form y = mx + c and ax + by + c = 0; find the equation given gradient and a point, or two points; Determine whether two lines are parallel or perpendicular from their gradients; find the equation of a line perpendicular to a given line, and more, all aligned to the official KNEC KCSE Mathematics syllabus.

How many practice questions are available for Coordinate geometry (distance, midpoint, gradient)?

HighMarks has 137 Coordinate geometry (distance, midpoint, gradient) practice questions for KCSE Mathematics, each with a full marking scheme. The first 3 are free; sign up to access the rest, plus all KCSE mock exams and past papers.

Are these aligned with the KNEC KCSE syllabus?

Yes. Every objective on this page is taken directly from the official KNEC KCSE Mathematics syllabus. Practice questions match the KCSE exam format and are graded against the standard KNEC marking scheme.

How should I revise Coordinate geometry (distance, midpoint, gradient) for the KCSE exam?

Start with the revision notes on this page to refresh the core concepts, then work through the practice questions in increasing difficulty. Sign up for HighMarks to get a personalised study plan that adapts to the topics you keep getting wrong, plus mock exams, subject-wide practice, and detailed performance tracking. See pricing.

Why Practise Coordinate geometry (distance, midpoint, gradient)?

KNEC Aligned

Questions match the KCSE syllabus objectives and exam format exactly.

Detailed Marking Schemes

Every answer shows exactly what examiners award marks for.

Track Your Mastery

See your score improve as you practise and identify remaining gaps.

Master Coordinate geometry (distance, midpoint, gradient) for KCSE

Sign up free to unlock all 137 questions, track your progress, and get a personalised study plan for Mathematics.