// Numbas version: exam_results_page_options {"name": "Maria's copy of Evaluate a limit", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "variables": {"b": {"name": "b", "description": "", "templateType": "randrange", "group": "Ungrouped variables", "definition": "random(6..15#1)"}, "a": {"name": "a", "description": "", "templateType": "randrange", "group": "Ungrouped variables", "definition": "random(1..8#1)"}}, "name": "Maria's copy of Evaluate a limit", "advice": "

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{x-\\var{a}}{x^2-\\simplify{{a}+{b}}x+\\simplify{{a}*{b}}}\\)

\n

We can factorise the denominator

\n

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{x-\\var{a}}{(x-\\var{a})(x-\\var{b})}\\)

\n

Cancel out the common factor

\n

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{1}{x-\\var{b}}\\)

\n

Insert the value \\(\\var{a}\\) in for \\(x\\) to evaluate the limit

\n

\\(-\\frac{1}{\\simplify{{b}-{a}}}\\)

\n

", "functions": {}, "ungrouped_variables": ["a", "b"], "tags": [], "metadata": {"description": "

Evaluate a limit

", "licence": "Creative Commons Attribution 4.0 International"}, "extensions": [], "statement": "

Evaluate the following limit

\n

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{x-\\var{a}}{x^2-\\simplify{{a}+{b}}x+\\simplify{{a}*{b}}}\\)

\n
", "variablesTest": {"maxRuns": 100, "condition": "aInput your answer as a fraction.

"}], "preamble": {"css": "", "js": ""}, "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}