// Numbas version: exam_results_page_options {"name": "Luis's copy of Integration: Indefinite integral by substitution", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["Calculus", "calculus", "checked2015", "indefinite integration", "integration", "integration by substitution", "MAS1601", "mas1601", "Steps", "steps", "substitution"], "statement": "

Find the following integral.

\n

Input the constant of integration as $C$.

", "name": "Luis's copy of Integration: Indefinite integral by substitution", "metadata": {"notes": "

2/08/2012:

\n

Added tags.

\n

Added description.

\n

Checked calculation. OK.

\n

Added information about Show steps in prompt content area. 

\n

Added decimal point as forbidden string and included message in prompt about not entering decimals.

\n

Got rid of a redundant ruleset.

\n

 

\n

 

", "licence": "Creative Commons Attribution 4.0 International", "description": "

Find $\\displaystyle \\int x(a x ^ 2 + b)^{m}\\;dx$

"}, "ungrouped_variables": ["a", "s1", "b", "m"], "parts": [{"prompt": "

\\[I=\\simplify[std]{Int( x*({a} * x ^ 2 + {b})^{m},x)}\\]

\n

$I=\\;$[[0]]

\n

Input numbers in your answer as integers or fractions and not as decimals.

\n

Click on Show steps to get further help. You will lose 1 mark if you do so.

", "type": "gapfill", "marks": 0, "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "showCorrectAnswer": true, "answer": "({a} * (x ^ 2) + {b})^{m+1}/{2*a*(m+1)}+C", "vsetrange": [0, 1], "answersimplification": "std", "expectedvariablenames": [], "vsetrangepoints": 5, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "notallowed": {"partialCredit": 0, "message": "

Input all numbers as integers or fractions and not as decimals.

", "showStrings": false, "strings": ["."]}, "marks": 3, "checkingaccuracy": 0.001, "showpreview": true}], "stepsPenalty": 1, "scripts": {}, "steps": [{"prompt": "

Try the substitution $u=\\simplify[std]{{a} * (x ^ 2) + {b}}$

", "type": "information", "marks": 0, "scripts": {}, "showCorrectAnswer": true}]}], "variables": {"s1": {"definition": "random(1,-1)", "name": "s1", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "m": {"definition": "random(4..9)", "name": "m", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "s1*random(1..9)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(1..5)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "advice": "\n \n \n

This exercise is best solved by using substitution.
Note that if we let $u=\\simplify[std]{{a} * (x ^ 2) + {b}}$ then $du=\\simplify[std]{({2*a} * x)*dx }$
Hence we can replace $xdx$ by $\\frac{1}{\\var{2*a}}du$.

\n \n \n \n

Hence the integral becomes:

\n \n \n \n

\\[\\begin{eqnarray*} I&=&\\simplify[std]{Int((1/{2*a})u^{m},u)}\\\\\n \n &=&\\simplify[std]{(1/{2*a})u^{m+1}/{m+1}+C}\\\\\n \n &=& \\simplify[std]{({a} * (x ^ 2) + {b})^{m+1}/{2*a*(m+1)}+C}\n \n \\end{eqnarray*}\\]

\n \n \n \n

A Useful Result
This example can be generalised.
Suppose \\[I = \\int\\; f'(x)g(f(x))\\;dx\\]
The using the substitution $u=f(x)$ we find that $du=f'(x)\\;dx$ and so using the same method as above:
\\[I = \\int g(u)\\;du \\]
And if we can find this simpler integral in terms of $u$ we can replace $u$ by $f(x)$ and get the result in terms of $x$.

\n \n ", "showQuestionGroupNames": false, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}