{"base":{"id":"alcm-1-05","subject":"Combined Maths","title":"Types of functions: modulus, composite, odd and even","scene":"alcm","steps":[{"mode":"fig","fig":{"view":[-4,-2,4,5],"items":[{"k":"fn","e":"abs(x)","col":"b","w":7},{"k":"txt","p":[2.6,1.4],"t":"y = x","col":"s","size":28},{"k":"txt","p":[-2.6,1.4],"t":"y = −x","col":"s","size":28}],"axes":{"xl":"x","yl":"y"},"free":true},"work":{"title":"Write it like this","lines":["|x| = x,  x ≥ 0","|x| = −x,  x < 0",{"t":"|−5| = 5,  |3| = 3","note":"never negative"}]},"say":["Tap to define |x|.","Right half: y = x.","Left half: y = −x.","The V shape."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"The modulus function","title":"|x| is the distance from 0","body":"The modulus |x| is x when x ≥ 0 and −x when x < 0, so it is never negative. Its graph is a V with the corner at the origin."},{"mode":"fig","work":{"title":"Write it like this","lines":["f(x) = x²,   g(x) = x + 3",{"t":"fg(x) = f(x + 3) = (x + 3)²","note":"g first"},{"t":"gf(x) = g(x²) = x² + 3","note":"f first"},"fg(1) = 16,   gf(1) = 4",{"t":"fg ≠ gf","note":"order matters"}]},"say":["Tap to compose.","Two simple functions.","Put g(x) into f.","Put f(x) into g.","Different numbers.","Always work from the inside out."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Composite functions","title":"One function after another","body":"The composite fg(x) = f(g(x)) means do g first, then f. Order matters: fg and gf are usually different."},{"mode":"plot","controls":[{"id":"n","label":"n","min":1,"max":5,"step":1,"value":2}],"view":[-2.5,-5,2.5,5],"axes":{"xl":"x","yl":"y"},"fns":[{"e":"x^n","col":"b"}],"pts":[{"x":"1.5","y":"1.5^n","col":"g","t":"f(a)"},{"x":"-1.5","y":"(-1.5)^n","col":"r","t":"f(−a)"}],"ptitle":"Powers of x","rows":["f(x) = xⁿ,  n = {n|0}",["f(1.5) = {1.5^n|2}","g"],["f(−1.5) = {(-1.5)^n|2}","r"]],"note":"Even powers give even functions (x², cos x); odd powers give odd functions (x, x³, sin x). Most functions, like x + 1, are neither.","st":"Compare the green and red points.","eyebrow":"Even and odd","title":"Symmetry of a graph","body":"f is even if f(−x) = f(x): its graph is symmetric about the y-axis. f is odd if f(−x) = −f(x): it has rotational symmetry about the origin. Move n to see xⁿ change between the two."},{"mode":"fig","fig":{"view":[-3.5,-3.5,3.5,3.5],"items":[{"k":"seg","p":[-3,-3,-2,-3],"col":"b","w":7},{"k":"seg","p":[-2,-2,-1,-2],"col":"b","w":7},{"k":"seg","p":[-1,-1,0,-1],"col":"b","w":7},{"k":"seg","p":[0,0,1,0],"col":"b","w":7},{"k":"seg","p":[1,1,2,1],"col":"b","w":7},{"k":"seg","p":[2,2,3,2],"col":"b","w":7},{"k":"dot","p":[-3,-3],"col":"b"},{"k":"dot","p":[-2,-2],"col":"b"},{"k":"dot","p":[-1,-1],"col":"b"},{"k":"dot","p":[0,0],"col":"b"},{"k":"dot","p":[1,1],"col":"b"},{"k":"dot","p":[2,2],"col":"b"},{"k":"dot","p":[-2,-3],"col":"b","open":1},{"k":"dot","p":[-1,-2],"col":"b","open":1},{"k":"dot","p":[0,-1],"col":"b","open":1},{"k":"dot","p":[1,0],"col":"b","open":1},{"k":"dot","p":[2,1],"col":"b","open":1},{"k":"dot","p":[3,2],"col":"b","open":1}],"axes":{"xl":"x","yl":"y"}},"work":{"title":"Write it like this","lines":["⌊2.7⌋ = 2","⌊−1.2⌋ = −2",{"t":"⌊3⌋ = 3","note":"filled dot: included"},{"t":"jumps at every integer","note":"not continuous"}]},"say":["Tap to read the steps.","Round down.","Down means towards −∞.","An integer stays the same.","The graph breaks at integers."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Step and piecewise","title":"A rule in pieces","body":"Some functions use different formulas on different parts of the domain. The integer part (floor) function ⌊x⌋ gives the greatest integer ≤ x; its graph is a staircase."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5.9],"t":"f(x) = 2x − 1","size":84,"col":"v","max":1400},{"k":"txt","p":[5,4.1000000000000005],"t":"g(x) = x²","size":84,"col":"k","max":1400}]},"eyebrow":"Check yourself","title":"Composite","body":"Do g first.","question":"f(x) = 2x − 1, g(x) = x². What is fg(3)?","options":["17","25","11"],"answer":0,"right":"Correct. g(3) = 9, then f(9) = 17.","wrong":"Not quite. 25 is gf(3). For fg, square first, then double and subtract 1."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Types of functions in detail","items":[{"tag":"Modulus","title":"Graphs with the modulus","body":"y = |f(x)|: draw y = f(x), then reflect every part below the x-axis upwards.\nExample: y = |x − 2| is a V with its corner at (2, 0).\nUnit 7 uses this for inequalities such as |x − 2| < 3."},{"tag":"Domain","title":"When a composite exists","body":"fg exists only when the range of g lies inside the domain of f.\nf(x) = √x (x ≥ 0), g(x) = x − 5: fg(x) = √(x − 5) needs x ≥ 5."},{"tag":"Checking","title":"Testing odd and even with algebra","body":"Replace x by −x and simplify.\nf(x) = x⁴ − 3x²:  f(−x) = x⁴ − 3x² = f(x), even.\ng(x) = x³ + x:  g(−x) = −x³ − x = −g(x), odd.\nh(x) = x² + x:  h(−x) = x² − x, neither."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Composing in the wrong order","body":"fg(x) means f(g(x)): the function written next to x acts first."},{"tag":"Common mistake","title":"Thinking every function is odd or even","body":"Most functions are neither. Test f(−x); if it is neither f(x) nor −f(x), say so."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"|5| + |−9| = ?","options":["14","4","−4"],"answer":0,"right":"Correct. Each modulus is a distance, so it is positive.","wrong":"Not quite. Make each value positive first."},{"level":"easy","question":"|−3| + |4| = ?","options":["1","−7","7"],"answer":2,"right":"Correct. Each modulus is a distance, so it is positive.","wrong":"Not quite. Make each value positive first."},{"level":"easy","question":"|2| + |−8| = ?","options":["6","10","−6"],"answer":1,"right":"Correct. Each modulus is a distance, so it is positive.","wrong":"Not quite. Make each value positive first."},{"level":"easy","question":"|−6| + |−1| = ?","options":["7","−7","5"],"answer":0,"right":"Correct. Each modulus is a distance, so it is positive.","wrong":"Not quite. Make each value positive first."},{"level":"easy","question":"|−12| = ?","options":["−12","12","1/12"],"answer":1,"right":"Correct. Distance from 0.","wrong":"Not quite. The modulus is never negative."},{"level":"easy","question":"sin x is…","options":["odd","even","neither"],"answer":0,"right":"Correct. sin(−x) = −sin x.","wrong":"Not quite. Compare sin(−x) with sin x."},{"level":"easy","question":"⌊3.7⌋ = ?","options":["4","3.7","3"],"answer":2,"right":"Correct. The floor is the greatest integer ≤ 3.7.","wrong":"Not quite. Round down."},{"level":"easy","question":"⌊−2.3⌋ = ?","options":["−2","−3","2"],"answer":1,"right":"Correct. −3 ≤ −2.3 < −2.","wrong":"Not quite. Round down, towards −∞."},{"level":"easy","question":"An even function satisfies…","options":["f(−x) = −f(x)","f(x) = 0","f(−x) = f(x)"],"answer":2,"right":"Correct. The graph is symmetric in the y-axis.","wrong":"Not quite. Think of x²."},{"level":"easy","question":"cos x is…","options":["even","odd","neither"],"answer":0,"right":"Correct. cos(−x) = cos x.","wrong":"Not quite. Compare cos(−x) with cos x."},{"level":"medium","question":"f(x) = x + 1, g(x) = x². gf(2) = ?","options":["5","14","9"],"answer":2,"right":"Correct. gf means g(f(x)): apply f first.","wrong":"Not quite. Work from the inside out."},{"level":"medium","question":"f(x) = 2x, g(x) = x − 3. gf(5) = ?","options":["4","7","11"],"answer":1,"right":"Correct. gf means g(f(x)): apply f first.","wrong":"Not quite. Work from the inside out."},{"level":"medium","question":"f(x) = x², g(x) = 3x. gf(1) = ?","options":["3","9","12"],"answer":0,"right":"Correct. gf means g(f(x)): apply f first.","wrong":"Not quite. Work from the inside out."},{"level":"medium","question":"f(x) = x⁴ + x² is…","options":["odd","neither","even"],"answer":2,"right":"Correct. Only even powers.","wrong":"Not quite. Replace x by −x."},{"level":"medium","question":"f(x) = x³ + x is…","options":["even","neither","odd"],"answer":2,"right":"Correct. f(−x) = −x³ − x = −f(x).","wrong":"Not quite. Check f(−x)."},{"level":"medium","question":"f(x) = x² + x is…","options":["neither","even","odd"],"answer":0,"right":"Correct. f(−x) = x² − x, which is neither f(x) nor −f(x).","wrong":"Not quite. Mixed powers."},{"level":"medium","question":"Solve |x − 3| = 5.","options":["x = 8 or x = −2","x = 8 only","x = 2 or x = −8"],"answer":0,"right":"Correct. x − 3 = ±5.","wrong":"Not quite. Distance 5 from 3."},{"level":"medium","question":"f(x) = 2x + 1. ff(x) = ?","options":["4x + 1","4x + 3","(2x + 1)²"],"answer":1,"right":"Correct. 2(2x + 1) + 1.","wrong":"Not quite. Put f(x) into f."},{"level":"medium","question":"f(x) = |x| for x = −4 gives…","options":["−4","0","4"],"answer":2,"right":"Correct. |−4| = 4.","wrong":"Not quite. Distance from 0."},{"level":"medium","question":"The graph of an odd function is symmetric about…","options":["the y-axis","the origin","y = x"],"answer":1,"right":"Correct. A half-turn about O maps it to itself.","wrong":"Not quite. Think of x³."},{"level":"hard","question":"f(x) = x², g(x) = x + 2. Solve fg(x) = gf(x).","options":["x = −1/2","x = 0","x = 2"],"answer":0,"right":"Correct. (x + 2)² = x² + 2 ⇒ 4x + 4 = 2.","wrong":"Not quite. Write both composites."},{"level":"hard","question":"f(x) = |x| − |x − 2|. f(5) = ?","options":["8","2","−2"],"answer":1,"right":"Correct. 5 − 3 = 2.","wrong":"Not quite. Evaluate each modulus."},{"level":"hard","question":"If f is odd and g is even, then fg (the product) is…","options":["even","neither","odd"],"answer":2,"right":"Correct. f(−x)g(−x) = −f(x)g(x).","wrong":"Not quite. Like odd × even powers."},{"level":"hard","question":"Solve |2x − 1| = |x + 4|.","options":["x = 5 only","x = 5 or x = −1","x = −5 or x = 1"],"answer":1,"right":"Correct. 2x − 1 = ±(x + 4).","wrong":"Not quite. Equal moduli: equal or opposite."},{"level":"hard","question":"f(x) = 1/(1 − x). fff(x) = ? (x ≠ 0, 1)","options":["x","1/(1 − x)","(x − 1)/x"],"answer":0,"right":"Correct. ff(x) = (x − 1)/x, then f of that is x.","wrong":"Not quite. Compose one step at a time."},{"level":"hard","question":"⌊x⌋ = 3 means…","options":["3 < x ≤ 4","3 ≤ x < 4","2 < x ≤ 3"],"answer":1,"right":"Correct. The floor is 3 on [3, 4).","wrong":"Not quite. Which x round down to 3?"},{"level":"hard","question":"Every function f(x) on R can be written as…","options":["an even part plus an odd part","a polynomial","a modulus"],"answer":0,"right":"Correct. f(x) = ½[f(x) + f(−x)] + ½[f(x) − f(−x)].","wrong":"Not quite. Add and subtract f(−x)."},{"level":"hard","question":"The domain of fg where f(x) = √x and g(x) = x − 4 is…","options":["x ≥ 4","x ≥ 0","x ≥ −4"],"answer":0,"right":"Correct. fg(x) = √(x − 4) needs x − 4 ≥ 0.","wrong":"Not quite. g(x) must be in the domain of f."},{"level":"hard","question":"If f is even and odd at the same time, then…","options":["f(x) = x","f(x) = 1","f(x) = 0 for all x"],"answer":2,"right":"Correct. f(x) = f(−x) = −f(x) ⇒ f(x) = 0.","wrong":"Not quite. Combine the two conditions."},{"level":"hard","question":"The number of solutions of |x| = x² is…","options":["2","1","3"],"answer":2,"right":"Correct. x = 0, 1, −1.","wrong":"Not quite. Solve for x ≥ 0 and x < 0."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Modulus","meaning":"The size of a number without its sign, |x|."},{"word":"Composite function","meaning":"fg(x) = f(g(x)): g first, then f."},{"word":"Even function","meaning":"f(−x) = f(x); symmetric about the y-axis."},{"word":"Odd function","meaning":"f(−x) = −f(x); symmetric about the origin."},{"word":"Piecewise function","meaning":"A function given by different formulas on different intervals."},{"word":"Floor function","meaning":"⌊x⌋, the greatest integer less than or equal to x."}]},{"type":"checklist","id":"check","title":"I can…","items":["draw and use the modulus function","form composite functions in the right order","decide whether a function is odd, even or neither"]},{"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.2)."]}],"slug":"types-of-functions"},"overlay":{"title":"ශ්‍රිත වර්ග: මාපාංක, සංයුක්ත, ඔත්තේ සහ ඉරට්ටේ","steps":[{"work":{"title":"මෙහෙම ලියන්න","lines":[null,null,{"note":"කවදාවත් සෘණ නැහැ"}]},"say":["|x| අර්ථ දක්වන්න ඔබන්න.","දකුණු භාගය: y = x.","වම් භාගය: y = −x.","V හැඩය."],"actions":[{"label":"ඊළඟ පියවර පෙන්වන්න"}],"eyebrow":"මාපාංක ශ්‍රිතය","title":"|x| කියන්නේ 0 සිට දුර","body":"මාපාංකය |x|, x ≥ 0 නම් x, x < 0 නම් −x; ඉතින් ඒක කවදාවත් සෘණ නැහැ. ඒකේ ප්‍රස්තාරය මූලයේ කොනක් තියෙන V එකක්."},{"work":{"title":"මෙහෙම ලියන්න","lines":[null,{"note":"මුලින් g"},{"note":"මුලින් f"},null,{"note":"පිළිවෙළ වැදගත්"}]},"say":["සංයුක්ත කරන්න ඔබන්න.","සරල ශ්‍රිත දෙකක්.","g(x), f ට දාන්න.","f(x), g ට දාන්න.","වෙනස් සංඛ්‍යා.","හැමදාම ඇතුළේ ඉඳන් එළියට වැඩ කරන්න."],"actions":[{"label":"ඊළඟ පියවර පෙන්වන්න"}],"eyebrow":"සංයුක්ත ශ්‍රිත","title":"එක ශ්‍රිතයකට පස්සේ තවත් එකක්","body":"fg(x) = f(g(x)) සංයුක්ත ශ්‍රිතය කියන්නේ මුලින් g, ඊට පස්සේ f. පිළිවෙළ වැදගත්: fg සහ gf සාමාන්‍යයෙන් වෙනස්."},{"ptitle":"x හි බල","note":"ඉරට්ටේ බල ඉරට්ටේ ශ්‍රිත (x², cos x); ඔත්තේ බල ඔත්තේ ශ්‍රිත (x, x³, sin x). x + 1 වගේ බොහෝ ශ්‍රිත දෙකම නෙවෙයි.","st":"කොළ සහ රතු ලක්ෂ්‍ය සසඳන්න.","eyebrow":"ඉරට්ටේ සහ ඔත්තේ","title":"ප්‍රස්තාරයක සමමිතිය","body":"f(−x) = f(x) නම් f ඉරට්ටේ: ප්‍රස්තාරය y අක්ෂය වටා සමමිතික. f(−x) = −f(x) නම් f ඔත්තේ: මූලය වටා භ්‍රමණ සමමිතිය. n වෙනස් කරලා xⁿ මේ දෙක අතර මාරු වෙන හැටි බලන්න."},{"work":{"title":"මෙහෙම ලියන්න","lines":[null,null,{"note":"පිරවූ තිත: ඇතුළත්"},{"note":"සන්තතික නැහැ"}]},"say":["පඩි කියවන්න ඔබන්න.","පහළට වටයන්න.","පහළ කියන්නේ −∞ දෙසට.","නිඛිලයක් වෙනස් වෙන්නේ නැහැ.","නිඛිලවලදී ප්‍රස්තාරය කැඩෙනවා."],"actions":[{"label":"ඊළඟ පියවර පෙන්වන්න"}],"eyebrow":"පියවර සහ කොටස් ශ්‍රිත","title":"කොටස්වලින් නීතියක්","body":"සමහර ශ්‍රිත වසමේ විවිධ කොටස්වල විවිධ සූත්‍ර පාවිච්චි කරනවා. නිඛිල කොටස් ශ්‍රිතය ⌊x⌋, x ට සමාන හෝ අඩු විශාලතම නිඛිලය දෙනවා; ඒකේ ප්‍රස්තාරය පඩිපෙළක්."},{"eyebrow":"ඔයාම බලන්න","title":"සංයුක්ත","body":"මුලින් g කරන්න.","question":"f(x) = 2x − 1, g(x) = x². fg(3) කීයද?","options":["17","25","11"],"right":"හරි. g(3) = 9, ඊට පස්සේ f(9) = 17.","wrong":"තව ටිකක් හිතන්න. 25 කියන්නේ gf(3). fg ට මුලින් වර්ග කරලා, දෙගුණ කරලා 1 අඩු කරන්න."}],"more":[{"eyebrow":"විස්තර","title":"ශ්‍රිත වර්ග විස්තරව","items":[{"tag":"මාපාංකය","title":"මාපාංකය සහිත ප්‍රස්තාර","body":"y = |f(x)|: y = f(x) අඳිලා, x අක්ෂයට පහළ තියෙන හැම කොටසක්ම උඩට පරාවර්තනය කරන්න.\nඋදාහරණය: y = |x − 2| කියන්නේ (2, 0) හි කොනක් තියෙන V එකක්.\nඒකකය 7 හි |x − 2| < 3 වගේ අසමානතාවලට මේක පාවිච්චි කරනවා."},{"tag":"වසම","title":"සංයුක්තයක් තියෙන්නේ කවදාද","body":"g හි පරාසය f හි වසම ඇතුළේ තියෙනවා නම් විතරයි fg තියෙන්නේ.\nf(x) = √x (x ≥ 0), g(x) = x − 5: fg(x) = √(x − 5) ට x ≥ 5 ඕන."},{"tag":"පරීක්ෂාව","title":"වීජ ගණිතයෙන් ඔත්තේ ඉරට්ටේ පරීක්ෂාව","body":"x වෙනුවට −x දාලා සරල කරන්න.\nf(x) = x⁴ − 3x²:  f(−x) = x⁴ − 3x² = f(x), ඉරට්ටේ.\ng(x) = x³ + x:  g(−x) = −x³ − x = −g(x), ඔත්තේ.\nh(x) = x² + x:  h(−x) = x² − x, දෙකම නෙවෙයි."}]},{"eyebrow":"විභාගෙදි ලකුණු නැති වෙන තැන්","title":"නිතර වෙන වැරදි","items":[{"tag":"නිතර වෙන වැරැද්ද","title":"වැරදි පිළිවෙළට සංයුක්ත කරනවා","body":"fg(x) කියන්නේ f(g(x)): x ට ළඟින්ම ලියපු ශ්‍රිතය මුලින්ම ක්‍රියා කරනවා."},{"tag":"නිතර වෙන වැරැද්ද","title":"හැම ශ්‍රිතයක්ම ඔත්තේ හෝ ඉරට්ටේ කියලා හිතනවා","body":"බොහෝ ශ්‍රිත දෙකම නෙවෙයි. f(−x) පරීක්ෂා කරන්න; ඒක f(x) වත් −f(x) වත් නෙවෙයි නම් එහෙම කියන්න."}]},{"eyebrow":"තව ඉස්සරහට","title":"ප්‍රශ්න 30ක්: පහසු, මධ්‍යම, අමාරු","questions":[{"question":"|5| + |−9| = ?","options":["14","4","−4"],"right":"හරි. හැම මාපාංකයක්ම දුරක්; ඉතින් ධනයි.","wrong":"තව ටිකක් හිතන්න. මුලින් හැම අගයක්ම ධන කරන්න."},{"question":"|−3| + |4| = ?","options":["1","−7","7"],"right":"හරි. හැම මාපාංකයක්ම දුරක්; ඉතින් ධනයි.","wrong":"තව ටිකක් හිතන්න. මුලින් හැම අගයක්ම ධන කරන්න."},{"question":"|2| + |−8| = ?","options":["6","10","−6"],"right":"හරි. හැම මාපාංකයක්ම දුරක්; ඉතින් ධනයි.","wrong":"තව ටිකක් හිතන්න. මුලින් හැම අගයක්ම ධන කරන්න."},{"question":"|−6| + |−1| = ?","options":["7","−7","5"],"right":"හරි. හැම මාපාංකයක්ම දුරක්; ඉතින් ධනයි.","wrong":"තව ටිකක් හිතන්න. මුලින් හැම අගයක්ම ධන කරන්න."},{"question":"|−12| = ?","options":["−12","12","1/12"],"right":"හරි. 0 සිට දුර.","wrong":"තව ටිකක් හිතන්න. මාපාංකය කවදාවත් සෘණ නැහැ."},{"question":"sin x…","options":["ඔත්තේ","ඉරට්ටේ","දෙකම නෙවෙයි"],"right":"හරි. sin(−x) = −sin x.","wrong":"තව ටිකක් හිතන්න. sin(−x), sin x සමඟ සසඳන්න."},{"question":"⌊3.7⌋ = ?","options":["4","3.7","3"],"right":"හරි. ⌊⌋ කියන්නේ 3.7 ≤ වන විශාලතම නිඛිලය.","wrong":"තව ටිකක් හිතන්න. පහළට වටයන්න."},{"question":"⌊−2.3⌋ = ?","options":["−2","−3","2"],"right":"හරි. −3 ≤ −2.3 < −2.","wrong":"තව ටිකක් හිතන්න. −∞ දෙසට පහළට වටයන්න."},{"question":"ඉරට්ටේ ශ්‍රිතයක් තෘප්ත කරන්නේ…","options":["f(−x) = −f(x)","f(x) = 0","f(−x) = f(x)"],"right":"හරි. ප්‍රස්තාරය y-අක්ෂය හරහා සමමිතික.","wrong":"තව ටිකක් හිතන්න. x² ගැන හිතන්න."},{"question":"cos x…","options":["ඉරට්ටේ","ඔත්තේ","දෙකම නෙවෙයි"],"right":"හරි. cos(−x) = cos x.","wrong":"තව ටිකක් හිතන්න. cos(−x), cos x සමඟ සසඳන්න."},{"question":"f(x) = x + 1, g(x) = x². gf(2) = ?","options":["5","14","9"],"right":"හරි. gf කියන්නේ g(f(x)): මුලින් f යොදන්න.","wrong":"තව ටිකක් හිතන්න. ඇතුළේ සිට එළියට යන්න."},{"question":"f(x) = 2x, g(x) = x − 3. gf(5) = ?","options":["4","7","11"],"right":"හරි. gf කියන්නේ g(f(x)): මුලින් f යොදන්න.","wrong":"තව ටිකක් හිතන්න. ඇතුළේ සිට එළියට යන්න."},{"question":"f(x) = x², g(x) = 3x. gf(1) = ?","options":["3","9","12"],"right":"හරි. gf කියන්නේ g(f(x)): මුලින් f යොදන්න.","wrong":"තව ටිකක් හිතන්න. ඇතුළේ සිට එළියට යන්න."},{"question":"f(x) = x⁴ + x²…","options":["ඔත්තේ","දෙකම නෙවෙයි","ඉරට්ටේ"],"right":"හරි. ඉරට්ටේ බල විතරයි.","wrong":"තව ටිකක් හිතන්න. x වෙනුවට −x දාන්න."},{"question":"f(x) = x³ + x…","options":["ඉරට්ටේ","දෙකම නෙවෙයි","ඔත්තේ"],"right":"හරි. f(−x) = −x³ − x = −f(x).","wrong":"තව ටිකක් හිතන්න. f(−x) බලන්න."},{"question":"f(x) = x² + x…","options":["දෙකම නෙවෙයි","ඉරට්ටේ","ඔත්තේ"],"right":"හරි. f(−x) = x² − x; f(x) හෝ −f(x) නෙවෙයි.","wrong":"තව ටිකක් හිතන්න. මිශ්‍ර බල."},{"question":"|x − 3| = 5 විසඳන්න.","options":["x = 8 හෝ x = −2","x = 8 විතරයි","x = 2 හෝ x = −8"],"right":"හරි. x − 3 = ±5.","wrong":"තව ටිකක් හිතන්න. 3 සිට දුර 5."},{"question":"f(x) = 2x + 1. ff(x) = ?","options":["4x + 1","4x + 3","(2x + 1)²"],"right":"හරි. 2(2x + 1) + 1.","wrong":"තව ටිකක් හිතන්න. f(x), f ට දාන්න."},{"question":"x = −4 ට f(x) = |x|…","options":["−4","0","4"],"right":"හරි. |−4| = 4.","wrong":"තව ටිකක් හිතන්න. 0 සිට දුර."},{"question":"ඔත්තේ ශ්‍රිතයක ප්‍රස්තාරය සමමිතික…","options":["y-අක්ෂය හරහා","මූලය වටා","y = x හරහා"],"right":"හරි. O වටා අර්ධ හැරීමක් එය තමාටම යවනවා.","wrong":"තව ටිකක් හිතන්න. x³ ගැන හිතන්න."},{"question":"f(x) = x², g(x) = x + 2. fg(x) = gf(x) විසඳන්න.","options":["x = −1/2","x = 0","x = 2"],"right":"හරි. (x + 2)² = x² + 2 ⇒ 4x + 4 = 2.","wrong":"තව ටිකක් හිතන්න. සංයුක්ත දෙකම ලියන්න."},{"question":"f(x) = |x| − |x − 2|. f(5) = ?","options":["8","2","−2"],"right":"හරි. 5 − 3 = 2.","wrong":"තව ටිකක් හිතන්න. හැම මාපාංකයක්ම අගය කරන්න."},{"question":"f ඔත්තේ සහ g ඉරට්ටේ නම් fg (ගුණිතය)…","options":["ඉරට්ටේ","දෙකම නෙවෙයි","ඔත්තේ"],"right":"හරි. f(−x)g(−x) = −f(x)g(x).","wrong":"තව ටිකක් හිතන්න. ඔත්තේ × ඉරට්ටේ බල වගේ."},{"question":"|2x − 1| = |x + 4| විසඳන්න.","options":["x = 5 විතරයි","x = 5 හෝ x = −1","x = −5 හෝ x = 1"],"right":"හරි. 2x − 1 = ±(x + 4).","wrong":"තව ටිකක් හිතන්න. සමාන මාපාංක: සමාන හෝ ප්‍රතිවිරුද්ධ."},{"question":"f(x) = 1/(1 − x). fff(x) = ? (x ≠ 0, 1)","options":["x","1/(1 − x)","(x − 1)/x"],"right":"හරි. ff(x) = (x − 1)/x; ඊට පස්සේ ඒකේ f, x.","wrong":"තව ටිකක් හිතන්න. එක පියවරක් බැගින් සංයුක්ත කරන්න."},{"question":"⌊x⌋ = 3 කියන්නේ…","options":["3 < x ≤ 4","3 ≤ x < 4","2 < x ≤ 3"],"right":"හරි. [3, 4) මත ⌊⌋ = 3.","wrong":"තව ටිකක් හිතන්න. 3 ට පහළට වටයන x මොනවාද?"},{"question":"R මත හැම f(x) ශ්‍රිතයක්ම ලියන්න පුළුවන්…","options":["ඉරට්ටේ කොටසක් සහ ඔත්තේ කොටසක්","බහුපදයක් ලෙස","මාපාංකයක් ලෙස"],"right":"හරි. f(x) = ½[f(x) + f(−x)] + ½[f(x) − f(−x)].","wrong":"තව ටිකක් හිතන්න. f(−x) එකතු කරලා අඩු කරන්න."},{"question":"f(x) = √x සහ g(x) = x − 4 විට fg හි වසම…","options":["x ≥ 4","x ≥ 0","x ≥ −4"],"right":"හරි. fg(x) = √(x − 4) ට x − 4 ≥ 0 ඕන.","wrong":"තව ටිකක් හිතන්න. g(x), f හි වසමේ විය යුතුයි."},{"question":"f එකවර ඉරට්ටේ සහ ඔත්තේ නම්…","options":["f(x) = x","f(x) = 1","හැම x ටම f(x) = 0"],"right":"හරි. f(x) = f(−x) = −f(x) ⇒ f(x) = 0.","wrong":"තව ටිකක් හිතන්න. කොන්දේසි දෙක එකතු කරන්න."},{"question":"|x| = x² හි විසඳුම් ගණන…","options":["2","1","3"],"right":"හරි. x = 0, 1, −1.","wrong":"තව ටිකක් හිතන්න. x ≥ 0 සහ x < 0 ට විසඳන්න."}]},{"title":"ප්‍රධාන වචන","items":[{"word":"මාපාංකය","meaning":"ලකුණ නැතුව සංඛ්‍යාවක විශාලත්වය, |x|."},{"word":"සංයුක්ත ශ්‍රිතය","meaning":"fg(x) = f(g(x)): මුලින් g, ඊට පස්සේ f."},{"word":"ඉරට්ටේ ශ්‍රිතය","meaning":"f(−x) = f(x); y අක්ෂය වටා සමමිතික."},{"word":"ඔත්තේ ශ්‍රිතය","meaning":"f(−x) = −f(x); මූලය වටා සමමිතික."},{"word":"කොටස් ශ්‍රිතය","meaning":"විවිධ ප්‍රාන්තරවල විවිධ සූත්‍රවලින් දෙන ශ්‍රිතයක්."},{"word":"නිඛිල කොටස් ශ්‍රිතය","meaning":"⌊x⌋, x ට සමාන හෝ අඩු විශාලතම නිඛිලය."}]},{"title":"මට පුළුවන්…","items":["මාපාංක ශ්‍රිතය අඳිලා පාවිච්චි කරන්න","නිවැරදි පිළිවෙළට සංයුක්ත ශ්‍රිත හදන්න","ශ්‍රිතයක් ඔත්තේද ඉරට්ටේද දෙකම නෙවෙයිද කියලා තීරණය කරන්න"]},{"title":"මූලාශ්‍ර"}]}}