// Numbas version: exam_results_page_options {"name": "cormac's copy of Solve quadratic inequalities", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "name": "cormac's copy of Solve quadratic inequalities", "statement": "

Solve the following quadratic inequalities by firstly factorising $f(x)$ and then solving for $x$ when $f(x)=0$. It may be helpful to sketch each quadratic.

", "tags": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

This question takes the student through variety of examples of quadratic inequalities by asking them for the range(s) for which $x$ meets the inequality.

"}, "rulesets": {}, "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "b", "c", "d", "g", "f"], "variables": {"d": {"templateType": "anything", "name": "d", "group": "Ungrouped variables", "description": "", "definition": "random(2..4)"}, "b": {"templateType": "anything", "name": "b", "group": "Ungrouped variables", "description": "", "definition": "random(1..5)"}, "g": {"templateType": "anything", "name": "g", "group": "Ungrouped variables", "description": "", "definition": "random(1..4)"}, "f": {"templateType": "anything", "name": "f", "group": "Ungrouped variables", "description": "", "definition": "random(5..9)"}, "c": {"templateType": "anything", "name": "c", "group": "Ungrouped variables", "description": "", "definition": "random(3..6)"}, "a": {"templateType": "anything", "name": "a", "group": "Ungrouped variables", "description": "", "definition": "random(1..5)"}}, "advice": "

a)

\n

This example is best illustrated by the graph of $\\simplify{f(x)=x^2+({a}-{b})x-{a}{b}}$ below. By finding the roots of the equation we can find the $x$ coordinates where the line crosses the $x$ axis and then we can use a sketch or visualise the graph to work out the set of values for $x$ where $f(x)>0$.\\[\\\\[0.1em]\\]

\n

{geogebra_applet('Hk5dTptY',[[\"a\",a],[\"b\",b]])}

\n

\\[
\\begin{align}
\\simplify{f(x)=x^2+({a}-{b})x-{a}{b}}&>0\\\\
\\simplify{(x+{a})(x-{b})}&=0\\text{.}
\\end{align}
\\]

\n

Therefore

\n

\\[ \\simplify{x<{-a}}\\text{ or }\\simplify{x>{b}}\\text{.}\\]

\n

b)

\n

We use the same method in this example but this time we use our graph to visualise where $g(x)<0$.\\[\\\\[0.1em]\\]

\n

{geogebra_applet('PUFStTNa',[[\"c\",c],[\"d\",d]])}

\n

\\[
\\begin{align}
\\simplify{f(x)=x^2+({c}-{d})x-{c}{d}}&<0\\\\
\\simplify{(x+{c})(x-{d})}&=0\\text{.}
\\end{align}
\\]

\n

Therefore

\n

\\[ \\simplify{x>{-c}}\\text{ and }\\simplify{x<{d}}\\text{.}\\]

\n

c)

\n

The notable difference with solving this equation is the requirement to rearrange the inequality before factorisation.\\[\\\\[0.1em]\\]

\n

{geogebra_applet('CZsSCdH6',[[\"e\",g],[\"f\",f]])}

\n

\\[
\\begin{align}
\\simplify{({g}+{f})x-{g}{f}}&>x^2\\\\
\\simplify{x^2-({g}+{f})x+{g}{f}}&<0\\\\
\\simplify{(x-{g})(x-{f})}&=0\\text{.}
\\end{align}
\\]

\n

Therefore

\n

\\[ \\simplify{x>{g}}\\text{ and }\\simplify{x<{f}}\\text{.}\\]

\n

Alternatively, we can plot the graph of $x^2$ against $\\simplify{({g}+{f})x-{g}{f}}$ to visualise the same result.

\n

{geogebra_applet('Ez697SNE',[[\"g\",g],[\"f\",f]])}

\n

From this graph we can see that the values of $x$ where $\\simplify{({g}+{f})x-{g}{f}}>x^2$ are the same as the values of $x$ where $\\simplify{x^2-({g}+{f})x+{g}{f}}<0$.

", "extensions": ["geogebra"], "functions": {}, "parts": [{"unitTests": [], "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "gaps": [{"unitTests": [], "expectedVariableNames": [], "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "checkVariableNames": false, "showFeedbackIcon": true, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "marks": 1, "showPreview": true, "scripts": {}, "type": "jme", "checkingType": "absdiff", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "answer": "(x-{g})(x-{f})"}, {"unitTests": [], "expectedVariableNames": [], "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "checkVariableNames": false, "showFeedbackIcon": true, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "marks": 1, "showPreview": true, "scripts": {}, "type": "jme", "checkingType": "absdiff", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "answer": "{g}"}, {"unitTests": [], "expectedVariableNames": [], "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "checkVariableNames": false, "showFeedbackIcon": true, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "marks": 1, "showPreview": true, "scripts": {}, "type": "jme", "checkingType": "absdiff", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "answer": "{f}"}, {"unitTests": [], "displayColumns": 0, "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "choices": ["

AND

", "

OR

"], "variableReplacementStrategy": "originalfirst", "distractors": ["", ""], "maxMarks": 0, "marks": 0, "scripts": {}, "displayType": "dropdownlist", "type": "1_n_2", "minMarks": 0, "matrix": ["1", 0], "extendBaseMarkingAlgorithm": true, "shuffleChoices": false}], "marks": 0, "prompt": "

Find the range of vaues such that: $\\simplify{({g}+{f})x-{g}{f}>x^2}$   

\n

Rearrange then factorise the inequality:

\n

[[0]] $<0$.

\n

Use the above result to find the range of values for $x$ such that $\\simplify{({g}+{f})x-{g}{f}>x^2}$.

\n

$x>$ [[1]] 

\n

[[3]]  

\n

$x<$ [[2]]

", "scripts": {}, "type": "gapfill", "extendBaseMarkingAlgorithm": true}], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "cormac breen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/306/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "cormac breen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/306/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}]}