// Numbas version: exam_results_page_options {"name": "Simon's copy of Adding and Subtracting Logs", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "name": "Simon's copy of Adding and Subtracting Logs", "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "extensions": [], "preamble": {"css": "", "js": ""}, "advice": "

You will require the laws of logarithms:

\n

$\\log{a} + \\log{b} = \\log{ab}$

\n

$\\log{a} - \\log{b} = \\log{\\frac{a}{b}}$

\n

$\\log{a^n} = n\\log{a}$

\n

\n

(a)

\n

$\\log{\\var{a1}} + \\log{\\var{a2}} = \\log({\\var{a1}\\times\\var{a2}})=\\log{\\var{a1*a2}}$

\n

(b)

\n

$\\log{\\var{b1}} + \\log{\\var{b2}} = \\log({\\var{b1}\\times\\var{b2}})=\\log{\\var{b1*b2}}$

\n

(c)

\n

$\\log{\\var{c3}} - \\log{\\var{c2}} = \\log({\\var{c3}\\div\\var{c2}})=\\log{\\var{c3/c2}}$

\n

(d)

\n

$\\log{\\var{e1}} + \\log{\\var{e2}}+ \\log{\\var{e3}} = \\log({\\var{e1}\\times\\var{e2}\\times\\var{e3}})=\\log{\\var{e1*e2*e3}}$

\n

(e)

\n

$\\log{\\var{f1}} + \\log{\\var{f3}} - \\log{\\var{f5}} =  \\log({\\var{f1}\\times\\var{f3}\\div\\var{f5}})=\\log{\\var{f1*f3/f5}}$

\n

(f)

\n

$\\var{g1}\\log{\\var{g2}} + \\log{\\var{g3}} - \\log{\\var{g4}}= \\log({\\var{g2}^\\var{g1}\\times\\var{g3}\\div\\var{g4}})=\\log{\\var{g2^g1*g3/g4}}$

\n

(g)

\n

$\\frac{1}{2}\\log{\\var{h3}} - \\frac{1}{2}\\log{\\var{h2}}=\\frac{1}{2}(\\log{\\var{h3}} - \\log{\\var{h2}})= \\frac{1}{2} \\log({\\var{h3}\\div\\var{h2}})=\\frac{1}{2} \\log({\\var{h3/h2}})=\\log(\\var{h3/h2}^\\frac{1}{2})=\\log{\\var{(h3/h2)^0.5}}$

\n

(h)

\n

$\\log{\\var{i3}}-\\frac{1}{2}\\log{\\var{i4}} = \\log({\\var{i3}\\div\\var{i4}^\\frac{1}{2}})= \\log({\\var{i3}\\div\\var{i4^0.5}})=\\log{\\var{i3 / i4^0.5 }}$

\n

", "variables": {"d2": {"group": "Ungrouped variables", "name": "d2", "description": "", "templateType": "anything", "definition": "random(2..9 except d1)"}, "g1": {"group": "Ungrouped variables", "name": "g1", "description": "", "templateType": "anything", "definition": "random(2..4)"}, "a2": {"group": "Ungrouped variables", "name": "a2", "description": "", "templateType": "anything", "definition": "random(2..9 except a1)"}, "h2": {"group": "Ungrouped variables", "name": "h2", "description": "", "templateType": "anything", "definition": "random([2,3,5,7,8,10])"}, "i1": {"group": "Ungrouped variables", "name": "i1", "description": "", "templateType": "anything", "definition": "random(2..9)"}, "i3": {"group": "Ungrouped variables", "name": "i3", "description": "", "templateType": "anything", "definition": "i1*i2"}, "d3": {"group": "Ungrouped variables", "name": "d3", "description": "", "templateType": "anything", "definition": "d1*d2"}, "f1": {"group": "Ungrouped variables", "name": "f1", "description": "", "templateType": "anything", "definition": "random(2..9)"}, "i2": {"group": "Ungrouped variables", "name": "i2", "description": "", "templateType": "anything", "definition": "random(2..9)"}, "c1": {"group": "Ungrouped variables", "name": "c1", "description": "", "templateType": "anything", "definition": "random(2..19)"}, "f4": {"group": "Ungrouped variables", "name": "f4", "description": "", "templateType": "anything", "definition": "f2-1"}, "e1": {"group": "Ungrouped variables", "name": "e1", "description": "", "templateType": "anything", "definition": "random(2..9)"}, "c2": {"group": "Ungrouped variables", "name": "c2", "description": "", "templateType": "anything", "definition": "random(2..9 except c1)"}, "a1": {"group": "Ungrouped variables", "name": "a1", "description": "", "templateType": "anything", "definition": "random(2..9)"}, "h1": {"group": "Ungrouped variables", "name": "h1", "description": "", "templateType": "anything", "definition": "random([4,9,16,25])"}, "i4": {"group": "Ungrouped variables", "name": "i4", "description": "", "templateType": "anything", "definition": "i2^2"}, "f3": {"group": "Ungrouped variables", "name": "f3", "description": "", "templateType": "anything", "definition": "f1*f2"}, "c3": {"group": "Ungrouped variables", "name": "c3", "description": "", "templateType": "anything", "definition": "c1*c2"}, "f5": {"group": "Ungrouped variables", "name": "f5", "description": "", "templateType": "anything", "definition": "f1^2"}, "d1": {"group": "Ungrouped variables", "name": "d1", "description": "", "templateType": "anything", "definition": "random(2..19)"}, "g2": {"group": "Ungrouped variables", "name": "g2", "description": "", "templateType": "anything", "definition": "random(2..9 except g1)"}, "g3": {"group": "Ungrouped variables", "name": "g3", "description": "", "templateType": "anything", "definition": "random(2..9 except g2 except g1)"}, "g4": {"group": "Ungrouped variables", "name": "g4", "description": "", "templateType": "anything", "definition": "g2*g3"}, "h3": {"group": "Ungrouped variables", "name": "h3", "description": "", "templateType": "anything", "definition": "h1*h2"}, "f2": {"group": "Ungrouped variables", "name": "f2", "description": "", "templateType": "anything", "definition": "random(3..5 except f1)"}, "b2": {"group": "Ungrouped variables", "name": "b2", "description": "", "templateType": "anything", "definition": "random(2..19 except a1 except a2 except b1)"}, "e3": {"group": "Ungrouped variables", "name": "e3", "description": "", "templateType": "anything", "definition": "random(2..9 except e1 except e2)"}, "e2": {"group": "Ungrouped variables", "name": "e2", "description": "", "templateType": "anything", "definition": "random(2..9 except e1)"}, "b1": {"group": "Ungrouped variables", "name": "b1", "description": "", "templateType": "anything", "definition": "random(2..19 except a2 except a1)"}}, "rulesets": {}, "statement": "

