// Numbas version: exam_results_page_options {"name": "Solving Logarithms for Geosciences", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"showFeedbackIcon": true, "showCorrectAnswer": true, "gaps": [{"showCorrectAnswer": true, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "type": "numberentry", "scripts": {}, "variableReplacements": [], "allowFractions": false, "minValue": "{a1}", "maxValue": "{a1}", "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}], "prompt": "

$\\log_\\var{a2}\\var{a3}+\\log_\\var{a2}x = \\var{a4}$

\n

$x=$[[0]]

", "marks": 0, "stepsPenalty": 0, "scripts": {}, "variableReplacementStrategy": "originalfirst", "steps": [{"showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

First you need to use the law of logarithm to combine the two logs on the left handside  to one:

\n

$\\log_\\var{a2}(\\var{a3}\\times\\var{a2}x) = \\var{a4}$

\n

Then use the definition of log to change it to exponient form.

\n

", "marks": 1, "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "extension", "variableReplacements": []}], "type": "gapfill", "variableReplacements": []}, {"showFeedbackIcon": true, "showCorrectAnswer": true, "gaps": [{"showCorrectAnswer": true, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "type": "numberentry", "scripts": {}, "variableReplacements": [], "allowFractions": false, "minValue": "{b2}*({b1}^{b3})-{b4}", "maxValue": "{b2}*({b1}^{b3})-{b4}", "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}], "prompt": "

$\\log_\\var{b1}(x+\\var{b4})-\\log_\\var{b1}\\var{b2} = \\var{b3}$

\n

$x=$[[0]]

", "marks": 0, "stepsPenalty": 0, "scripts": {}, "variableReplacementStrategy": "originalfirst", "steps": [{"showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Similar to the first question, you need to use the law of logarithm to combine the two logs on the left handside to one:

\n

Then use the definition of log to change it to exponient form.

\n

", "marks": 1, "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "extension", "variableReplacements": []}], "type": "gapfill", "variableReplacements": []}, {"showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

$\\log_\\var{c1}\\var{c2}x-\\log_\\var{c1}(\\var{c3}x-\\var{c4}) = \\var{c5}$

\n

$x=$[[0]]

", "marks": 0, "gaps": [{"showCorrectAnswer": true, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "type": "numberentry", "scripts": {}, "variableReplacements": [], "allowFractions": true, "minValue": "({c4}*({c1}^{c5}))/(({c3}*({c1}^{c5}))-{c2})", "maxValue": "({c4}*({c1}^{c5}))/(({c3}*({c1}^{c5}))-{c2})", "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true}], "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": []}], "name": "Solving Logarithms for Geosciences", "variables": {"d3": {"description": "", "definition": "a*b", "name": "d3", "group": "Ungrouped variables", "templateType": "anything"}, "c1": {"description": "", "definition": "random(2..5)", "name": "c1", "group": "Ungrouped variables", "templateType": "anything"}, "b1": {"description": "", "definition": "random(2..6)", "name": "b1", "group": "Ungrouped variables", "templateType": "anything"}, "b2": {"description": "", "definition": "random(2..9)", "name": "b2", "group": "Ungrouped variables", "templateType": "anything"}, "b3": {"description": "", "definition": "random(2..5)", "name": "b3", "group": "Ungrouped variables", "templateType": "anything"}, "c4": {"description": "", "definition": "random(2..9 except c3)", "name": "c4", "group": "Ungrouped variables", "templateType": "anything"}, "a2": {"description": "", "definition": "random([4,6,8,10])", "name": "a2", "group": "Ungrouped variables", "templateType": "anything"}, "b": {"description": "", "definition": "floor(3a/2)", "name": "b", "group": "Ungrouped variables", "templateType": "anything"}, "a4": {"description": "", "definition": "random(2..3 except a2 except a3)", "name": "a4", "group": "Ungrouped variables", "templateType": "anything"}, "c3": {"description": "", "definition": "random(2..9 except c2)", "name": "c3", "group": "Ungrouped variables", "templateType": "anything"}, "d1": {"description": "", "definition": "random(2..6)", "name": "d1", "group": "Ungrouped variables", "templateType": "anything"}, "c5": {"description": "", "definition": "random(1..5)", "name": "c5", "group": "Ungrouped variables", "templateType": "anything"}, "a3": {"description": "", "definition": "a2/2", "name": "a3", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"description": "", "definition": "random(1..9)", "name": "a", "group": "Ungrouped variables", "templateType": "anything"}, "a1": {"description": "", "definition": "2a2^((a4)-1)", "name": "a1", "group": "Ungrouped variables", "templateType": "anything"}, "b4": {"description": "", "definition": "random(1..19)", "name": "b4", "group": "Ungrouped variables", "templateType": "anything"}, "d4": {"description": "", "definition": "+a+b", "name": "d4", "group": "Ungrouped variables", "templateType": "anything"}, "c2": {"description": "", "definition": "random(2..19)", "name": "c2", "group": "Ungrouped variables", "templateType": "anything"}, "d2": {"description": "", "definition": "random(2..5)", "name": "d2", "group": "Ungrouped variables", "templateType": "anything"}}, "ungrouped_variables": ["a1", "a2", "a3", "a4", "b1", "b2", "b3", "b4", "c1", "c2", "c3", "c4", "c5", "a", "b", "d1", "d2", "d3", "d4"], "preamble": {"js": "", "css": ""}, "advice": "

We want to solve for x. After simplifying, in each case we end up with $\\log_a{f(x)} = b$, so we raise both sides as a power of $a$ to get $a^{\\log_a{f(x)}} = a^b$ which simplifies (by laws of logarithms) to $f(x)=a^b$. We then solve for x accordingly.

\n

Use of the laws of logarithms is crucial here:

\n

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

\n

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

\n

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

", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "functions": {}, "statement": "

Solve these equations for x, give your answer as integer or fraction.

", "type": "question", "contributors": [{"name": "Jean jinhua Mathias", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/353/"}]}]}], "contributors": [{"name": "Jean jinhua Mathias", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/353/"}]}