Error
There was an error loading the page.
Find the equation of a line through two points - positive gradient
Use two points on a line graph to calculate the gradient and $y$-intercept and hence the equation of the straight line running through both points.
The answer box for the third part plots the function which allows the student to check their answer against the graph before submitting.
This particular example has a positive gradient.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Transition to university :
![]() |
said | Ready to use | 7 years, 8 months ago |
![]() |
said | Ready to use | 7 years, 8 months ago |
![]() |
said | Needs to be tested | 7 years, 9 months ago |
From users who are not members of Transition to university :
Christopher boyd | said | Ready to use | 7 years, 2 months ago |
History
Chris Graham commented 6 years, 9 months ago
Fixed bug in correct line plot, caused by reading wrong student answer box (must have had a part added)
Christopher boyd 7 years, 2 months ago
Gave some feedback: Ready to use
Chris Graham 7 years, 8 months ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 7 years, 8 months ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 7 years, 8 months ago
Saved a checkpoint:
Made sure neither of the points lies on the y-axis.
Split a into two parts, since you need to work out the gradient before you find the y intercept.
Reworded some of the advice a bit.
Chris Graham 7 years, 8 months ago
Gave some feedback: Needs to be tested
Chris Graham commented 7 years, 8 months ago
This was a bit of a mess, as the points A and B had originally been illogically ordered, and this had only been half fixed.
Part a) had mathematical expression gaps which should have been number entry, and I have added fractionNumbers simplification in the advice and displayed answer.
I've adjusted the axis ranges so that the intercept is always on the grid.
Chris Graham commented 7 years, 8 months ago
The points A and B should be switched; it doesn't make sense to describe the leftmost point as B, and in fact the gradient is calculated from A to B in the advice. There are places in the advice where y1−y2 needs to be inverted.
Chris Graham 7 years, 8 months ago
Gave some feedback: Has some problems
Elliott Fletcher 7 years, 8 months ago
Published this.Chris Graham commented 7 years, 8 months ago
RE the point below from Aiden, this is OK, it is giving the student the opportunity to explore the terms in the equation and how they relate to the graph. This sort of question is really for formative use.
Aiden McCall commented 7 years, 8 months ago
This is also true for all other questions of this nature.
Aiden McCall 7 years, 8 months ago
Saved a checkpoint:
I have edited the main and advice to make sense and tweaked parts. There is a problem with the question that where you put y = mx +c you can write m in the gap fill and even when restricting the string it shows what m is on the graph so you can effectively 'cheat' this also works in the same way if you type in c. I cannot think of a way to fix this without the JSXgraph code and I don't know where abouts that is.
Bradley Bush 7 years, 9 months ago
Gave some feedback: Needs to be tested
Bradley Bush commented 7 years, 9 months ago
Thank you for the feedback Chris, I have done everything you've suggest4ed here as well as making the same changes to differenet versions of this question.
Chris Graham commented 7 years, 9 months ago
One more. If I do not attempt the question, but reveal the answers, then the advice refers to an absent green line. This is another good reason to put the correct plot in the advice.
Chris Graham commented 7 years, 9 months ago
Similar points to our earlier discussion:
This is a candidate for using the Numbas variables to set the jsxgraph axis limits. Move the block of code where you grab the Numbas variables in front of making the board, so that you have access to them. And then you can use them in the bounding box definition
boundingBox:[yb-2,...]
or whatever is sensible. Don't forget you'll want the intercept to be on the board.Since you are only asking for the equation of the straight line through the points, you might consider creating a step with gapfills for the gradient and intercept, to allow the student to break the question down.
And you could add a second plot with the solution to the advice.
One final thing: on one run I had B at the origin. You may wish to avoid this as it makes parts of the advice obsolete.
Chris Graham 7 years, 9 months ago
Gave some feedback: Has some problems
Bradley Bush 7 years, 9 months ago
Gave some feedback: Needs to be tested
Bradley Bush 7 years, 9 months ago
Created this.There are 102 other versions that do you not have access to.
Name | Type | Generated Value |
---|
xa | integer |
-4
|
||||
xb | integer |
-2
|
||||
ya | integer |
1
|
||||
yb | integer |
3
|
||||
m | rational |
1
|
||||
c | rational |
5
|
Generated value: integer
This variable doesn't seem to be used anywhere.
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Gap-fill | ||
Hasn't run yet | ||
Number entry | ||
Hasn't run yet | ||
Gap-fill | ||
Hasn't run yet | ||
Number entry | ||
Hasn't run yet | ||
Gap-fill | ||
Hasn't run yet | ||
Mathematical expression | ||
Hasn't run yet |
This question is used in the following exams:
- my test by Chris Graham in Chris's workspace.
- Find the equation of a line through two points by Christian Lawson-Perfect in Transition to university.
- maths practice-revision by David Martin in David's workspace.
- Numbas Workshop by Caitríona Ní Shé in Caitríona's workspace.
- Find the equation of a line through two points by Angus Rosenburgh in Angus's workspace.
- Introductory Maths for analytical chemistry by aine whelan in aine's workspace.
- Alex 1st exam by Alessandro Ottazzi in Alessandro's workspace.
- första lilla test-test by Ida Landgärds in Test projekt .
- Test1 by Joan Lewis in Joan's workspace.
- Find the equation of a line through two points [L3 Randomised] by Matthew James Sykes in CHY1205.
- NUMBAS- Find the equation of a line through two points by Katy Dobson in Katy's workspace.
- JP by Julie Crowley in JP.
- Year 10 Practice Exam 1 by Neil Anderson in Neil's workspace.
- Test Exam 1 by Kevin Bohan in Kevin's workspace.
- test1 by Justin McGuinness in Justin's workspace.
- test1 by Justin McGuinness in Justin's workspace.
- Offer Holder Day by Chris Graham in Chris's workspace.
- Preliminary Mathematics Advanced Assessment Task 1 by Joanna Rankins in Joanna's workspace.
- Preliminary Advanced Mathematics Assessment Task by Joanna Rankins in Joanna's workspace.
- Construction Engineering Outcome 3 by Sandra Ferguson in Sandra's workspace.
- Simon's copy of Practice for year 1 by Simon Vaughan in PA1710.
- MEM23004A by Mykola Kyrylenko in Mykola's workspace.
- Access Maths formative test 1 by Ruth Douglas in Ruth's workspace.
- self-test by Rachel Long in New module.
- Edina's copy of Find the equation of a line through two points by Edina Kurdi in Edina's workspace.
- resit mock1 by Heike Wanke in Heike's workspace.
- Trial by Niharika Singh in Niharika's workspace.
- Module 3 by Niharika Singh in Niharika's workspace.
- a copy of Find the equation of a line through two points by david arcila in david's workspace.
- Transition Geometry by Chris Templet in Chris's workspace.
- Robert's copy of Find the equation of a line through two points by Robert Barham in Robert's workspace.
- claire's copy of Find the equation of a line through two points by claire lines in claire's workspace.
- CHM1012-week8-graphs by Natalia Martsinovich in Natalia's workspace.
- All the good stuff by Chris Templet in Chris's workspace.
- FoR Summative Maths Test by Angus Rosenburgh in Angus's workspace.
- Back to Maths diagnostic test by Inna Namestnikova in Inna's workspace.
- ME0006 Wk 1 Test 2 by claire lines in claire's workspace.
- Summer Quiz 1 by Kate Vincent in Kate's workspace.
- Engineering First Year Skills Audit by S Russell in Engineering Maths booster.
- Week 1 Diagnostic test by Anne-Sophie Kaloghiros in MA1630 - Fundamentals of Mathematics 2024-2025.
- Bridging General Maths Quiz 2 by Kate Vincent in Kate's workspace.
- Core Maths Test 2025 by Angus Rosenburgh in Angus's workspace.