// Numbas version: exam_results_page_options {"name": "Integration 3 - Substitution", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "ungrouped_variables": ["c", "p"], "advice": "
If you do not understand how to begin these questions, please see 'Integration 1 - Substitution'.
\nThe difference with these questions is that you must rearrange the $u=$ equation for $x$ and put this in after the $dx$ substitution as it does not nicely cancel as it did before.
\nOnce you have done this, it should be clear that you then multiply through the brackets and integrate the two remaining terms with respect to $u$.
\nRemember to replace the '$u$'s at the end.
", "metadata": {"description": "Solving integration by substitution and rearranging $u$ for $x$
", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "Use $u=\\simplify{{c[1]}x+{c[2]}}$ as your substitution.
\n$\\simplify{Int({c[0]}x*({c[1]}x+{c[2]})^{p[0]},x)}$
\n$=\\int$ [[1]] $du$
\n$=$ [[0]]
", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "2", "checkVariableNames": true, "valuegenerators": [{"value": "", "name": "x"}], "customName": "", "answer": "({c[0]}/{c[1]}^2)*(1/({p[0]}+2)*({c[1]}x+{c[2]})^({p[0]}+2)-{c[2]}/({p[0]}+1)*({c[1]}x+{c[2]})^({p[0]}+1))", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all, simplifyFractions, otherNumbers"}, {"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "2", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "u"}], "customName": "", "answer": "({c[0]}/{c[1]}^2)(u-{c[2]})(u^{p[0]})", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}, {"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "Use $u=\\simplify{{c[4]}x+{c[5]}}$ as your substitution.
\n$\\simplify{Int({c[3]}x*({c[4]}x+{c[5]})^{p[1]},x)}$
\n$=\\int$ [[1]] $du$
\n$=$ [[0]]
", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "2", "checkVariableNames": true, "valuegenerators": [{"value": "", "name": "x"}], "customName": "", "answer": "({c[3]}/{c[4]}^2)*(1/({p[1]}+2)*({c[4]}x+{c[5]})^({p[1]}+2)-{c[5]}/({p[1]}+1)*({c[4]}x+{c[5]})^({p[1]}+1))", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}, {"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "2", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "u"}], "customName": "", "answer": "({c[3]}/{c[4]}^2)(u-{c[5]})(u^{p[1]})", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}], "tags": [], "statement": "Integrate the following by substitution.
\nYou may assume the constant of integration is zero for the purposes of these questions.
", "variables": {"p": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(2..5),5)", "name": "p"}, "c": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(-5..5 except 0 except 1 except -1),9)", "name": "c"}}, "rulesets": {}, "functions": {}, "extensions": [], "name": "Integration 3 - Substitution", "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}