Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage

Enclosing Squares

Age 11 to 14
Challenge Level Yellow starYellow starYellow star
Secondary curriculum
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources

Here's a problem to work at with your graphic calculator or graph-plotting package on a computer.

If you plot the following lines

$\begin{eqnarray} y &=& 2x + 1\\ y &=& 2x + 4 \\ y &=& -0.5x + 1\\ y &=& -0.5x + 2.5 \end{eqnarray}$

the lines will enclose a square.

Can you find other sets of sloping lines that enclose a square?

If you are given the equations of two parallel lines

$y = ax + b$ and $y = ax + c$

can you explain how to find the equations of the other two lines that would enclose a square, if you know that one of the vertices is at $(0,b)$?

[In the example at the top, $a = 2$, $b = 1$ and $c = 4$]

You may also like

Parallel Lines

How does the position of the line affect the equation of the line? What can you say about the equations of parallel lines?

Diamond Collector

Collect as many diamonds as you can by drawing three straight lines.

Reflecting Lines

Investigate what happens to the equations of different lines when you reflect them in one of the axes. Try to predict what will happen. Explain your findings.

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo