// Numbas version: exam_results_page_options {"name": "Differentiating powers of x", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Differentiating powers of x", "tags": [], "metadata": {"description": "

This question provides practice at differentiating polynomials.

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

This question provides you with practice at developing your ability to apply rules for differentiating polynomials. You may wish to check out this video first as it will help you to attack these problems.

\n

", "advice": "

This question is essentially testing your learning of how to differentiate polynomials.

\n

a) the derivative of a constant by itself is always zero.

\n

b) the derivative of a constant multiplied by $x$ is always just that constant. Here this means $f'(x)=\\var{a1}$.

\n

c) the derivative of a sum is the sum of the individual terms' derivatives. This question has a sum made up of a constant and a constant multiple of $x$, so you use approach taken for a and b and then add the results. Here we have 

\n

\\[r'(t)=(\\var{a0})'+(\\var{a1}t)'=0+\\var{a1}=\\var{a1}\\]

\n

d) the derivative of a constant multiple of a power of the variable (here $t$) is the constant multiplied by the power, then multiplied by the variable to one power fewer. That is, 

\n

\\[s'(t)=(\\var{a2})(\\var{e3})t^{\\var{e3}-1}=\\simplify{{a2}{a3}t^({e3}-1)}.\\]

\n

e) combining the approach taken for all of the above allows you to differentiate the final polynomial. Find the derivative of each individual term, then add the results to give the derivative of the function as a whole.

\n

\\[\\frac{\\mathrm{d}y}{\\mathrm{d}x}=\\var{a1}+(\\var{e1})(\\var{a2})x^{\\var{e1}-1}+(\\var{e2})(\\var{a3})x^{\\var{e2}-1}=\\simplify{{a1}+{e1}{a2}x^({e1}-1)+{e2}{a3}x^({e2}-1)}\\]

", "rulesets": {}, "extensions": [], "variables": {"a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(1..5)*random(1,-1)", "description": "", "templateType": "anything"}, "e3": {"name": "e3", "group": "Ungrouped variables", "definition": "random(6,7)", "description": "", "templateType": "anything"}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "random(1..5)*random(1,-1)", "description": "", "templateType": "anything"}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "random(1..5)*random(1,-1)", "description": "", "templateType": "anything"}, "e1": {"name": "e1", "group": "Ungrouped variables", "definition": "random(2,3)", "description": "", "templateType": "anything"}, "a0": {"name": "a0", "group": "Ungrouped variables", "definition": "random(1..5)*random(1,-1)", "description": "", "templateType": "anything"}, "e2": {"name": "e2", "group": "Ungrouped variables", "definition": "random(4,5)", "description": "", "templateType": "anything"}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(1..5)*random(1,-1)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a0", "a1", "a2", "a3", "a4", "e1", "e2", "e3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

If $y=\\var{a0}$, then $\\displaystyle \\frac{\\mathrm{d}y}{\\mathrm{d}x}=$

", "answer": "0", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

For $f(x)=\\var{a1}x$, we can differentiate to obtain $f'(x)=$

", "answer": "{a1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The function $r(t)=\\simplify{{a0}+{a1}t}$ can be differentiated to give $r'(t)=$

", "answer": "{a1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The derivative of $s(t)=\\var{a2}t^\\var{e3}$ is $s'(t)=$

", "answer": "{a2}{e3}t^{e3-1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "t", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The derivative of the polynomial

\n

\\[y=\\simplify{{a0}+{a1}x+{a2}x^{e1}+{a3}x^{e2}}\\]

\n

is $\\displaystyle \\frac{\\mathrm{d}y}{\\mathrm{d}x}$

", "answer": "{a1}+{e1}{a2}x^({e1}-1)+{e2}{a3}x^({e2}-1)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "x", "value": ""}]}], "contributors": [{"name": "Nigel Atkins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/275/"}]}]}], "contributors": [{"name": "Nigel Atkins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/275/"}]}