// Numbas version: exam_results_page_options {"name": "l\u00f8s og faktorisere andregradslikninga", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "name": "l\u00f8s og faktorisere andregradslikninga", "preamble": {"js": "", "css": ""}, "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}\\]

", "variables": {"b4": {"name": "b4", "templateType": "anything", "description": "", "definition": "random(-8..8 except 0)", "group": "last q"}, "r2": {"name": "r2", "templateType": "anything", "description": "", "definition": "random(r1..9 except 0 r1 -r1)", "group": "Part B"}, "t2": {"name": "t2", "templateType": "anything", "description": "", "definition": "random(1..4)", "group": "Ungrouped variables"}, "v3": {"name": "v3", "templateType": "anything", "description": "", "definition": "v5*v6+v4", "group": "Part A "}, "t1": {"name": "t1", "templateType": "anything", "description": "", "definition": "random(1..2)", "group": "Ungrouped variables"}, "t3": {"name": "t3", "templateType": "anything", "description": "", "definition": "random(t4*t1/t2..10 #1 except 0)", "group": "Ungrouped variables"}, "v2": {"name": "v2", "templateType": "anything", "description": "", "definition": "random(2..6 except [v1,-v1])", "group": "Part A "}, "v6": {"name": "v6", "templateType": "anything", "description": "", "definition": "random(2..10 except v5 -v5)", "group": "Part A "}, "v5": {"name": "v5", "templateType": "anything", "description": "", "definition": "random(-8..10 except 0 v1 v2)", "group": "Part A "}, "v1": {"name": "v1", "templateType": "anything", "description": "", "definition": "random(-9..10 except 0)", "group": "Part A "}, "b1": {"name": "b1", "templateType": "anything", "description": "", "definition": "random(2..6)", "group": "last q"}, "r1": {"name": "r1", "templateType": "anything", "description": "", "definition": "random(-9..7 except 0)", "group": "Part B"}, "a": {"name": "a", "templateType": "anything", "description": "", "definition": "random(2..10)", "group": "Part A "}, "t4": {"name": "t4", "templateType": "anything", "description": "", "definition": "t2*random(-4..6 except 0)", "group": "Ungrouped variables"}, "v4": {"name": "v4", "templateType": "anything", "description": "", "definition": "random(2..20)", "group": "Part A "}, "b3": {"name": "b3", "templateType": "anything", "description": "", "definition": "random(1..10)", "group": "last q"}, "b2": {"name": "b2", "templateType": "anything", "description": "", "definition": "random(1..6)", "group": "last q"}, "b": {"name": "b", "templateType": "anything", "description": "", "definition": "-a", "group": "Part A "}}, "variable_groups": [{"name": "Part A ", "variables": ["v6", "v5", "v4", "v3", "v2", "v1", "a", "b"]}, {"name": "Part B", "variables": ["r2", "r1"]}, {"name": "last q", "variables": ["b1", "b2", "b3", "b4"]}], "extensions": [], "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}).$

", "rulesets": {}, "parts": [{"type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "gaps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "mustBeReduced": false, "maxValue": "-r2", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "correctAnswerStyle": "plain", "minValue": "-r2"}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "mustBeReduced": false, "maxValue": "-r1", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "allowFractions": false, "marks": 0, "correctAnswerStyle": "plain", "minValue": "-r1"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "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]]

"}, {"type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "gaps": [{"vsetrange": [0, 1], "expectedvariablenames": [], "checkvariablenames": false, "checkingaccuracy": 0.001, "showpreview": true, "showCorrectAnswer": true, "scripts": {}, "checkingtype": "absdiff", "vsetrangepoints": 5, "answer": "(x+{r2})(x+{r1})", "type": "jme", "variableReplacements": [], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "notallowed": {"showStrings": false, "message": "", "partialCredit": 0, "strings": ["^"]}, "marks": 1, "musthave": {"showStrings": false, "message": "", "partialCredit": 0, "strings": ["(", ")"]}}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "mustBeReduced": false, "maxValue": "-r1", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "allowFractions": false, "marks": 0, "correctAnswerStyle": "plain", "minValue": "-r1"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

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

\n

[[0]] $=0$

"}], "ungrouped_variables": ["t1", "t2", "t3", "t4"], "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.

"}, "tags": [], "functions": {}, "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/"}]}