{"base":{"id":"olm11-6-02","subject":"Mathematics","title":"Cube of a difference: expanding (x − y)³ and using the expansions","scene":"olm11","steps":[{"mode":"fig","work":{"title":"Write it like this","lines":["(x + y)³ = x³ + 3x²y + 3xy² + y³","(x − y)³ = x³ + 3x²(−y) + 3x(−y)² + (−y)³","        = x³ − 3x²y + 3xy² − y³"]},"say":["Tap to change y into −y.","Start from the cube of a sum.","Every y becomes (−y).","(−y)² = y² but (−y)³ = −y³."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Substitute −y","title":"The signs alternate","body":"The cube of a difference comes from the cube of a sum by putting −y in place of y. Odd powers of −y are negative, even powers are positive. So the signs go plus, minus, plus, minus: (x − y)³ = x³ − 3x²y + 3xy² − y³."},{"mode":"cube","controls":[{"id":"x","label":"x","min":2,"max":9,"step":1,"value":5},{"id":"y","label":"y","min":1,"max":8,"step":1,"value":2}],"minus":true,"eyebrow":"Check with numbers","title":"Plus, minus, plus, minus","body":"Choose x and y. The second and fourth terms are now subtracted, and the total still equals the cube of x − y. Try x = 5, y = 2: the answer is 3³ = 27."},{"mode":"fig","work":{"title":"Write it like this","lines":["(x − 5)³ = x³ − 3x²(5) + 3x(25) − 125","        = x³ − 15x² + 75x − 125","(2a − 3)³ = (2a)³ − 3(2a)²(3) + 3(2a)(9) − 27","         = 8a³ − 36a² + 54a − 27"]},"say":["Tap for two expansions.","y = 5.","Signs + − + −.","Blocks 2a and 3.","3 × 4a² × 3 = 36a² and 3 × 2a × 9 = 54a."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Examples","title":"(x − 5)³ and (2a − 3)³","body":"Work exactly as for a sum, then put in the signs + − + −. With a coefficient, cube and square the whole first term."},{"mode":"fig","work":{"title":"Write it like this","lines":["99³ = (100 − 1)³","    = 1 000 000 − 30 000 + 300 − 1 = 970 299",{"t":"x + y = 5,  xy = 6.   x³ + y³ = ?","note":"given"},"x³ + y³ = (x + y)³ − 3xy(x + y)","        = 125 − 3 × 6 × 5 = 35"]},"say":["Tap for two uses.","x = 100, y = 1.","100³ − 3(100²)(1) + 3(100)(1) − 1.","No need to solve for x and y.","Rearranged cube of a sum.","Check: x = 2, y = 3 gives 8 + 27 = 35."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Using the expansions","title":"Numbers and hidden values","body":"The expansions find cubes of numbers near a round number, and they link x + y, xy and x³ + y³. Since (x + y)³ = x³ + y³ + 3xy(x + y), knowing x + y and xy gives x³ + y³ without finding x and y."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5],"t":"(x − 2)³ = ?","size":84,"col":"v","max":1400}]},"eyebrow":"Check yourself","title":"Expand","body":"Signs go + − + −.","question":"What is (x − 2)³?","options":["x³ − 6x² + 12x − 8","x³ − 6x² − 12x − 8","x³ − 8"],"answer":0,"right":"Correct. −3x²(2) = −6x², +3x(4) = +12x and −2³ = −8.","wrong":"Not quite. The third term has (−2)² = +4, so it is positive."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"The cube of a difference in detail","items":[{"tag":"Formulas","title":"Sum and difference side by side","body":"(x + y)³ = x³ + 3x²y + 3xy² + y³\n(x − y)³ = x³ − 3x²y + 3xy² − y³\n\nSame terms, same coefficients 1, 3, 3, 1. Only the signs of the second and fourth terms change.\n\nAlso: (x − y)³ = x³ − y³ − 3xy(x − y)."},{"tag":"Finding values","title":"When x − y and xy are known","body":"If x − y = 2 and xy = 15, then\nx³ − y³ = (x − y)³ + 3xy(x − y) = 8 + 3 × 15 × 2 = 98.\n\nCheck with x = 5, y = 3: 125 − 27 = 98.\n\nIf x + 1/x = 3, then x³ + 1/x³ = 3³ − 3 × 1 × 3 = 18, because x × 1/x = 1."},{"tag":"Numbers","title":"Cubes of numbers near 10, 20, 100","body":"19³ = (20 − 1)³ = 8000 − 1200 + 60 − 1 = 6859.\n9³ = (10 − 1)³ = 1000 − 300 + 30 − 1 = 729.\n102³ = (100 + 2)³ = 1 000 000 + 60 000 + 1200 + 8 = 1 061 208."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Making every term after the first negative","body":"(x − 2)³ is not x³ − 6x² − 12x − 8. The third term contains (−2)², which is positive: +12x."},{"tag":"Common mistake","title":"Writing x³ − y³ for (x − y)³","body":"Test x = 3, y = 1: (3 − 1)³ = 8, but 27 − 1 = 26. The middle terms −3x²y + 3xy² cannot be left out."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"Expand (x − 1)³.","options":["x³ − 1","x³ − 3x² − 3x − 1","x³ − 3x² + 3x − 1"],"answer":2,"right":"Correct. (a − b)³ = a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. The signs go + − + −."},{"level":"easy","question":"Expand (x − 2)³.","options":["x³ − 8","x³ − 6x² + 12x − 8","x³ − 6x² − 12x − 8"],"answer":1,"right":"Correct. (a − b)³ = a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. The signs go + − + −."},{"level":"easy","question":"Expand (a − 3)³.","options":["a³ − 27","a³ + 9a² − 27a − 27","a³ − 9a² + 27a − 27"],"answer":2,"right":"Correct. (a − b)³ = a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. The signs go + − + −."},{"level":"easy","question":"(a − b)³ = ?","options":["a³ − b³","a³ − 3a²b − 3ab² − b³","a³ − 3a²b + 3ab² − b³"],"answer":2,"right":"Correct. This is the identity for the cube of a difference.","wrong":"Not quite. Replace b by −b in the cube of a sum."},{"level":"easy","question":"What is the pattern of signs in the expansion of (a − b)³?","options":["+ − + −","+ − − −","+ + − −"],"answer":0,"right":"Correct. Odd powers of −b are negative.","wrong":"Not quite. (−b)² is positive, (−b)³ is negative."},{"level":"easy","question":"In the expansion of (x − 4)³, what is the last term?","options":["64","−12","−64"],"answer":2,"right":"Correct. (−4)³.","wrong":"Not quite. Match the terms with a³ − 3a²b + 3ab² − b³."},{"level":"easy","question":"In the expansion of (x − 2)³, what is the coefficient of x²?","options":["6","−6","−12"],"answer":1,"right":"Correct. 3 × (−2).","wrong":"Not quite. Match the terms with a³ − 3a²b + 3ab² − b³."},{"level":"easy","question":"In the expansion of (x − 2)³, what is the coefficient of x?","options":["12","−12","6"],"answer":0,"right":"Correct. 3 × (−2)².","wrong":"Not quite. Match the terms with a³ − 3a²b + 3ab² − b³."},{"level":"easy","question":"In the expansion of (a − b)³, what is the last term?","options":["b³","−b³","−3b"],"answer":1,"right":"Correct. (−b)³.","wrong":"Not quite. Match the terms with a³ − 3a²b + 3ab² − b³."},{"level":"easy","question":"How many negative terms are in the expansion of (a − b)³?","options":["2","1","3"],"answer":0,"right":"Correct. −3a²b and −b³.","wrong":"Not quite. Look at the signs + − + −."},{"level":"medium","question":"Expand (x − 4)³.","options":["x³ − 12x² + 48x − 64","x³ − 12x² − 48x − 64","x³ − 64"],"answer":0,"right":"Correct. Use a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. Check the signs: + − + −."},{"level":"medium","question":"Expand (2x − 1)³.","options":["2x³ − 12x² + 6x − 1","8x³ − 12x² + 6x − 1","8x³ − 12x² − 6x − 1"],"answer":1,"right":"Correct. Use a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. Check the signs: + − + −."},{"level":"medium","question":"Expand (x − 5)³.","options":["x³ − 15x² − 75x − 125","x³ − 125","x³ − 15x² + 75x − 125"],"answer":2,"right":"Correct. Use a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. Check the signs: + − + −."},{"level":"medium","question":"Expand (3x − 1)³.","options":["27x³ − 9x² + 9x − 1","27x³ − 27x² + 9x − 1","3x³ − 27x² + 9x − 1"],"answer":1,"right":"Correct. Use a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. Check the signs: + − + −."},{"level":"medium","question":"Expand (2x − 3)³.","options":["8x³ − 36x² − 54x − 27","8x³ − 18x² + 54x − 27","8x³ − 36x² + 54x − 27"],"answer":2,"right":"Correct. Use a³ − 3a²b + 3ab² − b³.","wrong":"Not quite. Check the signs: + − + −."},{"level":"medium","question":"Use (10 − 1)³ to find 9³.","options":["971","729","699"],"answer":1,"right":"Correct. 1000 − 300 + 30 − 1.","wrong":"Not quite. a is the round number and b = 1."},{"level":"medium","question":"Use (20 − 1)³ to find 19³.","options":["7259","6859","6739"],"answer":1,"right":"Correct. 8000 − 1200 + 60 − 1.","wrong":"Not quite. a is the round number and b = 1."},{"level":"medium","question":"Use (100 − 1)³ to find 99³.","options":["970 299","999 999","970 301"],"answer":0,"right":"Correct. 1 000 000 − 30 000 + 300 − 1.","wrong":"Not quite. a is the round number and b = 1."},{"level":"medium","question":"What is the coefficient of x in (x − 3)³?","options":["27","−27","−9"],"answer":0,"right":"Correct. 3 × (−3)² = 27.","wrong":"Not quite. The term is 3ab² and b² is positive."},{"level":"medium","question":"What is the coefficient of x² in (2x − 1)³?","options":["12","−6","−12"],"answer":2,"right":"Correct. −3 × (2x)² × 1 = −12x².","wrong":"Not quite. The term is −3a²b with a = 2x."},{"level":"hard","question":"Expand (3x − 2)³.","options":["27x³ − 54x² + 36x − 8","27x³ − 54x² − 36x − 8","27x³ − 18x² + 36x − 8"],"answer":0,"right":"Correct. Signs + − + −, middle coefficients 3a²b and 3ab².","wrong":"Not quite. Work out the four terms one at a time."},{"level":"hard","question":"Expand (2a − 3b)³.","options":["8a³ − 27b³","8a³ − 36a²b − 54ab² − 27b³","8a³ − 36a²b + 54ab² − 27b³"],"answer":2,"right":"Correct. Signs + − + −, middle coefficients 3a²b and 3ab².","wrong":"Not quite. Work out the four terms one at a time."},{"level":"hard","question":"Expand (x − 1/x)³.","options":["x³ − 1/x³","x³ − 3x + 3/x − 1/x³","x³ − 3x − 3/x − 1/x³"],"answer":1,"right":"Correct. Signs + − + −, middle coefficients 3a²b and 3ab².","wrong":"Not quite. Work out the four terms one at a time."},{"level":"hard","question":"Expand (1 − x)³.","options":["1 − 3x + 3x² − x³","1 − x³","1 − 3x − 3x² − x³"],"answer":0,"right":"Correct. Signs + − + −, middle coefficients 3a²b and 3ab².","wrong":"Not quite. Work out the four terms one at a time."},{"level":"hard","question":"If a − b = 2 and ab = 3, what is a³ − b³?","options":["8","−10","26"],"answer":2,"right":"Correct. a³ − b³ = (a − b)³ + 3ab(a − b) = 8 + 18.","wrong":"Not quite. (a − b)³ = a³ − b³ − 3ab(a − b)."},{"level":"hard","question":"If a − b = 1 and ab = 6, what is a³ − b³?","options":["1","19","−17"],"answer":1,"right":"Correct. a³ − b³ = (a − b)³ + 3ab(a − b) = 1 + 18.","wrong":"Not quite. (a − b)³ = a³ − b³ − 3ab(a − b)."},{"level":"hard","question":"If x − 1/x = 2, what is x³ − 1/x³?","options":["8","2","14"],"answer":2,"right":"Correct. 8 = x³ − 1/x³ − 3(2).","wrong":"Not quite. Cube both sides; the middle terms give −3(x − 1/x)."},{"level":"hard","question":"Simplify (x + 1)³ − (x − 1)³.","options":["6x² + 2","2","6x"],"answer":0,"right":"Correct. x³ and 3x cancel; 3x² + 3x² and 1 + 1 remain.","wrong":"Not quite. Expand both cubes and subtract term by term."},{"level":"hard","question":"Simplify (x + 1)³ + (x − 1)³.","options":["2x³ + 6x","2x³","2x³ + 6x² + 2"],"answer":0,"right":"Correct. 3x² and 1 cancel; 2x³ + 6x remains.","wrong":"Not quite. Expand both cubes and add term by term."},{"level":"hard","question":"Use (100 − 2)³ to find 98³.","options":["940 008","941 192","941 208"],"answer":1,"right":"Correct. 1 000 000 − 60 000 + 1200 − 8.","wrong":"Not quite. a = 100 and b = 2."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Cube of a difference","meaning":"(x − y)³ = x³ − 3x²y + 3xy² − y³."},{"word":"Alternating signs","meaning":"Signs that go plus, minus, plus, minus."},{"word":"Substitution","meaning":"Putting a value or expression in place of a letter."},{"word":"Odd power","meaning":"A power 1, 3, 5 …; an odd power of a negative number is negative."},{"word":"Even power","meaning":"A power 2, 4, 6 …; an even power of a negative number is positive."},{"word":"Identity","meaning":"An equation that is true for all values of the letters."}]},{"type":"checklist","id":"check","title":"I can…","items":["expand (x − y)³ by substituting −y in the cube of a sum","expand cubes such as (x − 5)³ and (2a − 3)³","use the expansions to find cubes of numbers and values such as x³ + y³"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 11 (competency level 14.1)."]}],"slug":"cube-of-a-difference"},"overlay":null}