{"base":{"id":"m10-18","subject":"Algebra","title":"Coordinates and straight lines","scene":"mix","steps":[{"use":"algebra","mode":"plot","eyebrow":"Plotting a line","title":"Table, points, line","body":"To draw y = 2x + 1, make a table of x values, work out each y, plot the points and join them with a ruler. They always line up.","controls":[{"id":"m","label":"Gradient m","min":-3,"max":3,"step":1,"value":2},{"id":"c","label":"Intercept c","min":-5,"max":5,"step":1,"value":1}]},{"use":"alg9","mode":"line","eyebrow":"y = mx + c","title":"Gradient and intercept","body":"In y = mx + c, m is the gradient (steepness: up per 1 along) and c is the y-intercept (where the line crosses the y-axis). Change both.","controls":[{"id":"m","label":"Gradient m","min":-3,"max":3,"step":0.5,"value":2},{"id":"c","label":"Intercept c","min":-5,"max":5,"step":1,"value":1}]},{"use":"alg9","mode":"forms","eyebrow":"Rearranging","title":"Find m and c","body":"If the equation is not in the form y = mx + c, rearrange it first. 2y − 6x = 4 becomes y = 3x + 2. Work through three examples.","actions":[{"id":"e0","label":"Example 1"},{"id":"e1","label":"Example 2"},{"id":"e2","label":"Example 3"}]},{"use":"alg9","mode":"graph","eyebrow":"Two lines","title":"Where lines cross","body":"Two lines with the same gradient are parallel and never meet. Lines with different gradients cross at one point, whose coordinates satisfy both equations.","controls":[{"id":"s","label":"First line","min":-2,"max":12,"step":1,"value":8},{"id":"d","label":"Second line","min":-4,"max":8,"step":1,"value":2}]},{"use":"alg9","mode":"quiz","look":"line","eyebrow":"Check yourself","title":"Read the equation","body":"A line has the equation y = −2x + 5.","question":"What are its gradient and y-intercept?","options":["gradient 5, intercept −2","gradient −2, intercept 5","gradient 2, intercept 5"],"answer":1,"right":"Correct. In y = mx + c, m = −2 and c = 5.","wrong":"Not quite. The number with x is the gradient."}],"more":[{"type":"cards","id":"worked","eyebrow":"Worked examples","title":"Step by step","items":[{"tag":"Gradient","title":"Through (1, 3) and (4, 12)","body":"gradient = change in y ÷ change in x\n= (12 − 3) ÷ (4 − 1)\n= 9 ÷ 3 = 3","code":true},{"tag":"Equation","title":"Gradient 3 through (1, 3)","body":"y = 3x + c\n3 = 3 × 1 + c\nc = 0\ny = 3x","code":true},{"tag":"Parallel line","title":"Parallel to y = 2x − 1 through (2, 7)","body":"same gradient: m = 2\n7 = 2 × 2 + c → c = 3\ny = 2x + 3","code":true},{"tag":"Rearrange","title":"3x + 2y = 8","body":"2y = −3x + 8\ny = −1.5x + 4\nm = −1.5, c = 4","code":true}]},{"type":"cards","id":"mistakes","eyebrow":"Common mistakes","title":"Watch out for these","items":[{"tag":"Mistake","title":"Gradient upside down","body":"Gradient = rise ÷ run (change in y ÷ change in x), not the other way."},{"tag":"Mistake","title":"Ignoring the sign","body":"A line going down from left to right has a NEGATIVE gradient."},{"tag":"Mistake","title":"Reading c before rearranging","body":"In 2y = 4x + 6, c is 3, not 6. Get y on its own first."},{"tag":"Mistake","title":"Plotting (y, x)","body":"Coordinates are (x, y): along the corridor, then up the stairs."}]},{"type":"cards","id":"method","eyebrow":"Set out your answer","title":"Set out your answer","items":[{"tag":"Use three points","title":"Two to draw, one to check","body":"If the third point isn't on the line, there's a mistake."},{"tag":"Show the gradient triangle","title":"Draw it on the graph","body":"Mark the rise and the run so your gradient calculation is clear."},{"tag":"Check by substituting","title":"Put a point into your equation","body":"If (2, 7) is on y = 2x + 3, then 2 × 2 + 3 should equal 7."}]},{"type":"bars","id":"data","eyebrow":"Data","title":"Gradients you meet in life","intro":"Approximate gradients (rise ÷ run).","items":[{"label":"Wheelchair ramp","value":8,"display":"1 : 12 ≈ 0.08","color":"#1f9d55"},{"label":"Steep street","value":20,"display":"about 0.2","color":"#2f6fdb"},{"label":"Staircase","value":70,"display":"about 0.7","color":"#d9a020"},{"label":"Ladder","value":100,"display":"about 4","color":"#e0463e"}],"facts":[{"title":"Road signs","body":"A sign saying 10% means the road rises 10 m for every 100 m along: a gradient of 0.1."},{"title":"Speed as a gradient","body":"On a distance–time graph the gradient is the speed."}]},{"type":"cards","id":"deeper","eyebrow":"Go deeper","title":"More than the lesson","items":[{"tag":"History","title":"Descartes and the grid","body":"René Descartes (1637) joined algebra and geometry by describing points with coordinates. Every graph you draw uses his \"Cartesian\" grid."},{"tag":"Real world","title":"Straight-line models","body":"Taxi fares, phone bills and unit conversions are straight-line graphs: a fixed charge (c) plus a rate (m)."},{"tag":"Careers","title":"Who uses graphs?","body":"Data analysts, engineers, economists, scientists and game developers (moving objects along lines)."},{"tag":"Coming next","title":"Where this leads","body":"Next: sequences and curved (quadratic) graphs. Later: perpendicular lines, whose gradients multiply to −1."}]},{"type":"cards","id":"challenge","eyebrow":"Challenge yourself","title":"Stretch your brain","intro":"Try each one on paper before opening the card.","items":[{"tag":"Challenge","title":"Find where y = 2x + 1 and y = −x + 7 cross.","body":"2x + 1 = −x + 7\n3x = 6 → x = 2\ny = 5\nThey cross at (2, 5).","code":true},{"tag":"Challenge","title":"Is (3, 10) on the line through (1, 4) and (5, 16)?","body":"gradient = 12 ÷ 4 = 3, c = 4 − 3 = 1 → y = 3x + 1\nat x = 3, y = 10 ✓ yes","code":true}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Try it yourself","items":[{"title":"Phone plan graph","time":"20 minutes","need":["Squared paper"],"steps":["Plan A: $10 plus $2 per GB. Plan B: $20 plus $1 per GB.","Write each as y = mx + c.","Draw both on one graph for 0–15 GB.","Where do they cross? What does it mean?"],"why":"The crossing point (10 GB, $30) is where both plans cost the same. Below it Plan A is cheaper; above it, Plan B.","safety":"No safety risks."},{"title":"Ramp gradients","time":"15 minutes","need":["A tape measure"],"steps":["Find a ramp or slope near you.","Measure how far it rises and how far along it goes.","Work out its gradient.","Is it gentle enough for a wheelchair (0.08 or less)?"],"why":"Gradient = rise ÷ run, the same as on a graph.","safety":"Stay safe near roads and slopes."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Eight more questions","questions":[{"question":"What is the gradient of y = 4x − 3?","options":["−3","1","4"],"answer":2,"right":"Correct.","wrong":"Not quite. The number with x."},{"question":"Where does y = 2x + 6 cross the y-axis?","options":["(0, 6)","(6, 0)","(0, 2)"],"answer":0,"right":"Correct.","wrong":"Not quite. Put x = 0."},{"question":"Gradient of the line through (0, 1) and (2, 9)?","options":["8","4","0.25"],"answer":1,"right":"Correct. 8 ÷ 2.","wrong":"Not quite. Change in y ÷ change in x."},{"question":"Which line is parallel to y = 3x + 2?","options":["y = 2x + 3","y = −3x + 2","y = 3x − 5"],"answer":2,"right":"Correct. Same gradient.","wrong":"Not quite."},{"question":"A line goes down from left to right. Its gradient is…","options":["negative","positive","zero"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"Rearrange y − 5 = 2x into y = mx + c.","options":["y = 5x + 2","y = 2x + 5","y = 2x − 5"],"answer":1,"right":"Correct.","wrong":"Not quite. Add 5 to both sides."},{"question":"What is the gradient of a horizontal line?","options":["1","undefined","0"],"answer":2,"right":"Correct.","wrong":"Not quite. No rise at all."},{"question":"Is (2, 7) on y = 3x + 1?","options":["Yes","No","Only if x = 0"],"answer":0,"right":"Correct. 3 × 2 + 1 = 7.","wrong":"Not quite. Substitute x = 2."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can…","items":["plot points and draw a straight line from a table","find a gradient from two points","identify m and c in y = mx + c","rearrange an equation into y = mx + c","write the equation of a line from a graph","find the equation of a parallel line","find where two lines cross","use straight-line graphs in real situations"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"coordinate","meaning":"A pair (x, y) giving a position."},{"word":"axis","meaning":"A number line on a graph (plural: axes)."},{"word":"gradient","meaning":"The steepness: change in y ÷ change in x."},{"word":"y-intercept","meaning":"Where a line crosses the y-axis."},{"word":"linear","meaning":"Making a straight line."},{"word":"equation of a line","meaning":"A rule like y = mx + c that every point on the line obeys."},{"word":"parallel","meaning":"Same gradient, never meeting."},{"word":"origin","meaning":"The point (0, 0)."},{"word":"rise","meaning":"Change in y."},{"word":"run","meaning":"Change in x."}]},{"type":"sources","id":"sources","title":"Sources","items":["Khan Academy: Slope-intercept form","Corbettmaths: y = mx + c","MacTutor History of Mathematics: René Descartes","BBC Bitesize: Straight-line graphs"]}]},"overlay":null}