// Numbas version: exam_results_page_options {"name": "Katherine's copy of Surds 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "advice": "

The best approach here is to first rationalise the denominator. We do this by multiplying both top and bottom by an approriate value.

\n

For example to rationalise the denominator for an expression like $\\frac{a}{\\sqrt{b}}$, we multiply numerator and denominator by $\\sqrt{b}$ to get $\\frac{a\\sqrt{b}}{b}$

\n

Similarly to rationalise the denominator for an expression like $\\frac{a+\\sqrt{b}}{c+\\sqrt{d}}$, we multiply numerator and denominator by $c-\\sqrt{d}$ to get $\\frac{(a+\\sqrt{b})(c-\\sqrt{d})}{c^2-d}$

\n

Dont forget that:

\n

$\\sqrt{a \\times b} = \\sqrt{a} \\times \\sqrt{b}$

\n

$\\sqrt{\\frac{a}{b}} = \\frac{\\sqrt{a}}{\\sqrt{b}}$

\n

$(a+\\sqrt{b})(a-\\sqrt{b})=a^2-b$

\n

Remember to check that your answer is in its simplest form.

", "name": "Katherine's copy of Surds 3", "statement": "

Express each of the following in the form $\\frac{a+b\\sqrt{c}}{d}$ where a, b, c and d are integers, with a, b, and d having no common factors

", "ungrouped_variables": ["a1", "a2", "b1", "b2", "c1", "c2", "c3", "c4", "c5", "c6", "c7", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "e1", "e2", "e3", "e4", "e5", "e6", "e7", "e8", "e9", "e10", "e11", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "g1", "g2", "g3", "g4", "g12", "g5", "g6", "g7", "g8", "g9", "g10", "g11", "g13"], "rulesets": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Rationalising Denominator (complex)

"}, "variables": {"d4": {"group": "Ungrouped variables", "description": "", "definition": "d1^2 - d2", "name": "d4", "templateType": "anything"}, "g9": {"group": "Ungrouped variables", "description": "", "definition": "g4/g8", "name": "g9", "templateType": "anything"}, "f10": {"group": "Ungrouped variables", "description": "", "definition": "f5/f8", "name": "f10", "templateType": "anything"}, "d5": {"group": "Ungrouped variables", "description": "", "definition": "gcd(d3,d4)", "name": "d5", "templateType": "anything"}, "f6": {"group": "Ungrouped variables", "description": "", "definition": "f2^2-f3", "name": "f6", "templateType": "anything"}, "e6": {"group": "Ungrouped variables", "description": "", "definition": "e2^2 - e3", "name": "e6", "templateType": "anything"}, "g12": {"group": "Ungrouped variables", "description": "", "definition": "random(4,9,16,25)", "name": "g12", "templateType": "anything"}, "d6": {"group": "Ungrouped variables", "description": "", "definition": "d3/d5", "name": "d6", "templateType": "anything"}, "c7": {"group": "Ungrouped variables", "description": "", "definition": "c4/c5", "name": "c7", "templateType": "anything"}, "e4": {"group": "Ungrouped variables", "description": "", "definition": "e1*e2-e3", "name": "e4", "templateType": "anything"}, "f9": {"group": "Ungrouped variables", "description": "", "definition": "f4/f8", "name": "f9", "templateType": "anything"}, "g11": {"group": "Ungrouped variables", "description": "", "definition": "g6/g8", "name": "g11", "templateType": "anything"}, "f8": {"group": "Ungrouped variables", "description": "", "definition": "gcd(f7,f6)", "name": "f8", "templateType": "anything"}, "g13": {"group": "Ungrouped variables", "description": "", "definition": "g3*g12", "name": "g13", "templateType": "anything"}, "e10": {"group": "Ungrouped variables", "description": "", "definition": "e5/e8", "name": "e10", "templateType": "anything"}, "f2": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11] except f1)", "name": "f2", "templateType": "anything"}, "e11": {"group": "Ungrouped variables", "description": "", "definition": "e6/e8", "name": "e11", "templateType": "anything"}, "d2": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except d1)", "name": "d2", "templateType": "anything"}, "f11": {"group": "Ungrouped variables", "description": "", "definition": "f6/f8", "name": "f11", "templateType": "anything"}, "e3": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except e1 except e2)", "name": "e3", "templateType": "anything"}, "g6": {"group": "Ungrouped variables", "description": "", "definition": "g2^2-4g3", "name": "g6", "templateType": "anything"}, "e7": {"group": "Ungrouped variables", "description": "", "definition": "gcd(e4,e5)", "name": "e7", "templateType": "anything"}, "g1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,2,7,11])", "name": "g1", "templateType": "anything"}, "g5": {"group": "Ungrouped variables", "description": "", "definition": "((g12)^0.5)*g2-2g1", "name": "g5", "templateType": "anything"}, "g8": {"group": "Ungrouped variables", "description": "", "definition": "gcd(g7,g6)", "name": "g8", "templateType": "anything"}, "b1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11] except a1)", "name": "b1", "templateType": "anything"}, "d3": {"group": "Ungrouped variables", "description": "", "definition": "random(2..5)", "name": "d3", "templateType": "anything"}, "f3": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except f1 except f2)", "name": "f3", "templateType": "anything"}, "g4": {"group": "Ungrouped variables", "description": "", "definition": "g1*g2-2g3*(g12)^0.5", "name": "g4", "templateType": "anything"}, "g3": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except g1 except g2)", "name": "g3", "templateType": "anything"}, "f7": {"group": "Ungrouped variables", "description": "", "definition": "gcd(f4,f5)", "name": "f7", "templateType": "anything"}, "c5": {"group": "Ungrouped variables", "description": "", "definition": "gcd(c3,c4)", "name": "c5", "templateType": "anything"}, "f4": {"group": "Ungrouped variables", "description": "", "definition": "f1*f2+f3", "name": "f4", "templateType": "anything"}, "g10": {"group": "Ungrouped variables", "description": "", "definition": "g5/g8", "name": "g10", "templateType": "anything"}, "d7": {"group": "Ungrouped variables", "description": "", "definition": "d4/d5", "name": "d7", "templateType": "anything"}, "e1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,2,7,11])", "name": "e1", "templateType": "anything"}, "g2": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11] except g1)", "name": "g2", "templateType": "anything"}, "f5": {"group": "Ungrouped variables", "description": "", "definition": "f2+f1", "name": "f5", "templateType": "anything"}, "e9": {"group": "Ungrouped variables", "description": "", "definition": "e4/e8", "name": "e9", "templateType": "anything"}, "e2": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11] except e1)", "name": "e2", "templateType": "anything"}, "c1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11] except a1 except b1)", "name": "c1", "templateType": "anything"}, "a1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11])", "name": "a1", "templateType": "anything"}, "g7": {"group": "Ungrouped variables", "description": "", "definition": "gcd(g4,g5)", "name": "g7", "templateType": "anything"}, "c2": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except c1)", "name": "c2", "templateType": "anything"}, "a2": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except a1)", "name": "a2", "templateType": "anything"}, "e5": {"group": "Ungrouped variables", "description": "", "definition": "e2-e1", "name": "e5", "templateType": "anything"}, "c3": {"group": "Ungrouped variables", "description": "", "definition": "random(2..5)", "name": "c3", "templateType": "anything"}, "b2": {"group": "Ungrouped variables", "description": "", "definition": "random([2,3,5] except b1)", "name": "b2", "templateType": "anything"}, "c4": {"group": "Ungrouped variables", "description": "", "definition": "c1^2 - c2", "name": "c4", "templateType": "anything"}, "e8": {"group": "Ungrouped variables", "description": "", "definition": "gcd(e7,e6)", "name": "e8", "templateType": "anything"}, "f1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,2,7,11])", "name": "f1", "templateType": "anything"}, "c6": {"group": "Ungrouped variables", "description": "", "definition": "c3/c5", "name": "c6", "templateType": "anything"}, "d1": {"group": "Ungrouped variables", "description": "", "definition": "random([3,5,7,11] except a1 except b1 except c1)", "name": "d1", "templateType": "anything"}}, "functions": {}, "variable_groups": [], "extensions": [], "parts": [{"marks": 0, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "prompt": "

1$\\var{a1}-\\sqrt{\\var{a2}}$ $=$ [[0]]+$\\sqrt{\\var{a2}}$[[1]] 

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


1$\\var{b1}-\\sqrt{\\var{b2}}$ $=$ [[0]]+$\\sqrt{\\var{b2}}$[[1]]

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

$\\var{c3}$$\\var{c1}-\\sqrt{\\var{c2}}$$=$[[0]]$+$[[1]]$\\sqrt{\\var{c2}}$[[2]]

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

$\\var{d3}$$\\var{d1}-\\sqrt{\\var{d2}}$ $=$ [[0]]$+$[[1]]$\\sqrt{\\var{d2}}$[[2]]

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

$\\var{e1}-\\sqrt{\\var{e3}}$$\\var{e2}-\\sqrt{\\var{e3}}$ $=$ [[0]]$+$[[1]]$\\sqrt{\\var{e3}}$[[2]]

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

$\\var{f1}+\\sqrt{\\var{f3}}$$\\var{f2}-\\sqrt{\\var{f3}}$$ = $ [[0]]$+$[[1]]$\\sqrt{\\var{f3}}$[[2]]

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

$\\var{g1}+\\sqrt{\\var{g13}}$$\\var{g2}+2\\sqrt{\\var{g3}}$$ =$ [[0]]$+$[[1]]$\\sqrt{\\var{g3}}$[[2]]

", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "gaps": [{"correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "scripts": {}, "allowFractions": false, "showCorrectAnswer": true, "variableReplacements": [], "correctAnswerFraction": false, "maxValue": "g9", "marks": 1, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "mustBeReducedPC": 0, "minValue": "g9"}, {"correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "scripts": {}, "allowFractions": false, "showCorrectAnswer": true, "variableReplacements": [], "correctAnswerFraction": false, "maxValue": "g10", "marks": 1, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "mustBeReducedPC": 0, "minValue": "g10"}, {"correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "scripts": {}, "allowFractions": false, "showCorrectAnswer": true, "variableReplacements": [], "correctAnswerFraction": false, "maxValue": "g11", "marks": 1, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "mustBeReducedPC": 0, "minValue": "g11"}]}], "preamble": {"css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}", "js": "document.createElement('fraction');\ndocument.createElement('numerator');\ndocument.createElement('denominator');"}, "type": "question", "contributors": [{"name": "Katherine Tomlinson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1652/"}]}]}], "contributors": [{"name": "Katherine Tomlinson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1652/"}]}