// Numbas version: exam_results_page_options {"name": "Simon's copy of Julie's copy of Indefinite integral", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "expectedVariableNames": [], "showPreview": true, "vsetRange": [0, 1], "marks": 3, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "answer": "(-{b})/({a*(n-1)}*({a}*x+{d})^{n-1}) + C", "checkVariableNames": false, "type": "jme", "checkingAccuracy": 0.0001, "failureRate": 1, "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "answerSimplification": "std", "notallowed": {"strings": ["."], "partialCredit": 0, "showStrings": false, "message": "

Input all numbers as integers or fractions and not decimals.

"}, "checkingType": "reldiff", "customMarkingAlgorithm": "", "unitTests": []}], "marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "prompt": "

$\\displaystyle \\int \\simplify[std]{{b}/(({a}*x+{d})^{n})} dx= \\phantom{{}}$[[0]]

\n

Input all numbers as integers or fractions and not decimals. Remember to include the constant of integration $C$.

\n

", "scripts": {}, "showFeedbackIcon": true, "sortAnswers": false, "showCorrectAnswer": true, "type": "gapfill", "customMarkingAlgorithm": "", "unitTests": []}], "advice": "

Let $u = \\simplify[std]{{a}*x+{d}}$. Then,
\\[\\simplify[std]{{b}/(({a}*x+{d})^{n})} = \\simplify[std]{{b}/(u^{n})}.\\]

\n

Now,
\\[\\int \\simplify[std]{{b}/({a}*x+{d})^{n}} dx = \\int \\simplify[std]{{b}/(u^{n})} \\frac{dx}{du} du.\\]

\n

Rearrange $u = \\simplify[std]{{a}x+{d}}$ to get $\\displaystyle x = \\simplify[std]{(u-{b})/{a}}$, and hence $\\displaystyle\\frac{dx}{du} = \\frac{1}{\\var{a}}$.

\n

$\\displaystyle \\int \\frac{1}{u^n} du = -\\frac{1}{(n-1)u^{n-1}} + C$ is a standard integral, so we can now calculate the desired integral:

\n

\\[\\int \\simplify[std]{{b}/(u^{n})} \\frac{dx}{du} du = \\simplify[std]{{b}/({n-1}*u^{n-1})} \\cdot \\frac{1}{\\var{a}} + C = \\simplify[std]{(-{b})/({a*(n-1)}*({a}*x+{d})^{n-1}) + C}.\\]

", "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "\n\t \n\t \n\t

Find the following indefinite integral.

\n\t \n\t \n\t \n\t

Input the constant of integration as $C$.

\n\t \n\t \n\t \n\t", "preamble": {"js": "", "css": ""}, "variable_groups": [], "metadata": {"description": "

Find $\\displaystyle \\int \\frac{a}{(bx+c)^n}\\;dx$

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"b": {"group": "Ungrouped variables", "description": "", "definition": "random(2..5)", "templateType": "anything", "name": "b"}, "n": {"group": "Ungrouped variables", "description": "", "definition": "random(3..5)", "templateType": "anything", "name": "n"}, "a": {"group": "Ungrouped variables", "description": "", "definition": "random(2..9)", "templateType": "anything", "name": "a"}, "d": {"group": "Ungrouped variables", "description": "", "definition": "random(1..9)", "templateType": "anything", "name": "d"}}, "tags": [], "name": "Simon's copy of Julie's copy of Indefinite integral", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"], "surdf": [{"result": "(sqrt(b)*a)/b", "pattern": "a/sqrt(b)"}]}, "functions": {}, "ungrouped_variables": ["b", "n", "a", "d"], "extensions": [], "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}