{"base":{"id":"alcm-2-03","subject":"Combined Maths","title":"Distance between two points and the dividing point","scene":"alcm","steps":[{"mode":"fig","fig":{"view":[0,0,10,11],"items":[{"k":"pt","p":[1,2],"t":"A(1, 2)","d":"sw","col":"b"},{"k":"pt","p":[7,10],"t":"B(7, 10)","d":"ne","col":"b"},{"k":"seg","p":[1,2,7,10],"col":"r","w":6},{"k":"seg","p":[1,2,7,2],"col":"o","dash":1,"s":1},{"k":"seg","p":[7,2,7,10],"col":"g","dash":1,"s":1},{"k":"txt","p":[4,1.2],"t":"6","col":"o","size":34,"s":1},{"k":"txt","p":[7.7,6],"t":"8","col":"g","size":34,"s":1},{"k":"ang","v":[7,2],"a":[1,2],"b":[7,10],"t":"","col":"k","sq":1,"r":40,"s":1}],"axes":{"xs":1,"ys":1}},"work":{"title":"Write it like this","lines":["A(1, 2),  B(7, 10)","x₂ − x₁ = 6,   y₂ − y₁ = 8","AB² = 6² + 8² = 100","AB = 10"]},"say":["Tap to measure AB.","Two points.","Draw the right-angled triangle.","Pythagoras' theorem.","The red line is 10 units."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Distance","title":"Pythagoras on the grid","body":"The distance between A(x₁, y₁) and B(x₂, y₂) is AB = √((x₂ − x₁)² + (y₂ − y₁)²). The horizontal and vertical gaps are the two shorter sides of a right-angled triangle."},{"mode":"fig","work":{"title":"Write it like this","lines":["A(1, 2),  B(7, 10),   m : n = 1 : 3","x = (3 × 1 + 1 × 7)/4 = 10/4 = 2.5","y = (3 × 2 + 1 × 10)/4 = 16/4 = 4",{"t":"P(2.5, 4)","note":"AP : PB = 1 : 3"}]},"say":["Tap to divide AB.","P is a quarter of the way from A.","n with x₁, m with x₂.","The same for y.","P is closer to A."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Internal division","title":"Dividing AB in m : n","body":"The point P that divides AB internally in the ratio m : n is ((nx₁ + mx₂)/(m + n), (ny₁ + my₂)/(m + n)). Notice the cross-over: n goes with A and m goes with B."},{"mode":"plot","controls":[{"id":"m","label":"m","min":1,"max":5,"step":1,"value":1},{"id":"n","label":"n","min":1,"max":5,"step":1,"value":3}],"view":[0,0,10,11],"equal":true,"axes":{"xs":1,"ys":1},"segs":[{"p":[1,2,7,10],"col":"b","w":6}],"pts":[{"x":1,"y":2,"col":"b","t":"A","d":"sw"},{"x":7,"y":10,"col":"b","t":"B"},{"x":"(n*1+m*7)/(m+n)","y":"(n*2+m*10)/(m+n)","col":"r","t":"P","d":"nw"}],"ptitle":"Dividing point","rows":["AP : PB = {m|0} : {n|0}",["x = ({n|0} × 1 + {m|0} × 7)/{m+n|0}","k"],["  = {(n+7*m)/(m+n)|2}","r"],["y = ({n|0} × 2 + {m|0} × 10)/{m+n|0}","k"],["  = {(2*n+10*m)/(m+n)|2}","r"]],"note":"Check: the distances AP and PB are in the same ratio m : n.","st":"P = ({(n+7*m)/(m+n)|2}, {(2*n+10*m)/(m+n)|2})","eyebrow":"Explore","title":"Slide the dividing point","body":"Change m and n. P moves along AB so that AP : PB = m : n. When m = n, P is the mid-point ((x₁ + x₂)/2, (y₁ + y₂)/2)."},{"mode":"fig","work":{"title":"Write it like this","lines":["A(1, 2),  B(7, 10),   externally 3 : 1","x = (3 × 7 − 1 × 1)/(3 − 1) = 20/2 = 10","y = (3 × 10 − 1 × 2)/2 = 28/2 = 14",{"t":"P(10, 14)","note":"beyond B"}]},"say":["Tap for external division.","AP is three times PB.","Use m − n below.","Same for y.","P lies past B on the line."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"External division","title":"P outside the segment","body":"P divides AB externally in m : n when P lies on line AB extended and AP : PB = m : n. Replace n by −n in the formula: ((mx₂ − nx₁)/(m − n), (my₂ − ny₁)/(m − n))."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5],"t":"(−2, 5)     (6, −1)","size":84,"col":"v","max":1400}]},"eyebrow":"Check yourself","title":"Mid-point","body":"Average the coordinates.","question":"The mid-point of (−2, 5) and (6, −1) is…","options":["(4, 4)","(2, 2)","(2, 3)"],"answer":1,"right":"Correct. (−2 + 6)/2 = 2 and (5 − 1)/2 = 2.","wrong":"Not quite. Add the x-values and halve, then the y-values."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Coordinates in detail","items":[{"tag":"Formulas","title":"Summary","body":"Distance: √((x₂ − x₁)² + (y₂ − y₁)²)\nMid-point: ((x₁ + x₂)/2, (y₁ + y₂)/2)\nInternal m : n: ((nx₁ + mx₂)/(m + n), (ny₁ + my₂)/(m + n))\nExternal m : n: ((mx₂ − nx₁)/(m − n), (my₂ − ny₁)/(m − n))"},{"tag":"Centroid","title":"The centroid of a triangle","body":"The centroid G divides each median in 2 : 1 from the vertex. Its coordinates are the averages of the three vertices: G = ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3)."},{"tag":"Area","title":"Area of a triangle from its vertices","body":"Area = ½|x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|.\nIf the area is 0, the three points are collinear (on one straight line)."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Swapping m and n","body":"In the section formula, n multiplies the coordinates of A and m those of B. Check that P is nearer the end with the smaller ratio part."},{"tag":"Common mistake","title":"Sign slips with negatives","body":"For A(−3, 4), x₂ − x₁ = x₂ + 3. Put negative coordinates in brackets."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"Distance between (1, 2) and (4, 6)?","options":["7","5","25"],"answer":1,"right":"Correct. d = √((x₂ − x₁)² + (y₂ − y₁)²).","wrong":"Not quite. Use Pythagoras."},{"level":"easy","question":"Distance between (0, 0) and (5, 12)?","options":["17","13","169"],"answer":1,"right":"Correct. d = √((x₂ − x₁)² + (y₂ − y₁)²).","wrong":"Not quite. Use Pythagoras."},{"level":"easy","question":"Distance between (−1, 3) and (2, −1)?","options":["5","7","25"],"answer":0,"right":"Correct. d = √((x₂ − x₁)² + (y₂ − y₁)²).","wrong":"Not quite. Use Pythagoras."},{"level":"easy","question":"Distance between (2, 5) and (8, −3)?","options":["10","14","100"],"answer":0,"right":"Correct. d = √((x₂ − x₁)² + (y₂ − y₁)²).","wrong":"Not quite. Use Pythagoras."},{"level":"easy","question":"Midpoint of (2, 4) and (6, 8)?","options":["(4, 4)","(8, 12)","(4, 6)"],"answer":2,"right":"Correct. Average the coordinates.","wrong":"Not quite. ((x₁ + x₂)/2, (y₁ + y₂)/2)."},{"level":"easy","question":"Midpoint of (−3, 1) and (5, 7)?","options":["(1, 4)","(8, 6)","(2, 8)"],"answer":0,"right":"Correct. Average the coordinates.","wrong":"Not quite. ((x₁ + x₂)/2, (y₁ + y₂)/2)."},{"level":"easy","question":"Midpoint of (0, −2) and (4, 6)?","options":["(4, 8)","(4, 4)","(2, 2)"],"answer":2,"right":"Correct. Average the coordinates.","wrong":"Not quite. ((x₁ + x₂)/2, (y₁ + y₂)/2)."},{"level":"easy","question":"The point dividing AB internally in ratio 1 : 1 is…","options":["A","B","the midpoint"],"answer":2,"right":"Correct. Equal parts.","wrong":"Not quite. m = n."},{"level":"easy","question":"The distance of (3, 4) from the origin is…","options":["7","5","25"],"answer":1,"right":"Correct. √(9 + 16).","wrong":"Not quite. Pythagoras."},{"level":"easy","question":"A point P divides AB in ratio m : n. Its coordinates are…","options":["((mx₁ + nx₂)/(m + n), (my₁ + ny₂)/(m + n))","((nx₁ + mx₂)/(m + n), (ny₁ + my₂)/(m + n))","((x₁ + x₂)/2, (y₁ + y₂)/2)"],"answer":1,"right":"Correct. The weight of each end is the other part of the ratio.","wrong":"Not quite. P is nearer A when m < n."},{"level":"medium","question":"P divides A(1, 2) B(7, 8) internally in ratio 1 : 2. P = ?","options":["(5, 6)","(4, 5)","(3, 4)"],"answer":2,"right":"Correct. P = (nA + mB)/(m + n).","wrong":"Not quite. Weight A by n and B by m."},{"level":"medium","question":"P divides A(0, 0) B(10, 5) internally in ratio 2 : 3. P = ?","options":["(6, 3)","(5, 2.5)","(4, 2)"],"answer":2,"right":"Correct. P = (nA + mB)/(m + n).","wrong":"Not quite. Weight A by n and B by m."},{"level":"medium","question":"P divides A(−2, 4) B(6, 0) internally in ratio 3 : 1. P = ?","options":["(0, 3)","(4, 1)","(2, 2)"],"answer":1,"right":"Correct. P = (nA + mB)/(m + n).","wrong":"Not quite. Weight A by n and B by m."},{"level":"medium","question":"The midpoint of AB is (3, 5) and A = (1, 2). B = ?","options":["(2, 3.5)","(5, 8)","(4, 7)"],"answer":1,"right":"Correct. B = 2M − A.","wrong":"Not quite. The midpoint is the average."},{"level":"medium","question":"Distance between (a, 0) and (0, a), a > 0?","options":["2a","a","a√2"],"answer":2,"right":"Correct. √(a² + a²).","wrong":"Not quite. Pythagoras."},{"level":"medium","question":"Is the triangle with vertices (0, 0), (4, 0), (0, 3) right-angled?","options":["yes, at the origin","no","yes, at (4, 0)"],"answer":0,"right":"Correct. The two sides lie along the axes.","wrong":"Not quite. 3² + 4² = 5²."},{"level":"medium","question":"The centroid of A(1, 2), B(4, 6), C(7, 1) is…","options":["(4, 3)","(4, 4.5)","(12, 9)"],"answer":0,"right":"Correct. Average of the three vertices.","wrong":"Not quite. ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3)."},{"level":"medium","question":"Area of the triangle (0, 0), (6, 0), (2, 5)?","options":["30","12","15"],"answer":2,"right":"Correct. ½ × 6 × 5.","wrong":"Not quite. Base along the x-axis."},{"level":"medium","question":"Find a if the distance from (1, 2) to (a, 6) is 5, a > 1.","options":["6","4","3"],"answer":1,"right":"Correct. (a − 1)² + 16 = 25 ⇒ a − 1 = 3.","wrong":"Not quite. Square the distance formula."},{"level":"medium","question":"Point on the x-axis equidistant from (1, 3) and (5, 1)?","options":["(2.5, 0)","(3, 0)","(2, 0)"],"answer":0,"right":"Correct. (x − 1)² + 9 = (x − 5)² + 1 ⇒ 8x = 20.","wrong":"Not quite. Set the squared distances equal."},{"level":"hard","question":"P divides A(1, 1), B(7, 4) externally in ratio 2 : 1. P = ?","options":["(5, 3)","(13, 7)","(−5, −2)"],"answer":1,"right":"Correct. P = (−1·A + 2·B)/(2 − 1).","wrong":"Not quite. External: use m : −n."},{"level":"hard","question":"In what ratio does the y-axis divide the join of (−2, 3) and (6, 7)?","options":["1 : 3","3 : 1","1 : 2"],"answer":0,"right":"Correct. (n(−2) + 6m)/(m + n) = 0 ⇒ 6m = 2n.","wrong":"Not quite. Set x = 0."},{"level":"hard","question":"Area of triangle (1, 1), (4, 5), (7, 2) by the shoelace formula?","options":["10.5","21","12"],"answer":0,"right":"Correct. ½|1(5 − 2) + 4(2 − 1) + 7(1 − 5)| = ½|3 + 4 − 28|.","wrong":"Not quite. ½|x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|."},{"level":"hard","question":"Points (1, 2), (3, 6), (k, 10) are collinear. k = ?","options":["4","6","5"],"answer":2,"right":"Correct. Slope 2 throughout: 10 − 6 = 2(k − 3).","wrong":"Not quite. Equal gradients, or zero area."},{"level":"hard","question":"ABCD is a parallelogram with A(1, 1), B(5, 2), C(6, 6). D = ?","options":["(10, 7)","(2, 5)","(0, −3)"],"answer":1,"right":"Correct. Diagonals bisect: A + C = B + D.","wrong":"Not quite. Midpoints of AC and BD agree."},{"level":"hard","question":"The points (0, 0), (2, 2√3), (4, 0) form…","options":["an equilateral triangle","a right-angled triangle","a straight line"],"answer":0,"right":"Correct. All sides are 4.","wrong":"Not quite. Find the three distances."},{"level":"hard","question":"Circumcentre of (0, 0), (8, 0), (0, 6)?","options":["(8/3, 2)","(2, 4)","(4, 3)"],"answer":2,"right":"Correct. Right angle at O: the circumcentre is the midpoint of the hypotenuse.","wrong":"Not quite. Angle in a semicircle."},{"level":"hard","question":"A(2, 3), B(8, 11). The point P on AB with AP = 5 is…","options":["(7, 8)","(4, 6)","(5, 7)"],"answer":2,"right":"Correct. AB = 10, so P is the midpoint.","wrong":"Not quite. Find AB first."},{"level":"hard","question":"A(0, 0), B(4, 0), C(4, 3). The length of the median from A?","options":["5","√18.25","4"],"answer":1,"right":"Correct. Midpoint of BC is (4, 1.5); √(16 + 2.25).","wrong":"Not quite. Find the midpoint of BC."},{"level":"hard","question":"The distance from (a, b) to (−a, −b) is…","options":["√(a² + b²)","2(a + b)","2√(a² + b²)"],"answer":2,"right":"Correct. √((2a)² + (2b)²).","wrong":"Not quite. Differences are 2a and 2b."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Cartesian plane","meaning":"The plane with x- and y-axes at right angles."},{"word":"Distance formula","meaning":"√((x₂ − x₁)² + (y₂ − y₁)²)."},{"word":"Mid-point","meaning":"The point halfway between two points."},{"word":"Internal division","meaning":"P between A and B with AP : PB = m : n."},{"word":"External division","meaning":"P on AB extended with AP : PB = m : n."},{"word":"Collinear","meaning":"Lying on one straight line."}]},{"type":"checklist","id":"check","title":"I can…","items":["find the distance between two points","find the point dividing a line internally or externally","find mid-points and centroids"]},{"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 17.1–17.2)."]}],"slug":"distance-and-dividing-point"},"overlay":null}