Straight line pairs
Excerpt: Can you find a pair of straight lines given a set of constraints linking their gradients and intercepts?
Problem
Construct a pair of straight lines whose -intercepts differ by , -intercepts differ by and gradients differ by .
Is there more than one way to do this?
You might find it helpful to try sketching your ideas on paper, or use graphing software such as Desmos.
Things you might have done
We might start by thinking about the specific case of a line going through the origin. We can then fix two points on a second line such that the -intercepts differ by and the -intercepts differ by .
The final condition is that the gradients of the two lines differ by 1.
-
What is the gradient of the blue line?
-
Can you explain why the black line is a possible solution in each of the graphs below?
-
What are the equations of each pair of lines?
This was a starting point that has successfully answered the question above, as we have already found two different solutions. We might now wonder …
-
Are there any other pairs that you can create with a line through the origin as a starting point?
-
How many pairs of lines are there in total?
Suggestion
Can you use this image to help you identify further solutions?
Trying to solve a problem by considering a specific case such as this, is often only the first step. The next step would be to try and generalise your findings. Some of the questions we could ask ourselves would be:
- Will this method work if the line doesn’t go through the origin?
We have found several pairs of lines that share a common feature, in this case, that one of the lines passes through the origin.
-
Do you notice any symmetry appearing in your solutions?
-
Do you think you will always be able to group pairs of lines together by a common intercept?
-
What other common features could you use to group pairs together?
Once you have thought about this, have a look at the Taking it further section.





Taking it further
A possible first step to try to generalise our findings is to take a line that does not go through the origin.
Think about what was special about a line through the origin. Why did this make it a good starting point?
If we choose a line such as then we can draw points such that the intercepts differ by and the intercepts differ by .
If we drew a line through these two points, would the two lines satisfy the required conditions?
By choosing , we cannot modify the gradient or the intercepts of this line. Instead, perhaps it would be more useful to focus on one aspect. We could pick a point that the line passes through, or we could decide on the gradient of the line.
To explore a more general approach and get a feel for what is happening you can use the GeoGebra applet below or use this Desmos graph. You can click on the circles on the left to hide and show different lines as you wish.
Download GeoGebra file
Why are there four other lines along with the initial black line? Do these cover all possibilities? Could there be any other lines we should consider?
Below are discussions of three different approaches.
Fixing the gradient
It is perhaps easiest to visualise what the solutions will look like here compared to the two methods below. Given you know the gradients, the solutions will just be translations of the lines up and down the y axis.
Let’s start by picking a gradient of two and take our first line to be . Then we can take the case where the second line has a gradient of and a intercept of .
When , the values will be and .
The situation in the graph below is .
Subtracting the intercepts the other way would come from a graph that looks like this.
What solutions arise from these two situations?
What sort of equations are you solving to find the solutions?
Can you find all the possible pairs of lines when the gradient is ? How many are there altogether?
If you take the lines to be and , can you find in terms of ? What sort of expression is it? You should end up with two solutions.
Can you continue to find all the possible solutions for in terms of ? You might start to notice some symmetry appearing…
Fixing the intercept
Let us take our first line to be . We can take the second line to be .
Remember this is only one of four possibilities that the second line could be (think of the graph above).
We have our intercepts differing by three, we have our gradients differing by one, so we just need a difference of two in our intercepts.
When , in our first line and in our second.
We only want a ‘difference’ of in our intercepts, so we could subtract them either way round.
-
Will both lead to solutions?
-
How many solutions do you get?
If we continued with our line of then what else could the second line be?
Remember we started with . What can we change to find a different set of solutions?
Fixing the intercept
We are used to thinking about the intercept and the gradient when we deal with straight lines, so this may not have been an obvious place to start. However, this actually brings out the relationship between them quite nicely.
The intercept of this line is , so the intercept of the second line could be or .
We have two possible intercepts and two possible gradients ( and ). Choosing one of each should allow us to find the equation of a line.
You may find it beneficial to use the form of a straight line.
You should now have a line where the gradient differs by and the intercept by from the line .
Using the fact that the intercepts need to differ by three, can you form an equation in terms of and ?
Can you rearrange it to give you in terms of ?
Remember, we only chose one of our intercepts and one of our possible gradients. So are there more equations you could find linking and ? How many will there be altogether?





Taking it further solution
Below are the discussions of three approaches to finding a more general solution to the problem. They follow the Taking it further section but with more detailed solutions.
Fixing the gradient
This method keeps the calculations simple as it only involves solving linear equations.
Let’s start by picking a gradient of two and take our first line to be . Then we can take the case where the second line has a gradient of and a intercept of .
When , the values will be and .
The situation in the graph below is .
Subtracting the intercepts the other way would come from graphs that look like this.
Solving the equations leads to the solutions of and . So two of the solutions when you start with are:
and
We chose the second line to be , which gave us two solutions. Putting the four different options together with the line would lead to pairs of solutions altogether.
Fixing the intercept
Let us take our first line to be . I will take the second line to be . This is only one of four possibilities that the second line could be.
We have our intercepts differing by three, we have our gradient differing by one, so we just need the difference of two in our intercepts.
When , in our first line and in our second.
Starting with the following equation
leads to two solutions when you solve the quadratic :
So there are two possible values for the gradient, giving us two different pairs of lines. One of these pairs is shown below.
Subtracting the intercepts the other way round leads to the quadratic which has no real solutions. This is a nice link to a physical idea of what no solutions means here. Although it is possible to sketch the situation we were trying to solve (see the graph below), it will not be possible to find two lines that fit our constraints.
If you are not convinced, you might like to use the GeoGebra applet to try and find two lines that fit these constraints.
If you change the second line from to
then you can find the rest of the solutions for this case.
Fixing the intercept
This is not the obvious thing to start with, given our common form for the equation of a straight line which making it easier to think about ‘m’ and ‘c’. However, this actually brings out the relationship between them quite nicely.
The intercept of this line is so the intercept of the second line could be or .
This time instead of using we can use the form as we know the line is travelling through one of the points above.
If we take , then , and we will take the gradient to be . This gives us the equation:
which simplifies to
We want our intercepts to have a difference of , so taking our two lines of
and
we can subtract the intercepts to get
which we can rearrange to give us
If you subtracted the equations the other way around then you would get
These are two of the possible expressions for c in terms of m.
There is a lot of scope to investigate this even further.
-
You could find all the expressions for c in terms of m, and discuss the symmetry of them. (Graphing them would help).
-
You may want to generalise beyond this example, and take the case where the difference between the intercepts is , the intercepts is and the gradients is .





