{"base":{"id":"alcm-1-03","subject":"Combined Maths","title":"Functions: domain, codomain and range","scene":"alcm","steps":[{"mode":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"circle","c":[2.2,5],"r":2.6,"col":"b","fill":"b"},{"k":"circle","c":[7.8,5],"r":2.6,"col":"g","fill":"g"},{"k":"txt","p":[2.2,8.2],"t":"A","col":"b","size":40},{"k":"txt","p":[7.8,8.2],"t":"B","col":"g","size":40},{"k":"txt","p":[2.2,6.6],"t":"1","col":"k","size":34},{"k":"txt","p":[2.2,5],"t":"2","col":"k","size":34},{"k":"txt","p":[2.2,3.4],"t":"3","col":"k","size":34},{"k":"txt","p":[7.8,7],"t":"2","col":"k","size":34},{"k":"txt","p":[7.8,5.6],"t":"4","col":"k","size":34},{"k":"txt","p":[7.8,4.2],"t":"6","col":"k","size":34},{"k":"txt","p":[7.8,2.8],"t":"7","col":"k","size":34},{"k":"seg","p":[2.7,6.6,7.3,7],"col":"o","end":1,"s":1},{"k":"seg","p":[2.7,5,7.3,5.6],"col":"o","end":1,"s":1},{"k":"seg","p":[2.7,3.4,7.3,4.2],"col":"o","end":1,"s":1},{"k":"txt","p":[5,1.2],"t":"f(x) = 2x","col":"o","size":40,"s":1},{"k":"txt","p":[5,0.4],"t":"range = {2, 4, 6}","col":"r","size":32,"s":2}],"stages":2},"say":["Tap to apply the rule.","Each x has exactly one arrow.","7 is in B but no arrow reaches it."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"A rule with one output","title":"What makes a function","body":"A function f from set A to set B gives each element x of A exactly one image f(x) in B. A is the domain and B is the codomain. Two arrows from one x are not allowed."},{"mode":"fig","fig":{"view":[-3,-2,3,7],"items":[{"k":"fn","e":"x^2","col":"b","w":7},{"k":"line","p":[0,0,1,0],"col":"r","w":7,"s":1}],"axes":{"xl":"x","yl":"y"},"free":true},"work":{"title":"Write it like this","lines":["f : R → R,  f(x) = x²","x² ≥ 0 for every real x",{"t":"range = {y : y ≥ 0}","note":"part of the codomain R"}]},"say":["Tap to find the range.","Domain and codomain are both R.","The graph never goes below the x-axis.","So the range is y ≥ 0."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Range","title":"The images actually reached","body":"The range is the set of images that are actually reached. It is part of the codomain and can be smaller. For f(x) = x² on R, the codomain may be R, but the range is only y ≥ 0."},{"mode":"fig","work":{"title":"Write it like this","lines":[{"t":"f(x) = 1/(x − 3)","note":"x ≠ 3"},{"t":"g(x) = √(x + 2)","note":"x + 2 ≥ 0   →   x ≥ −2"},{"t":"h(x) = √(4 − x²)","note":"4 − x² ≥ 0   →   −2 ≤ x ≤ 2"},{"t":"k(x) = 1/√(x − 1)","note":"x − 1 > 0   →   x > 1"}]},"say":["Tap for four domains.","The bottom cannot be 0.","Inside the root ≥ 0.","Solve the quadratic inequality.","Both rules: strictly greater than 0."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Largest domain","title":"Where the formula makes sense","body":"If only a formula is given, take the largest set of real x for which it works. Two rules: never divide by zero, and never take the square root of a negative number."},{"mode":"plot","controls":[{"id":"a","label":"a","min":-3,"max":3,"step":1,"value":1}],"view":[-4,-1,8,5],"axes":{"xl":"x","yl":"y"},"fns":[{"e":"sqrt(x-a)+1","col":"b"}],"pts":[{"x":"a","y":"1","col":"r","t":"({a|0}, 1)"}],"ptitle":"Domain and range","rows":["y = √(x − {a|0}) + 1",["domain: x ≥ {a|0}","b"],["range: y ≥ 1","r"]],"note":"The root needs x − a ≥ 0. The smallest value of the root is 0, so y starts at 1.","st":"Domain x ≥ {a|0}, range y ≥ 1.","eyebrow":"Explore","title":"Domain and range on a graph","body":"Move a to shift the graph y = √(x − a) + 1. The domain starts at x = a and the range starts at y = 1. Read both from the picture."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5],"t":"f(x) = √(6 − 2x)","size":84,"col":"v","max":1400}]},"eyebrow":"Check yourself","title":"Domain","body":"Inside the root must not be negative.","question":"The largest domain of f(x) = √(6 − 2x) is…","options":["x ≥ 3","x ≤ 3","x ≤ 6"],"answer":1,"right":"Correct. 6 − 2x ≥ 0 gives x ≤ 3.","wrong":"Not quite. Solve 6 − 2x ≥ 0; dividing by −2 flips the sign."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Functions in detail","items":[{"tag":"Notation","title":"Ways to write a function","body":"f : A → B,  x ↦ 2x + 1\nf(x) = 2x + 1, x ∈ A\ny = 2x + 1\n\nf(3) is the image of 3: f(3) = 7. The letter x is only a place-holder: f(t) = 2t + 1 is the same function."},{"tag":"Vertical line test","title":"Is a graph a function?","body":"A curve is the graph of a function of x when every vertical line meets it at most once. The circle x² + y² = 4 fails: x = 1 meets it at y = √3 and y = −√3. The upper half y = √(4 − x²) passes."},{"tag":"Constants","title":"Constants and variables","body":"In f(x) = ax + b, x is the variable, and a, b are constants for one function. Changing a or b gives a new function from the same family, as the slider showed."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Mixing codomain and range","body":"The codomain is the set you are allowed to land in; the range is what you actually land on. The range may be smaller."},{"tag":"Common mistake","title":"Using > instead of ≥ under a root","body":"For √(x + 2), x = −2 is allowed because √0 = 0. Use > only when the root is also in a denominator."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"f(x) = 2x + 1. f(3) = ?","options":["7","5","6"],"answer":0,"right":"Correct. 2 × 3 + 1 = 7.","wrong":"Not quite. Replace x by the number."},{"level":"easy","question":"f(x) = 3x − 2. f(4) = ?","options":["10","14","5"],"answer":0,"right":"Correct. 3 × 4 − 2 = 10.","wrong":"Not quite. Replace x by the number."},{"level":"easy","question":"f(x) = −x + 5. f(2) = ?","options":["−7","3","6"],"answer":1,"right":"Correct. −1 × 2 + 5 = 3.","wrong":"Not quite. Replace x by the number."},{"level":"easy","question":"f(x) = 4x + 7. f(−3) = ?","options":["−19","8","−5"],"answer":2,"right":"Correct. 4 × (−3) + 7 = −5.","wrong":"Not quite. Replace x by the number."},{"level":"easy","question":"A function from A to B gives each element of A…","options":["at least two images","exactly one image in B","no image"],"answer":1,"right":"Correct. One input, one output.","wrong":"Not quite. Think of the definition."},{"level":"easy","question":"The set of images actually reached is the…","options":["range","domain","codomain only"],"answer":0,"right":"Correct. The range is a subset of the codomain.","wrong":"Not quite. Not all of B need be reached."},{"level":"easy","question":"The largest domain of f(x) = 1/x is…","options":["R","x > 0","R except 0"],"answer":2,"right":"Correct. Division by 0 is not allowed.","wrong":"Not quite. Where is 1/x undefined?"},{"level":"easy","question":"The vertical line test checks whether a graph is…","options":["one-one","continuous","a function of x"],"answer":2,"right":"Correct. Each x must give one y.","wrong":"Not quite. A vertical line meets the graph at most once."},{"level":"easy","question":"f(x) = 5 for every x. This is called…","options":["an identity function","a constant function","not a function"],"answer":1,"right":"Correct. Every input gives 5.","wrong":"Not quite. The output never changes."},{"level":"easy","question":"f(x) = x². The range on R is…","options":["R","y ≥ 0","y > 0"],"answer":1,"right":"Correct. Squares are never negative, and 0 is reached.","wrong":"Not quite. Can x² be negative?"},{"level":"medium","question":"The largest domain of f(x) = √(4 − x²) is…","options":["x ≤ 2","x ≥ 2","−2 ≤ x ≤ 2"],"answer":2,"right":"Correct. Need 4 − x² ≥ 0.","wrong":"Not quite. The expression under the root must be ≥ 0."},{"level":"medium","question":"The largest domain of f(x) = √(9 − x²) is…","options":["−3 ≤ x ≤ 3","x ≤ 3","x ≥ 3"],"answer":0,"right":"Correct. Need 9 − x² ≥ 0.","wrong":"Not quite. The expression under the root must be ≥ 0."},{"level":"medium","question":"The largest domain of f(x) = √(1 − x²) is…","options":["−1 ≤ x ≤ 1","x ≤ 1","x ≥ 1"],"answer":0,"right":"Correct. Need 1 − x² ≥ 0.","wrong":"Not quite. The expression under the root must be ≥ 0."},{"level":"medium","question":"The largest domain of f(x) = 1/(x − 2) is…","options":["R except −2","R except 2","x > 2"],"answer":1,"right":"Correct. x = 2 makes the bottom 0.","wrong":"Not quite. Solve bottom = 0."},{"level":"medium","question":"The largest domain of f(x) = 1/(x − 3) is…","options":["R except −3","R except 3","x > 3"],"answer":1,"right":"Correct. x = 3 makes the bottom 0.","wrong":"Not quite. Solve bottom = 0."},{"level":"medium","question":"The largest domain of f(x) = 1/(x − 5) is…","options":["R except −5","x > 5","R except 5"],"answer":2,"right":"Correct. x = 5 makes the bottom 0.","wrong":"Not quite. Solve bottom = 0."},{"level":"medium","question":"The range of f(x) = 2x + 1 on 0 ≤ x ≤ 3 is…","options":["0 ≤ y ≤ 3","1 ≤ y ≤ 7","1 ≤ y ≤ 6"],"answer":1,"right":"Correct. f is increasing: f(0) = 1, f(3) = 7.","wrong":"Not quite. Find the end values."},{"level":"medium","question":"The range of f(x) = (x − 2)² + 3 on R is…","options":["y ≥ 3","y ≥ 2","R"],"answer":0,"right":"Correct. Least value 3 at x = 2.","wrong":"Not quite. A square is at least 0."},{"level":"medium","question":"f(x) = x² − 4x. f(a + 1) = ?","options":["a² − 4a + 1","a² − 2a − 3","a² − 3"],"answer":1,"right":"Correct. (a + 1)² − 4(a + 1) = a² + 2a + 1 − 4a − 4.","wrong":"Not quite. Replace every x by a + 1."},{"level":"medium","question":"The largest domain of ln(x − 1) is…","options":["x ≥ 1","x > 0","x > 1"],"answer":2,"right":"Correct. ln needs a positive input.","wrong":"Not quite. x − 1 > 0."},{"level":"hard","question":"The largest domain of f(x) = √((x − 1)(x − 4)) is…","options":["1 ≤ x ≤ 4","x ≤ 1 or x ≥ 4","x ≥ 4"],"answer":1,"right":"Correct. The product is ≥ 0 outside the roots.","wrong":"Not quite. Sign table for (x − 1)(x − 4)."},{"level":"hard","question":"The range of f(x) = 1/(x² + 1) on R is…","options":["0 ≤ y ≤ 1","0 < y ≤ 1","y ≥ 1"],"answer":1,"right":"Correct. x² + 1 ≥ 1, so 0 < f ≤ 1; f never reaches 0.","wrong":"Not quite. The bottom is at least 1."},{"level":"hard","question":"The range of f(x) = (x + 1)/(x − 1), x ≠ 1, is…","options":["R except −1","R","R except 1"],"answer":2,"right":"Correct. y = (x + 1)/(x − 1) gives x = (y + 1)/(y − 1), needs y ≠ 1.","wrong":"Not quite. Solve for x in terms of y."},{"level":"hard","question":"The range of f(x) = x² − 6x + 10 for 0 ≤ x ≤ 5 is…","options":["5 ≤ y ≤ 10","1 ≤ y ≤ 5","1 ≤ y ≤ 10"],"answer":2,"right":"Correct. (x − 3)² + 1: least 1 at x = 3, greatest f(0) = 10.","wrong":"Not quite. Complete the square and check the ends."},{"level":"hard","question":"The largest domain of f(x) = √(x − 2) + 1/√(5 − x) is…","options":["2 ≤ x < 5","2 < x ≤ 5","2 ≤ x ≤ 5"],"answer":0,"right":"Correct. x − 2 ≥ 0 and 5 − x > 0.","wrong":"Not quite. The second root is in a denominator."},{"level":"hard","question":"If f(x) = x² and the codomain is R, f is…","options":["not onto: negatives are missed","onto","not a function"],"answer":0,"right":"Correct. The range is y ≥ 0, smaller than R.","wrong":"Not quite. Compare range and codomain."},{"level":"hard","question":"f(x) = 3x − 2 on −1 ≤ x ≤ 2. Range?","options":["−1 ≤ y ≤ 2","−5 ≤ y ≤ 2","−5 ≤ y ≤ 4"],"answer":2,"right":"Correct. f(−1) = −5, f(2) = 4.","wrong":"Not quite. A straight line: check the ends."},{"level":"hard","question":"The range of f(x) = |x − 1| + 2 on R is…","options":["y ≥ 1","y ≥ 3","y ≥ 2"],"answer":2,"right":"Correct. Least value 2 at x = 1.","wrong":"Not quite. A modulus is at least 0."},{"level":"hard","question":"The range of f(x) = 4/(x² + 2) on R is…","options":["0 < y ≤ 4","0 < y ≤ 2","y ≥ 2"],"answer":1,"right":"Correct. Greatest 4/2 = 2 at x = 0; it approaches 0.","wrong":"Not quite. The bottom is at least 2."},{"level":"hard","question":"Which is NOT a function from R to R?","options":["y² = x","y = x³","y = |x|"],"answer":0,"right":"Correct. x = 4 gives y = ±2: two images.","wrong":"Not quite. Look for one x with two y."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Function","meaning":"A rule giving each element of the domain exactly one image."},{"word":"Domain","meaning":"The set of inputs of a function."},{"word":"Codomain","meaning":"The set in which the outputs must lie."},{"word":"Range","meaning":"The set of outputs actually reached."},{"word":"Image","meaning":"The output f(x) of one input x."},{"word":"Variable","meaning":"A letter that can take different values."}]},{"type":"checklist","id":"check","title":"I can…","items":["say what makes a rule a function","find the largest domain of a formula","find the range of a simple function from its graph"]},{"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 2.1)."]}],"slug":"functions-domain-codomain-range"},"overlay":{"title":"ශ්‍රිත: වසම, සහවසම සහ පරාසය","steps":[{"say":["නීතිය යොදන්න ඔබන්න.","හැම x එකකටම හරියටම එක ඊතලයක්.","7, B හි තියෙනවා, ඒත් ඒකට ඊතලයක් එන්නේ නැහැ."],"actions":[{"label":"ඊළඟ පියවර පෙන්වන්න"}],"eyebrow":"එක ප්‍රතිදානයක් දෙන නීතියක්","title":"ශ්‍රිතයක් වෙන්නේ කොහොමද","body":"A කුලකයේ සිට B කුලකයට f ශ්‍රිතයක් කියන්නේ A හි හැම x එකකටම B හි හරියටම එක ප්‍රතිබිම්බයක් f(x) දෙන නීතියක්. A වසම, B සහවසම. එක x එකකින් ඊතල දෙකක් යන්න බැහැ."},{"work":{"title":"මෙහෙම ලියන්න","lines":[null,null,{"note":"සහවසම R හි කොටසක්"}]},"say":["පරාසය හොයන්න ඔබන්න.","වසම සහ සහවසම දෙකම R.","ප්‍රස්තාරය කවදාවත් x අක්ෂයට පහළ යන්නේ නැහැ.","ඉතින් පරාසය y ≥ 0."],"actions":[{"label":"ඊළඟ පියවර පෙන්වන්න"}],"eyebrow":"පරාසය","title":"ඇත්තටම ලැබෙන ප්‍රතිබිම්බ","body":"පරාසය කියන්නේ ඇත්තටම ලැබෙන ප්‍රතිබිම්බ කුලකය. ඒක සහවසමේ කොටසක්, පොඩි වෙන්නත් පුළුවන්. R මත f(x) = x² ට සහවසම R වුණත්, පරාසය y ≥ 0 විතරයි."},{"work":{"title":"මෙහෙම ලියන්න","lines":[{"note":"x ≠ 3"},null,null,null]},"say":["වසම් හතරක් බලන්න ඔබන්න.","හරය 0 වෙන්න බැහැ.","මූලය ඇතුළේ ≥ 0.","වර්ගජ අසමානතාව විසඳන්න.","නීති දෙකම: 0 ට වඩා තදින්ම විශාලයි."],"actions":[{"label":"ඊළඟ පියවර පෙන්වන්න"}],"eyebrow":"විශාලතම වසම","title":"සූත්‍රයට තේරුමක් තියෙන තැන","body":"සූත්‍රයක් විතරක් දීලා තිබ්බොත්, ඒක වැඩ කරන විශාලතම තාත්වික x කුලකය ගන්න. නීති දෙකයි: කවදාවත් බිංදුවෙන් බෙදන්න එපා, සෘණ සංඛ්‍යාවක වර්ගමූලය ගන්න එපා."},{"ptitle":"වසම සහ පරාසය","rows":[null,["වසම: x ≥ {a|0}",null],["පරාසය: y ≥ 1",null]],"note":"මූලයට x − a ≥ 0 ඕන. මූලයේ අවම අගය 0, ඉතින් y පටන් ගන්නේ 1 න්.","st":"වසම x ≥ {a|0}, පරාසය y ≥ 1.","eyebrow":"ගවේෂණය කරන්න","title":"ප්‍රස්තාරයක වසම සහ පරාසය","body":"y = √(x − a) + 1 ප්‍රස්තාරය මාරු කරන්න a එහාට මෙහාට කරන්න. වසම පටන් ගන්නේ x = a න්, පරාසය y = 1 න්. දෙකම පින්තූරයෙන් කියවන්න."},{"eyebrow":"ඔයාම බලන්න","title":"වසම","body":"මූලය ඇතුළේ සෘණ වෙන්න බැහැ.","question":"f(x) = √(6 − 2x) හි විශාලතම වසම…","options":["x ≥ 3","x ≤ 3","x ≤ 6"],"right":"හරි. 6 − 2x ≥ 0 වලින් x ≤ 3.","wrong":"තව ටිකක් හිතන්න. 6 − 2x ≥ 0 විසඳන්න; −2 න් බෙදනකොට ලකුණ පෙරළෙනවා."}],"more":[{"eyebrow":"විස්තර","title":"ශ්‍රිත විස්තරව","items":[{"tag":"අංකනය","title":"ශ්‍රිතයක් ලියන විදි","body":"f : A → B,  x ↦ 2x + 1\nf(x) = 2x + 1, x ∈ A\ny = 2x + 1\n\nf(3) කියන්නේ 3 හි ප්‍රතිබිම්බය: f(3) = 7. x අකුර තැනක් අල්ලන්න විතරයි: f(t) = 2t + 1 එකම ශ්‍රිතයයි."},{"tag":"සිරස් රේඛා පරීක්ෂාව","title":"ප්‍රස්තාරයක් ශ්‍රිතයක්ද?","body":"හැම සිරස් රේඛාවක්ම වක්‍රය උපරිම එක පාරක් හමු වෙනවා නම් ඒක x හි ශ්‍රිතයක ප්‍රස්තාරයක්. x² + y² = 4 වෘත්තය අසමත්: x = 1, y = √3 සහ y = −√3 දෙකේම හමු වෙනවා. උඩ භාගය y = √(4 − x²) සමත්."},{"tag":"නියත","title":"නියත සහ විචල්‍ය","body":"f(x) = ax + b හි x විචල්‍යය; එක ශ්‍රිතයකට a, b නියත. a හෝ b වෙනස් කළාම, ස්ලයිඩරයෙන් පෙන්නුවා වගේ, එකම පවුලේ අලුත් ශ්‍රිතයක් ලැබෙනවා."}]},{"eyebrow":"විභාගෙදි ලකුණු නැති වෙන තැන්","title":"නිතර වෙන වැරදි","items":[{"tag":"නිතර වෙන වැරැද්ද","title":"සහවසම සහ පරාසය පටලවනවා","body":"සහවසම කියන්නේ වැටෙන්න අවසර තියෙන කුලකය; පරාසය කියන්නේ ඇත්තටම වැටෙන කුලකය. පරාසය පොඩි වෙන්න පුළුවන්."},{"tag":"නිතර වෙන වැරැද්ද","title":"මූලය යටතේ ≥ වෙනුවට > ලියනවා","body":"√(x + 2) ට x = −2 අවසරයි, √0 = 0 නිසා. මූලය හරයේත් තියෙනවා නම් විතරක් > ලියන්න."}]},{"eyebrow":"තව ඉස්සරහට","title":"ප්‍රශ්න 30ක්: පහසු, මධ්‍යම, අමාරු","questions":[{"question":"f(x) = 2x + 1. f(3) = ?","options":["7","5","6"],"right":"හරි. 2 × 3 + 1 = 7.","wrong":"තව ටිකක් හිතන්න. x වෙනුවට සංඛ්‍යාව දාන්න."},{"question":"f(x) = 3x − 2. f(4) = ?","options":["10","14","5"],"right":"හරි. 3 × 4 − 2 = 10.","wrong":"තව ටිකක් හිතන්න. x වෙනුවට සංඛ්‍යාව දාන්න."},{"question":"f(x) = −x + 5. f(2) = ?","options":["−7","3","6"],"right":"හරි. −1 × 2 + 5 = 3.","wrong":"තව ටිකක් හිතන්න. x වෙනුවට සංඛ්‍යාව දාන්න."},{"question":"f(x) = 4x + 7. f(−3) = ?","options":["−19","8","−5"],"right":"හරි. 4 × (−3) + 7 = −5.","wrong":"තව ටිකක් හිතන්න. x වෙනුවට සංඛ්‍යාව දාන්න."},{"question":"A සිට B ට ශ්‍රිතයක් A හි හැම අංගයකටම දෙන්නේ…","options":["අවම ප්‍රතිබිම්බ දෙකක්","B හි හරියටම එක ප්‍රතිබිම්බයක්","ප්‍රතිබිම්බයක් නැහැ"],"right":"හරි. එක ආදානයක්, එක ප්‍රතිදානයක්.","wrong":"තව ටිකක් හිතන්න. අර්ථ දැක්වීම ගැන හිතන්න."},{"question":"ඇත්තටම ළඟා වන ප්‍රතිබිම්බ කුලකය…","options":["පරාසය","වසම","සහවසම විතරයි"],"right":"හරි. පරාසය සහවසමේ උප කුලකයක්.","wrong":"තව ටිකක් හිතන්න. B ඔක්කොම ළඟා වෙන්න ඕන නැහැ."},{"question":"f(x) = 1/x හි විශාලතම වසම…","options":["R","x > 0","0 හැර R"],"right":"හරි. 0 න් බෙදීමට ඉඩ නැහැ.","wrong":"තව ටිකක් හිතන්න. 1/x අර්ථ නොදැක්වෙන්නේ කොහේද?"},{"question":"සිරස් රේඛා පරීක්ෂාව බලන්නේ ප්‍රස්තාරයක්…","options":["එකට එකද","සන්තතිකද","x හි ශ්‍රිතයක්ද"],"right":"හරි. හැම x එකකටම එක y ඕන.","wrong":"තව ටිකක් හිතන්න. සිරස් රේඛාවක් ප්‍රස්තාරය හමුවෙන්නේ උපරිම එක වාරයයි."},{"question":"හැම x එකකටම f(x) = 5. මේක හඳුන්වන්නේ…","options":["ඒකක ශ්‍රිතයක්","නියත ශ්‍රිතයක්","ශ්‍රිතයක් නෙවෙයි"],"right":"හරි. හැම ආදානයක්ම 5 දෙනවා.","wrong":"තව ටිකක් හිතන්න. ප්‍රතිදානය කවදාවත් වෙනස් වෙන්නේ නැහැ."},{"question":"f(x) = x². R මත පරාසය…","options":["R","y ≥ 0","y > 0"],"right":"හරි. වර්ග කවදාවත් සෘණ නැහැ; 0 ළඟා වෙනවා.","wrong":"තව ටිකක් හිතන්න. x² සෘණ වෙන්න පුළුවන්ද?"},{"question":"f(x) = √(4 − x²) හි විශාලතම වසම…","options":["x ≤ 2","x ≥ 2","−2 ≤ x ≤ 2"],"right":"හරි. 4 − x² ≥ 0 ඕන.","wrong":"තව ටිකක් හිතන්න. මූලය යට ප්‍රකාශනය ≥ 0 වෙන්න ඕන."},{"question":"f(x) = √(9 − x²) හි විශාලතම වසම…","options":["−3 ≤ x ≤ 3","x ≤ 3","x ≥ 3"],"right":"හරි. 9 − x² ≥ 0 ඕන.","wrong":"තව ටිකක් හිතන්න. මූලය යට ප්‍රකාශනය ≥ 0 වෙන්න ඕන."},{"question":"f(x) = √(1 − x²) හි විශාලතම වසම…","options":["−1 ≤ x ≤ 1","x ≤ 1","x ≥ 1"],"right":"හරි. 1 − x² ≥ 0 ඕන.","wrong":"තව ටිකක් හිතන්න. මූලය යට ප්‍රකාශනය ≥ 0 වෙන්න ඕන."},{"question":"f(x) = 1/(x − 2) හි විශාලතම වසම…","options":["−2 හැර R","2 හැර R","x > 2"],"right":"හරි. x = 2 හරය 0 කරනවා.","wrong":"තව ටිකක් හිතන්න. හරය = 0 විසඳන්න."},{"question":"f(x) = 1/(x − 3) හි විශාලතම වසම…","options":["−3 හැර R","3 හැර R","x > 3"],"right":"හරි. x = 3 හරය 0 කරනවා.","wrong":"තව ටිකක් හිතන්න. හරය = 0 විසඳන්න."},{"question":"f(x) = 1/(x − 5) හි විශාලතම වසම…","options":["−5 හැර R","x > 5","5 හැර R"],"right":"හරි. x = 5 හරය 0 කරනවා.","wrong":"තව ටිකක් හිතන්න. හරය = 0 විසඳන්න."},{"question":"0 ≤ x ≤ 3 මත f(x) = 2x + 1 හි පරාසය…","options":["0 ≤ y ≤ 3","1 ≤ y ≤ 7","1 ≤ y ≤ 6"],"right":"හරි. f වැඩි වෙනවා: f(0) = 1, f(3) = 7.","wrong":"තව ටිකක් හිතන්න. අන්ත අගයන් හොයන්න."},{"question":"R මත f(x) = (x − 2)² + 3 හි පරාසය…","options":["y ≥ 3","y ≥ 2","R"],"right":"හරි. x = 2 දී අවම අගය 3.","wrong":"තව ටිකක් හිතන්න. වර්ගයක් අවම 0."},{"question":"f(x) = x² − 4x. f(a + 1) = ?","options":["a² − 4a + 1","a² − 2a − 3","a² − 3"],"right":"හරි. (a + 1)² − 4(a + 1) = a² + 2a + 1 − 4a − 4.","wrong":"තව ටිකක් හිතන්න. හැම x එකක්ම a + 1 න් ආදේශ කරන්න."},{"question":"ln(x − 1) හි විශාලතම වසම…","options":["x ≥ 1","x > 0","x > 1"],"right":"හරි. ln ට ධන ආදානයක් ඕන.","wrong":"තව ටිකක් හිතන්න. x − 1 > 0."},{"question":"f(x) = √((x − 1)(x − 4)) හි විශාලතම වසම…","options":["1 ≤ x ≤ 4","x ≤ 1 හෝ x ≥ 4","x ≥ 4"],"right":"හරි. ගුණිතය මූලවලින් පිටත ≥ 0.","wrong":"තව ටිකක් හිතන්න. (x − 1)(x − 4) ට ලකුණු වගුව."},{"question":"R මත f(x) = 1/(x² + 1) හි පරාසය…","options":["0 ≤ y ≤ 1","0 < y ≤ 1","y ≥ 1"],"right":"හරි. x² + 1 ≥ 1; ඉතින් 0 < f ≤ 1; f කවදාවත් 0 ට ළඟා වෙන්නේ නැහැ.","wrong":"තව ටිකක් හිතන්න. හරය අවම 1."},{"question":"f(x) = (x + 1)/(x − 1), x ≠ 1 හි පරාසය…","options":["−1 හැර R","R","1 හැර R"],"right":"හරි. y = (x + 1)/(x − 1) න් x = (y + 1)/(y − 1); y ≠ 1 ඕන.","wrong":"තව ටිකක් හිතන්න. y ඇසුරෙන් x විසඳන්න."},{"question":"0 ≤ x ≤ 5 ට f(x) = x² − 6x + 10 හි පරාසය…","options":["5 ≤ y ≤ 10","1 ≤ y ≤ 5","1 ≤ y ≤ 10"],"right":"හරි. (x − 3)² + 1: x = 3 දී අවම 1, විශාලතම f(0) = 10.","wrong":"තව ටිකක් හිතන්න. වර්ගය සම්පූර්ණ කරලා අන්ත බලන්න."},{"question":"f(x) = √(x − 2) + 1/√(5 − x) හි විශාලතම වසම…","options":["2 ≤ x < 5","2 < x ≤ 5","2 ≤ x ≤ 5"],"right":"හරි. x − 2 ≥ 0 සහ 5 − x > 0.","wrong":"තව ටිකක් හිතන්න. දෙවන මූලය හරයක."},{"question":"f(x) = x² සහ සහවසම R නම් f…","options":["ආවරක නෙවෙයි: සෘණ අගයන් මඟහැරෙනවා","ආවරක","ශ්‍රිතයක් නෙවෙයි"],"right":"හරි. පරාසය y ≥ 0; R ට වඩා කුඩායි.","wrong":"තව ටිකක් හිතන්න. පරාසය සහ සහවසම සසඳන්න."},{"question":"−1 ≤ x ≤ 2 මත f(x) = 3x − 2. පරාසය?","options":["−1 ≤ y ≤ 2","−5 ≤ y ≤ 2","−5 ≤ y ≤ 4"],"right":"හරි. f(−1) = −5, f(2) = 4.","wrong":"තව ටිකක් හිතන්න. සරල රේඛාවක්: අන්ත බලන්න."},{"question":"R මත f(x) = |x − 1| + 2 හි පරාසය…","options":["y ≥ 1","y ≥ 3","y ≥ 2"],"right":"හරි. x = 1 දී අවම අගය 2.","wrong":"තව ටිකක් හිතන්න. මාපාංකයක් අවම 0."},{"question":"R මත f(x) = 4/(x² + 2) හි පරාසය…","options":["0 < y ≤ 4","0 < y ≤ 2","y ≥ 2"],"right":"හරි. x = 0 දී විශාලතම 4/2 = 2; 0 ට ළං වෙනවා.","wrong":"තව ටිකක් හිතන්න. හරය අවම 2."},{"question":"R සිට R ට ශ්‍රිතයක් නොවන්නේ කුමක්ද?","options":["y² = x","y = x³","y = |x|"],"right":"හරි. x = 4 න් y = ±2: ප්‍රතිබිම්බ දෙකක්.","wrong":"තව ටිකක් හිතන්න. y දෙකක් ඇති එක x එකක් හොයන්න."}]},{"title":"ප්‍රධාන වචන","items":[{"word":"ශ්‍රිතය","meaning":"වසමේ හැම අවයවයකටම හරියටම එක ප්‍රතිබිම්බයක් දෙන නීතියක්."},{"word":"වසම","meaning":"ශ්‍රිතයක ආදාන කුලකය."},{"word":"සහවසම","meaning":"ප්‍රතිදාන තියෙන්න ඕන කුලකය."},{"word":"පරාසය","meaning":"ඇත්තටම ලැබෙන ප්‍රතිදාන කුලකය."},{"word":"ප්‍රතිබිම්බය","meaning":"එක ආදානයක x හි ප්‍රතිදානය f(x)."},{"word":"විචල්‍යය","meaning":"විවිධ අගයන් ගන්න පුළුවන් අකුරක්."}]},{"title":"මට පුළුවන්…","items":["නීතියක් ශ්‍රිතයක් වෙන්නේ මොකද කියලා කියන්න","සූත්‍රයක විශාලතම වසම හොයන්න","සරල ශ්‍රිතයක පරාසය ප්‍රස්තාරයෙන් හොයන්න"]},{"title":"මූලාශ්‍ර"}]}}