// Numbas version: exam_results_page_options {"name": "Solve a Quadratic Equation of the form $ ax ^ 2 + bx + c = 0 \\,$ by Factorisation ONE Question (Doesnt work)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "c", "b", "d"], "name": "Solve a Quadratic Equation of the form $ ax ^ 2 + bx + c = 0 \\,$ by Factorisation ONE Question (Doesnt work)", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Direct Factorisation.
\nFactorise the quadratic expression : $\\simplify{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d}}$ by trial and error.....
\nWe get: $\\simplify{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d} = ({a} * x + { -c}) * ({b} * x + { -d})}$
\nNow we solve the quadratic equation: $\\simplify{({a} * x + { -c}) * ({b} * x + { -d})}=0 $ as follows:
\nWe conclude from the previous equation that:
\n$\\simplify{({a} * x + { -c})} =0$ or $\\simplify{({b} * x + { -d})}=0$ giving
\n$\\simplify{{a} * x = {c}}$ or $\\simplify{{b} * x = {d}}$ so
\n$\\simplify{x ={c}/{a}} $ or $\\simplify{ x ={d}/{b}} $
\nThe roots are, in ascending order, $ x = \\simplify[fractionNumbers]{{min({c}/{a},{d}/{b})}}$ and $ x = \\simplify[fractionNumbers]{{max({c}/{a},{d}/{b})}}$
\n\n\n", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"]}, "parts": [{"prompt": "\\[\\simplify{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d}}=0\\]
\nThe factors are: [[0]]
\nThe roots are: Smallest Root: [[1]] Largest Root: [[2]]
\n", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"notallowed": {"message": "
Factorise the expression into two factors.
", "showStrings": false, "strings": ["^", "x*x", "x x", "x(", "x (", ")x", ") x"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.0001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "((({a} * x) + {( - c)}) * (({b} * x) + {( - d)}))", "marks": "4", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme", "musthave": {"message": "factorise the expression into two factors
", "showStrings": false, "strings": ["(", ")"], "partialCredit": 0}}, {"allowFractions": true, "variableReplacements": [], "maxValue": "min([{c}/{a},{d}/{b}])", "minValue": "min([{c}/{a},{d}/{b}])", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "max([{c}/{a},{d}/{b}])", "minValue": "max([{c}/{a},{d}/{b}])", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "\n
Solve the following quadratic equation by factorisation.
\n", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(1..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(-3..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "if(a=1,random(2..3),random(1..2))", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(-2..2)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}}, "metadata": {"description": "Solve $\\displaystyle{ax ^ 2 + bx + c=0}$ by factorisation.
", "licence": "All rights reserved"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Clare Lundon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/492/"}]}]}], "contributors": [{"name": "Clare Lundon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/492/"}]}