// Numbas version: exam_results_page_options {"name": "Ida Friestad's copy of Finding limits by substitution, ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "c", "b", "ans1", "ans2", "a1", "a2", "b1", "b2", "b3", "c3", "c2", "c1", "d1"], "name": "Ida Friestad's copy of Finding limits by substitution, ", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

1. To find this limit we simply substitute $x=\\var{a}$ into $\\simplify[std]{{b}x+{c}}$ to get  \\[\\lim_{x \\to \\var{a}}(\\simplify[std]{{b}x+{c}})=\\simplify[]{{b}*{a}+{c}={ans1}}\\]

\n

2. Similarly to find this limit we simply substitute $x=\\var{a1}$ into $\\simplify[std]{{b1}x^2+{c1}x+{d1}}$ to get  \\[\\lim_{x \\to \\var{a1}}(\\simplify[std]{{b1}x^2+{c1}x+{d1}}) =\\simplify[]{{b1}*{a1}^2+{c1}*{a1}+{d1}={ans2}}\\]

\n

3. Once again we could simply substitute $x=\\var{a2}$ into $\\displaystyle \\simplify[std]{({b2}x+{c2})/({b3}x+{c3})}$. However before doing this we must make sure that the denominator is not $0$ as otherwise we have a problem and the limit may not exist.

\n

But $\\simplify[]{{b3}*{a2}+{c3}={b3*a2+c3} }\\neq 0$ and so we can make the substitution safely.

\n

So   \\[\\lim_{x \\to \\var{a2}}\\left(\\simplify[std]{({b2}x+{c2})/({b3}x+{c3})}\\right)=\\simplify[]{({b2}*{a2}+{c2})/({b3}*{a2}+{c3})}=\\simplify[all,fractionNumbers]{{b2*a2+c2}/{b3*a2+c3}}\\]

", "rulesets": {"std": ["all", "!noleadingMinus", "fractionNumbers", "!collectNumbers"]}, "parts": [{"prompt": "

1. Find \\[\\lim_{x \\to \\var{a}}(\\simplify[std]{{b}x+{c}})\\]

\n

Limit = [[0]].

\n

2.Find \\[\\lim_{x \\to \\var{a1}}(\\simplify[std]{{b1}x^2+{c1}x+{d1}})\\]

\n

Limit = [[1]]. 

\n

3. Find \\[\\lim_{x \\to \\var{a2}}\\left(\\simplify[std]{({b2}x+{c2})/({b3}x+{c3})}\\right)\\]

\n

Limit = [[2]]

\n

Enter all numbers as either integers or fractions but not as decimals.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "ans1", "minValue": "ans1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "ans2", "minValue": "ans2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"notallowed": {"message": "

Enter all numbers as either integers or fractions but not as decimals.

", "showStrings": false, "strings": ["."], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{b2*a2+c2}/{b3*a2+c3}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Find the following limits.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "ans1": {"definition": "b*a+c", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "b1*a1^2+c1*a1+d1", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "a1": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a2": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "b1": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "c3": {"definition": "random(-9..9 except [0,-b3*a2,round(c2*b3/b2)])", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "c2": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "description": ""}, "c1": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "d1": {"definition": "random(-9..9 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "d1", "description": ""}}, "metadata": {"description": "

Using simple substitution to find $\\lim_{x \\to a} bx+c$, $\\lim_{x \\to a} bx^2+cx+d$ and $\\displaystyle \\lim_{x \\to a} \\frac{bx+c}{dx+f}$ where $d\\times a+f \\neq 0$.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Ida Friestad Pedersen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/792/"}]}]}], "contributors": [{"name": "Ida Friestad Pedersen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/792/"}]}