// Numbas version: finer_feedback_settings {"name": "Quotient Rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"description": "

An introduction to using the quotient rule

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"c": {"description": "", "name": "c", "group": "Ungrouped variables", "definition": "repeat(random(-9..9 except 0),12)", "templateType": "anything"}, "p": {"description": "", "name": "p", "group": "Ungrouped variables", "definition": "repeat(random(2..7),6)", "templateType": "anything"}}, "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}$

", "ungrouped_variables": ["c", "p"], "name": "Quotient Rule", "variable_groups": [], "preamble": {"js": "document.createElement('fraction');\ndocument.createElement('numerator');\ndocument.createElement('denominator');", "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"}, "extensions": [], "statement": "

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

\n

Simplify your answers as much as possible.

", "rulesets": {"std": ["all"]}, "tags": [], "parts": [{"showCorrectAnswer": true, "prompt": "

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

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

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

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

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

", "marks": "3", "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", "checkingaccuracy": 0.001, "type": "jme", "vsetrangepoints": 5, "vsetrange": [0, 1], "checkingtype": "absdiff", "checkvariablenames": true, "expectedvariablenames": ["x"], "variableReplacementStrategy": "originalfirst", "showpreview": true, "showFeedbackIcon": true, "scripts": {}, "answersimplification": "all"}, {"showCorrectAnswer": true, "prompt": "

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

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