// Numbas version: exam_results_page_options {"name": "Marte's copy of Solving linear simultaneous equations by elimination", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["elimination", "linear simultaneous equations", "solving linear simultaneous equations by elimination", "taxonomy"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

This question tests the student's ability to solve simple linear equations by elimination. Part a) involves only having to manipulate one equation in order to solve, and part b) involves having to manipulate both equations in order to solve.

"}, "parts": [{"type": "gapfill", "marks": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Solve this set of simultaneous equations and give your answers for $x$ and $y$ below.

\n

\\begin{align}
\\simplify{{h}x+{k}y} &= \\var{m} \\text{,} \\\\
\\simplify{{j}x+{l}y} &= \\var{n} \\text{.}
\\end{align}

\n

$x =$ [[0]]

\n

$y =$ [[1]]

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

Solve this set of simultaneous equations and give your answers for $x$ and $y$ below.

\n

\\begin{align}
\\simplify{{a}x + {b}y} &= \\var{c} \\text{,} \\\\
\\simplify{{d}x + {f}y} &= \\var{g} \\text{.}
\\end{align}

\n

$x =$ [[0]]

\n

$y =$ [[1]]

", "variableReplacements": [], "gaps": [{"correctAnswerFraction": false, "marks": 1, "showFeedbackIcon": true, "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "x2", "scripts": {}, "variableReplacements": [], "minValue": "x2", "mustBeReducedPC": 0, "showCorrectAnswer": true, "allowFractions": true, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"]}, {"correctAnswerFraction": false, "marks": 1, "showFeedbackIcon": true, "type": "numberentry", "correctAnswerStyle": "plain", "maxValue": "y2", "scripts": {}, "variableReplacements": [], "minValue": "y2", "mustBeReducedPC": 0, "showCorrectAnswer": true, "allowFractions": true, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"]}], "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "name": "Marte's copy of Solving linear simultaneous equations by elimination", "preamble": {"css": "", "js": ""}, "rulesets": {}, "advice": "

#### a)

\n

\\begin{align}
\\var{h}x+\\var{k}y&=\\var{m}\\text{,}\\\\
\\var{j}x-\\var{l}y&=\\var{n}\\text{.}\\\\
\\end{align}

\n

To find the solution to these equations, we need to cancel one of the unknowns.

\n

Notice that $\\var{h}x$ in the first equation can be multiplied by $\\var{j/h}$ to match $\\var{j}x$ in the second equation. This means that we will only have to manipulate the first equation and can leave the second equation as it is.

\n

We have to multiply the entire first equation by $\\var{j/h}$, not just the $x$ term to ensure the equation still holds.

\n

$\\var{h}x+\\var{k}y=\\var{m}$ multiplied by $\\var{j/h}$ gives $\\var{j}x+\\var{k*(j/h)}y=\\var{m*(j/h)}.$

\n

We now have a common $x$ term and we can cancel this by subtracting one equation from the other to find the $y$ term.

\n

\\begin{align}
&&\\var{j}x+\\var{k*{j/h}}y&=\\var{m*(j/h)}\\\\
-&&\\var{j}x-\\var{l}y&=\\var{n}\\\\
&&0x+\\var{k*(j/h)+l}y&=\\var{m*(j/h)-n}\\\\[1em]
&&y&=\\frac{\\var{m*j/h-n}}{\\var{k*j/h+l}}\\\\
&&y&=\\var{y1}
\\end{align}

\n

We can find the corresponding value of $x$ by substituting this value for $y$ back into either of the original equations.

\n

\\begin{align}
\\var{h}x+(\\var{k}\\times\\var{y1})&=\\var{m}\\text{,}\\\\
\\var{h}x+\\var{k*y1}&=\\var{m}\\text{,}\\\\
\\var{h}x&=\\var{m-(k*y1)}\\text{,}\\\\
x&=\\var{x1}\\text{.}\\\\
\\end{align}

\n

Therefore, $x=\\var{x1}$ and $y=\\var{y1}$.

\n

#### b)

\n

\\begin{align}
\\var{a}x+\\var{b}y&=\\var{c}\\text{,}\\\\
\\var{d}x+\\var{f}y&=\\var{g}\\text{.}\\\\
\\end{align}

\n

To be able to solve the equations, we need to cancel one of the unknowns by manipulating the two equations so that the variable we wish to cancel is of the same value in each equation.

\n

Although we can choose to cancel either variable, $x$ or $y$, a good rule of thumb is to look at the lowest common multiples of the coefficients for each variable and cancel the variable with the lowest LCM.

\n

The LCM of the coefficients of the $x$ terms is $\\var{lcm(a,d)}$.

\n

The LCM of the coefficients of the $y$ terms is $\\var{lcm(b,f)}$.

\n

Therefore, we will choose to cancel the $x$ terms.

\n

We need to multiply the equations individually to achieve the lowest common multiple identified.

\n

