// Numbas version: exam_results_page_options {"name": "David's copy of Rearranging Logarithms involving Indices", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "David's copy of Rearranging Logarithms involving Indices", "variables": {"z1": {"name": "z1", "description": "", "definition": "repeat(random(2..4),10)", "templateType": "anything", "group": "Ungrouped variables"}, "b1": {"name": "b1", "description": "", "definition": "random(2..8 #2)", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"name": "c", "description": "", "definition": "b1^b4", "templateType": "anything", "group": "Ungrouped variables"}, "v": {"name": "v", "description": "", "definition": "random(2..10)", "templateType": "anything", "group": "part c"}, "b": {"name": "b", "description": "", "definition": "c/2", "templateType": "anything", "group": "Ungrouped variables"}, "q": {"name": "q", "description": "", "definition": "v^p", "templateType": "anything", "group": "part c"}, "b2": {"name": "b2", "description": "", "definition": "b-2", "templateType": "anything", "group": "Ungrouped variables"}, "x1": {"name": "x1", "description": "", "definition": "repeat(random(2..5),8)", "templateType": "anything", "group": "Ungrouped variables"}, "p": {"name": "p", "description": "", "definition": "random(3..6)", "templateType": "anything", "group": "part c"}, "y1": {"name": "y1", "description": "", "definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables"}, "b4": {"name": "b4", "description": "", "definition": "random(2..4 except b1)", "templateType": "anything", "group": "Ungrouped variables"}, "m": {"name": "m", "description": "", "definition": "random(2..20)", "templateType": "anything", "group": "part c"}}, "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "
Use the rule $\\log_a(n^b) = b\\log_a(n)$ to rearrange some expressions.
"}, "variable_groups": [{"name": "part c", "variables": ["p", "v", "q", "m"]}], "tags": [], "statement": "When logarithms involve indices we can rearrange them using the rule,
\n\\[\\log_a(x^y)=y\\log_a(x)\\]
\nThis can also be useful for removing integers from the front of logarithms.
", "extensions": [], "advice": "i)
\nWe need to use the rule
\n\\[k\\log_a(x)=\\log_a(x^k)\\text{.}\\]
\nSubsituting in our values for $x$ and $k$ gives
\n\\[\\var{x1[3]}\\log_a(\\var{z1[0]})=\\log_a(\\var{z1[0]^x1[3]})\\text{.}\\]
\nii)
\nWe need to use the rule
\n\\[k\\log_a(x)=\\log_a(x^k)\\text{.}\\]
\nSubsituting in our values for $x$ and $k$ gives
\n\\[\\var{x1[1]}\\log_a(\\var{z1[1]})=\\log_a(\\var{z1[1]^x1[1]})\\text{.}\\]
\ni)
\nThe rule for indices in logarithms also works the other way around,
\n\\[\\log_a(x^k)=k\\log_a(x)\\text{.}\\]
\nWe can use this to rearrange our expression by substituting in values for $x$ and $k$.
\n\\[\\begin{align}
\\log_a(\\var{x1[3]^z1[5]})&=k\\log_a(\\var{x1[3]})\\\\
\\var{x1[3]^z1[5]}&=\\var{x1[3]}^k\\\\
\\var{x1[3]^z1[5]}&=\\var{x1[3]}^\\var{z1[5]}\\\\
k&=\\var{z1[5]}\\\\
\\log_a(\\var{x1[3]^z1[5]})&=\\var{z1[5]}\\log_a(\\var{x1[3]})
\\end{align}\\]
ii)
\nAs with i) we can use the rule
\n\\[\\log_a(x^k)=k\\log_a(x)\\text{.}\\]
\nWe can use this to rearrange our expression by substituting in values for $x$ and $k$.
\n\\[\\begin{align}
\\log_a(\\var{x1[5]^z1[6]})&=k\\log_a(\\var{x1[5]})\\\\
\\var{x1[5]^z1[6]}&=\\var{x1[5]}^k\\\\
\\var{x1[5]^z1[6]}&=\\var{x1[5]}^\\var{z1[6]}\\\\
k&=\\var{z1[6]}\\\\
\\log_a(\\var{x1[5]^z1[6]})&=\\var{z1[6]}\\log_a(\\var{x1[5]})
\\end{align}\\]
i)
\nFrom the structure of this question we can tell that the answer can be written in the form $k\\log_a(\\var{x1[3]})$, meaning all of the values in the expression
\n\\[\\log_a(\\var{x1[3]^z1[2]})+\\log_a(\\var{x1[3]})\\]
\ncan be written in the form $k\\log_a(\\var{x1[3]})$.
\nIf we look at each log individually we can make sure they all take this form.
\n\\[\\begin{align}
\\log_a(\\var{x1[3]^z1[2]})&=k\\log_a(\\var{x1[3]})\\\\
\\var{x1[3]^z1[2]}&=\\var{x1[3]}^k\\\\
\\var{x1[3]^z1[2]}&=\\var{x1[3]}^\\var{z1[2]}\\\\
k&=\\var{z1[2]}\\\\
\\log_a(\\var{x1[3]^z1[2]})&=\\var{z1[2]}\\log_a(\\var{x1[3]})
\\end{align}\\]
We can now write our expression as
\n\\[\\begin{align}
\\log_a(\\var{x1[3]^z1[2]})+\\log_a(\\var{x1[3]})&=\\var{z1[2]}\\log_a(\\var{x1[3]})+\\log_a(\\var{x1[3]})\\\\
&=\\var{z1[2]+1}\\log_a(\\var{x1[3]})\\text{.}
\\end{align}\\]
ii)
\nFrom this question we know our answer is written in the form $k\\log_a(\\var{x1[4]})$, meaning all of the values in the expression
\n\\[\\log_a(\\var{x1[4]^z1[1]})+\\log_a(\\var{x1[4]^z1[0]})\\]
\ncan be written in the form $k\\log_a(\\var{x1[4]})$.
\nIf we look at each log individually we can make sure they all take this form.
\n\\[\\begin{align}
\\log_a(\\var{x1[4]^z1[1]})&=k\\log_a(\\var{x1[4]})\\\\
\\var{x1[4]^z1[1]}&=\\var{x1[4]}^k\\\\
\\var{x1[4]^z1[1]}&=\\var{x1[4]}^\\var{z1[1]}\\\\
k&=\\var{z1[1]}\\\\
\\log_a(\\var{x1[4]^z1[1]})&=\\var{z1[1]}\\log_a(\\var{x1[4]})
\\end{align}\\]
\\[\\begin{align}
\\log_a(\\var{x1[4]^z1[0]})&=k\\log_a(\\var{x1[4]})\\\\
\\var{x1[4]^z1[0]}&=\\var{x1[4]}^k\\\\
\\var{x1[4]^z1[0]}&=\\var{x1[4]}^\\var{z1[0]}\\\\
k&=\\var{z1[0]}\\\\
\\log_a(\\var{x1[4]^z1[0]})&=\\var{z1[0]}\\log_a(\\var{x1[4]})
\\end{align}\\]
We can now write our expression as
\n\\[\\begin{align}
\\log_a(\\var{x1[4]^z1[1]})+\\log_a(\\var{x1[4]^z1[0]})&=\\var{z1[1]}\\log_a(\\var{x1[4]})+\\var{z1[0]}\\log_a(\\var{x1[4]})\\\\
&=\\var{z1[1]+z1[0]}\\log_a(\\var{x1[4]})\\text{.}
\\end{align}\\]
iii)
\nFrom this question we know our answer is written in the form $k\\log_a(\\var{x1[5]})$, meaning all of the values in the expression
\n\\[\\log_a(\\var{x1[5]^z1[1]})+\\log_a(\\var{x1[5]^z1[2]})-\\log_a(\\var{x1[5]^z1[4]})\\]
\ncan be written in the form $k\\log_a(\\var{x1[5]})$.
\nIf we look at each log individually we can make sure they all take this form.
\n\\[\\begin{align}
\\log_a(\\var{x1[5]^z1[1]})&=k\\log_a(\\var{x1[5]})\\\\
\\var{x1[5]^z1[1]}&=\\var{x1[5]}^k\\\\
\\var{x1[5]^z1[1]}&=\\var{x1[5]}^\\var{z1[1]}\\\\
k&=\\var{z1[1]}\\\\
\\log_a(\\var{x1[5]^z1[1]})&=\\var{z1[1]}\\log_a(\\var{x1[5]})
\\end{align}\\]
\\[\\begin{align}
\\log_a(\\var{x1[5]^z1[2]})&=k\\log_a(\\var{x1[5]})\\\\
\\var{x1[5]^z1[2]}&=\\var{x1[5]}^k\\\\
\\var{x1[5]^z1[2]}&=\\var{x1[5]}^\\var{z1[2]}\\\\
k&=\\var{z1[2]}\\\\
\\log_a(\\var{x1[5]^z1[2]})&=\\var{z1[2]}\\log_a(\\var{x1[5]})
\\end{align}\\]
\\[\\begin{align}
\\log_a(\\var{x1[5]^z1[4]})&=k\\log_a(\\var{x1[5]})\\\\
\\var{x1[5]^z1[4]}&=\\var{x1[5]}^k\\\\
\\var{x1[5]^z1[4]}&=\\var{x1[5]}^\\var{z1[4]}\\\\
k&=\\var{z1[4]}\\\\
\\log_a(\\var{x1[5]^z1[4]})&=\\var{z1[4]}\\log_a(\\var{x1[5]})
\\end{align}\\]
We can now write our expression as
\n\\[\\begin{align}
\\log_a(\\var{x1[5]^z1[1]})+\\log_a(\\var{x1[5]^z1[2]})-\\log_a(\\var{x1[5]^z1[4]})&=\\var{z1[1]}\\log_a(\\var{x1[5]})+\\var{z1[2]}\\log_a(\\var{x1[5]})-\\var{z1[4]}\\log_a(\\var{x1[5]})\\\\
&=\\var{z1[1]+z1[2]-z1[4]}\\log_a(\\var{x1[5]})\\text{.}
\\end{align}\\]
Simplify the following expressions. (use the ^ symbol to indicate to the power of and put the exponent between curly brackets )
\ni)
\n$\\var{z1[0]}\\log_a(\\var{x1[3]})=\\log_a($ [[0]]$)$
\nii)
\n$\\var{z1[1]}\\log_a(\\var{x1[1]})=\\log_a($ [[1]]$)$
", "customName": "", "adaptiveMarkingPenalty": 0, "scripts": {}, "variableReplacements": [], "customMarkingAlgorithm": "", "marks": 0, "showFeedbackIcon": true, "gaps": [{"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{x1[3]}^{z1[0]}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}, {"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{x1[1]}^{z1[1]}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true}, {"sortAnswers": false, "type": "gapfill", "showCorrectAnswer": true, "useCustomName": false, "unitTests": [], "prompt": "Simplify the following expressions.
\ni)
\n$\\log_a(\\var{x1[3]^z1[5]})=$ [[0]] $\\log_a(\\var{x1[3]})$
\nii)
\n$\\log_a(\\var{x1[5]^z1[6]})=$ [[1]] $\\log_a(\\var{x1[5]})$
", "customName": "", "adaptiveMarkingPenalty": 0, "scripts": {}, "variableReplacements": [], "customMarkingAlgorithm": "", "marks": 0, "showFeedbackIcon": true, "gaps": [{"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{z1[5]}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}, {"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{z1[6]}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true}, {"sortAnswers": false, "type": "gapfill", "showCorrectAnswer": true, "useCustomName": false, "unitTests": [], "prompt": "i)
\n$\\log_a(\\var{x1[3]^z1[2]})+\\log_a(\\var{x1[3]})=$ [[0]]$\\log_a(\\var{x1[3]})$
\nii)
\n$\\log_a(\\var{x1[4]^z1[1]})+\\log_a(\\var{x1[4]^z1[0]})=$ [[1]]$\\log_a(\\var{x1[4]})$
\niii)
\n$\\log_a(\\var{x1[5]^z1[1]})+\\log_a(\\var{x1[5]^z1[2]})-\\log_a(\\var{x1[5]^z1[4]})=$ [[2]]$\\log_a(\\var{x1[5]})$
", "customName": "", "adaptiveMarkingPenalty": 0, "scripts": {}, "variableReplacements": [], "customMarkingAlgorithm": "", "marks": 0, "showFeedbackIcon": true, "gaps": [{"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{z1[2]+1}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}, {"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{z1[1]+z1[0]}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}, {"type": "jme", "valuegenerators": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "answer": "{z1[1]+z1[2]-z1[4]}", "checkVariableNames": false, "adaptiveMarkingPenalty": 0, "checkingType": "absdiff", "useCustomName": false, "marks": 1, "showFeedbackIcon": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "customName": "", "scripts": {}, "checkingAccuracy": 0.001, "showPreview": true, "unitTests": [], "vsetRange": [0, 1], "vsetRangePoints": 5}], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "David Martin", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/130/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "David Martin", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/130/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}]}