// Numbas version: exam_results_page_options {"name": "Differentiation: product and chain rule, (a+bx)^m e^(nx), factorise answer [L8 Randomised]", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"m": {"definition": "random(2..8)", "name": "m", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "n": {"definition": "random(2..6)", "name": "n", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"definition": "random(1..4)", "name": "a", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "s1": {"definition": "random(1,-1)", "name": "s1", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"definition": "s1*random(1..5)", "name": "b", "description": "", "templateType": "anything", "group": "Ungrouped variables"}}, "extensions": [], "rulesets": {}, "variable_groups": [], "parts": [{"showCorrectAnswer": true, "unitTests": [], "marks": 0, "gaps": [{"checkVariableNames": false, "showCorrectAnswer": true, "vsetRangePoints": 5, "answerSimplification": "all", "showFeedbackIcon": true, "unitTests": [], "showPreview": true, "marks": "4", "vsetRange": [0, 1], "scripts": {}, "variableReplacements": [], "customMarkingAlgorithm": "", "checkingType": "absdiff", "extendBaseMarkingAlgorithm": true, "failureRate": 1, "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "answer": "({((m * b) + (n * a))} + ({(n * b)} * x))", "expectedVariableNames": [], "type": "jme"}], "scripts": {}, "variableReplacements": [], "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "prompt": "

$\\simplify{f(x) = ({a} + {b} * x) ^ {m} * e ^ ({n} * x)}$

\n

You are told that $\\simplify{Diff(f,x,1) = ({a} + {b} * x) ^ {m -1} * e ^ ({n} * x) * g(x)}$, for a polynomial $g(x)$.

\n

\n

You have to find $g(x)$.

\n

$g(x)=\\;$[[0]]

", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill"}], "advice": "

\n

$f(x)$ is the product of the two functions $\\simplify{({a} + {b}*x)^{m}}$ and $\\simplify{e ^ ({n} * x)}$, so we need to use the product rule.

\n

\n

Differentiating the first part, keeping the second half the same, gives the term: $\\simplify{{m} *{ b} * ({a} + {b} * x) ^ {m -1}} \\times \\simplify{e ^ ({n} * x)}$.  

\n

Note that that we needed the chain rule to do this differentiation.

\n

\n

\n

Differentiating the second part, keeping the first half the same, gives the term: $\\simplify{{n} * e ^ ({n} * x)} \\times \\simplify{({a} + {b}x)^{m}}$.

\n

Again, we needed the chain rule to do this differentiation.

\n

\n

Hence, $\\simplify{Diff(f,x,1) = {m * b} * ({a} + {b} * x) ^ {m -1} * e ^ ({n} * x) + {n} * ({a} + {b} * x) ^ {m} * e ^ ({n} * x)}$.

\n

           $= \\simplify{({a} + {b} * x) ^ {m -1} * ({m * b + n * a} + {n * b} * x) * e ^ ({n} * x)}$, (by doing some factorising)

\n

\n

Hence, $\\simplify{g(x) = {m * b + n * a} + {n * b} * x}$.

", "tags": ["L8", "l8"], "preamble": {"css": "", "js": ""}, "metadata": {"description": "

Differentiate the function $f(x)=(a + b x)^m  e ^ {n x}$ using the product and chain rule. Find $g(x)$ such that $f^{\\prime}(x)= (a + b x)^{m-1}  e ^ {n x}g(x)$. Non-calculator. Advice is given.

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["a", "s1", "b", "m", "n"], "statement": "

Differentiate the following function $f(x)$.

", "name": "Differentiation: product and chain rule, (a+bx)^m e^(nx), factorise answer [L8 Randomised]", "functions": {}, "type": "question", "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}, {"name": "Vicki Fracarossi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2477/"}, {"name": "Praneetha Singh", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2552/"}, {"name": "Matthew James Sykes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2582/"}]}]}], "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}, {"name": "Vicki Fracarossi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2477/"}, {"name": "Praneetha Singh", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2552/"}, {"name": "Matthew James Sykes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2582/"}]}