// Numbas version: exam_results_page_options {"name": "Integration: By Parts 2a", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Integration: By Parts 2a", "tags": [], "metadata": {"description": "
Calculating the integral of a function of the form $ax e^{bx}$ using integration by parts.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "Calculate the integral \\[ \\simplify{int({a}x e^({b}x),x)}\\]
", "advice": "If we have a function of $x$ which is the product of two functions of $x$, to integrate such a function it is often necessary to use Integration by Parts. The formula for Integration by Parts is:
\n\\[ \\int u(x) \\frac{dv}{dx} dx = u(x)v(x) - \\int v(x) \\frac{du}{dx} dx.\\]
\nUsing this method can be broken down into steps:
\nFor the integral
\n\\[ \\simplify{int({a}x e^({b}x),x)},\\]
\nwe must first identify $u(x)$ and $\\tfrac{dv}{dx}$. In this case, let \\[ u(x)=\\simplify{{a}x},\\quad \\frac{dv}{dx}= \\simplify{e^({b}x)}. \\]
\nNext, we need to calculate $\\tfrac{du}{dx}$ and $v(x)$:
\n\\[ \\begin{split} u(x) = \\var{a}x \\quad &\\implies \\frac{du}{dx} = \\var{a}; \\\\ \\frac{dv}{dx} = \\simplify{e^({b}x)} &\\implies v(x) = \\simplify[fractionNumbers]{1/{b} e^({b}x)}. \\end{split} \\]
\nPlugging these 4 terms into the integration by parts formula:
\n\\[ \\begin{split} \\simplify{int({a}x e^({b}x),x)} &\\,= \\simplify[fractionNumbers]{{a/b}x e^({b}x) - int({a/b}e^({b}x),x)}, \\\\ \\\\ &\\,= \\simplify[fractionNumbers]{{a/b}x e^({b}x) - {a/b^2}e^({b}x)} + c. \\end{split} \\]
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..7)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(3..7)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "gcd(a,b)=1 and b>a", "maxRuns": 100}, "ungrouped_variables": ["a", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "[[0]]
", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Gap 0", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a/b}x e^({b}x)-{a/b^2}e^({b}x)+c", "answerSimplification": "fractionNumbers, basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "c", "value": ""}, {"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}