{"base":{"id":"m10-10","subject":"Algebra","title":"Expanding and factorising","scene":"alg10","steps":[{"mode":"expand1","eyebrow":"Expanding one bracket","title":"Multiply everything inside","body":"3(x + 4) means three lots of x + 4. The grid shows it as a rectangle split in two: 3 × x and 3 × 4. Change the numbers, including negatives.","controls":[{"id":"a","label":"Number outside","min":1,"max":6,"step":1,"value":3},{"id":"b","label":"Number inside","min":-5,"max":5,"step":1,"value":4}]},{"mode":"expand2","eyebrow":"Expanding two brackets","title":"Four boxes, four products","body":"(x + 3)(x − 2) makes a grid of four boxes. Multiply each row by each column, then collect the two x terms. Notice: the number term is the two numbers multiplied.","controls":[{"id":"a","label":"First number","min":-5,"max":5,"step":1,"value":3},{"id":"b","label":"Second number","min":-5,"max":5,"step":1,"value":-2}]},{"mode":"factor","eyebrow":"Factorising","title":"Expanding backwards","body":"To factorise, find the highest common factor of every term, numbers and letters, and put it outside the bracket. Then check by expanding again.","actions":[{"id":"e0","label":"6x + 15"},{"id":"e1","label":"4x² − 10x"},{"id":"e2","label":"12ab + 18a"},{"id":"step","label":"Show the next step"}]},{"mode":"quad","eyebrow":"Factorising quadratics","title":"Find the pair","body":"To factorise x² + 7x + 12, find two numbers that multiply to 12 and add to 7: 3 and 4. The last example is a special pattern, the difference of two squares.","actions":[{"id":"e0","label":"x² + 7x + 12"},{"id":"e1","label":"x² − x − 6"},{"id":"e2","label":"x² − 25"},{"id":"step","label":"Show the next step"}]},{"mode":"quiz","look":"expand2","eyebrow":"Check yourself","title":"Expand two brackets","body":"Expand and simplify (x + 5)(x − 2).","question":"Which is the correct expansion?","options":["x² − 10","x² + 3x − 10","x² + 7x − 10"],"answer":1,"right":"Correct. x² − 2x + 5x − 10 = x² + 3x − 10.","wrong":"Not quite. There are four products. The two x terms are −2x and +5x."}],"more":[{"type":"cards","id":"worked","eyebrow":"Worked examples","title":"Step by step","intro":"Expanding removes brackets; factorising puts them back. Each checks the other.","items":[{"tag":"Expand and simplify","title":"4(2x − 3) − 2(x − 5)","body":"4(2x − 3) = 8x − 12\n−2(x − 5) = −2x + 10   (− × − = +)\ntotal: 8x − 12 − 2x + 10\n= 6x − 2","code":true},{"tag":"Two brackets","title":"(2x + 1)(x − 4)","body":"2x × x  = 2x²\n2x × −4 = −8x\n1 × x   = x\n1 × −4  = −4\n= 2x² − 7x − 4","code":true},{"tag":"Square a bracket","title":"(x − 3)²","body":"(x − 3)(x − 3)\n= x² − 3x − 3x + 9\n= x² − 6x + 9\nNOT x² + 9","code":true},{"tag":"Factorise fully","title":"15x²y − 10xy²","body":"HCF of 15 and 10: 5\nletters: x (lowest power) and y (lowest power)\nHCF = 5xy\n= 5xy(3x − 2y)\ncheck: 5xy × 3x = 15x²y ✓","code":true}]},{"type":"cards","id":"mistakes","eyebrow":"Common mistakes","title":"Watch out for these","items":[{"tag":"Mistake","title":"\"3(x + 4) = 3x + 4\"","body":"The 3 multiplies EVERY term inside: 3x + 12."},{"tag":"Mistake","title":"Sign errors with a negative outside","body":"−2(x − 5) = −2x + 10, not −2x − 10. A negative times a negative is positive."},{"tag":"Mistake","title":"\"(x + 3)² = x² + 9\"","body":"Squaring a bracket means multiplying it by itself: (x + 3)(x + 3) = x² + 6x + 9. The middle term is easy to forget."},{"tag":"Mistake","title":"Not factorising fully","body":"12x + 18 = 2(6x + 9) is not finished, because 6 and 9 still share 3. Fully: 6(2x + 3)."}]},{"type":"cards","id":"method","eyebrow":"Set out your answer","title":"How to show your working","items":[{"tag":"1 · Use a grid","title":"Draw the boxes","body":"For two brackets, a 2 × 2 grid makes sure you get all four products. Write signs inside each box."},{"tag":"2 · Check by expanding","title":"Factorised? Multiply it back out","body":"After factorising, expand your answer in your head. If it gives the original, you're right."},{"tag":"3 · Check by substituting","title":"Try x = 2","body":"Put the same number into the question and your answer. If (x + 5)(x − 2) and x² + 3x − 10 both give 0 when x = 2, they match."}]},{"type":"bars","id":"patterns","eyebrow":"Data","title":"Special patterns worth remembering","intro":"These three come up again and again.","items":[{"label":"(a + b)²","value":90,"display":"a² + 2ab + b²","color":"#7c3aed"},{"label":"(a − b)²","value":90,"display":"a² − 2ab + b²","color":"#2f6fdb"},{"label":"(a + b)(a − b)","value":70,"display":"a² − b²","color":"#1f9d55"}],"facts":[{"title":"Mental maths trick","body":"47 × 53 = (50 − 3)(50 + 3) = 50² − 3² = 2500 − 9 = 2491. The difference of two squares makes some multiplications easy."},{"title":"Squaring numbers ending in 5","body":"35² = (30 + 5)² = 900 + 300 + 25 = 1225. Shortcut: 3 × 4 = 12, then write 25 after it."}]},{"type":"cards","id":"deeper","eyebrow":"Go deeper","title":"More than the lesson","items":[{"tag":"History","title":"Algebra drawn as pictures","body":"Around 300 BCE Euclid proved (a + b)² = a² + 2ab + b² with a drawing: a big square cut into two squares and two rectangles. Our grid method is the same idea, more than 2,000 years old."},{"tag":"Real world","title":"Why factorise?","body":"Factorising helps solve equations: if (x − 3)(x + 2) = 0, then x = 3 or x = −2, because a product is zero only when one factor is zero. Engineers and physicists use this to find when a ball lands or a bridge balances."},{"tag":"Careers","title":"Who uses this?","body":"Programmers simplify expressions to make code faster. Economists factorise cost formulas. Physicists expand brackets when working with motion and energy."},{"tag":"Coming next","title":"Where this leads","body":"Factorising quadratics leads straight to solving quadratic equations and drawing their curved graphs (parabolas) later in the course."}]},{"type":"cards","id":"challenge","eyebrow":"Challenge yourself","title":"Stretch your brain","intro":"Try each one before opening the card.","items":[{"tag":"Challenge","title":"Work out 101² − 99² without a calculator","body":"Difference of two squares:\n101² − 99² = (101 + 99)(101 − 99)\n= 200 × 2\n= 400"},{"tag":"Challenge","title":"Factorise 2x² + 7x + 3","body":"Multiply 2 × 3 = 6. Find two numbers that multiply to 6 and add to 7: 6 and 1.\nSplit the middle: 2x² + 6x + x + 3\n= 2x(x + 3) + 1(x + 3)\n= (2x + 1)(x + 3)\nCheck: 2x² + 6x + x + 3 ✓"}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Brackets you can hold","items":[{"title":"Paper rectangle proof","time":"20 minutes","need":["Squared paper","Scissors","Coloured pens"],"steps":["Draw a rectangle (x + 3) by (x + 2), choosing x = 5 squares.","Split it into four parts with lines: x by x, x by 2, 3 by x, 3 by 2. Colour each part.","Count the squares in each part and add them.","Check that it equals x² + 5x + 6 when x = 5."],"why":"The four parts are exactly the four products in the grid method, so the picture proves the expansion.","safety":"Take care with scissors."},{"title":"Number trick with squares","time":"10 minutes","need":["A calculator"],"steps":["Pick any whole number n. Work out (n + 1)² − n².","Try five different numbers.","What pattern do you see?","Expand (n + 1)² − n² to explain it."],"why":"(n + 1)² − n² = n² + 2n + 1 − n² = 2n + 1: the answer is always the two numbers added together.","safety":"No safety risks."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Eight more questions","questions":[{"question":"Expand 5(2x − 3).","options":["10x − 15","10x − 3","7x − 8"],"answer":0,"right":"Correct. 5 × 2x = 10x and 5 × (−3) = −15.","wrong":"Not quite. Multiply both terms by 5."},{"question":"Expand −3(x − 4).","options":["−3x − 12","−3x + 12","3x − 12"],"answer":1,"right":"Correct. −3 × (−4) = +12.","wrong":"Not quite. A negative times a negative is positive."},{"question":"Factorise fully 8x + 20.","options":["2(4x + 10)","8(x + 20)","4(2x + 5)"],"answer":2,"right":"Correct. The HCF of 8 and 20 is 4.","wrong":"Not quite. Use the HIGHEST common factor."},{"question":"Expand (x + 2)(x + 6).","options":["x² + 8x + 12","x² + 12","x² + 8x + 8"],"answer":0,"right":"Correct. Middle: 2 + 6 = 8. End: 2 × 6 = 12.","wrong":"Not quite. Multiply each term in the first bracket by each in the second."},{"question":"Factorise x² + 9x + 20.","options":["(x + 2)(x + 10)","(x + 4)(x + 5)","(x + 9)(x + 20)"],"answer":1,"right":"Correct. 4 × 5 = 20 and 4 + 5 = 9.","wrong":"Not quite. Find two numbers that multiply to 20 and add to 9."},{"question":"Expand (x − 4)².","options":["x² + 16","x² − 16","x² − 8x + 16"],"answer":2,"right":"Correct. (x − 4)(x − 4) = x² − 4x − 4x + 16.","wrong":"Not quite. Write the bracket twice and expand."},{"question":"Factorise x² − 49.","options":["(x − 7)²","(x + 7)(x − 7)","(x − 49)(x + 1)"],"answer":1,"right":"Correct. A difference of two squares.","wrong":"Not quite. 49 = 7², and the pattern is a² − b²."},{"question":"Factorise fully 6a²b + 9ab.","options":["3ab(2a + 3)","3a(2ab + 3b)","ab(6a + 9)"],"answer":0,"right":"Correct. HCF = 3ab.","wrong":"Not quite. Take out the biggest number AND every shared letter."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can…","items":["expand a single bracket, including negative numbers outside","expand and simplify two expressions with brackets","expand two brackets using the grid method","expand a squared bracket like (x − 3)²","factorise by taking out the highest common factor","factorise a quadratic like x² + bx + c","recognise and factorise a difference of two squares","check answers by expanding or substituting a number"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"expand","meaning":"Multiply out brackets."},{"word":"factorise","meaning":"Write an expression as a product, putting brackets in."},{"word":"highest common factor (HCF)","meaning":"The biggest factor shared by every term."},{"word":"quadratic expression","meaning":"An expression whose highest power is x², like x² + 5x + 6."},{"word":"binomial","meaning":"An expression with two terms, like x + 3."},{"word":"difference of two squares","meaning":"a² − b² = (a + b)(a − b)."},{"word":"grid method","meaning":"A table used to multiply each term by each term."},{"word":"identity","meaning":"An equation true for every value, like 3(x + 4) ≡ 3x + 12."},{"word":"simplify","meaning":"Collect like terms after expanding."}]},{"type":"sources","id":"sources","title":"Sources","items":["Khan Academy: Multiplying binomials; factoring quadratics","Corbettmaths: Expanding brackets and factorising","MacTutor History of Mathematics: Euclid's geometric algebra","Wolfram MathWorld: Difference of Two Squares"]}]},"overlay":null}