// Numbas version: exam_results_page_options {"name": "Equations: Linear equations 1a - rational answers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Equations: Linear equations 1a - rational answers", "tags": [], "metadata": {"description": "

Solve linear equations with unknowns on one. Including brackets and fractions.

", "licence": "None specified"}, "statement": "

Solve the following equations to find $x$:

", "advice": "

part a)

\n

\\[\\simplify{{a}x+{b} = {c}} \\]

\n

The first step is to isolate all the $x$-terms to one side of the equation.

\n

To do that we will {add} $\\var{abs(b)}$ onto both sides:

\n

\\[\\var{a}x  = \\simplify{{c-b}} \\]

\n

Now we need to divide both sides by the coefficient of $x$, to leave just one $x$.

\n

Dividing both sides by $\\var{a}$,

\n

\\[  x = {\\simplify{({c}-{b})/{a}}} \\]

\n

\n

part b)

\n

 \\[ \\frac{\\simplify{{d}x + {f}}}{\\var{g}} = \\var{h} \\]

The first step is to rearrange by removing the fraction on the left.  To do this we mulitply both sides by $\\var{g}$.

\\[ \\begin{split} \\frac{\\simplify{{d}x + {f}}}{\\var{g}} \\times \\var{g}  &= \\var{h} \\times \\var{g} \\\\\\\\ \\simplify{{d}x + {f}} &= \\var{h*g} \\end{split} \\]

Next we isolate all the $x$-terms onto one side of the equation.

To do that we will {add2} $\\var{abs(f)}$ on both sides:

\\[ \\begin{split} \\var{d}x &= \\simplify[]{{h*g}-{f}} \\\\ &= \\simplify[]{{h*g-f}} \\end{split}\\]

Finally we need to divide both sides by the coefficient of $x$, to leave just one $x$.

\n

Dividing both sides by $\\var{d}$,

\\[x = \\simplify[fractionNumbers]{{(h*g-f)/d}}  \\]

\n

\n

part c)

\n

\\[ \\simplify{{b}({c}x+{g})} = \\var{d} \\]

\n

Even though this looks different, this is quite similar to part b).  We just have a multiplication rather than a division to deal with as the first step.

Rearrange to remove the multiplication on the left.  To do this we divide both sides by $\\var{b}$:

\\[ \\begin{split} \\frac{\\simplify{{b}({c}x+{g})}}{ \\var{b}} &= \\frac{\\var{d}}{\\var{b}} \\\\ \\\\ \\simplify{{c}x+{g}} &= \\simplify[fractionNumbers]{{d/b}} \\end{split} \\]


Next we isolate all the $x$-terms onto one side of the equation.

To do that we will {add3} $\\var{abs(g)}$ on both sides:

\\[ \\begin {split} \\simplify{{c}x + {g}}   \\var{add3sym}   \\var{abs(g)} &= \\simplify[fractionNumbers]{{d/b}} \\var{add3sym} \\var{abs(g)} \\\\ \\var{c}x &= \\simplify[fractionNumbers]{{d/b-g}} \\end{split} \\]

Finally we need to divide both sides by the coefficient of $x$, to leave just one $x$

\n

Dividing both sides by $\\var{c}$:

\\[ x =  \\simplify[fractionNumbers]{{(d/b-g)/c}} \\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-20..20 except 0 except 1 except -1)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-20..20 except [0,1,-1])", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-20..20 except [-1,0,1])", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-20..20 except 0 except 1 except -1)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-20..20 except 0)", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(-20..20 except 0 except 1 except -1)", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(-20..20 except 0)", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(-20..20 except 0)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(-20..20 except 0)", "description": "", "templateType": "anything", "can_override": false}, "add": {"name": "add", "group": "Ungrouped variables", "definition": "if(b>0, 'subtract', 'add')", "description": "", "templateType": "anything", "can_override": false}, "addsym": {"name": "addsym", "group": "Ungrouped variables", "definition": "if(add='add',' + ',' - ')", "description": "", "templateType": "anything", "can_override": false}, "add2": {"name": "add2", "group": "Ungrouped variables", "definition": "if(f>0, 'subtract', 'add')", "description": "", "templateType": "anything", "can_override": false}, "add2sym": {"name": "add2sym", "group": "Ungrouped variables", "definition": "if(add2='add',' + ',' - ')", "description": "", "templateType": "anything", "can_override": false}, "add3": {"name": "add3", "group": "Ungrouped variables", "definition": "if(g>0, 'subtract', 'add')", "description": "", "templateType": "anything", "can_override": false}, "add3sym": {"name": "add3sym", "group": "Ungrouped variables", "definition": "if(add3='add',' + ',' - ')", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "((c-b)/a)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "((h*g - f)/d)", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "(((d/b) - g)/c)", "description": "", "templateType": "anything", "can_override": false}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "(f-c)/(h-m)", "description": "", "templateType": "anything", "can_override": false}, "a5": {"name": "a5", "group": "Ungrouped variables", "definition": "((g*m-n*f)/(n*b-g*c))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "m", "n", "add", "addsym", "add2", "add2sym", "add3", "add3sym", "a1", "a2", "a3", "a4", "a5"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\simplify{{a}x+{b} = {c}}$

\n

\n

$x=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\dfrac{\\simplify{{d}x + {f}}}{\\var{g}} = \\var{h}$

\n

\n

$x=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a2}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\simplify{{b}({c}x+{g})} = \\var{d}$

\n

\n

$x=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a3}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}