// Numbas version: exam_results_page_options {"name": "Simplify algebra equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"css": "", "js": ""}, "rulesets": {"std": ["all", "!collectNumbers "]}, "parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showpreview": true, "checkingtype": "absdiff", "answer": "{ans11}+{ans12}x", "marks": 1, "type": "jme", "answersimplification": "std", "expectedvariablenames": [], "vsetrange": [0, 1], "vsetrangepoints": 5, "variableReplacements": [], "checkingaccuracy": 0.001}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

$\\var{num1p[0]}(\\var{num1p[1]}x + \\var{num1p[2]}) \\var{num1n[0]}(\\var{num1p[3]} \\var{num1n[1]}x) + \\var{num1p[4]}$

\n

[[0]]

", "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showpreview": true, "checkingtype": "absdiff", "answer": "{ans43}x^2+{ans42}x+{ans41}", "marks": 1, "type": "jme", "answersimplification": "std", "expectedvariablenames": [], "vsetrange": [0, 1], "vsetrangepoints": 5, "variableReplacements": [], "checkingaccuracy": 0.001}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

$(\\var{p4[0]}x \\var{n4[0]})(\\var{p4[1]}x +\\var{p4[2]})$

\n

 [[0]]

", "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showpreview": true, "checkingtype": "absdiff", "answer": "{ans53}x^2 +{ans52}x +{ans51}", "marks": 1, "type": "jme", "answersimplification": "std", "expectedvariablenames": [], "vsetrange": [0, 1], "vsetrangepoints": 5, "variableReplacements": [], "checkingaccuracy": 0.001}], "stepsPenalty": 0, "steps": [{"type": "information", "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

Don't forget to fully square out the bracket. $(ax + b)^2 = (ax + b)(ax + b)$

", "variableReplacements": []}], "marks": 0, "showCorrectAnswer": true, "prompt": "

$(\\var{n5[0]}x + \\var{p5[0]})^2$

\n

[[0]]

", "variableReplacements": [], "scripts": {}}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showpreview": true, "checkingtype": "absdiff", "answer": "({ans2}x)/{ans1}", "marks": 1, "type": "jme", "answersimplification": "std", "expectedvariablenames": [], "vsetrange": [0, 1], "vsetrangepoints": 5, "variableReplacements": [], "checkingaccuracy": 0.001}], "stepsPenalty": 0, "steps": [{"type": "information", "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

First you need to find a common denominator. To do this you need to find the lowest common multiple of the three denominator.

\n

Watch video for help

\n

Video

", "variableReplacements": []}], "marks": 0, "showCorrectAnswer": true, "prompt": "

Express $\\frac{\\var{nm[0]}x}{\\var{dm[0]}} + \\frac{\\var{nm[1]}x}{\\var{dm[1]}}$ as a single fraction.

\n

[[0]]

", "variableReplacements": [], "scripts": {}}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showpreview": true, "checkingtype": "absdiff", "answer": "({ans21}+{ans22}x)/({dv1})", "marks": 1, "type": "jme", "answersimplification": "std", "expectedvariablenames": [], "vsetrange": [0, 1], "vsetrangepoints": 5, "variableReplacements": [], "checkingaccuracy": 0.001}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

$\\frac{\\var{p2[0]}x+ \\var{p2[1]}}{\\var{div[0]}}+\\frac{\\var{p2[2]} \\var{n2[0]}x}{\\var{div[1]}}-\\frac{\\var{p2[3]}x+ \\var{p2[4]}}{\\var{div[2]}}$

\n

[[0]]

", "variableReplacements": []}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showpreview": true, "checkingtype": "absdiff", "answer": "({ans31}+{ans32}x)/({dv2})", "marks": 1, "type": "jme", "answersimplification": "std", "expectedvariablenames": [], "vsetrange": [0, 1], "vsetrangepoints": 5, "variableReplacements": [], "checkingaccuracy": 0.001}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

$\\frac{\\var{t3[0]}}{\\var{d3[0]}}(\\var{p3[0]}x \\var{n3[0]})-\\frac{\\var{t3[1]}}{\\var{d3[1]}}(\\var{p3[1]} \\var{n3[1]}x)-\\frac{\\var{t3[2]}}{\\var{d3[2]}}(\\var{p3[2]}x + \\var{p3[3]})$ 

\n

 [[0]]

\n

", "variableReplacements": []}], "metadata": {"description": "

