// Numbas version: exam_results_page_options {"name": "Solve a linear equation $ax+b = c$", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

Solve a linear equation of the form $ax+b = c$, where $a$, $b$ and $c$ are integers.

\n

The answer is always an integer.

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": [], "type": "question", "rulesets": {}, "advice": "

We need to solve the equation

\n

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

\n

To solve this equation, we must rearrange the equation to put $x$ on its own.

\n

To do this, we should subtract $\\var{b}$ from both sides and then divide through by $\\var{a}$ to get the value for $x$.

\n

\\begin{align}
\\var{a}x+\\var{b}&=\\var{c} \\\\[0.5em]
\\var{a}x&=\\var{c}-\\var{b} & \\text{Subtract } \\var{b} \\text{ from both sides} \\\\[0.5em]
\\var{a}x&=\\var{c-b} \\\\[0.5em]
x&=\\frac{\\var{c-b}}{\\var{a}} & \\text{Divide both sides by } \\var{a} \\\\[0.5em]
x&=\\simplify{{c-b}/{a}}
\\end{align}

\n

", "variables": {"b": {"description": "", "definition": "random(1..15)", "group": "part a", "name": "b", "templateType": "anything"}, "c": {"description": "", "definition": "(x*a)+b", "group": "part a", "name": "c", "templateType": "anything"}, "a": {"description": "", "definition": "random(2..10)", "group": "part a", "name": "a", "templateType": "anything"}, "x": {"description": "", "definition": "random(2..6)", "group": "part a", "name": "x", "templateType": "anything"}}, "statement": "", "name": "Solve a linear equation $ax+b = c$", "parts": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "prompt": "

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

\n

What is the value of $x$?

\n

$x = $ [[0]]

", "variableReplacements": [], "showFeedbackIcon": true, "marks": 0, "gaps": [{"correctAnswerFraction": false, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "allowFractions": false, "minValue": "x", "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "maxValue": "x", "mustBeReduced": false, "marks": "2", "variableReplacements": [], "correctAnswerStyle": "plain", "mustBeReducedPC": 0}]}], "tags": ["linear equation", "linear equations", "Linear equations", "solving linear equations", "taxonomy"], "preamble": {"js": "", "css": ""}, "variable_groups": [{"name": "part a", "variables": ["a", "b", "c", "x"]}], "functions": {}, "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}