// Numbas version: exam_results_page_options {"name": "cormac's copy of Jinhua's copy of Differentiation 1 - Basic Polynomial Expressions (with second derivatives)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "cormac's copy of Jinhua's copy of Differentiation 1 - Basic Polynomial Expressions (with second derivatives)", "tags": [], "metadata": {"description": "

A basic introduction to differentiation

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Differentiate the following polynomials.

\n

Note: some questions may not include all the possible terms.

If $y=ax^n$,

\n

$\\frac{dy}{dx}=anx^{n-1}$ for all rational $n$.

\n

We'll take one of the terms from Part a as an example:

\n

$\\var{cc[0]}x^\\var{cp}$

\n

All we have to do to terms where $x$ is to a power of anything is times the coefficient of $x$ by the original power, and then take one away from the original power.

\n

If you are not familiar with this kind of work, these instructions may sound confusing, but it is much easier once you have seen it in practice.

\n

We take

\n

$\\var{cc[0]}x^\\var{cp}$

\n

and times $\\var{cc[0]}$ by $\\var{cp}$, to get

\n

$(\\var{cc[0]}*\\var{cp})x^\\var{cp}=\\simplify{{cc[0]}*{cp}x^{cp}}$.

\n

We then subtract one from the original power, $\\var{cp}$.

\n

This gives us the final answer of

\n

$\\simplify{{cc[0]}*{cp}x^{cp-1}}$.

\n

\n

Remember, don't be confused if there is no coefficient. The fact the term is there means the coefficient must be $1$, but we don't tend to write it out as, for example $1x$, we just say $x$.

", "rulesets": {}, "extensions": [], "variables": {"bp": {"name": "bp", "group": "Ungrouped variables", "definition": "4", "description": "", "templateType": "anything"}, "bc": {"name": "bc", "group": "Ungrouped variables", "definition": "repeat(random(-6..6),4)", "description": "", "templateType": "anything"}, "fc": {"name": "fc", "group": "Ungrouped variables", "definition": "repeat(random(-50..50),4)", "description": "", "templateType": "anything"}, "cc": {"name": "cc", "group": "Ungrouped variables", "definition": "repeat(random(-10..10 except 0 except 1 except -1),4)", "description": "", "templateType": "anything"}, "ec": {"name": "ec", "group": "Ungrouped variables", "definition": "repeat(random(-30..30),4)", "description": "", "templateType": "anything"}, "cp": {"name": "cp", "group": "Ungrouped variables", "definition": "3", "description": "", "templateType": "anything"}, "dp": {"name": "dp", "group": "Ungrouped variables", "definition": "2", "description": "", "templateType": "anything"}, "ap": {"name": "ap", "group": "Ungrouped variables", "definition": "5", "description": "", "templateType": "anything"}, "ac": {"name": "ac", "group": "Ungrouped variables", "definition": "repeat(random(-3..3),4)", "description": "", "templateType": "anything"}, "dc": {"name": "dc", "group": "Ungrouped variables", "definition": "repeat(random(-15..15),4)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["ac", "bc", "cc", "dc", "ec", "fc", "ap", "bp", "cp", "dp"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$\\simplify[basic,zeroterm,zerofactor,unitfactor]{{ac[1]}x^{ap}+{bc[1]}x^{bp}+{cc[1]}x^{cp}+{dc[1]}x^{dp}+{ec[1]}x+{fc[1]}}$

\n

$f'(x)=$ [[0]]

\n

$f''(x)=$ [[1]]

$\\simplify[basic,zeroterm,zerofactor,unitfactor]{{ac[2]}x^{ap}+{bc[2]}x^{bp}+{cc[2]}x^{cp}+{dc[2]}x^{dp}+{ec[2]}x+{fc[2]}}$
$f'(x)=$ [[0]]
$f''(x)=$ [[1]]