// Numbas version: exam_results_page_options {"name": "Differentiation: Using a Table of Derivatives 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Differentiation: Using a Table of Derivatives 2", "tags": [], "metadata": {"description": "

Find the derivative of a function of the form $y=a_1x^{b_1}+a_2x^{b_2}+a_3x^{b_3}$ using a table of derivatives.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Using the Table of Derivatives, calculate the derivative of $y=\\simplify[unitFactor, fractionNumbers]{{a_1}*x^{b_1}+{a_2}*x^{b_2}+{a_3}*x^{b_3}}$.

\n

\n

", "advice": "

From the Table of Derivatives we see that a function of the form \\[ f(x)=kx^n \\] has a derivative \\[ \\frac{df}{dx} = knx^{n-1}. \\]

\n

Additionally, the derivative of the sum or difference of two or more functions is equal to the sum or difference of the derivatives of each function: \\[ \\frac{d}{dx}(f(x)\\pm g(x)) = \\frac{df}{dx} \\pm \\frac{dg}{dx}.\\]

\n

{advice}

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a_1": {"name": "a_1", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "b_1": {"name": "b_1", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "a_2": {"name": "a_2", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b_2": {"name": "b_2", "group": "Ungrouped variables", "definition": "random(1..10 except b_1)", "description": "", "templateType": "anything", "can_override": false}, "b_3": {"name": "b_3", "group": "Ungrouped variables", "definition": "random(1..10 except [b_1,b_2])", "description": "", "templateType": "anything", "can_override": false}, "a_3": {"name": "a_3", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything", "can_override": false}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "if(a_2>0 and a_3>0,'{solutiona}',{advice2})", "description": "", "templateType": "anything", "can_override": false}, "solutiona": {"name": "solutiona", "group": "Ungrouped variables", "definition": "\"

So, for the function \\\\[y=\\\\simplify[all, fractionNumbers]{{a_1}x^{b_1}+{a_2}x^{b_2}+{a_3}x^{b_3}} \\\\] the derivative  is \\\\begin{split}\\\\frac{dy}{dx} &= (\\\\var[fractionNumbers]{a_1}\\\\times\\\\var[fractionNumbers]{b_1})x^{\\\\var[fractionNumbers]{b_1}-1} +(\\\\var[fractionNumbers]{a_2}\\\\times\\\\var[fractionNumbers]{b_2})x^{\\\\var[fractionNumbers]{b_2}-1} +(\\\\var[fractionNumbers]{a_3}\\\\times\\\\var[fractionNumbers]{b_3})x^{\\\\var[fractionNumbers]{b_3}-1},\\\\\\\\ \\\\\\\\&= \\\\simplify[all, fractionNumbers]{{a_1*b_1}x^{b_1-1} +{a_2*b_2}x^{b_2-1} +{a_3*b_3}x^{b_3-1}}.\\\\end{split}

\"", "description": "", "templateType": "long string", "can_override": false}, "solutionb": {"name": "solutionb", "group": "Ungrouped variables", "definition": "\"

So, for the function \\\\[y=\\\\simplify[all, fractionNumbers]{{a_1}x^{b_1}+{a_2}x^{b_2}+{a_3}x^{b_3}} \\\\] the derivative  is \\\\begin{split}\\\\frac{dy}{dx} &= (\\\\var[fractionNumbers]{a_1}\\\\times\\\\var[fractionNumbers]{b_1})x^{\\\\var[fractionNumbers]{b_1}-1} -(\\\\var[fractionNumbers]{abs(a_2)}\\\\times\\\\var[fractionNumbers]{b_2})x^{\\\\var[fractionNumbers]{b_2}-1} +(\\\\var[fractionNumbers]{a_3}\\\\times\\\\var[fractionNumbers]{b_3})x^{\\\\var[fractionNumbers]{b_3}-1},\\\\\\\\ \\\\\\\\&= \\\\simplify[all, fractionNumbers]{{a_1*b_1}x^{b_1-1} +{a_2*b_2}x^{b_2-1} +{a_3*b_3}x^{b_3-1}}.\\\\end{split}

\"", "description": "", "templateType": "long string", "can_override": false}, "solutionc": {"name": "solutionc", "group": "Ungrouped variables", "definition": "\"

So, for the function \\\\[y=\\\\simplify[all, fractionNumbers]{{a_1}x^{b_1}+{a_2}x^{b_2}+{a_3}x^{b_3}} \\\\] the derivative  is \\\\begin{split}\\\\frac{dy}{dx} &= (\\\\var[fractionNumbers]{a_1}\\\\times\\\\var[fractionNumbers]{b_1})x^{\\\\var[fractionNumbers]{b_1}-1} +(\\\\var[fractionNumbers]{a_2}\\\\times\\\\var[fractionNumbers]{b_2})x^{\\\\var[fractionNumbers]{b_2}-1} -(\\\\var[fractionNumbers]{abs(a_3)}\\\\times\\\\var[fractionNumbers]{b_3})x^{\\\\var[fractionNumbers]{b_3}-1},\\\\\\\\ \\\\\\\\&= \\\\simplify[all, fractionNumbers]{{a_1*b_1}x^{b_1-1} +{a_2*b_2}x^{b_2-1} +{a_3*b_3}x^{b_3-1}}.\\\\end{split}

\"", "description": "", "templateType": "long string", "can_override": false}, "solutiond": {"name": "solutiond", "group": "Ungrouped variables", "definition": "\"

So, for the function \\\\[y=\\\\simplify[all, fractionNumbers]{{a_1}x^{b_1}+{a_2}x^{b_2}+{a_3}x^{b_3}} \\\\] the derivative  is \\\\begin{split}\\\\frac{dy}{dx} &= (\\\\var[fractionNumbers]{a_1}\\\\times\\\\var[fractionNumbers]{b_1})x^{\\\\var[fractionNumbers]{b_1}-1} -(\\\\var[fractionNumbers]{abs(a_2)}\\\\times\\\\var[fractionNumbers]{b_2})x^{\\\\var[fractionNumbers]{b_2}-1} -(\\\\var[fractionNumbers]{abs(a_3)}\\\\times\\\\var[fractionNumbers]{b_3})x^{\\\\var[fractionNumbers]{b_3}-1},\\\\\\\\ \\\\\\\\&= \\\\simplify[all, fractionNumbers]{{a_1*b_1}x^{b_1-1} +{a_2*b_2}x^{b_2-1} +{a_3*b_3}x^{b_3-1}}.\\\\end{split}

\"", "description": "", "templateType": "long string", "can_override": false}, "advice2": {"name": "advice2", "group": "Ungrouped variables", "definition": "if(a_2<0 and a_3>0,'{solutionb}',{advice3})", "description": "", "templateType": "anything", "can_override": false}, "advice3": {"name": "advice3", "group": "Ungrouped variables", "definition": "if(a_2>0 and a_3<0,'{solutionc}','{solutiond}')", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "b_1>b_2 and b_2>b_3", "maxRuns": "100"}, "ungrouped_variables": ["a_1", "a_2", "a_3", "b_1", "b_2", "b_3", "advice", "advice2", "advice3", "solutiona", "solutionb", "solutionc", "solutiond"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "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": "

$\\frac{dy}{dx}=$[[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_1*b_1}x^{{b_1}-1}+{a_2*b_2}x^{{b_2}-1}+{a_3*b_3}x^{{b_3}-1}", "answerSimplification": "fractionNumbers, basic, unitFactor", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.01", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"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/"}]}