\\begin{align}
\\simplify{ {a}x + {b}y } &= \\var{c} &\\text{multiply by } \\var{lcm(a,d)/a} \\text { to obtain } && \\simplify{ {lcm(a,d)}x + {b*lcm(a,d)/a}y} &= \\var{c*lcm(a,d)/a} \\\\
\\simplify{ {d}x + {f}y } &= \\var{g} &\\text{multiply by } \\var{lcm(a,d)/d} \\text { to obtain } && \\simplify{ {lcm(a,d)}x + {b*lcm(a,d)/d}y} &= \\var{c*lcm(a,d)/d}
\\end{align}

\n

\n

We now have a common $x$ term, and can cancel this by subtracting one equation from the other.

\n

\\begin{align}
&& \\simplify{ {lcm(a,d)}x+{b*lcm(a,d)/a}y } = \\var{c*lcm(a,d)/a} \\\\
- && \\simplify{ {lcm(a,d)}x + {f*lcm(a,d)/d}y } = \\var{g*lcm(a,d)/d} \\\\
&& \\overline{\\simplify[]{ 0x+{b*lcm(a,d)/a-f*lcm(a,d)/d}y} = \\var{c*lcm(a,d)/a-g*lcm(a,d)/d}}
\\end{align}

\n

\\begin{align}
\\var{(b*lcm(a,d)/a)-(f*lcm(a,d)/d)}y &= \\var{(c*lcm(a,d)/a)-(g*lcm(a,d)/d)}\\text{,}\\\\
y &= \\var{y2}\\text{.}
\\end{align}

\n

We can find the corresponding value of $x$ by substituting thsi value of $y$ value back into either of the original equations.

\n

\\begin{align}
\\simplify[]{ {a}x + {b}{y2}} &= \\var{c} \\\\
\\simplify[]{ {a}x + {b*y2}} &= \\var{c} \\\\
\\var{a}x&=\\var{c-b*y2} \\\\
x &= \\var{x2} \\text{.}
\\end{align}

\n

Therefore, $x=\\var{x2}$ and $y=\\var{y2}$.

", "functions": {}, "extensions": [], "variable_groups": [{"name": "Part b", "variables": ["a", "b", "c", "d", "f", "g", "x2", "y2"]}, {"name": "part a", "variables": ["h", "j", "k", "l", "m", "n", "y1", "x1", "numerator", "divisor"]}], "statement": "", "variables": {"k": {"group": "part a", "definition": "random(1..6)", "name": "k", "templateType": "anything", "description": "

Constant part of the LHS of the first equation in part a

"}, "x1": {"group": "part a", "definition": "random(-5..5)", "name": "x1", "templateType": "anything", "description": "

Value of $x$ in part a

"}, "d": {"group": "Part b", "definition": "random(a+1..9 except map(j*a,j,0..10/a))", "name": "d", "templateType": "anything", "description": "

$x$ coefficient in the second equation of part b. Never an integer multiple of the $x$ coefficient in the first equation.

"}, "m": {"group": "part a", "definition": "h*x1 + k*y1", "name": "m", "templateType": "anything", "description": "

RHS of the first equation in part a

"}, "b": {"group": "Part b", "definition": "random(a+1..7)", "name": "b", "templateType": "anything", "description": "

Coefficient of $y$ in the first equation of part b.

\n

"}, "h": {"group": "part a", "definition": "random(2..5)", "name": "h", "templateType": "anything", "description": "

$x$ coefficient of the first equation in part a

"}, "y2": {"group": "Part b", "definition": "random(-5..-1)*sgn(x2)", "name": "y2", "templateType": "anything", "description": "

Value of $y$ in part b

"}, "l": {"group": "part a", "definition": "random(1..6)", "name": "l", "templateType": "anything", "description": "

Constant part of the LHS of the second equation in part a

"}, "x2": {"group": "Part b", "definition": "random(-5..5)", "name": "x2", "templateType": "anything", "description": "

Value of $x$ in part b

"}, "c": {"group": "Part b", "definition": "a*x2+b*y2", "name": "c", "templateType": "anything", "description": ""}, "j": {"group": "part a", "definition": "h*random(2..3)", "name": "j", "templateType": "anything", "description": "

$x$ coefficient of the second equation in part a. An integer multiple of the $x$ coefficient of the second equation.

"}, "a": {"group": "Part b", "definition": "random(2..5)", "name": "a", "templateType": "anything", "description": ""}, "f": {"group": "Part b", "definition": "random(max(a,b)+1..12 except map(j*b,j,0..10/b))", "name": "f", "templateType": "anything", "description": "

$y$ coefficient of the second equation in part b. Never an integer multiple of the $y$ coefficient in the first equation.

"}, "y1": {"group": "part a", "definition": "random(-5..-1)*sgn(x1)", "name": "y1", "templateType": "anything", "description": "

Value of $x$ in part a

"}, "divisor": {"group": "part a", "definition": "k*(j/h)+l", "name": "divisor", "templateType": "anything", "description": ""}, "n": {"group": "part a", "definition": "j*x1 + l*y1", "name": "n", "templateType": "anything", "description": "

RHS of the second equation in part a

"}, "numerator": {"group": "part a", "definition": "m*(j/h)-n", "name": "numerator", "templateType": "anything", "description": ""}, "g": {"group": "Part b", "definition": "d*x2+f*y2", "name": "g", "templateType": "anything", "description": ""}}, "ungrouped_variables": [], "variablesTest": {"condition": "lcm(a,d)