{"base":{"id":"alcm-21-02","subject":"Combined Maths","title":"Two points on the same or opposite sides of a line","scene":"alcm","steps":[{"mode":"fig","work":{"title":"Write it like this","lines":["line: 2x + y − 4 = 0","P(3, 1):  6 + 1 − 4 = 3 > 0","Q(0, 0):  −4 < 0",{"t":"opposite signs: opposite sides","note":"O is on the negative side"}]},"say":["Tap to test.","The line.","Value at P.","Value at O.","Different signs."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Sign test","title":"Substitute into ax + by + c","body":"The line ax + by + c = 0 splits the plane into two sides. On one side ax + by + c > 0, on the other < 0. Two points are on the same side exactly when the values have the same sign."},{"mode":"plot","controls":[{"id":"px","label":"x","min":-3,"max":5,"step":0.25,"value":3},{"id":"py","label":"y","min":-3,"max":6,"step":0.25,"value":1}],"view":[-3.5,-3.5,5.5,6.5],"equal":true,"axes":{"xs":1,"ys":1},"area":{"e":"7","e2":"4-2*x","a":"-3.5","b":"5.5","col":"g"},"fns":[{"e":"4-2*x","col":"b"}],"pts":[{"x":"px","y":"py","col":"r","t":"P"}],"ptitle":"Which side?","rows":["P = ({px|2}, {py|2})",["2x + y − 4 = {2*px+py-4|2}","r"],["green side: positive","g"]],"note":"Points with the same sign are on the same side; a sign change means the segment between them crosses the line.","st":"Value {2*px+py-4|2}","eyebrow":"Explore","title":"Move the point","body":"Move P around. The value 2x + y − 4 is positive above the line (green shading) and negative below it. It is zero exactly on the line."},{"mode":"fig","work":{"title":"Write it like this","lines":["P(3, 1): value 3;   Q(0, 0): value −4",{"t":"ratio = −(3) : (−4) = 3 : 4","note":"positive: internal"},{"t":"crossing point = (4P + 3Q)/7 = (12/7, 4/7)","note":"check: 24/7 + 4/7 − 4 = 0 ✓"}]},"say":["Tap to find the ratio.","Values at the ends.","The ratio.","The crossing point."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Dividing ratio","title":"Where the segment crosses the line","body":"The line ax + by + c = 0 divides PQ in the ratio −(ax₁ + by₁ + c) : (ax₂ + by₂ + c). A positive ratio means internal division (opposite sides)."},{"mode":"fig","work":{"title":"Write it like this","lines":["triangle O(0, 0), A(4, 0), B(0, 4)","sides: y = 0,  x = 0,  x + y − 4 = 0","inside: x > 0,  y > 0,  x + y − 4 < 0",{"t":"(1, 1): 1 + 1 − 4 = −2 < 0 ✓ inside","note":"same side as O"}]},"say":["Tap to describe.","The triangle.","Its sides.","Three inequalities.","Test a point."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Region","title":"Describing a region","body":"A triangle can be described by three inequalities, one for each side. A point is inside when it is on the same side of each line as the opposite vertex."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5.9],"t":"3x − 2y + 1 = 0","size":84,"col":"v","max":1400},{"k":"txt","p":[5,4.1000000000000005],"t":"(1, 1)    (−1, 2)","size":84,"col":"k","max":1400}]},"eyebrow":"Check yourself","title":"Same side?","body":"Compare signs of 3x − 2y + 1.","question":"Are (1, 1) and (−1, 2) on the same side of 3x − 2y + 1 = 0?","options":["Yes","No","One is on the line"],"answer":1,"right":"Correct. 2 > 0 and −6 < 0.","wrong":"Not quite. (1, 1) gives 3 − 2 + 1 = 2; (−1, 2) gives −3 − 4 + 1 = −6."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Sides of a line in detail","items":[{"tag":"Why","title":"Why the sign test works","body":"Moving along any path from P to Q, the value ax + by + c changes continuously. It can change sign only by passing through 0, i.e. by crossing the line."},{"tag":"Origin","title":"Using O as a test point","body":"For ax + by + c = 0 with c ≠ 0, the origin gives the value c. So points with the same sign as c are on the origin’s side."},{"tag":"Linear programming","title":"Regions in real problems","body":"Feasible regions in optimisation (for example, production limits) are described by linear inequalities in exactly this way."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Forgetting to rearrange to = 0","body":"Write the line as ax + by + c = 0 first. For y = 2x + 1 use 2x − y + 1 = 0."},{"tag":"Common mistake","title":"Sign of the ratio","body":"A negative ratio means external division: both points on the same side, and the line meets PQ extended."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"For the line 2x + y − 4 = 0, the point (0, 0) gives L = ?","options":["4","0","−4"],"answer":2,"right":"Correct. Substitute into L = 2x + y − 4.","wrong":"Not quite. L = 0 means the point is on the line."},{"level":"easy","question":"For the line 2x + y − 4 = 0, the point (3, 1) gives L = ?","options":["3","−3","7"],"answer":0,"right":"Correct. Substitute into L = 2x + y − 4.","wrong":"Not quite. L = 0 means the point is on the line."},{"level":"easy","question":"For the line 2x + y − 4 = 0, the point (1, 2) gives L = ?","options":["4","0","−4"],"answer":1,"right":"Correct. Substitute into L = 2x + y − 4.","wrong":"Not quite. L = 0 means the point is on the line."},{"level":"easy","question":"For the line 2x + y − 4 = 0, the point (−1, 5) gives L = ?","options":["1","−1","9"],"answer":1,"right":"Correct. Substitute into L = 2x + y − 4.","wrong":"Not quite. L = 0 means the point is on the line."},{"level":"easy","question":"For the line 2x + y − 4 = 0, the point (2, 2) gives L = ?","options":["2","−2","6"],"answer":0,"right":"Correct. Substitute into L = 2x + y − 4.","wrong":"Not quite. L = 0 means the point is on the line."},{"level":"easy","question":"Two points are on the same side of ax + by + c = 0 when their L values have…","options":["the same sign","opposite signs","the same size"],"answer":0,"right":"Correct. Sign of L decides the side.","wrong":"Not quite. Substitute both points."},{"level":"easy","question":"Opposite signs of L mean the points are…","options":["on the same side","on the line","on opposite sides"],"answer":2,"right":"Correct. Sign of L decides the side.","wrong":"Not quite. Substitute both points."},{"level":"easy","question":"The origin is on the side of x + y − 2 = 0 where L is…","options":["positive","negative","zero"],"answer":1,"right":"Correct. Sign of L decides the side.","wrong":"Not quite. Substitute both points."},{"level":"easy","question":"The region y > 2x + 1 lies…","options":["below the line","on the line","above the line"],"answer":2,"right":"Correct. Sign of L decides the side.","wrong":"Not quite. Substitute both points."},{"level":"easy","question":"Does the segment joining P and Q cross the line if L(P) and L(Q) have opposite signs?","options":["no","only if PQ is vertical","yes"],"answer":2,"right":"Correct. Sign of L decides the side.","wrong":"Not quite. Substitute both points."},{"level":"medium","question":"Are (1, 1) and (3, 4) for x − y + 1 = 0 on the same side of the line?","options":["yes","one is on the line","no"],"answer":1,"right":"Correct. Compare the signs of L at the two points.","wrong":"Not quite. Compute L for each point."},{"level":"medium","question":"Are (0, 0) and (2, 3) for 3x + 2y − 6 = 0 on the same side of the line?","options":["no","yes","both on the line"],"answer":0,"right":"Correct. Compare the signs of L at the two points.","wrong":"Not quite. Compute L for each point."},{"level":"medium","question":"Are (−1, 2) and (4, −3) for x + y − 1 = 0 on the same side of the line?","options":["both on the line","yes","no"],"answer":0,"right":"Correct. Compare the signs of L at the two points.","wrong":"Not quite. Compute L for each point."},{"level":"medium","question":"Are (1, 5) and (5, 1) for y = x on the same side of the line?","options":["yes","both on the line","no"],"answer":2,"right":"Correct. Compare the signs of L at the two points.","wrong":"Not quite. Compute L for each point."},{"level":"medium","question":"Are (2, 1) and (3, 2) for 2x − 3y = 0 on the same side of the line?","options":["one is on the line","no","yes"],"answer":0,"right":"Correct. Compare the signs of L at the two points.","wrong":"Not quite. Compute L for each point."},{"level":"medium","question":"In what ratio does x + y = 5 divide the join of (1, 1) and (4, 4)?","options":["1 : 2","3 : 5","1 : 1"],"answer":2,"right":"Correct. Ratio from the L values; inside means the correct side of every line.","wrong":"Not quite. Check each side of the triangle."},{"level":"medium","question":"The ratio is given by −L(P) : L(Q). For P(0, 0), Q(6, 3), line x + 2y − 6 = 0:","options":["1 : 2","1 : 1","2 : 1"],"answer":1,"right":"Correct. Ratio from the L values; inside means the correct side of every line.","wrong":"Not quite. Check each side of the triangle."},{"level":"medium","question":"The point where it crosses is… (same P, Q, line)","options":["(2, 2)","(6, 0)","(3, 1.5)"],"answer":2,"right":"Correct. Ratio from the L values; inside means the correct side of every line.","wrong":"Not quite. Check each side of the triangle."},{"level":"medium","question":"Which point is inside the triangle with vertices (0, 0), (4, 0), (0, 4)?","options":["(1, 1)","(3, 3)","(−1, 1)"],"answer":0,"right":"Correct. Ratio from the L values; inside means the correct side of every line.","wrong":"Not quite. Check each side of the triangle."},{"level":"medium","question":"Is the origin inside the triangle formed by x + y = 2, x − y = 2 and x = −1?","options":["no","yes","on a side"],"answer":1,"right":"Correct. Ratio from the L values; inside means the correct side of every line.","wrong":"Not quite. Check each side of the triangle."},{"level":"hard","question":"For which k are (1, k) and (2, 3) on opposite sides of x + y − 3 = 0?","options":["k > 2","k < 2","k = 2"],"answer":1,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"For which a is (a, a²) on the same side of x + y = 0 as (1, 1)?","options":["a < −1 or a > 0","−1 < a < 0","all a"],"answer":0,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"The line 2x − y + k = 0 separates (1, 2) and (3, 1) when…","options":["−5 < k < 0","k > 0","k < −5"],"answer":0,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"The region x ≥ 0, y ≥ 0, x + y ≤ 4 is a triangle of area…","options":["16","8","4"],"answer":1,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"The line through P parallel to ax + by + c = 0 has L(P) = … on itself","options":["ax + by + c = 0","bx − ay = 0","ax + by = ax₁ + by₁"],"answer":2,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"Which side of 3x − 4y + 5 = 0 is (2, 3)?","options":["the side where L > 0","the side where L < 0 (L = −1)","on the line"],"answer":1,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"Lines x + y = 1 and x − y = 1 divide the plane into how many regions?","options":["3","2","4"],"answer":2,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"(0, 0) lies in which of those regions?","options":["x + y > 1 and x − y > 1","x + y < 1 and x − y < 1","on a line"],"answer":1,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"A and B are on the same side of a line. The point dividing AB externally in ratio L(A) : L(B) lies…","options":["between A and B","at A","on the line"],"answer":2,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."},{"level":"hard","question":"The sign test works because L(x, y) is…","options":["continuous and zero only on the line","always positive","linear in t only"],"answer":0,"right":"Correct. Use the sign of L and the ratio −L(P) : L(Q).","wrong":"Not quite. Substitute and solve the inequality."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Half-plane","meaning":"One side of a line."},{"word":"Sign test","meaning":"Substituting to see which side a point is on."},{"word":"Internal division","meaning":"Crossing between the points."},{"word":"External division","meaning":"Crossing outside the segment."},{"word":"Region","meaning":"A part of the plane bounded by lines."},{"word":"Linear inequality","meaning":"ax + by + c > 0 or < 0."}]},{"type":"checklist","id":"check","title":"I can…","items":["decide whether two points are on the same side of a line","find the ratio in which a line divides a segment","describe a region by inequalities"]},{"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 18.3)."]}],"slug":"points-same-side-of-line"},"overlay":null}