// Numbas version: finer_feedback_settings {"name": "Milena's copy of Quotient Rule ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "question_groups": [{"questions": [], "name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0}], "name": "Milena's copy of Quotient Rule ", "type": "question", "showQuestionGroupNames": false, "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "

An introduction to using the quotient rule

"}, "rulesets": {"std": ["all"]}, "parts": [{"answer": "{c[0]}/(x+{c[0]})^2", "variableReplacementStrategy": "originalfirst", "showpreview": true, "checkingaccuracy": 0.001, "checkvariablenames": true, "type": "jme", "vsetrangepoints": 5, "scripts": {}, "vsetrange": [0, 1], "checkingtype": "absdiff", "prompt": "

$x$$\\simplify{x+{c[0]}}$

", "expectedvariablenames": ["x"], "marks": "1", "showCorrectAnswer": true, "answersimplification": "all", "variableReplacements": []}, {"answer": "({c[1]}*{c[3]}-{c[2]})/(x+{c[3]})^2", "variableReplacementStrategy": "originalfirst", "showpreview": true, "checkingaccuracy": 0.001, "checkvariablenames": true, "type": "jme", "vsetrangepoints": 5, "scripts": {}, "vsetrange": [0, 1], "checkingtype": "absdiff", "prompt": "

$\\simplify{{c[1]}x+{c[2]}}$$\\simplify{x+{c[3]}}$

", "expectedvariablenames": ["x"], "marks": "2", "showCorrectAnswer": true, "answersimplification": "all", "variableReplacements": []}, {"answer": "({c[5]}*{p[0]}*x^({p[0]}-1)+({c[4]}*{p[0]}-{c[4]})*x^{p[0]})/({c[4]}x+{c[5]})^2", "variableReplacementStrategy": "originalfirst", "showpreview": true, "checkingaccuracy": 0.001, "checkvariablenames": true, "type": "jme", "vsetrangepoints": 5, "scripts": {}, "vsetrange": [0, 1], "checkingtype": "absdiff", "prompt": "

$\\simplify{x^{p[0]}}$$\\simplify{{c[4]}x+{c[5]}}$

", "expectedvariablenames": ["x"], "marks": "2", "showCorrectAnswer": true, "answersimplification": "all", "variableReplacements": []}, {"answer": "(-1({c[7]}+x)-4(sqrt(x)*({c[6]}-sqrt(x))))/(2sqrt(x)({c[7]}+x)^3)", "variableReplacementStrategy": "originalfirst", "showpreview": true, "checkingaccuracy": 0.001, "checkvariablenames": true, "type": "jme", "vsetrangepoints": 5, "scripts": {}, "vsetrange": [0, 1], "checkingtype": "absdiff", "prompt": "

$\\simplify{{c[6]}-sqrt(x)}$$\\simplify{({c[7]}+x)^2}$

", "expectedvariablenames": ["x"], "marks": "3", "showCorrectAnswer": true, "answersimplification": "all", "variableReplacements": []}], "functions": {}, "preamble": {"css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n", "js": "document.createElement('fraction');\ndocument.createElement('numerator');\ndocument.createElement('denominator');"}, "statement": "

Differentiate the following expressions with respect to $x$ using the quotient rule.

\n

Simplify your answers as much as possible.

", "variables": {"p": {"description": "", "templateType": "anything", "definition": "repeat(random(2..7),6)", "name": "p", "group": "Ungrouped variables"}, "c": {"description": "", "templateType": "anything", "definition": "repeat(random(-9..9 except 0),12)", "name": "c", "group": "Ungrouped variables"}}, "variable_groups": [], "ungrouped_variables": ["c", "p"], "advice": "

These questions use the quotient rule.

\n

The quotient rule is defined as

\n

$\\frac{dy}{dx}=\\frac{v\\frac{du}{dx}+u\\frac{dv}{dx}}{v^2}$

\n

when $y=\\frac{u}{v}$

\n

Worked example using Part a:

\n

$x$$\\simplify{x+{c[0]}}$

\n

This expression is the result of $x$ divided by ($\\simplify{x+{c[0]}}$).

\n

We can therefore say:

\n

$u=x$

\n

and

\n

$v=\\simplify{x+{c[0]}}$,

\n

Hence meaning that $y=\\frac{u}{v}$.

\n

\n

We already have what $u$ and $v$ equal, so all we have to do is find what $\\frac{du}{dx}$ and $\\frac{dv}{dx}$ are, and then substitute everything into the rule.

\n

Differentiating with respect to $x$, we get:

\n

$\\frac{du}{dx}=1$

\n

and

\n

$\\frac{dv}{dx}=1$.

\n

As there are no powers or coefficients of $x$ that are $>1$, this is a very simple version of the quotient rule, but knowing how to work out this equation formally will make more difficult looking problems just as simple.

\n

Substituting in all the results we've found, we get:

\n

$\\frac{dy}{dx}=\\frac{1(\\simplify{x+{c[0]}})+1(x)}{\\simplify{(x+{c[0]})^2}}$

\n

We then simplify, collecting all the terms, to get our final answer of:

\n

$\\frac{dy}{dx}=\\simplify{((2x+{c[0]}))/(x+{c[0]})^2}$

", "tags": [], "contributors": [{"name": "Milena Venkova", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2169/"}]}]}], "contributors": [{"name": "Milena Venkova", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2169/"}]}