{"base":{"id":"m10-09","subject":"Algebra","title":"Expressions and substitution","scene":"alg10","steps":[{"mode":"words","eyebrow":"Words into algebra","title":"Write it with letters","body":"A letter stands for a number we don't know yet. Turn each sentence into an expression. Watch where brackets are needed to show what happens first.","actions":[{"id":"w0","label":"Sentence 1"},{"id":"w1","label":"Sentence 2"},{"id":"w2","label":"Sentence 3"},{"id":"w3","label":"Sentence 4"}]},{"mode":"terms","eyebrow":"Collecting like terms","title":"Group the same kinds together","body":"Like terms have exactly the same letters and powers. Group the tiles, then let each + and − pair cancel. x and x² are different kinds, so they never combine.","actions":[{"id":"e0","label":"Example 1"},{"id":"e1","label":"Example 2"},{"id":"e2","label":"Example 3"},{"id":"sort","label":"Group like terms"}]},{"mode":"subst","eyebrow":"Substitution","title":"Swap letters for numbers","body":"Replace each letter with its value, then use the order of operations. With negative values, put brackets round them before squaring. Try x = −2, then other values.","controls":[{"id":"x","label":"x","min":-5,"max":5,"step":1,"value":-2},{"id":"y","label":"y","min":-5,"max":5,"step":1,"value":3}]},{"mode":"formula","eyebrow":"Formulas","title":"A rule for any numbers","body":"A formula links quantities. A cyclist starts at 5 m/s and speeds up by a m/s every second. After t seconds her speed is v = u + at. Change a and t.","controls":[{"id":"a","label":"Acceleration a (m/s each second)","min":0,"max":5,"step":1,"value":2},{"id":"t","label":"Time t (s)","min":0,"max":10,"step":1,"value":4}]},{"mode":"twoways","eyebrow":"Equivalent expressions","title":"Two ways, one area","body":"This rectangle is 4 wide and x + 3 long. Its area is 4(x + 3), or you can add the two parts: 4x + 12. Both expressions always give the same value.","controls":[{"id":"x","label":"x","min":1,"max":10,"step":1,"value":5}]},{"mode":"quiz","look":"subst","eyebrow":"Check yourself","title":"Substitute a negative","body":"Find the value of 3x² − 4x when x = −2.","question":"What is 3x² − 4x when x = −2?","options":["4","−4","20"],"answer":2,"right":"Correct. 3 × (−2)² − 4 × (−2) = 3 × 4 + 8 = 12 + 8 = 20.","wrong":"Not quite. (−2)² = 4, and −4 × (−2) is positive."}],"more":[{"type":"cards","id":"worked","eyebrow":"Worked examples","title":"Step by step","intro":"Algebra is arithmetic with a mystery number. All the usual rules still apply.","items":[{"tag":"Writing","title":"Tickets cost $t each and a booking fee is $3. Write the cost of n tickets.","body":"n tickets cost n × t = nt\nadd the fee: nt + 3\ncost = nt + 3 dollars","code":true},{"tag":"Simplifying","title":"Simplify 5ab − 2a + 3ba + 7a","body":"ab and ba are the same term\nab terms: 5ab + 3ab = 8ab\na terms: −2a + 7a = 5a\n= 8ab + 5a","code":true},{"tag":"Substitution","title":"Find (p − q)² ÷ 2 when p = 3 and q = −5","body":"p − q = 3 − (−5) = 8\n8² = 64\n64 ÷ 2 = 32","code":true},{"tag":"Formula","title":"Convert 25 °C with F = 9C/5 + 32","body":"F = 9 × 25 ÷ 5 + 32\n  = 225 ÷ 5 + 32\n  = 45 + 32\n  = 77 °F","code":true}]},{"type":"cards","id":"mistakes","eyebrow":"Common mistakes","title":"Watch out for these","items":[{"tag":"Mistake","title":"\"3x + 2y = 5xy\"","body":"x and y are different, so 3x + 2y can't be simplified. Only like terms combine."},{"tag":"Mistake","title":"\"When x = −3, x² = −9\"","body":"x² = (−3)² = 9. Always put a negative value in brackets before squaring."},{"tag":"Mistake","title":"\"2n means 2 + n\"","body":"2n means 2 × n. Letters next to numbers or letters are multiplied: ab = a × b."},{"tag":"Mistake","title":"\"x + x = x²\"","body":"x + x = 2x (two lots of x). x × x = x²."}]},{"type":"cards","id":"method","eyebrow":"Set out your answer","title":"How to show your working","items":[{"tag":"1 · Write the expression first","title":"Then substitute","body":"Copy the expression, then rewrite it with the numbers in brackets: 3 × (−2)² − 4 × (−2). Only then calculate."},{"tag":"2 · Underline like terms","title":"Use colours or shapes","body":"Underline x terms once, y terms twice, and circle numbers. Then collect each kind."},{"tag":"3 · Define your letters","title":"Say what they mean","body":"In word problems write \"Let n = number of tickets\". It makes your answer easy to follow."}]},{"type":"calc","id":"calc","eyebrow":"Calculator","title":"Celsius to Fahrenheit","intro":"The formula F = 1.8C + 32 changes Celsius to Fahrenheit. The calculator shows 1.8C; add 32 in your head.","input":{"label":"Temperature C","min":-40,"max":100,"step":5,"value":20,"unit":"°C"},"rows":[{"label":"1.8C","mul":1.8,"decimals":0,"color":"#2f6fdb"}],"note":"At −40 the two scales agree: 1.8 × (−40) + 32 = −40."},{"type":"cards","id":"deeper","eyebrow":"Go deeper","title":"More than the lesson","items":[{"tag":"History","title":"Why do we use x?","body":"The word algebra comes from the book by Muhammad ibn Musa al-Khwarizmi in Baghdad around 820 CE: 'al-jabr' meaning 'restoring'. He wrote everything in words. Letters for unknowns came much later, from François Viète in the 1590s and René Descartes, who chose x, y, z for unknowns."},{"tag":"Real world","title":"Spreadsheets are algebra","body":"A spreadsheet formula like =B2*C2+3 is an expression. The cell names are the letters, and every time you change a number, the spreadsheet substitutes it for you."},{"tag":"Careers","title":"Who uses formulas?","body":"Doctors use formulas for medicine doses based on body mass, engineers for loads on bridges, programmers for games physics, and economists for prices and interest."},{"tag":"Coming next","title":"Where this leads","body":"Next you'll expand and factorise brackets, then solve equations, where you find the value of the letter that makes an expression equal a number."}]},{"type":"cards","id":"challenge","eyebrow":"Challenge yourself","title":"Stretch your brain","intro":"Try each one before opening the card.","items":[{"tag":"Challenge","title":"Is n² + n always even, for any whole number n?","body":"n² + n = n(n + 1): two numbers next to each other multiplied together. One of any two consecutive numbers is even, so the product is always even.\nCheck: n = 3 → 12, n = 4 → 20, n = 7 → 56 ✓"},{"tag":"Challenge","title":"Find a and b if 3(x + a) = bx + 12 for every x","body":"Expand: 3x + 3a = bx + 12.\nMatch the x terms: b = 3.\nMatch the numbers: 3a = 12, so a = 4."}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Algebra all around","items":[{"title":"Phone plan formula","time":"15 minutes","need":["Paper and pencil"],"steps":["A plan costs $8 a month plus $0.05 per text. Write a formula for the cost C of t texts.","Find the cost for 50, 100 and 300 texts.","A second plan costs $15 with unlimited texts. When is it cheaper?","Draw a table to compare."],"why":"C = 8 + 0.05t. Substituting different values of t shows when one plan overtakes the other: here at 140 texts.","safety":"No safety risks."},{"title":"Think of a number","time":"10 minutes","need":["A friend","Paper"],"steps":["Ask a friend to think of a number, double it, add 10, halve it, then subtract the number they started with.","Tell them the answer is 5.","Use algebra to explain why: start with n.","Invent your own trick and prove it with algebra."],"why":"n → 2n → 2n + 10 → n + 5 → 5. The starting number cancels out, so everyone gets 5.","safety":"No safety risks."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Eight more questions","questions":[{"question":"Which expression means '5 less than double m'?","options":["2m − 5","5 − 2m","2(m − 5)"],"answer":0,"right":"Correct. Double m is 2m, then 5 less.","wrong":"Not quite. Double m first, then take away 5."},{"question":"Simplify 4x + 3y − x + 2y.","options":["8xy","3x + 5y","5x + 5y"],"answer":1,"right":"Correct. 4x − x = 3x and 3y + 2y = 5y.","wrong":"Not quite. Collect the x terms and the y terms separately."},{"question":"Find 2a + 3b when a = 4 and b = −2.","options":["14","−2","2"],"answer":2,"right":"Correct. 8 + (−6) = 2.","wrong":"Not quite. 3 × (−2) = −6."},{"question":"Simplify 3p × 4q.","options":["12pq","7pq","12p + q"],"answer":0,"right":"Correct. Multiply the numbers, then the letters.","wrong":"Not quite. 3 × 4 = 12, and p × q = pq."},{"question":"When x = −1, what is x³ − x?","options":["−2","0","2"],"answer":1,"right":"Correct. (−1)³ − (−1) = −1 + 1 = 0.","wrong":"Not quite. (−1)³ = −1, then subtract −1."},{"question":"Which is equivalent to 6(y + 2)?","options":["6y + 2","y + 12","6y + 12"],"answer":2,"right":"Correct. Multiply both terms by 6.","wrong":"Not quite. The 6 multiplies everything inside the bracket."},{"question":"Using v = u + at, find v when u = 3, a = 4, t = 5.","options":["35","23","12"],"answer":1,"right":"Correct. 3 + 4 × 5 = 3 + 20 = 23.","wrong":"Not quite. Multiply a and t first."},{"question":"Simplify x² + 3x − 2x² + x.","options":["−x² + 4x","4x − x","2x³"],"answer":0,"right":"Correct. x² − 2x² = −x² and 3x + x = 4x.","wrong":"Not quite. Collect x² terms and x terms separately."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can…","items":["write an expression from a sentence, using brackets where needed","explain the difference between a term, an expression and a formula","collect like terms, including x² and xy terms","multiply simple terms such as 3p × 4q","substitute positive and negative values into expressions","use brackets when substituting negative numbers into powers","use a formula to work out a quantity","show two expressions are equivalent"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"variable","meaning":"A letter that stands for a number that can change."},{"word":"term","meaning":"A single part of an expression, like 3x or −5."},{"word":"expression","meaning":"Terms joined by + or −, with no equals sign."},{"word":"like terms","meaning":"Terms with exactly the same letters and powers."},{"word":"coefficient","meaning":"The number in front of a letter: in 7x it is 7."},{"word":"constant","meaning":"A term without a letter, like +4."},{"word":"substitute","meaning":"Replace a letter with a number."},{"word":"formula","meaning":"A rule linking quantities, like v = u + at."},{"word":"equivalent expressions","meaning":"Expressions that are equal for every value of the letter."},{"word":"simplify","meaning":"Collect like terms to make an expression shorter."}]},{"type":"sources","id":"sources","title":"Sources","items":["MacTutor History of Mathematics: al-Khwarizmi; François Viète","Khan Academy: Algebraic expressions","Corbettmaths: Substitution and collecting like terms","BBC Bitesize: Algebraic expressions"]}]},"overlay":null}