// Numbas version: exam_results_page_options {"name": "Ida's copy of Solving Quadratic Equations with $x^2$ Coefficients of 1 by Factorising", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

This question tests the students ability to factorise simple quadratic equations (where the coefficient of the x^2 term is 1) and use the factorised equation to solve the equation when it is equal to 0.

"}, "name": "Ida's copy of Solving Quadratic Equations with $x^2$ Coefficients of 1 by Factorising", "variable_groups": [{"variables": ["v6", "v5", "v4", "v3", "v2", "v1", "a", "b"], "name": "Part A "}, {"variables": ["r2", "r1"], "name": "Part B"}, {"variables": ["b1", "b2", "b3", "b4"], "name": "last q"}], "advice": "

a)

\n

When we expand a factorised quadratic expression we obtain

\n

\\[(x+a)(x+b)=x^2+(a+b)x+ab\\text{.}\\]

\n

This means when factorising the quadratic expression

\n

\\[\\simplify{x^2+{r1+r2}x+{r1*r2}=0}\\]

\n

we need to find two values that add together to make $\\var{r1+r2}$ and multiply together to make $\\var{r1*r2}$.

\n

\\[\\begin{align}
\\var{r1} \\times \\var{r2}&=\\var{r1*r2}\\\\
\\var{r1}+\\var{r2}&=\\var{r1+r2}\\\\
\\end{align} \\]

\n

Therefore using $\\var{r1}$ and $\\var{r2}$ we can write out the factorised equation

\n

\\[\\simplify{(x+{r1})(x+{r2})}=0\\text{.}\\]

\n

\n

b)

\n

In order to find the values of $x$ we need to factorise the questions like in part a). To do this we need to find factors of $\\var{r1*r2}$ that add together to give $\\var{r1+r2}$, which could be $\\var{r1}$ and $\\var{r2}$. 

\n

This would give us a factorised equation of

\n

\\[\\simplify {(x+{r1})(x+{r2})}=0\\text{.}\\]

\n

In order to solve for $x$ we need $x$ values that would mean that

\n

\\[\\begin{align}
(\\simplify {(x+{r1})})&=0 \\\\
\\text{or}&\\\\
(\\simplify{(x+{r2})})&=0\\text{.}
\\end{align}\\]

\n

If at least one of the factorised brackets equals $0$ then our equation is satisfied because $0\\times(x+a)=0$.

\n

Therefore our possible $x$ values are 

\n

\\[\\begin{align}
x_1&=\\var{-r2}\\\\
x_2&=\\var{-r1}\\text{.}
\\end{align}\\]

", "parts": [{"showCorrectAnswer": true, "variableReplacements": [], "type": "gapfill", "prompt": "

Løs andregradslikningen $\\simplify{x^2 +{r1+r2}x+{r1*r2}}=0\\text{.}$

\n

Input your values as $x_1$ and $x_2$, where $x_1<x_2$. skriv detta tydligt!

\n

$x_1=$ [[0]]

\n

$x_2=$ [[1]]

", "marks": 0, "gaps": [{"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "maxValue": "-r2", "minValue": "-r2", "marks": 1, "mustBeReduced": false, "allowFractions": false, "scripts": {}, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "type": "numberentry", "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "maxValue": "-r1", "minValue": "-r1", "marks": 0, "mustBeReduced": false, "allowFractions": false, "scripts": {}, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "type": "numberentry", "mustBeReducedPC": 0}], "showFeedbackIcon": true, "scripts": {}, "variableReplacementStrategy": "originalfirst"}, {"showCorrectAnswer": true, "variableReplacements": [], "type": "gapfill", "prompt": "

Faktoriser andregradslikningen $\\simplify{x^2 +{r1+r2}x+{r1*r2}}=0\\text{.}$

\n

[[0]] $=0$

