{"base":{"id":"olm10-21-01","subject":"Mathematics","title":"Gradient of a straight line: rise over run","scene":"olm11","steps":[{"mode":"fig","fig":{"view":[-2,-1,6,10],"items":[{"k":"line","p":[1,2,3,8],"col":"b"},{"k":"dot","p":[1,2],"col":"r"},{"k":"dot","p":[3,8],"col":"r"},{"k":"seg","p":[1,2,3,2],"col":"o","dash":true},{"k":"seg","p":[3,2,3,8],"col":"o","dash":true},{"k":"txt","p":[2,1.4],"t":"2","col":"o"},{"k":"txt","p":[3.5,5],"t":"6","col":"o"},{"k":"txt","p":[-0.2,2.6],"t":"(1, 2)","col":"r","size":28},{"k":"txt","p":[4.2,8.2],"t":"(3, 8)","col":"r","size":28}],"axes":{"xs":1,"ys":1,"xl":"x","yl":"y"},"free":true},"work":{"title":"Write it like this","lines":["Change in y = 8 − 2 = 6","Change in x = 3 − 1 = 2","Gradient = 6 ÷ 2","= 3"]},"say":["Tap to find the gradient.","The rise.","The run.","Rise over run.","For every 1 across, 3 up."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"How steep?","title":"Gradient measures the slope","body":"The gradient of a straight line tells how steep it is. It is the change in y divided by the change in x between any two points on the line. Moving from (1, 2) to (3, 8), y rises by 6 while x runs 2, so the gradient is 3."},{"mode":"fig","work":{"title":"Write it like this","lines":["(0, 5) and (2, 1)","m = (1 − 5)/(2 − 0)","= −4/2","= −2"]},"say":["Tap to use the formula.","Two points on a line.","Second minus first, top and bottom.","y goes down as x goes up.","A negative gradient: the line falls."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"The formula","title":"m = (y₂ − y₁) / (x₂ − x₁)","body":"For two points (x₁, y₁) and (x₂, y₂) the gradient m is the difference of the y-coordinates over the difference of the x-coordinates, taken in the same order. A line that falls from left to right has a negative gradient."},{"mode":"fig","fig":{"view":[-5,-5,5,9],"items":[{"k":"line","p":[-4,-2,0,6],"col":"b"},{"k":"line","p":[-2,6,2,-2],"col":"r"},{"k":"line","p":[-4,-3,4,-3],"col":"g"},{"k":"line","p":[4,-4,4,8],"col":"o"},{"k":"txt","p":[-3.2,2.5],"t":"m > 0","col":"b","size":30},{"k":"txt","p":[1.6,2.6],"t":"m < 0","col":"r","size":30},{"k":"txt","p":[-2,-3.7],"t":"m = 0","col":"g","size":30}],"axes":{"xs":1,"ys":1,"xl":"x","yl":"y"},"free":true},"say":"Blue rises, red falls, green is level, orange is vertical.","eyebrow":"Four kinds of slope","title":"Positive, negative, zero, undefined","body":"A line rising to the right has a positive gradient; a line falling to the right has a negative gradient. A horizontal line has gradient 0. A vertical line has no gradient, because the run is 0."},{"mode":"fig","work":{"title":"Write it like this","lines":["Cost (Rs) against mass (kg)","Points (2, 300) and (5, 750)","m = (750 − 300)/(5 − 2) = 450/3","= 150:   Rs 150 per kg"]},"say":["Tap for a real meaning.","A shop graph.","Two readings.","Change in cost over change in mass.","The unit price."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"What the gradient means","title":"A rate of change","body":"The gradient tells how fast y changes when x changes. On a distance–time graph it is the speed. On a cost graph it is the price per unit. A bigger gradient means a faster change."},{"mode":"quiz","look":"fig","fig":{"view":[-2,-1,7,11],"items":[{"k":"line","p":[1,3,4,9],"col":"b"},{"k":"dot","p":[1,3],"col":"r"},{"k":"dot","p":[4,9],"col":"r"},{"k":"txt","p":[2.2,2.9],"t":"(1, 3)","col":"r","size":28},{"k":"txt","p":[5.1,8.6],"t":"(4, 9)","col":"r","size":28}],"axes":{"xs":1,"ys":1,"xl":"x","yl":"y"},"free":true},"eyebrow":"Check yourself","title":"Gradient","body":"Change in y over change in x.","question":"What is the gradient of the line through (1, 3) and (4, 9)?","options":["2","1/2","6"],"answer":0,"right":"Correct. (9 − 3)/(4 − 1) = 6/3 = 2.","wrong":"Not quite. Divide the change in y (6) by the change in x (3)."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"The gradient in detail","items":[{"tag":"Formula","title":"Two points are enough","body":"m = (y₂ − y₁)/(x₂ − x₁).\n\nIt does not matter which point is called first, as long as the same order is used on top and bottom.\n\n(2, 7) and (5, 1): m = (1 − 7)/(5 − 2) = −2, or (7 − 1)/(2 − 5) = −2."},{"tag":"From a graph","title":"Draw a triangle on the line","body":"1. Pick two points on the line where it crosses grid lines.\n2. Draw a right-angled triangle below the line.\n3. Read the rise and the run using the scales on the axes, not the number of squares.\n4. Divide.\n\nA large triangle gives a more accurate gradient than a small one."},{"tag":"Parallel lines","title":"Equal gradients","body":"Parallel lines have the same steepness, so they have equal gradients.\n\nLine through (0, 1) and (2, 5): m = 2.\nLine through (1, 0) and (3, 4): m = 2.\nThe two lines are parallel.\n\nIf the gradients differ, the lines meet somewhere."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Run over rise","body":"Gradient is change in y divided by change in x. For (1, 3) and (4, 9) it is 6/3 = 2, not 3/6."},{"tag":"Common mistake","title":"Mixing the order of the points","body":"(y₂ − y₁)/(x₁ − x₂) gives the wrong sign. Subtract in the same order on top and bottom."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"Gradient of the line through (0, 0) and (2, 6)?","options":["3","1/3","−3"],"answer":0,"right":"Correct. (6 − 0) ÷ (2 − 0) = 3.","wrong":"Not quite. Gradient = rise ÷ run = (y₂ − y₁)/(x₂ − x₁)."},{"level":"easy","question":"Gradient of the line through (1, 2) and (3, 10)?","options":["1/4","4","−4"],"answer":1,"right":"Correct. (10 − 2) ÷ (3 − 1) = 4.","wrong":"Not quite. Gradient = rise ÷ run = (y₂ − y₁)/(x₂ − x₁)."},{"level":"easy","question":"Gradient of the line through (0, 6) and (3, 0)?","options":["−2","−1/2","2"],"answer":0,"right":"Correct. (0 − 6) ÷ (3 − 0) = −2.","wrong":"Not quite. Gradient = rise ÷ run = (y₂ − y₁)/(x₂ − x₁)."},{"level":"easy","question":"Gradient of the line through (2, 1) and (6, 3)?","options":["2","−1/2","1/2"],"answer":2,"right":"Correct. (3 − 1) ÷ (6 − 2) = 1/2.","wrong":"Not quite. Gradient = rise ÷ run = (y₂ − y₁)/(x₂ − x₁)."},{"level":"easy","question":"Gradient of the line through (−1, 4) and (1, 0)?","options":["−1/2","−2","2"],"answer":1,"right":"Correct. (0 − 4) ÷ (1 + 1) = −2.","wrong":"Not quite. Gradient = rise ÷ run = (y₂ − y₁)/(x₂ − x₁)."},{"level":"easy","question":"A line falling from left to right has a gradient that is…","options":["positive","negative","zero"],"answer":1,"right":"Correct. y decreases as x increases.","wrong":"Not quite. Downhill = negative."},{"level":"easy","question":"A horizontal line has gradient…","options":["1","undefined","0"],"answer":2,"right":"Correct. The rise is 0.","wrong":"Not quite. No change in y."},{"level":"easy","question":"A vertical line has…","options":["no gradient (undefined)","gradient 0","gradient 1"],"answer":0,"right":"Correct. The run is 0 and we cannot divide by 0.","wrong":"Not quite. Look at the run."},{"level":"easy","question":"Gradient means…","options":["run ÷ rise","rise × run","rise ÷ run"],"answer":2,"right":"Correct. Change in y over change in x.","wrong":"Not quite. Up over across."},{"level":"easy","question":"Which line is steepest?","options":["gradient 5","gradient 2","gradient 1/2"],"answer":0,"right":"Correct. Bigger gradient, steeper line.","wrong":"Not quite. Compare the sizes."},{"level":"medium","question":"Find the gradient through (−3, 2) and (1, −6).","options":["2","−1/2","−2"],"answer":2,"right":"Correct. Rise −8, run 4: −2.","wrong":"Not quite. Take the coordinates in the same order."},{"level":"medium","question":"Find the gradient through (2, −1) and (5, 8).","options":["3","−3","1/3"],"answer":0,"right":"Correct. Rise 9, run 3: 3.","wrong":"Not quite. Take the coordinates in the same order."},{"level":"medium","question":"Find the gradient through (−2, −3) and (4, 0).","options":["−1/2","1/2","2"],"answer":1,"right":"Correct. Rise 3, run 6: 1/2.","wrong":"Not quite. Take the coordinates in the same order."},{"level":"medium","question":"Find the gradient through (1, 7) and (4, −2).","options":["3","−3","−1/3"],"answer":1,"right":"Correct. Rise −9, run 3: −3.","wrong":"Not quite. Take the coordinates in the same order."},{"level":"medium","question":"Find the gradient through (0, −4) and (6, −1).","options":["1/2","−1/2","2"],"answer":0,"right":"Correct. Rise 3, run 6: 1/2.","wrong":"Not quite. Take the coordinates in the same order."},{"level":"medium","question":"A line has gradient 3 and passes through (0, 1). Another point on it is…","options":["(3, 1)","(1, 3)","(1, 4)"],"answer":2,"right":"Correct. x up 1, y up 3.","wrong":"Not quite. Gradient 3: rise 3 for run 1."},{"level":"medium","question":"On a cost graph, the gradient shows…","options":["the cost per unit","the total cost","the number of units"],"answer":0,"right":"Correct. Change in cost per change in quantity.","wrong":"Not quite. Rise ÷ run with units."},{"level":"medium","question":"The points (1, 2), (3, 6), (5, 10) lie on a line with gradient…","options":["4","2","1/2"],"answer":1,"right":"Correct. (6 − 2)/(3 − 1) = 2.","wrong":"Not quite. Use any two of the points."},{"level":"medium","question":"A road rises 15 m over a horizontal distance of 300 m. Its gradient is…","options":["20","1/15","1/20"],"answer":2,"right":"Correct. 15 ÷ 300.","wrong":"Not quite. Rise ÷ run."},{"level":"medium","question":"The line through (2, k) and (5, 11) has gradient 2. k = …","options":["7","5","17"],"answer":1,"right":"Correct. (11 − k)/3 = 2.","wrong":"Not quite. Write the gradient formula."},{"level":"hard","question":"Are (0, 1), (2, 5) and (4, 9) on one straight line?","options":["Yes: the gradients are equal (2)","No","Only two of them"],"answer":0,"right":"Correct. Both gradients are 2.","wrong":"Not quite. Compare the gradients of two pairs."},{"level":"hard","question":"The line through (1, 3) and (a, 7) has gradient 1/2. a = …","options":["9","3","5"],"answer":0,"right":"Correct. 4/(a − 1) = 1/2 → a − 1 = 8.","wrong":"Not quite. Rise 4 means run 8."},{"level":"hard","question":"A distance–time graph goes from (0 s, 0 m) to (8 s, 40 m). The speed is…","options":["0.2 m/s","5 m/s","40 m/s"],"answer":1,"right":"Correct. 40 ÷ 8.","wrong":"Not quite. Gradient = speed."},{"level":"hard","question":"Lines with gradients 2 and 2 are…","options":["parallel","perpendicular","the same line always"],"answer":0,"right":"Correct. Equal gradients mean the same steepness.","wrong":"Not quite. Same direction."},{"level":"hard","question":"A line has gradient −3/4. If x increases by 8, y…","options":["increases by 6","decreases by 6","decreases by 3"],"answer":1,"right":"Correct. −3/4 × 8 = −6.","wrong":"Not quite. Change in y = gradient × change in x."},{"level":"hard","question":"Which pair of points gives an undefined gradient?","options":["(1, 3) and (7, 3)","(0, 0) and (1, 1)","(3, 1) and (3, 7)"],"answer":2,"right":"Correct. The run is 0: a vertical line.","wrong":"Not quite. Same x-coordinate."},{"level":"hard","question":"A line through the origin passes through (4, −2). Its gradient is…","options":["−2","1/2","−1/2"],"answer":2,"right":"Correct. −2 ÷ 4.","wrong":"Not quite. Use (0, 0) as the other point."},{"level":"hard","question":"Which line is less steep than gradient −4 but still falls?","options":["gradient −5","gradient −1","gradient 1"],"answer":1,"right":"Correct. Steepness is the size |m|; falling needs m < 0.","wrong":"Not quite. Compare sizes, keep the sign negative."},{"level":"hard","question":"A taxi fare graph passes through (2 km, Rs 300) and (10 km, Rs 900). Cost per km?","options":["Rs 90","Rs 150","Rs 75"],"answer":2,"right":"Correct. 600 ÷ 8.","wrong":"Not quite. Gradient = rise ÷ run."},{"level":"hard","question":"The gradient of the line joining (p, 2p) and (3p, 8p) (p ≠ 0) is…","options":["6","3","4"],"answer":1,"right":"Correct. 6p ÷ 2p.","wrong":"Not quite. p cancels."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Gradient","meaning":"The change in y divided by the change in x along a line."},{"word":"Rise","meaning":"The vertical change between two points."},{"word":"Run","meaning":"The horizontal change between two points."},{"word":"Coordinates","meaning":"The pair (x, y) that fixes a point on the plane."},{"word":"Positive gradient","meaning":"The line rises from left to right."},{"word":"Negative gradient","meaning":"The line falls from left to right."}]},{"type":"checklist","id":"check","title":"I can…","items":["find the gradient of a line from two points","tell positive, negative and zero gradients apart","explain a gradient as a rate of change"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 10 (competency level 20.1)."]}],"slug":"gradient-of-a-straight-line"},"overlay":null}