// Numbas version: exam_results_page_options {"name": "logarithms addition/subtraction [L6]", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "extensions": [], "parts": [{"prompt": "

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

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

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

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

", "preamble": {"css": "", "js": ""}, "variables": {"x1": {"definition": "repeat(random(2..20),8)", "description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "x1"}, "y1": {"definition": "random(2..6)", "description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "y1"}}, "statement": "

Join the expressions. 

\n

Use the rules below, which apply to all numbers \ud835\udc4f and all positive numbers $x$ and $y$

\n

\\[\\begin{align}\\log_a(x^b)&=b\\log(x)\\\\ \\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}\\]

", "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "tags": ["L6"], "metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International"}, "name": "logarithms addition/subtraction [L6]", "ungrouped_variables": ["x1", "y1"], "type": "question", "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}]}]}], "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}]}