// Numbas version: finer_feedback_settings {"question_groups": [{"pickingStrategy": "all-ordered", "pickQuestions": 1, "name": "Group", "questions": [{"name": "Using Laws for Addition and Subtraction of Logarithms", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "tags": ["addition and subtraction of logarithms", "Laws of logarithms", "laws of logarithms", "logarithms", "Logarithms", "logs", "Logs", "taxonomy"], "advice": "
We need to use the rule
\n\\[\\log_a(x)+\\log_a(y)=\\log_a(xy)\\text{.}\\]
\nSubstituting in our values for $x$ and $y$ gives
\n\\[\\begin{align}
\\log_a(\\var{x1[1]})+\\log_a(\\var{x1[0]})&=\\log_a(\\var{x1[1]}\\times \\var{x1[0]})\\\\
&=\\log_a(\\var{x1[1]*x1[0]})\\text{.}
\\end{align}\\]
\n
We need to use the rule
\n\\[\\log_a(x)-\\log_a(y)=\\log_a\\left(\\frac{x}{y}\\right)\\text{.}\\]
\nSubstituting in our values for $x$ and $y$ gives
\n\\[\\begin{align}
\\log_a(\\var{x1[4]*y1})-\\log_a(\\var{x1[4]})&=\\log_a(\\var{x1[4]*y1}\\div \\var{x1[4]})\\\\
&=\\log_a(\\var{y1})\\text{.}
\\end{align}\\]
Simplify the expressions to fill in the gaps.
", "variable_groups": [], "parts": [{"scripts": {}, "variableReplacements": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "stepsPenalty": 0, "gaps": [{"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "maxValue": "x1[1]*x1[0]", "showFeedbackIcon": true, "minValue": "x1[1]*x1[0]", "correctAnswerStyle": "plain", "allowFractions": false, "mustBeReduced": false, "scripts": {}, "variableReplacements": [], "marks": "2", "showCorrectAnswer": true}], "showCorrectAnswer": true, "prompt": "$\\log_a(\\var{x1[1]})+ \\log_a(\\var{x1[0]})=\\log_a($ [[0]]$)$
", "steps": [{"scripts": {}, "variableReplacements": [], "type": "information", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "When adding and subtracting logarithms we can simplify the expressions using some logarithm laws. These laws are
\n\\[\\begin{align}
\\log_a(x)+\\log_a(y)&=\\log_a(xy)\\text{,}\\\\
\\log_a(x)-\\log_a(y)&=\\log_a\\left(\\frac{x}{y}\\right)\\text{.}
\\end{align}\\]
$\\log_a(\\var{(x1[4])*y1})-\\log_a(\\var{x1[4]})=\\log_a($ [[0]]$)$
", "steps": [{"scripts": {}, "variableReplacements": [], "type": "information", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "When adding and subtracting logarithms we can simplify the expressions using some logarithm laws. These laws are
\n\\[\\begin{align}
\\log_a(x)+\\log_a(y)&=\\log_a(xy)\\text{,}\\\\
\\log_a(x)-\\log_a(y)&=\\log_a\\left(\\frac{x}{y}\\right)\\text{.}
\\end{align}\\]
Use laws for addition and subtraction of logarithms to simplify a given logarithmic expression to an arbitrary base.
"}, "functions": {}}, {"name": "Rearranging Logarithms involving Indices", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "statement": "When logarithms involve indices we can rearrange them using the rule,
\n\\[\\log_a(x^y)=y\\log_a(x)\\text{.}\\]
\nThis can also be useful for removing integers from the front of logarithms.
", "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[0]}\\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.
\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]]$)$
", "marks": 0}, {"scripts": {}, "variableReplacements": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "gaps": [{"checkingtype": "absdiff", "scripts": {}, "type": "jme", "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "showFeedbackIcon": true, "expectedvariablenames": [], "vsetrange": [0, 1], "checkingaccuracy": 0.001, "answer": "{z1[5]}", "marks": 1, "variableReplacements": [], "checkvariablenames": false, "showpreview": true}, {"checkingtype": "absdiff", "scripts": {}, "type": "jme", "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "showFeedbackIcon": true, "expectedvariablenames": [], "vsetrange": [0, 1], "checkingaccuracy": 0.001, "answer": "{z1[6]}", "marks": 1, "variableReplacements": [], "checkvariablenames": false, "showpreview": true}], "showCorrectAnswer": true, "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]})$
", "marks": 0}, {"scripts": {}, "variableReplacements": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "gaps": [{"checkingtype": "absdiff", "scripts": {}, "type": "jme", "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "showFeedbackIcon": true, "expectedvariablenames": [], "vsetrange": [0, 1], "checkingaccuracy": 0.001, "answer": "{z1[2]+1}", "marks": 1, "variableReplacements": [], "checkvariablenames": false, "showpreview": true}, {"checkingtype": "absdiff", "scripts": {}, "type": "jme", "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "showFeedbackIcon": true, "expectedvariablenames": [], "vsetrange": [0, 1], "checkingaccuracy": 0.001, "answer": "{z1[1]+z1[0]}", "marks": 1, "variableReplacements": [], "checkvariablenames": false, "showpreview": true}, {"checkingtype": "absdiff", "scripts": {}, "type": "jme", "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "showCorrectAnswer": true, "showFeedbackIcon": true, "expectedvariablenames": [], "vsetrange": [0, 1], "checkingaccuracy": 0.001, "answer": "{z1[1]+z1[2]-z1[4]}", "marks": 1, "variableReplacements": [], "checkvariablenames": false, "showpreview": true}], "showCorrectAnswer": true, "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]})$
", "marks": 0}], "ungrouped_variables": ["x1", "y1", "z1", "b1", "c", "b4", "b", "b2"], "rulesets": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Use the rule $\\log_a(n^b) = b\\log_a(n)$ to rearrange some expressions.
"}, "preamble": {"css": "", "js": ""}, "functions": {}}]}], "showstudentname": true, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Questions on manipulating logarithms.
"}, "navigation": {"allowregen": true, "reverse": true, "showresultspage": "oncompletion", "showfrontpage": true, "onleave": {"action": "none", "message": ""}, "browse": true, "preventleave": true}, "duration": 0, "showQuestionGroupNames": false, "percentPass": 0, "timing": {"timedwarning": {"action": "none", "message": ""}, "timeout": {"action": "none", "message": ""}, "allowPause": true}, "name": "Jonathan's copy of Printable assignment using NUMBAS", "feedback": {"feedbackmessages": [], "showtotalmark": true, "intro": "", "allowrevealanswer": true, "advicethreshold": 0, "showactualmark": true, "showanswerstate": true, "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "never"}, "type": "exam", "contributors": [{"name": "Jonathan Kress", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1952/"}], "extensions": [], "custom_part_types": [], "resources": []}