// Numbas version: finer_feedback_settings {"name": "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": [{"functions": {}, "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", "progress": "ready", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

", "notes": "\n\t\t \t\t

2/08/2012:

\n\t\t \t\t

Added tags.

\n\t\t \t\t

Added description.

\n\t\t \t\t

Added decimal point to forbidden strings along with message to user re input of numbers.

\n\t\t \t\t

Added a Step and message about Show steps included - losing 1 mark if used as it gives the formula for finding the integral. Increased marks to 3 for the question, so that can cope with losing a mark for using Show steps.

\n\t\t \t\t

Changed accuracy setting to relative difference of 0.00001 as we have negative powers.

\n\t\t \t\t

Checked calculation. OK.

\n\t\t \t\t

Added message in prompt  about including the constant of integration.

\n\t\t \t\t

Noted issue with steps-answer order and the messages/marks generated.

\n\t\t \t\t

Changed numerator to the range 2..5.

\n\t\t \t\t

Improved display in Advice.

\n\t\t \t\t

 

\n\t\t \n\t\t"}, "name": "Julie's copy of Indefinite integral", "parts": [{"stepspenalty": 1.0, "gaps": [{"answer": "(-{b})/({a*(n-1)}*({a}*x+{d})^{n-1}) + C", "vsetrangepoints": 5.0, "checkingtype": "reldiff", "vsetrange": [0.0, 1.0], "marks": 3.0, "type": "jme", "notallowed": {"message": "

Input all numbers as integers or fractions and not decimals.

", "strings": ["."], "showstrings": false, "partialcredit": 0.0}, "answersimplification": "std", "checkingaccuracy": 0.0001}], "prompt": "\n\t\t\t

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

\n\t\t\t

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

\n\t\t\t

Click on Show steps to get help. You will lose 1 mark by doing so.

\n\t\t\t \n\t\t\t", "marks": 0.0, "type": "gapfill", "steps": [{"marks": 0.0, "type": "information", "prompt": "

 \\[\\int (ax+b)^n \\;dx = \\frac{1}{a(n+1)}(ax+b)^{n+1}+C\\]

"}]}], "extensions": [], "variables": {"d": {"name": "d", "definition": "random(1..9)"}, "b": {"name": "b", "definition": "random(2..5)"}, "a": {"name": "a", "definition": "random(2..9)"}, "n": {"name": "n", "definition": "random(3..5)"}}, "tags": ["Calculus", "Steps", "calculus", "constant of integration", "indefinite integration", "integrals", "integration", "integration by substitution", "standard integrals", "steps", "substitution"], "question_groups": [{"pickQuestions": 0, "pickingStrategy": "all-ordered", "name": "", "questions": []}], "type": "question", "variable_groups": [], "advice": "\n\t

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

\n\t

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

\n\t

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

\n\t

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

\n\t

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

\n\t \n\t", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"], "surdf": [{"pattern": "a/sqrt(b)", "result": "(sqrt(b)*a)/b"}]}, "showQuestionGroupNames": false, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}