{"base":{"id":"alcm-11-01","subject":"Combined Maths","title":"Completing the square and the graph of a quadratic","scene":"alcm","steps":[{"mode":"fig","work":{"title":"Write it like this","lines":["2x² − 12x + 13","= 2(x² − 6x) + 13","= 2[(x − 3)² − 9] + 13",{"t":"= 2(x − 3)² − 5","note":"vertex (3, −5)"},"axis of symmetry x = 3"]},"say":["Tap to complete the square.","A quadratic with a = 2.","Take out the 2 from the x terms.","Half of −6 is −3.","Tidy up.","The mirror line."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Vertex form","title":"a(x + p)² + q","body":"Every quadratic ax² + bx + c can be written as a(x + p)² + q by completing the square. The vertex (turning point) is then (−p, q) and the axis of symmetry is x = −p."},{"mode":"plot","controls":[{"id":"a","label":"a","min":-3,"max":3,"step":0.5,"value":1},{"id":"h","label":"h","min":-4,"max":4,"step":0.5,"value":1},{"id":"k","label":"k","min":-5,"max":5,"step":0.5,"value":-2}],"view":[-6,-8,6,8],"axes":{"xs":1,"ys":2},"fns":[{"e":"a*(x-h)^2+k","col":"b"}],"vl":["h"],"pts":[{"x":"h","y":"k","col":"r","t":"V"}],"ptitle":"Parabola","rows":["y = {a|1}(x − {h|1})² + {k|1}",["vertex ({h|1}, {k|1})","r"],["axis x = {h|1}","s"],["y-intercept {a*h^2+k|2}","g"]],"note":"If a = 0 it is no longer a quadratic: the graph becomes the line y = k.","st":"Vertex ({h|1}, {k|1}).","eyebrow":"Explore","title":"Move a, p and q","body":"y = a(x − h)² + k. h moves the parabola sideways, k moves it up and down, and a decides the shape: a > 0 opens up (a minimum), a < 0 opens down (a maximum)."},{"mode":"fig","fig":{"view":[-3,-5,5,6],"items":[{"k":"fn","e":"x^2-2*x-3","col":"b","w":7},{"k":"pt","p":[1,-4],"t":"(1, −4)","d":"se","col":"r"},{"k":"pt","p":[0,-3],"t":"(0, −3)","d":"nw","col":"g"},{"k":"pt","p":[-1,0],"t":"−1","d":"nw","col":"o"},{"k":"pt","p":[3,0],"t":"3","d":"ne","col":"o"},{"k":"line","p":[1,0,1,1],"col":"s","dash":1}],"axes":{"xs":1,"ys":1},"free":true},"work":{"title":"Write it like this","lines":["y = x² − 2x − 3 = (x − 1)² − 4",{"t":"a = 1 > 0: U shape","note":"minimum"},"vertex (1, −4),  y-intercept −3","roots: (x − 3)(x + 1) = 0  →  x = 3, −1"]},"say":["Tap to sketch.","Vertex form.","Opens upwards.","Two points.","Where it crosses the axis."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Sketching","title":"Four facts for a sketch","body":"For a good sketch mark: the shape (sign of a), the vertex, the y-intercept (x = 0) and any x-intercepts (roots)."},{"mode":"fig","work":{"title":"Write it like this","lines":["f(x) = x² + 6x + 14","= (x + 3)² + 5",{"t":"(x + 3)² ≥ 0   →   f(x) ≥ 5","note":"never below 5"},"least value 5 at x = −3"]},"say":["Tap to find the least value.","A quadratic.","Complete the square.","A square is at least 0.","Minimum point."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Least value","title":"Read it from the square","body":"Because (x + p)² ≥ 0, a(x + p)² + q with a > 0 has least value q at x = −p. This is the quickest way to find minima without calculus."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5],"t":"y = x² − 8x + 10","size":84,"col":"v","max":1400}]},"eyebrow":"Check yourself","title":"Vertex","body":"Complete the square.","question":"The vertex of y = x² − 8x + 10 is…","options":["(−4, −6)","(4, 10)","(4, −6)"],"answer":2,"right":"Correct. (x − 4)² − 6.","wrong":"Not quite. x² − 8x = (x − 4)² − 16."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Quadratic graphs in detail","items":[{"tag":"Formula","title":"Vertex from a, b, c","body":"ax² + bx + c = a(x + b/(2a))² + (4ac − b²)/(4a).\nVertex: x = −b/(2a), y = (4ac − b²)/(4a) = −Δ/(4a), where Δ = b² − 4ac."},{"tag":"Shape","title":"What a controls","body":"a > 0: ∪, minimum at the vertex.\na < 0: ∩, maximum at the vertex.\nLarger |a|: narrower parabola."},{"tag":"Range","title":"Range of a quadratic function","body":"For f(x) = 2(x − 3)² − 5 on R the range is y ≥ −5. On a restricted domain such as 0 ≤ x ≤ 4, check the vertex and both ends: f(0) = 13, f(3) = −5, f(4) = −3, so the range is −5 ≤ y ≤ 13."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Forgetting to multiply back","body":"In 2(x² − 6x) + 13 = 2[(x − 3)² − 9] + 13, the −9 is inside the bracket and becomes −18."},{"tag":"Common mistake","title":"Wrong sign of the vertex","body":"(x − 3)² is smallest at x = +3, not −3. The vertex of a(x + p)² + q is at x = −p."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"x² + 6x + 1 = (x + p)² + q. p = ?","options":["6","3","−3"],"answer":1,"right":"Correct. p is half the coefficient of x.","wrong":"Not quite. Halve the middle coefficient."},{"level":"easy","question":"x² − 4x + 7 = (x + p)² + q. p = ?","options":["−2","2","−4"],"answer":0,"right":"Correct. p is half the coefficient of x.","wrong":"Not quite. Halve the middle coefficient."},{"level":"easy","question":"x² + 10x = (x + p)² + q. p = ?","options":["10","5","25"],"answer":1,"right":"Correct. p is half the coefficient of x.","wrong":"Not quite. Halve the middle coefficient."},{"level":"easy","question":"x² − 2x − 3 = (x + p)² + q. p = ?","options":["1","−1","−2"],"answer":1,"right":"Correct. p is half the coefficient of x.","wrong":"Not quite. Halve the middle coefficient."},{"level":"easy","question":"x² + x + 1 = (x + p)² + q. p = ?","options":["1","1/4","1/2"],"answer":2,"right":"Correct. p is half the coefficient of x.","wrong":"Not quite. Halve the middle coefficient."},{"level":"easy","question":"The vertex of y = (x − 2)² + 5 is…","options":["(−2, 5)","(2, 5)","(5, 2)"],"answer":1,"right":"Correct. y = a(x − h)² + k has vertex (h, k).","wrong":"Not quite. Read h with the opposite sign."},{"level":"easy","question":"The vertex of y = (x + 1)² − 3 is…","options":["(1, −3)","(−1, 3)","(−1, −3)"],"answer":2,"right":"Correct. y = a(x − h)² + k has vertex (h, k).","wrong":"Not quite. Read h with the opposite sign."},{"level":"easy","question":"The vertex of y = x² + 4 is…","options":["(4, 0)","(0, −4)","(0, 4)"],"answer":2,"right":"Correct. y = a(x − h)² + k has vertex (h, k).","wrong":"Not quite. Read h with the opposite sign."},{"level":"easy","question":"The vertex of y = −(x − 3)² + 1 is…","options":["(3, 1)","(−3, 1)","(3, −1)"],"answer":0,"right":"Correct. y = a(x − h)² + k has vertex (h, k).","wrong":"Not quite. Read h with the opposite sign."},{"level":"easy","question":"The vertex of y = 2(x + 4)² − 6 is…","options":["(−4, −6)","(4, −6)","(−4, 6)"],"answer":0,"right":"Correct. y = a(x − h)² + k has vertex (h, k).","wrong":"Not quite. Read h with the opposite sign."},{"level":"medium","question":"Complete the square: x² + 8x + 3","options":["(x + 4)² + 3","(x + 4)² − 13","(x + 8)² − 61"],"answer":1,"right":"Correct. Take out the x² coefficient, halve, square, adjust.","wrong":"Not quite. Expand your answer to check."},{"level":"medium","question":"Complete the square: x² − 6x + 11","options":["(x − 3)² + 2","(x − 3)² + 11","(x + 3)² + 2"],"answer":0,"right":"Correct. Take out the x² coefficient, halve, square, adjust.","wrong":"Not quite. Expand your answer to check."},{"level":"medium","question":"Complete the square: 2x² + 4x + 5","options":["2(x + 2)² − 3","(2x + 1)² + 4","2(x + 1)² + 3"],"answer":2,"right":"Correct. Take out the x² coefficient, halve, square, adjust.","wrong":"Not quite. Expand your answer to check."},{"level":"medium","question":"Complete the square: −x² + 2x + 3","options":["−(x − 1)² + 4","−(x + 1)² + 4","(x − 1)² + 4"],"answer":0,"right":"Correct. Take out the x² coefficient, halve, square, adjust.","wrong":"Not quite. Expand your answer to check."},{"level":"medium","question":"Complete the square: 3x² − 12x + 1","options":["3(x − 2)² + 1","3(x − 2)² − 11","3(x − 4)² − 47"],"answer":1,"right":"Correct. Take out the x² coefficient, halve, square, adjust.","wrong":"Not quite. Expand your answer to check."},{"level":"medium","question":"The axis of symmetry of y = x² − 6x + 2 is…","options":["x = −3","x = 3","x = 6"],"answer":1,"right":"Correct. x = −b/(2a), or midway between the roots.","wrong":"Not quite. Use −b/2a."},{"level":"medium","question":"The axis of symmetry of y = 2x² + 8x − 1 is…","options":["x = 2","x = −4","x = −2"],"answer":2,"right":"Correct. x = −b/(2a), or midway between the roots.","wrong":"Not quite. Use −b/2a."},{"level":"medium","question":"The axis of symmetry of y = −x² + 5x is…","options":["x = 5/2","x = −5/2","x = 5"],"answer":0,"right":"Correct. x = −b/(2a), or midway between the roots.","wrong":"Not quite. Use −b/2a."},{"level":"medium","question":"The axis of symmetry of y = (x − 1)(x − 7) is…","options":["x = 3","x = 7","x = 4"],"answer":2,"right":"Correct. x = −b/(2a), or midway between the roots.","wrong":"Not quite. Use −b/2a."},{"level":"medium","question":"The axis of symmetry of y = 3 − 4x − x² is…","options":["x = 2","x = 4","x = −2"],"answer":2,"right":"Correct. x = −b/(2a), or midway between the roots.","wrong":"Not quite. Use −b/2a."},{"level":"hard","question":"y = x² + bx + c has vertex (3, −4). b = ?","options":["−6","6","−3"],"answer":0,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"…and c = ?","options":["−4","5","13"],"answer":1,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"The parabola y = a(x − 1)² + 2 passes through (3, 10). a = ?","options":["4","2","8"],"answer":1,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"y = x² − 4x + k touches the x-axis when k = ?","options":["−4","2","4"],"answer":2,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"The roots of y = (x + 2)² − 9 are…","options":["−1 and 5","7 and −11","1 and −5"],"answer":2,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"y = −2x² + 8x − 3 opens…","options":["downwards","upwards","sideways"],"answer":0,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"Its vertex is…","options":["(2, 5)","(−2, 5)","(2, −3)"],"answer":0,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"Shifting y = x² right 3 and up 1 gives…","options":["y = (x + 3)² + 1","y = (x − 1)² + 3","y = (x − 3)² + 1"],"answer":2,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"The y-intercept of y = 2(x − 1)² − 5 is…","options":["−3","−5","−7"],"answer":0,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."},{"level":"hard","question":"ax² + bx + c = a[(x + b/2a)² − Δ/4a²] where Δ = ?","options":["b² + 4ac","b² − 4ac","4ac − b²"],"answer":1,"right":"Correct. Write in vertex form and read off features.","wrong":"Not quite. Complete the square."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Quadratic function","meaning":"f(x) = ax² + bx + c with a ≠ 0."},{"word":"Parabola","meaning":"The U-shaped graph of a quadratic."},{"word":"Vertex","meaning":"The turning point of a parabola."},{"word":"Axis of symmetry","meaning":"The vertical mirror line through the vertex."},{"word":"Completing the square","meaning":"Writing ax² + bx + c as a(x + p)² + q."},{"word":"Least value","meaning":"The smallest value a function takes."}]},{"type":"checklist","id":"check","title":"I can…","items":["complete the square for any quadratic","sketch a quadratic with vertex and intercepts","find greatest or least values"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, G.C.E. (A/L) Combined Mathematics syllabus, Grade 12 and 13, 2017 (competency level I 3.1)."]}],"slug":"completing-the-square-graph"},"overlay":null}