{"base":{"id":"olm11-19-02","subject":"Mathematics","title":"Adding and subtracting matrices","scene":"olm11","steps":[{"mode":"fig","fig":{"view":[0,0,10,9],"items":[{"k":"mat","p":[1.7,7],"rows":[[12,30],[8,25]],"t":"","col":"b","cw":110,"ch":80},{"k":"txt","p":[3.9,7],"t":"+","col":"k","size":50},{"k":"mat","p":[6,7],"rows":[[10,20],[5,15]],"t":"","col":"g","cw":110,"ch":80},{"k":"txt","p":[8.3,7],"t":"=","col":"k","size":50},{"k":"mat","p":[5,3],"rows":[["12+10","30+20"],["8+5","25+15"]],"t":"","col":"s","cw":190,"ch":80,"s":1},{"k":"txt","p":[5,1],"t":"=","col":"k","size":50,"s":2},{"k":"mat","p":[7.5,1],"rows":[[22,50],[13,40]],"t":"","col":"v","cw":110,"ch":70,"s":2}],"stages":2},"say":["A + B: both are 2 × 2.","Add element by element.","The sum is also 2 × 2."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Two days of sales","title":"Add matching elements","body":"Matrices of the same order are added by adding the elements in the same positions. Matrix A shows the fruit sold on Monday and B on Tuesday. A + B gives the total for the two days, position by position."},{"mode":"fig","work":{"title":"Write it like this","lines":["(7 4; 2 9) − (3 6; −1 5)","= (7−3   4−6;   2−(−1)   9−5)","= (4 −2; 3 4)",{"t":"(5 1 0) + (2 −3 4) = (7 −2 4)","note":"row matrices"}]},"say":["Tap to subtract.","Two 2 × 2 matrices; rows are separated by \";\".","Position by position.","2 − (−1) = 3.","Row matrices add the same way."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Subtracting","title":"The same idea with minus","body":"Subtraction works in the same way: subtract each element of the second matrix from the element in the same position of the first. Watch the signs when an element is negative."},{"mode":"fig","fig":{"view":[0,0,10,9],"items":[{"k":"mat","p":[2,6.5],"rows":[[1,2],[3,4]],"t":"","col":"b"},{"k":"txt","p":[4,6.5],"t":"+","col":"k","size":50},{"k":"mat","p":[6.6,6.5],"rows":[[5,6,7],[8,9,0]],"t":"","col":"r"},{"k":"txt","p":[5,3.6],"t":"2 × 2   +   2 × 3   ✗","col":"r","size":44},{"k":"txt","p":[5,1.8],"t":"orders differ: not possible","col":"r","size":34}]},"eyebrow":"Same order only","title":"When it cannot be done","body":"Two matrices can be added or subtracted only when they have the same order. A 2 × 2 matrix and a 2 × 3 matrix cannot be added: some elements would have no partner."},{"mode":"fig","work":{"title":"Write it like this","lines":["(x 5; 3 y) + (2 1; 4 6) = (9 6; 7 10)","x + 2 = 9   →   x = 7","y + 6 = 10   →   y = 4",{"t":"check: 5 + 1 = 6,   3 + 4 = 7   ✓","note":"the other positions"}]},"say":["Tap to find x and y.","A matrix equation.","Row 1, column 1.","Row 2, column 2.","The known positions agree."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Unknown elements","title":"Solve position by position","body":"If a matrix equation contains letters, compare the elements in each position. Each position gives a small equation."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"mat","p":[2.4,5],"rows":[[3,-1],[4,2]],"t":"","col":"b","cw":120,"ch":90},{"k":"txt","p":[5,5],"t":"+","col":"k","size":56},{"k":"mat","p":[7.6,5],"rows":[[5,6],[-2,1]],"t":"","col":"g","cw":120,"ch":90}]},"eyebrow":"Check yourself","title":"Add","body":"A = (3 −1; 4 2) and B = (5 6; −2 1).","question":"What is A + B?","options":["(8 7; 6 3)","(15 −6; −8 2)","(8 5; 2 3)"],"answer":2,"right":"Correct. 3 + 5 = 8, −1 + 6 = 5, 4 + (−2) = 2, 2 + 1 = 3.","wrong":"Not quite. Add matching positions and keep the signs: −1 + 6 = 5 and 4 − 2 = 2."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Adding and subtracting in detail","items":[{"tag":"Rule","title":"Element by element","body":"If A and B have the same order, A + B is the matrix whose elements are the sums of the corresponding elements, and A − B the differences.\n\nThe answer has the same order as A and B.\n\nA + B = B + A, but A − B is not the same as B − A."},{"tag":"Condition","title":"Why the orders must match","body":"Think of the fruit shop. Monday's matrix has rows for two shops and columns for two fruits. A matrix with three fruits has an extra column: there is nothing in Monday's matrix to add to it.\n\nSo matrices of different orders cannot be added or subtracted. State this reason when a question asks \"why\"."},{"tag":"3 × 3","title":"A bigger example","body":"(1 2 3; 4 5 6; 7 8 9) + (9 8 7; 6 5 4; 3 2 1) = (10 10 10; 10 10 10; 10 10 10).\n\nNine positions, nine additions. Work along each row so that no position is missed."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Adding matrices of different orders","body":"A 2 × 2 and a 2 × 3 matrix cannot be added. Do not leave blanks or put in zeros; write \"cannot be added because the orders are different\"."},{"tag":"Common mistake","title":"Losing a sign when subtracting a negative","body":"2 − (−1) = 3, not 1. Write the brackets in the working line so the double sign is visible."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"Two matrices can be added only if they have…","options":["the same elements","the same order","two rows"],"answer":1,"right":"Correct. Corresponding elements are added.","wrong":"Not quite. Each element needs a partner."},{"level":"easy","question":"To add two matrices you add…","options":["the elements in the same positions","the rows to the columns","only the diagonal elements"],"answer":0,"right":"Correct. Position by position.","wrong":"Not quite. Match the positions."},{"level":"easy","question":"[1 2; 3 4] + [5 6; 7 8] = ? (a ; starts a new row)","options":["[6 8; 10 12]","[6 8; 10 13]","[19 22; 43 50]"],"answer":0,"right":"Correct. Top left: 1 + 5 = 6, and so on.","wrong":"Not quite. Add element by element."},{"level":"easy","question":"[2 0; 1 3] + [4 5; 2 1] = ? (a ; starts a new row)","options":["[6 5; 3 5]","[8 10; 10 8]","[6 5; 3 4]"],"answer":2,"right":"Correct. Top left: 2 + 4 = 6, and so on.","wrong":"Not quite. Add element by element."},{"level":"easy","question":"[3 1; 2 5] + [1 4; 6 2] = ? (a ; starts a new row)","options":["[4 5; 8 7]","[4 5; 8 8]","[9 14; 32 18]"],"answer":0,"right":"Correct. Top left: 3 + 1 = 4, and so on.","wrong":"Not quite. Add element by element."},{"level":"easy","question":"[5 2; 0 7] + [3 3; 4 1] = ? (a ; starts a new row)","options":["[8 5; 4 8]","[8 5; 4 9]","[23 17; 28 7]"],"answer":0,"right":"Correct. Top left: 5 + 3 = 8, and so on.","wrong":"Not quite. Add element by element."},{"level":"easy","question":"[5 6; 7 8] − [1 2; 3 4] = ? (a ; starts a new row)","options":["[6 8; 10 12]","[4 3; 4 4]","[4 4; 4 4]"],"answer":2,"right":"Correct. Top left: 5 − 1 = 4.","wrong":"Not quite. Subtract element by element."},{"level":"easy","question":"[9 4; 6 5] − [2 1; 3 5] = ? (a ; starts a new row)","options":["[11 5; 9 10]","[7 3; 3 0]","[7 2; 3 0]"],"answer":1,"right":"Correct. Top left: 9 − 2 = 7.","wrong":"Not quite. Subtract element by element."},{"level":"easy","question":"Can a 2 × 2 matrix be added to a 2 × 3 matrix?","options":["Yes","No: the orders are different","Yes, the answer is 2 × 5"],"answer":1,"right":"Correct. Some elements would have no partner.","wrong":"Not quite. Compare the orders."},{"level":"easy","question":"What is the order of the sum of two 2 × 3 matrices?","options":["4 × 6","2 × 6","2 × 3"],"answer":2,"right":"Correct. The order does not change.","wrong":"Not quite. Adding keeps the same shape."},{"level":"medium","question":"[2 −1; 3 0] + [−4 5; 1 −2] = ? (a ; starts a new row)","options":["[6 −6; 2 2]","[−2 4; 4 −2]","[−2 4; 6 −2]"],"answer":1,"right":"Correct. Top left: 2 + (−4) = −2.","wrong":"Not quite. Take care with the negative numbers."},{"level":"medium","question":"[−3 2; 5 −6] + [4 −2; −1 3] = ? (a ; starts a new row)","options":["[1 0; 4 −3]","[−7 4; 6 −9]","[1 0; 6 −3]"],"answer":0,"right":"Correct. Top left: −3 + (4) = 1.","wrong":"Not quite. Take care with the negative numbers."},{"level":"medium","question":"[0 −5; 7 1] + [−2 −3; −4 6] = ? (a ; starts a new row)","options":["[2 −2; 11 −5]","[−2 −8; 5 7]","[−2 −8; 3 7]"],"answer":2,"right":"Correct. Top left: 0 + (−2) = −2.","wrong":"Not quite. Take care with the negative numbers."},{"level":"medium","question":"[2 −1; 3 0] − [−4 5; 1 −2] = ? (a ; starts a new row)","options":["[−2 4; 4 −2]","[4 −6; 2 2]","[6 −6; 2 2]"],"answer":2,"right":"Correct. Top left: 2 − (−4) = 6.","wrong":"Not quite. Subtracting a negative means adding."},{"level":"medium","question":"[5 2; −1 4] − [3 −3; 2 −1] = ? (a ; starts a new row)","options":["[2 5; −3 5]","[8 −1; 1 3]","[0 5; −3 5]"],"answer":0,"right":"Correct. Top left: 5 − (3) = 2.","wrong":"Not quite. Subtracting a negative means adding."},{"level":"medium","question":"[−2 6; 0 −3] − [−5 1; 4 −7] = ? (a ; starts a new row)","options":["[−7 7; 4 −10]","[3 5; −4 4]","[1 5; −4 4]"],"answer":1,"right":"Correct. Top left: −2 − (−5) = 3.","wrong":"Not quite. Subtracting a negative means adding."},{"level":"medium","question":"X + [1 2; 3 4] = [5 7; 9 4]. What is X? (a ; starts a new row)","options":["[4 5; 6 0]","[6 9; 12 8]","[4 5; 6 1]"],"answer":0,"right":"Correct. X = [5 7; 9 4] − [1 2; 3 4].","wrong":"Not quite. Subtract the known matrix from both sides."},{"level":"medium","question":"X + [2 −1; 0 3] = [6 2; −4 5]. What is X? (a ; starts a new row)","options":["[8 1; −4 8]","[4 3; −4 3]","[4 3; −4 2]"],"answer":2,"right":"Correct. X = [6 2; −4 5] − [2 −1; 0 3].","wrong":"Not quite. Subtract the known matrix from both sides."},{"level":"medium","question":"Is A + B = B + A for matrices of the same order?","options":["No, never","Only for unit matrices","Yes, always"],"answer":2,"right":"Correct. Number addition is commutative, element by element.","wrong":"Not quite. a + b = b + a for each position."},{"level":"medium","question":"What is A − A for A = [3 7; 2 5]? (a ; starts a new row)","options":["[1 1; 1 1]","[0 0; 0 0]","[6 14; 4 10]"],"answer":1,"right":"Correct. Every element minus itself is 0.","wrong":"Not quite. This is the zero matrix."},{"level":"hard","question":"[x 3; 2 y] + [4 1; 5 2] = [9 4; 7 8]. What are x and y? (a ; starts a new row)","options":["x = 13, y = 10","x = 5, y = 6","x = 5, y = 10"],"answer":1,"right":"Correct. x + 4 = 9 and y + 2 = 8.","wrong":"Not quite. Write an equation for each unknown position."},{"level":"hard","question":"[2x 5; 1 y] − [3 2; 4 −1] = [5 3; −3 6]. What are x and y? (a ; starts a new row)","options":["x = 1, y = 7","x = 4, y = 7","x = 4, y = 5"],"answer":2,"right":"Correct. 2x − 3 = 5 and y + 1 = 6.","wrong":"Not quite. y − (−1) = y + 1."},{"level":"hard","question":"A = [1 2; 3 4], B = [2 0; 1 5], C = [4 1; 0 3]. Find A + B − C. (a ; starts a new row)","options":["[7 3; 4 12]","[−1 2; 4 6]","[−1 1; 4 6]"],"answer":2,"right":"Correct. A + B = [3 2; 4 9], then subtract C.","wrong":"Not quite. Work from left to right."},{"level":"hard","question":"For the same A, B, C, find A − (B − C). (a ; starts a new row)","options":["[3 3; 2 2]","[−5 1; 2 −4]","[3 3; 1 2]"],"answer":0,"right":"Correct. B − C = [−2 −1; 1 2]; subtract it from A.","wrong":"Not quite. Do the bracket first."},{"level":"hard","question":"X − [2 −1; 0 4] = [3 5; −2 1]. What is X? (a ; starts a new row)","options":["[1 6; −2 −3]","[5 6; −2 5]","[5 4; −2 5]"],"answer":2,"right":"Correct. X = [3 5; −2 1] + [2 −1; 0 4].","wrong":"Not quite. Add the matrix to both sides."},{"level":"hard","question":"[5 2; 1 6] − X = [1 4; 3 2]. What is X? (a ; starts a new row)","options":["[6 6; 4 8]","[4 −2; −2 4]","[−4 2; 2 −4]"],"answer":1,"right":"Correct. X = [5 2; 1 6] − [1 4; 3 2].","wrong":"Not quite. Rearrange: X = first − result."},{"level":"hard","question":"A is a 2 × 3 matrix and B is a 3 × 2 matrix. What can be said about A + B?","options":["it cannot be found","it is a 2 × 3 matrix","it is a 3 × 3 matrix"],"answer":0,"right":"Correct. The orders are different, although both have 6 elements.","wrong":"Not quite. Same number of elements is not enough."},{"level":"hard","question":"Stock at the start is [20 15; 10 25] and sales are [8 6; 4 12] (rows: shops, columns: items). What stock is left? (a ; starts a new row)","options":["[12 9; 6 13]","[28 21; 14 37]","[12 9; 6 12]"],"answer":0,"right":"Correct. Stock − sales, element by element.","wrong":"Not quite. Subtract the matrices."},{"level":"hard","question":"[a 2; 3 b] + [b 1; 2 a] = [7 3; 5 7]. What is a + b? (a ; starts a new row)","options":["14","7","3.5"],"answer":1,"right":"Correct. Top left gives a + b = 7 directly.","wrong":"Not quite. Look at the top-left position."},{"level":"hard","question":"If A + B = A for matrices of the same order, then B is the…","options":["zero matrix","unit matrix","same as A"],"answer":0,"right":"Correct. Adding 0 to every element changes nothing.","wrong":"Not quite. Which matrix adds nothing?"}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Matrix addition","meaning":"Adding the corresponding elements of two matrices of the same order."},{"word":"Matrix subtraction","meaning":"Subtracting the corresponding elements of two matrices of the same order."},{"word":"Corresponding elements","meaning":"Elements in the same row and column of two matrices."},{"word":"Same order","meaning":"Having the same number of rows and the same number of columns."},{"word":"Row","meaning":"A horizontal line of elements."},{"word":"Column","meaning":"A vertical line of elements."}]},{"type":"checklist","id":"check","title":"I can…","items":["add and subtract matrices of the same order up to 3 × 3","explain why matrices of different orders cannot be added","find unknown elements in a matrix equation"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 11 (competency level 20.4)."]}],"slug":"adding-and-subtracting-matrices"},"overlay":null}