// Numbas version: exam_results_page_options {"name": "Jo-Ann's copy of Integration by parts - logarithm", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "advice": "
\\[ \\int u\\frac{dv}{dx} dx = uv - \\int v \\frac{du}{dx} dx. \\]
\nWe choose $u = \\simplify[std]{ln{c}x}$ and $\\displaystyle \\frac{dv}{dx} = \\simplify[std]{{a}x}$.
\nSo $\\displaystyle \\frac{du}{dx} = \\simplify[std]{1/x}$ and $\\displaystyle v = \\simplify[std]{({a}x^2/2)}$.
\nHence,
\\[ \\begin{eqnarray} \\int \\simplify[std]{({a}*x)*ln({c}*x)} dx &=& uv - \\int v \\frac{du}{dx} dx \\\\ &=& \\simplify[std]{(({a}*x^2)/2)*ln({c}*x) - Int(({a}*x/2),x)} \\\\ &=& \\simplify[std]{(({a}x^2)/2)*ln({c}*x) -({a}x^2/4) + C} \\end{eqnarray} \\]
$I=\\displaystyle \\int \\simplify[std]{({a}x)*ln({c}x)} dx $
\nThe formula for integration by parts is
\n\\[ \\int u\\frac{dv}{dx} dx = uv - \\int v \\frac{du}{dx} dx. \\]
\nWhat is the most suitable choice for $u$ and $\\frac{dv}{dx}$?
\n$u =\\;$[[0]]
\n$\\frac{dv}{dx} =\\;$[[1]]
\n", "showCorrectAnswer": true}, {"scripts": {}, "unitTests": [], "marks": 0, "gaps": [{"checkingAccuracy": 0.001, "expectedVariableNames": [], "checkVariableNames": false, "scripts": {}, "showPreview": true, "vsetRangePoints": 5, "unitTests": [], "marks": 1, "failureRate": 1, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "answer": "1/x", "variableReplacements": [], "type": "jme", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkingType": "absdiff", "showCorrectAnswer": true}, {"checkingAccuracy": 0.001, "expectedVariableNames": [], "checkVariableNames": false, "scripts": {}, "showPreview": true, "vsetRangePoints": 5, "unitTests": [], "marks": 1, "failureRate": 1, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "answer": "{a}x^2/2", "variableReplacements": [], "type": "jme", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkingType": "absdiff", "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "prompt": "Hence find:
\n$\\frac{du}{dx} =\\;$[[0]]
\n$v =\\;$[[1]]
", "showCorrectAnswer": true}, {"scripts": {}, "unitTests": [], "marks": 0, "gaps": [{"checkingAccuracy": 0.001, "expectedVariableNames": [], "checkVariableNames": false, "scripts": {}, "showPreview": true, "vsetRangePoints": 5, "unitTests": [], "marks": 1, "failureRate": 1, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "answer": "{a}x^2/2ln({c}x)", "variableReplacements": [], "type": "jme", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkingType": "absdiff", "showCorrectAnswer": true}, {"checkingAccuracy": 0.001, "expectedVariableNames": [], "checkVariableNames": false, "scripts": {}, "showPreview": true, "vsetRangePoints": 5, "unitTests": [], "marks": 1, "failureRate": 1, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "answer": "{a}x^2/4", "variableReplacements": [], "type": "jme", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "checkingType": "absdiff", "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "prompt": "Hence find:
\n$uv =\\;$[[0]]
\n$\\int v\\frac{du}{dx}\\mathrm{d}x = \\;$[[1]]$+C$
", "showCorrectAnswer": true}, {"scripts": {}, "unitTests": [], "marks": 0, "gaps": [{"checkingAccuracy": 0.001, "expectedVariableNames": [], "checkVariableNames": false, "scripts": {}, "showPreview": true, "vsetRangePoints": 5, "unitTests": [], "marks": "2", "failureRate": 1, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "answer": "{a}x^2/2ln({c}x)-{a}x^2/4", "notallowed": {"message": "Do not input numbers as decimals, only as integers without the decimal point, or fractions
", "showStrings": false, "strings": ["."], "partialCredit": 0}, "variableReplacements": [], "type": "jme", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "answerSimplification": "std", "showFeedbackIcon": true, "checkingType": "absdiff", "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "prompt": "Use the results from above to find:
\n$I=\\displaystyle \\int \\simplify[std]{({a}x)*ln({c}x)} dx = uv - \\int v \\frac{du}{dx} dx = \\;$[[0]]$+C$
\nInput all numbers as fractions or integers and not decimals.
", "showCorrectAnswer": true}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Find the following indefinite integral.
\nThis question is scaffolded - i.e. it takes you through answering the question step by step.
\nInput all numbers as fractions or integers and not decimals.
\nDon't forget $C$!
", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "tags": [], "name": "Jo-Ann's copy of Integration by parts - logarithm", "metadata": {"description": "Find $\\displaystyle \\int (ax)\\ln(cx)\\; dx $
", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "ungrouped_variables": ["a", "c", "b", "d", "s2", "s1"], "type": "question", "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}, {"name": "Jo-Ann Lyons", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2630/"}]}]}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}, {"name": "Jo-Ann Lyons", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2630/"}]}