You will require the laws of logarithms for these questions:

\n

$\\log{a} + \\log{b} = \\log{ab}$

\n

$\\log{a} - \\log{b} = \\log{\\frac{a}{b}}$

\n

$\\log{a^n} = n\\log{a}$

\n

\n

\n

Express each of the following as a single logarithm. 

\n

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

$\\log{\\var{a1}} + \\log{\\var{a2}} = \\log$[[0]]

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

$\\log{\\var{b1}} + \\log{\\var{b2}} = \\log$[[0]]

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

$\\log{\\var{c3}} - \\log{\\var{c2}} = \\log$[[0]]

", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0}, {"sortAnswers": false, "scripts": {}, "gaps": [{"correctAnswerStyle": "plain", "maxValue": "e1*e2*e3", "scripts": {}, "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "unitTests": [], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "numberentry", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 1, "allowFractions": false, "minValue": "e1*e2*e3", "notationStyles": ["plain", "en", "si-en"]}], "customMarkingAlgorithm": "", "unitTests": [], "showCorrectAnswer": true, "prompt": "

$\\log{\\var{e1}} + \\log{\\var{e2}} + \\log{\\var{e3}} = \\log$[[0]]

", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0}, {"sortAnswers": false, "scripts": {}, "gaps": [{"correctAnswerStyle": "plain", "maxValue": "f1*f3/f5", "scripts": {}, "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "unitTests": [], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "numberentry", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 1, "allowFractions": false, "minValue": "f1*f3/f5", "notationStyles": ["plain", "en", "si-en"]}], "customMarkingAlgorithm": "", "unitTests": [], "showCorrectAnswer": true, "prompt": "

$\\log{\\var{f1}} + \\log{\\var{f3}} - \\log{\\var{f5}} = \\log$[[0]]

", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0}, {"sortAnswers": false, "scripts": {}, "gaps": [{"correctAnswerStyle": "plain", "maxValue": "g2^(g1-1)", "scripts": {}, "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "unitTests": [], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "numberentry", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 1, "allowFractions": false, "minValue": "g2^(g1-1)", "notationStyles": ["plain", "en", "si-en"]}], "customMarkingAlgorithm": "", "unitTests": [], "showCorrectAnswer": true, "prompt": "

$\\var{g1}\\log{\\var{g2}} + \\log{\\var{g3}} - \\log{\\var{g4}}=\\log$[[0]]

", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0}, {"sortAnswers": false, "scripts": {}, "gaps": [{"correctAnswerStyle": "plain", "maxValue": "(h1)^0.5", "scripts": {}, "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "unitTests": [], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "numberentry", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 1, "allowFractions": false, "minValue": "(h1)^0.5", "notationStyles": ["plain", "en", "si-en"]}], "customMarkingAlgorithm": "", "unitTests": [], "showCorrectAnswer": true, "prompt": "

$\\frac{1}{2}\\log{\\var{h3}} - \\frac{1}{2}\\log{\\var{h2}}=\\log$[[0]]

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

$\\log{\\var{i3}}-\\frac{1}{2}\\log{\\var{i4}} = \\log$[[0]]

", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0}], "ungrouped_variables": ["a1", "a2", "b1", "b2", "c1", "c2", "c3", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "f4", "f5", "g1", "g2", "g3", "g4", "h1", "h2", "h3", "i1", "i2", "i3", "i4"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Practice using the log rules to add and subtract logarithms

"}, "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}