// Numbas version: exam_results_page_options {"name": "MATH6058 Addition and Subtraction of Logarithms", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "extensions": [], "variables": {"x1": {"name": "x1", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "repeat(random(2..20),8)"}, "y1": {"name": "y1", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2..6)"}}, "variable_groups": [], "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "name": "MATH6058 Addition and Subtraction of Logarithms", "parts": [{"showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill", "gaps": [{"maxValue": "x1[1]*x1[0]", "type": "numberentry", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "minValue": "x1[1]*x1[0]", "marks": "2", "mustBeReduced": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "correctAnswerFraction": false, "mustBeReducedPC": 0}], "marks": 0, "prompt": "

$\\log_a(\\var{x1[1]})+ \\log_a(\\var{x1[0]})=\\log_a($ [[0]]$)$

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

$\\log_a(\\var{(x1[4])*y1})-\\log_a(\\var{x1[4]})=\\log_a($ [[0]]$)$

"}], "advice": "

a)

\n

We need to use the rule

\n

\\[\\log_a(x)+\\log_a(y)=\\log_a(xy)\\text{.}\\]

\n

Substituting 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

\n

b)

\n

We need to use the rule

\n

\\[\\log_a(x)-\\log_a(y)=\\log_a\\left(\\frac{x}{y}\\right)\\text{.}\\]

\n

Substituting 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}\\]

\n

", "ungrouped_variables": ["x1", "y1"], "statement": "

Simplify the expressions to fill in the gaps.

", "rulesets": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Use laws for addition and subtraction of logarithms to simplify a given logarithmic expression to an arbitrary base.

"}, "type": "question", "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}]}], "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}