{"base":{"id":"olm10-21-02","subject":"Mathematics","title":"The line y = mx + c: gradient and intercept","scene":"olm11","steps":[{"mode":"fig","fig":{"view":[-4,-4,5,8],"items":[{"k":"fn","l":[2,1],"col":"b"},{"k":"dot","p":[0,1],"col":"r"},{"k":"seg","p":[0,1,1,1],"col":"o","dash":true},{"k":"seg","p":[1,1,1,3],"col":"o","dash":true},{"k":"txt","p":[3.3,4.6],"t":"y = 2x + 1","col":"b","size":40},{"k":"txt","p":[-1,1.3],"t":"c = 1","col":"r","size":30},{"k":"txt","p":[1.7,2.2],"t":"m = 2","col":"o","size":30}],"axes":{"xs":1,"ys":1,"xl":"x","yl":"y"},"free":true},"say":"Gradient 2, intercept 1.","eyebrow":"Two numbers describe a line","title":"m is the gradient, c is the intercept","body":"Every straight line that is not vertical has an equation of the form y = mx + c. The number m is the gradient. The number c is the intercept: the value of y where the line cuts the y-axis, because x = 0 gives y = c."},{"mode":"sline","controls":[{"id":"m","label":"Gradient m","min":-3,"max":3,"step":0.5,"value":2},{"id":"c","label":"Intercept c","min":-6,"max":6,"step":1,"value":1}],"eyebrow":"Try it","title":"Change m and c","body":"Move the sliders. Changing m turns the line about the red dot: bigger m, steeper line; negative m, the line falls. Changing c slides the whole line up or down without turning it."},{"mode":"fig","work":{"title":"Write it like this","lines":["y = 3x − 2:   m = 3,  c = −2","y = −x + 4:   m = −1,  c = 4","2y = 6x − 4  →  y = 3x − 2:   m = 3,  c = −2","3x + y = 5  →  y = −3x + 5:   m = −3,  c = 5","y = 2x:   m = 2,  c = 0"]},"say":["Tap to read the equations.","Coefficient of x, and the constant.","−x means −1x.","Divide every term by 2.","Subtract 3x.","Through the origin."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Reading an equation","title":"Make y the subject first","body":"When the equation is already y = mx + c, read m and c directly. If not, rearrange it. For 2y = 6x − 4 divide by 2; for 3x + y = 5 take 3x to the other side."},{"mode":"fig","fig":{"view":[-4,-5,5,8],"items":[{"k":"fn","l":[2,-1],"col":"b"},{"k":"dot","p":[0,-1],"col":"r"},{"k":"dot","p":[2,3],"col":"r"}],"axes":{"xs":1,"ys":1,"xl":"x","yl":"y"},"free":true},"work":{"title":"Write it like this","lines":["c = −1","m = (3 − (−1))/(2 − 0) = 4/2 = 2","y = 2x − 1","Check (2, 3):  2(2) − 1 = 3 ✓"]},"say":["Tap to find the equation.","Where the line cuts the y-axis.","Rise over run.","Put m and c in.","The second point fits."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"From a graph to an equation","title":"Find c, then m","body":"To write the equation of a drawn line: read the intercept c where it crosses the y-axis, find the gradient m from two points, and put them into y = mx + c. This line passes through (0, −1) and (2, 3)."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5.9],"t":"y = 4x − 3","size":84,"col":"v","max":1400},{"k":"txt","p":[5,4.1000000000000005],"t":"m = ?   c = ?","size":84,"col":"k","max":1400}]},"eyebrow":"Check yourself","title":"Read the line","body":"y = mx + c.","question":"What are the gradient and the intercept of y = 4x − 3?","options":["m = −3, c = 4","m = 4, c = 3","m = 4, c = −3"],"answer":2,"right":"Correct. The coefficient of x is 4 and the constant is −3.","wrong":"Not quite. m multiplies x; c is the term without x, with its sign."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"The line y = mx + c in detail","items":[{"tag":"Meaning","title":"What m and c do","body":"y = mx + c\nm: gradient. m > 0 rises, m < 0 falls, m = 0 gives the horizontal line y = c.\nc: intercept on the y-axis; the line passes through (0, c).\n\nLines with the same m are parallel: y = 2x + 1, y = 2x − 3, y = 2x."},{"tag":"Equation from two points","title":"When the intercept is not visible","body":"Line through (1, 5) and (3, 9).\nm = (9 − 5)/(3 − 1) = 2.\ny = 2x + c. Put in (1, 5): 5 = 2 + c, c = 3.\ny = 2x + 3.\nCheck (3, 9): 6 + 3 = 9 ✓"},{"tag":"Relationships","title":"The line as a model","body":"A taxi charges Rs 100 to start and Rs 80 per km: cost y = 80x + 100.\nGradient 80: the cost per km.\nIntercept 100: the cost before moving.\n\nIf c = 0 the line passes through the origin and y is directly proportional to x: y = mx."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Reading m and c before rearranging","body":"In 2y = 6x − 4 the gradient is not 6. Divide by 2 first: y = 3x − 2, so m = 3 and c = −2."},{"tag":"Common mistake","title":"Dropping the sign of c","body":"For y = 4x − 3 the intercept is −3: the line cuts the y-axis below the origin, at (0, −3)."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"Gradient and intercept of y = 3x + 2?","options":["m = 2, c = 3","m = −3, c = 2","m = 3, c = 2"],"answer":2,"right":"Correct. y = mx + c: m is the gradient, c the intercept.","wrong":"Not quite. Read the coefficient of x and the constant."},{"level":"easy","question":"Gradient and intercept of y = −2x + 5?","options":["m = −2, c = 5","m = 5, c = −2","m = 2, c = 5"],"answer":0,"right":"Correct. y = mx + c: m is the gradient, c the intercept.","wrong":"Not quite. Read the coefficient of x and the constant."},{"level":"easy","question":"Gradient and intercept of y = x − 4?","options":["m = −4, c = 1","m = −1, c = −4","m = 1, c = −4"],"answer":2,"right":"Correct. y = mx + c: m is the gradient, c the intercept.","wrong":"Not quite. Read the coefficient of x and the constant."},{"level":"easy","question":"Gradient and intercept of y = 5x?","options":["m = 0, c = 5","m = 5, c = 0","m = −5, c = 0"],"answer":1,"right":"Correct. y = mx + c: m is the gradient, c the intercept.","wrong":"Not quite. Read the coefficient of x and the constant."},{"level":"easy","question":"Gradient and intercept of y = −x − 3?","options":["m = −3, c = −1","m = 1, c = −3","m = −1, c = −3"],"answer":2,"right":"Correct. y = mx + c: m is the gradient, c the intercept.","wrong":"Not quite. Read the coefficient of x and the constant."},{"level":"easy","question":"The intercept c is where the line cuts…","options":["the x-axis","the origin always","the y-axis"],"answer":2,"right":"Correct. At x = 0, y = c.","wrong":"Not quite. Put x = 0."},{"level":"easy","question":"A line through the origin has equation…","options":["y = c","y = mx","x = c"],"answer":1,"right":"Correct. c = 0.","wrong":"Not quite. It cuts the y-axis at 0."},{"level":"easy","question":"Lines y = 2x + 1 and y = 2x − 5 are…","options":["perpendicular","parallel","the same"],"answer":1,"right":"Correct. Same gradient, different intercepts.","wrong":"Not quite. Compare m."},{"level":"easy","question":"Changing c in y = mx + c…","options":["moves the line up or down","turns the line","makes it vertical"],"answer":0,"right":"Correct. The steepness does not change.","wrong":"Not quite. c is the intercept."},{"level":"easy","question":"Is (2, 7) on y = 3x + 1?","options":["Yes","No","Only if c = 0"],"answer":0,"right":"Correct. 3 × 2 + 1 = 7.","wrong":"Not quite. Substitute x = 2."},{"level":"medium","question":"Gradient and intercept of 2y = 6x − 4?","options":["m = 6, c = −4","m = 3, c = −2","m = 3, c = −4"],"answer":1,"right":"Correct. Make y the subject first.","wrong":"Not quite. Rearrange to y = mx + c."},{"level":"medium","question":"Gradient and intercept of 3x + y = 5?","options":["m = 3, c = 5","m = 5, c = −3","m = −3, c = 5"],"answer":2,"right":"Correct. Make y the subject first.","wrong":"Not quite. Rearrange to y = mx + c."},{"level":"medium","question":"Gradient and intercept of y − 4 = 2x?","options":["m = 2, c = −4","m = 2, c = 4","m = 4, c = 2"],"answer":1,"right":"Correct. Make y the subject first.","wrong":"Not quite. Rearrange to y = mx + c."},{"level":"medium","question":"Gradient and intercept of x + 2y = 8?","options":["m = −1/2, c = 4","m = 1, c = 8","m = −2, c = 8"],"answer":0,"right":"Correct. Make y the subject first.","wrong":"Not quite. Rearrange to y = mx + c."},{"level":"medium","question":"Equation of the line with gradient 2 and intercept −1?","options":["y = 2x − 1","y = −x + 2","y = 2x + 1"],"answer":0,"right":"Correct. Substitute m and c into y = mx + c.","wrong":"Not quite. The intercept is the y-value at x = 0."},{"level":"medium","question":"Equation of the line with gradient −3 through (0, 4)?","options":["y = 4x − 3","y = 3x + 4","y = −3x + 4"],"answer":2,"right":"Correct. Substitute m and c into y = mx + c.","wrong":"Not quite. The intercept is the y-value at x = 0."},{"level":"medium","question":"Equation of the line with gradient 1/2 through the origin?","options":["y = 2x","y = x + 1/2","y = x/2"],"answer":2,"right":"Correct. Substitute m and c into y = mx + c.","wrong":"Not quite. The intercept is the y-value at x = 0."},{"level":"medium","question":"A line passes through (0, −1) and (2, 3). Its equation is…","options":["y = x + 1","y = 2x − 1","y = 2x + 3"],"answer":1,"right":"Correct. m = 4/2 = 2; c = −1.","wrong":"Not quite. Find m, then read c."},{"level":"medium","question":"Where does y = 2x − 6 cut the x-axis?","options":["(3, 0)","(0, −6)","(−3, 0)"],"answer":0,"right":"Correct. y = 0: 2x = 6.","wrong":"Not quite. Put y = 0."},{"level":"medium","question":"Which line is parallel to y = −x + 7?","options":["y = x + 7","y = 7x − 1","y = −x − 2"],"answer":2,"right":"Correct. Gradient −1.","wrong":"Not quite. Same gradient."},{"level":"hard","question":"The line y = mx + 3 passes through (2, 11). m = …","options":["7","4","5.5"],"answer":1,"right":"Correct. 11 = 2m + 3.","wrong":"Not quite. Substitute the point."},{"level":"hard","question":"Equation of the line through (1, 5) and (3, 9)?","options":["y = 2x + 3","y = 2x + 5","y = 4x + 1"],"answer":0,"right":"Correct. m = 2; 5 = 2 + c → c = 3.","wrong":"Not quite. Find m, then substitute one point."},{"level":"hard","question":"Equation of the line parallel to y = 3x − 2 through (0, 5)?","options":["y = 5x − 2","y = −3x + 5","y = 3x + 5"],"answer":2,"right":"Correct. Same m = 3; c = 5.","wrong":"Not quite. Parallel = same gradient."},{"level":"hard","question":"The lines y = 2x + 1 and y = −x + 7 meet at…","options":["(5, 2)","(3, 4)","(2, 5)"],"answer":2,"right":"Correct. 2x + 1 = −x + 7 → x = 2.","wrong":"Not quite. Solve them together."},{"level":"hard","question":"A phone plan costs Rs 500 a month plus Rs 2 per minute. As y = mx + c, m and c are…","options":["m = 2, c = 500","m = 500, c = 2","m = 502, c = 0"],"answer":0,"right":"Correct. Rate per minute is the gradient; the fixed charge is the intercept.","wrong":"Not quite. What is fixed? What changes?"},{"level":"hard","question":"The area between y = x + 4, the x-axis and the y-axis is…","options":["16 square units","8 square units","4 square units"],"answer":1,"right":"Correct. Intercepts (0, 4) and (−4, 0): ½ × 4 × 4.","wrong":"Not quite. Find both intercepts."},{"level":"hard","question":"For which value of k is y = kx + 2 parallel to 2y = 6x + 1?","options":["6","2","3"],"answer":2,"right":"Correct. 2y = 6x + 1 → y = 3x + 1/2.","wrong":"Not quite. Rearrange the second equation."},{"level":"hard","question":"The line 4x − 2y = 6 has gradient…","options":["−2","4","2"],"answer":2,"right":"Correct. y = 2x − 3.","wrong":"Not quite. Make y the subject."},{"level":"hard","question":"Which point is NOT on y = −2x + 3?","options":["(0, 3)","(2, 1)","(−1, 5)"],"answer":1,"right":"Correct. At x = 2, y = −1.","wrong":"Not quite. Substitute each x."},{"level":"hard","question":"A line has intercept 6 and cuts the x-axis at (3, 0). Its equation is…","options":["y = −2x + 6","y = 2x + 6","y = −x/2 + 6"],"answer":0,"right":"Correct. m = (0 − 6)/(3 − 0) = −2.","wrong":"Not quite. Use (0, 6) and (3, 0)."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"y = mx + c","meaning":"The equation of a straight line with gradient m and intercept c."},{"word":"Intercept","meaning":"The value of y where a line cuts the y-axis."},{"word":"Origin","meaning":"The point (0, 0)."},{"word":"Linear relationship","meaning":"A relationship whose graph is a straight line."},{"word":"Parallel lines","meaning":"Lines with equal gradients; they never meet."},{"word":"Subject","meaning":"The letter that stands alone on one side of an equation."}]},{"type":"checklist","id":"check","title":"I can…","items":["read the gradient and the intercept from an equation","write the equation of a line from its graph","recognise parallel lines from their gradients"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 10 (competency level 20.1)."]}],"slug":"the-line-y-mx-c"},"overlay":null}