{"base":{"id":"m11-05","subject":"Algebra","title":"Functions: notation, composite and inverse ★","scene":"mix","steps":[{"use":"m11","mode":"func","eyebrow":"Function notation","title":"f(x)","body":"★ Higher level. f(x) = 2x + 1 means \"double, then add 1\". Change the input.","controls":[{"id":"x","label":"x","min":-5,"max":5,"step":1,"value":3}],"actions":[{"id":"f","label":"f(x)"},{"id":"g","label":"g(x)"}]},{"use":"m11","mode":"func","eyebrow":"Composite functions","title":"fg(x)","body":"fg(x) means apply g first, then f.","controls":[{"id":"x","label":"x","min":-5,"max":5,"step":1,"value":3}],"actions":[{"id":"fg","label":"fg(x)"}]},{"use":"m11","mode":"func","eyebrow":"Inverse functions","title":"f⁻¹(x)","body":"The inverse undoes the function.","controls":[{"id":"x","label":"x","min":-5,"max":5,"step":1,"value":3}],"actions":[{"id":"inv","label":"f⁻¹(x)"}]},{"use":"alg9","mode":"machine","eyebrow":"Function machines","title":"Input, rule, output","body":"Build and test linear functions.","controls":[{"id":"x","label":"x","min":-5,"max":10,"step":1,"value":4},{"id":"m","label":"Multiply by","min":1,"max":5,"step":1,"value":3},{"id":"c","label":"Add","min":-5,"max":5,"step":1,"value":2}]},{"use":"m11","mode":"quiz","look":"func","eyebrow":"Check yourself","title":"Composite","body":"f(x) = 2x + 1 and g(x) = x². Find gf(2).","question":"Choose one.","options":["9","25","17"],"answer":1,"right":"Correct: f(2) = 5, g(5) = 25.","wrong":"Not quite."}],"more":[{"type":"cards","id":"worked","eyebrow":"Worked examples","title":"Step by step","items":[{"tag":"Evaluate","title":"f(x) = 3x − 2, f(4)","body":"10","code":true},{"tag":"Composite","title":"f(x) = x + 3, g(x) = 2x; fg(x)","body":"f(2x) = 2x + 3","code":true},{"tag":"Inverse","title":"f(x) = (x + 4)/3","body":"y = (x + 4)/3 → x = 3y − 4 → f⁻¹(x) = 3x − 4","code":true},{"tag":"Solve","title":"f(x) = 2x − 1 = 9","body":"x = 5","code":true}]},{"type":"cards","id":"mistakes","eyebrow":"Common mistakes","title":"Watch out for these","items":[{"tag":"Mistake","title":"Doing fg in the wrong order","body":"fg(x) = f(g(x)): g first."},{"tag":"Mistake","title":"Thinking f⁻¹(x) = 1/f(x)","body":"The inverse undoes f; it is not a reciprocal."},{"tag":"Mistake","title":"Multiplying f and g","body":"fg means composition, not f × g."}]},{"type":"cards","id":"method","eyebrow":"Set out your answer","title":"Finding an inverse","items":[{"tag":"1","title":"Inverse","body":"Write y = f(x)."},{"tag":"2","title":"Swap roles","body":"Make x the subject."},{"tag":"3","title":"Rename","body":"Replace y with x."},{"tag":"4","title":"Check","body":"f(f⁻¹(x)) = x."}]},{"type":"cards","id":"deeper","eyebrow":"Go deeper","title":"More than the lesson","items":[{"tag":"Computing","title":"Functions in code","body":"Programmers write functions that take inputs and return outputs, just like f(x). Composing functions is how big programs are built."},{"tag":"Science","title":"Conversions","body":"Celsius to Fahrenheit, F = 1.8C + 32, has inverse C = (F − 32)/1.8."}]},{"type":"cards","id":"challenge","eyebrow":"Challenge yourself","title":"Stretch your brain","intro":"Try each one on paper before opening the card.","items":[{"tag":"Challenge","title":"Inverse","body":"Find the inverse of f(x) = 5 − 2x.\n\nAnswer: f⁻¹(x) = (5 − x)/2."},{"tag":"Challenge","title":"Solve","body":"f(x) = x², g(x) = x + 1. Solve fg(x) = gf(x).\n\nAnswer: (x + 1)² = x² + 1 → 2x = 0 → x = 0."}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Try it yourself","items":[{"title":"Guess my rule","time":"10 minutes","need":["A partner"],"steps":["One person thinks of a rule like 3x − 1.","The other gives inputs and works out the rule from outputs.","Then find the inverse rule."],"why":"Identifying functions from inputs and outputs builds intuition.","safety":"None."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Eight more questions","questions":[{"question":"f(x) = x² + 1. f(3) =","options":["7","9","10"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"fg(x) means…","options":["f(g(x))","g(f(x))","f(x) × g(x)"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"f(x) = x + 5. f⁻¹(x) =","options":["1/(x + 5)","x − 5","5 − x"],"answer":1,"right":"Correct.","wrong":"Not quite."},{"question":"f(x) = 2x. ff(3) =","options":["6","9","12"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"f(x) = 4x − 3. Solve f(x) = 13:","options":["x = 4","x = 2.5","x = 49"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"f(x) = 2x, g(x) = x − 1. gf(4) =","options":["6","7","8"],"answer":1,"right":"Correct.","wrong":"Not quite."},{"question":"f(f⁻¹(x)) =","options":["1","0","x"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"Inverse of f(x) = x/3:","options":["3x","x − 3","1/(3x)"],"answer":0,"right":"Correct.","wrong":"Not quite."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can…","items":["use function notation","evaluate composite functions","find inverse functions","solve equations involving functions"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"Function","meaning":"A rule that gives one output for each input."},{"word":"Composite function","meaning":"One function applied after another."},{"word":"Inverse function","meaning":"A function that undoes another."},{"word":"Domain","meaning":"The set of allowed inputs."}]},{"type":"sources","id":"sources","title":"Sources","items":["OpenStax College Algebra 2e, chapter 3","NRICH: functions","Khan Academy: composite and inverse functions","BBC Bitesize: functions"]}]},"overlay":null}