// Numbas version: exam_results_page_options {"name": "Evan's copy of Differentiation: product and chain rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "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)$.

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "name": "Evan's copy of Differentiation: product and chain rule", "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}$.

", "functions": {}, "preamble": {"css": "", "js": ""}, "statement": "

Let $f(x)$ = {x/(x+1) - 3/2}/x+3. Complete the table and use your results to estimate the limit if it exists.

", "parts": [{"gaps": [{"checkingaccuracy": 0.001, "vsetrange": [0, 1], "showCorrectAnswer": true, "showFeedbackIcon": true, "checkvariablenames": false, "variableReplacements": [], "showpreview": true, "answer": "({((m * b) + (n * a))} + ({(n * b)} * x))", "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "checkingtype": "absdiff", "answersimplification": "all", "type": "jme", "vsetrangepoints": 5, "scripts": {}, "marks": "4"}], "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]]

", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "variableReplacements": [], "scripts": {}, "marks": 0, "variableReplacementStrategy": "originalfirst"}], "extensions": [], "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"m": {"group": "Ungrouped variables", "definition": "random(2..8)", "templateType": "anything", "name": "m", "description": ""}, "s1": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "name": "s1", "description": ""}, "b": {"group": "Ungrouped variables", "definition": "s1*random(1..5)", "templateType": "anything", "name": "b", "description": ""}, "a": {"group": "Ungrouped variables", "definition": "random(1..4)", "templateType": "anything", "name": "a", "description": ""}, "n": {"group": "Ungrouped variables", "definition": "random(2..6)", "templateType": "anything", "name": "n", "description": ""}}, "ungrouped_variables": ["a", "s1", "b", "m", "n"], "rulesets": {}, "type": "question", "contributors": [{"name": "Evan Berrett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2274/"}]}]}], "contributors": [{"name": "Evan Berrett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2274/"}]}