", "marks": 0, "gaps": [{"checkingaccuracy": 0.001, "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "vsetrangepoints": 5, "marks": 1, "notallowed": {"message": "", "showStrings": false, "strings": ["^"], "partialCredit": 0}, "showFeedbackIcon": true, "scripts": {}, "expectedvariablenames": [], "showpreview": true, "showCorrectAnswer": true, "checkingtype": "absdiff", "answer": "(x+{r2})(x+{r1})", "musthave": {"message": "", "showStrings": false, "strings": ["(", ")"], "partialCredit": 0}, "vsetrange": [0, 1], "type": "jme"}], "showFeedbackIcon": true, "scripts": {}, "variableReplacementStrategy": "originalfirst"}, {"showCorrectAnswer": true, "variableReplacements": [], "type": "gapfill", "prompt": "

Løs ulikheten $\\simplify{x^2 +{r1+r2}x+{r1*r2}}>0\\text{.}$

\n

Svar: 

\n

$x>$ [[0]]

\n

[[2]]

\n

$x<$ [[1]]

", "marks": 0, "gaps": [{"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "maxValue": "-r1", "minValue": "-r1", "marks": 1, "mustBeReduced": false, "allowFractions": false, "scripts": {}, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "type": "numberentry", "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "maxValue": "-r2", "minValue": "-r2", "marks": 1, "mustBeReduced": false, "allowFractions": false, "scripts": {}, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "type": "numberentry", "mustBeReducedPC": 0}, {"matrix": [0, "1"], "minMarks": 0, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "choices": ["

Og

", "

eller

"], "distractors": ["", ""], "marks": 0, "displayType": "radiogroup", "scripts": {}, "showFeedbackIcon": true, "shuffleChoices": false, "showCorrectAnswer": true, "displayColumns": 0, "maxMarks": 0, "type": "1_n_2"}], "showFeedbackIcon": true, "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "statement": "

Andregradslikningen $ax^2+bx+c=0$ har løsningene 

\n

\\[x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a},\\space \\text{når}\\space  b^2-4ac\\geq0\\text{.}\\]

\n

Dersom andregradsuttrykket $ax^2+bx+c$ har nullpunktene $x=x_{1}$ og $x=x_{2}$ kan det faktoriseres til  $a(x-x_{1})(x-x_{2}).$

", "preamble": {"css": "", "js": ""}, "tags": [], "variables": {"a": {"description": "", "definition": "random(2..10)", "group": "Part A ", "name": "a", "templateType": "anything"}, "r1": {"description": "", "definition": "random(-9..7 except 0..1)", "group": "Part B", "name": "r1", "templateType": "anything"}, "b2": {"description": "", "definition": "random(1..6)", "group": "last q", "name": "b2", "templateType": "anything"}, "b1": {"description": "", "definition": "random(2..6)", "group": "last q", "name": "b1", "templateType": "anything"}, "b": {"description": "", "definition": "-a", "group": "Part A ", "name": "b", "templateType": "anything"}, "v2": {"description": "", "definition": "random(2..6 except [v1,-v1])", "group": "Part A ", "name": "v2", "templateType": "anything"}, "b4": {"description": "", "definition": "random(-8..8 except 0)", "group": "last q", "name": "b4", "templateType": "anything"}, "v3": {"description": "", "definition": "v5*v6+v4", "group": "Part A ", "name": "v3", "templateType": "anything"}, "v1": {"description": "", "definition": "random(-9..10 except 0)", "group": "Part A ", "name": "v1", "templateType": "anything"}, "t2": {"description": "", "definition": "random(1..4)", "group": "Ungrouped variables", "name": "t2", "templateType": "anything"}, "r2": {"description": "", "definition": "random(r1..9 except 0 r1 -r1)", "group": "Part B", "name": "r2", "templateType": "anything"}, "t3": {"description": "", "definition": "random(t4*t1/t2..10 #1 except 0)", "group": "Ungrouped variables", "name": "t3", "templateType": "anything"}, "t4": {"description": "", "definition": "t2*random(-4..6 except 0)", "group": "Ungrouped variables", "name": "t4", "templateType": "anything"}, "v5": {"description": "", "definition": "random(-8..10 except 0 v1 v2)", "group": "Part A ", "name": "v5", "templateType": "anything"}, "v4": {"description": "", "definition": "random(2..20)", "group": "Part A ", "name": "v4", "templateType": "anything"}, "v6": {"description": "", "definition": "random(2..10 except v5 -v5)", "group": "Part A ", "name": "v6", "templateType": "anything"}, "t1": {"description": "", "definition": "random(1..2)", "group": "Ungrouped variables", "name": "t1", "templateType": "anything"}, "b3": {"description": "", "definition": "random(1..10)", "group": "last q", "name": "b3", "templateType": "anything"}}, "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "ungrouped_variables": ["t1", "t2", "t3", "t4"], "type": "question", "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}]}], "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}