Simplifying algebraic expressions

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [{"name": "new", "variables": ["dm", "nm", "ans1", "ans2"]}, {"name": "edt", "variables": ["dv1", "dv2"]}], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "extensions": [], "ungrouped_variables": ["num1p", "num1n", "ans11", "ans12", "p2", "p3", "p4", "p5", "n2", "n3", "n4", "n5", "ans21", "ans22", "div", "d3", "t3", "ans31", "ans32", "ans41", "ans42", "ans43", "ans51", "ans52", "ans53"], "variables": {"ans12": {"description": "", "templateType": "anything", "name": "ans12", "definition": "(num1p[0]*num1p[1])+(num1n[0]*num1n[1])", "group": "Ungrouped variables"}, "d3": {"description": "", "templateType": "anything", "name": "d3", "definition": "shuffle([7,11,13])[0..3]", "group": "Ungrouped variables"}, "n3": {"description": "", "templateType": "anything", "name": "n3", "definition": "shuffle(-9..-2)[0..8]", "group": "Ungrouped variables"}, "ans2": {"description": "", "templateType": "anything", "name": "ans2", "definition": "((ans1/dm[0])nm[0]) + ((ans1/dm[1])nm[1])", "group": "new"}, "p5": {"description": "", "templateType": "anything", "name": "p5", "definition": "shuffle(2..10)[0..9]", "group": "Ungrouped variables"}, "dv1": {"description": "", "templateType": "anything", "name": "dv1", "definition": "div[0]*div[1]*div[2]", "group": "edt"}, "ans43": {"description": "", "templateType": "anything", "name": "ans43", "definition": "p4[0]*p4[1]", "group": "Ungrouped variables"}, "ans1": {"description": "", "templateType": "anything", "name": "ans1", "definition": "lcm(dm[0],dm[1])", "group": "new"}, "div": {"description": "", "templateType": "anything", "name": "div", "definition": "shuffle([3,5,7,9,11])[0..5]", "group": "Ungrouped variables"}, "p2": {"description": "", "templateType": "anything", "name": "p2", "definition": "shuffle(2..10)[0..9]", "group": "Ungrouped variables"}, "ans21": {"description": "", "templateType": "anything", "name": "ans21", "definition": "(p2[1]*div[1]*div[2])+(p2[2]*div[0]*div[2])-(p2[4]*div[1]*div[0])", "group": "Ungrouped variables"}, "num1n": {"description": "", "templateType": "anything", "name": "num1n", "definition": "shuffle(-9..-2)[0..2]", "group": "Ungrouped variables"}, "ans53": {"description": "", "templateType": "anything", "name": "ans53", "definition": "n5[0]*n5[0]", "group": "Ungrouped variables"}, "dm": {"description": "", "templateType": "anything", "name": "dm", "definition": "shuffle([3,5,7,11])[0..2]", "group": "new"}, "p3": {"description": "", "templateType": "anything", "name": "p3", "definition": "shuffle(2..10)[0..9]", "group": "Ungrouped variables"}, "ans41": {"description": "", "templateType": "anything", "name": "ans41", "definition": "n4[0]*p4[2]", "group": "Ungrouped variables"}, "ans51": {"description": "", "templateType": "anything", "name": "ans51", "definition": "p5[0]*p5[0]", "group": "Ungrouped variables"}, "ans22": {"description": "", "templateType": "anything", "name": "ans22", "definition": "(p2[0]*div[1]*div[2])+(n2[0]*div[0]*div[2])-(p2[3]*div[1]*div[0])", "group": "Ungrouped variables"}, "n4": {"description": "", "templateType": "anything", "name": "n4", "definition": "shuffle(-9..-2)[0..8]", "group": "Ungrouped variables"}, "ans31": {"description": "", "templateType": "anything", "name": "ans31", "definition": "(n3[0]*d3[1]*d3[2]*t3[0])-(p3[1]*d3[0]*d3[2]*t3[1])-(p3[3]*d3[1]*d3[0]*t3[2])", "group": "Ungrouped variables"}, "ans32": {"description": "", "templateType": "anything", "name": "ans32", "definition": "(p3[0]*d3[1]*d3[2]*t3[0])-(n3[1]*d3[0]*d3[2]*t3[1])-(p3[2]*d3[1]*d3[0]*t3[2])", "group": "Ungrouped variables"}, "n2": {"description": "", "templateType": "anything", "name": "n2", "definition": "shuffle(-9..-2)[0..8]", "group": "Ungrouped variables"}, "ans42": {"description": "", "templateType": "anything", "name": "ans42", "definition": "(p4[0]*p4[2])+(p4[1]*n4[0])", "group": "Ungrouped variables"}, "ans52": {"description": "", "templateType": "anything", "name": "ans52", "definition": "n5[0]*p5[0]*2", "group": "Ungrouped variables"}, "p4": {"description": "", "templateType": "anything", "name": "p4", "definition": "shuffle(2..10)[0..9]", "group": "Ungrouped variables"}, "nm": {"description": "", "templateType": "anything", "name": "nm", "definition": "shuffle([2,4,6,8,10])[0..2]", "group": "new"}, "t3": {"description": "", "templateType": "anything", "name": "t3", "definition": "shuffle([2,3,4,5])[0..3]", "group": "Ungrouped variables"}, "n5": {"description": "", "templateType": "anything", "name": "n5", "definition": "shuffle(-9..-2)[0..8]", "group": "Ungrouped variables"}, "dv2": {"description": "", "templateType": "anything", "name": "dv2", "definition": "d3[0]*d3[1]*d3[2]", "group": "edt"}, "ans11": {"description": "", "templateType": "anything", "name": "ans11", "definition": "(num1p[0]*num1p[2])+(num1n[0]*num1p[3])+ num1p[4]", "group": "Ungrouped variables"}, "num1p": {"description": "", "templateType": "anything", "name": "num1p", "definition": "shuffle(2..10)[0..9]", "group": "Ungrouped variables"}}, "functions": {}, "advice": "

\n

Remove the brackets and gather the x terms together and also the number terms together.

\n

When in fraction form, get the lowest common multiple (LCM), and multiply the top line by how many times the divisor goes into the LCM.

\n

Rule for multiping out brackets:

\n

(a$x$ - b)(c$x$ + d) = (a * c)$x^2$ + ((a * d) + ((-b) *c)))$x$ + ((-b) * d)

\n

Rule for squaring brackets:

\n

(-a$x$ + b)$^2$ = (-a * -a)$x^2$ + (2 * (-a) *b)$x$ + (b * b)

", "tags": ["Rebel", "REBEL", "rebel", "rebelmaths", "teame"], "name": "Simplify algebra equations", "showQuestionGroupNames": false, "question_groups": [{"pickQuestions": 0, "pickingStrategy": "all-ordered", "questions": [], "name": ""}], "statement": "

For the following, leave the numbers as is, do not put into lowest form as these are algebra expressions:

\n

For example:

\n

When you simplify the equation and the answer is $3x -6$, leave it as that, do not answer $x - 2$.

", "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}]}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}