// Numbas version: exam_results_page_options {"name": "Using the Logarithm Equivalence $\\log_ba=c \\Longleftrightarrow a=b^c$", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "variable_groups": [{"variables": ["g3", "g2", "g4", "g1"], "name": "part 2"}, {"variables": ["h1", "h2"], "name": "part3"}], "tags": [], "parts": [{"variableReplacementStrategy": "originalfirst", "customName": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "sortAnswers": false, "variableReplacements": [], "scripts": {}, "marks": 0, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "useCustomName": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "customName": "", "failureRate": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "vsetRangePoints": 5, "checkingType": "absdiff", "variableReplacements": [], "valuegenerators": [], "scripts": {}, "marks": 1, "extendBaseMarkingAlgorithm": true, "checkingAccuracy": 0.001, "customMarkingAlgorithm": "", "vsetRange": [0, 1], "useCustomName": false, "answer": "{f^f1}", "unitTests": [], "type": "jme", "showPreview": true, "checkVariableNames": false}], "unitTests": [], "type": "gapfill", "prompt": "

Rearrange the equation to find $x$.

\n

$\\log_\\var{f}(x)=\\var{f1}$ 

\n

$x=$ [[0]]

"}, {"variableReplacementStrategy": "originalfirst", "customName": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "sortAnswers": false, "variableReplacements": [], "scripts": {}, "marks": 0, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "useCustomName": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "customName": "", "failureRate": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "vsetRangePoints": 5, "checkingType": "absdiff", "variableReplacements": [], "valuegenerators": [{"name": "y", "value": ""}], "scripts": {}, "marks": 1, "extendBaseMarkingAlgorithm": true, "checkingAccuracy": 0.001, "customMarkingAlgorithm": "", "vsetRange": [0, 1], "useCustomName": false, "answer": "{g1}^(y+{g2})", "unitTests": [], "type": "jme", "showPreview": true, "checkVariableNames": false}], "unitTests": [], "type": "gapfill", "prompt": "

Make $x$ the subject of the following equation.

\n

$\\log_\\var{g1}(x)=y+\\var{g2}$

\n

$x=$ [[0]]

"}, {"variableReplacementStrategy": "originalfirst", "customName": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "sortAnswers": false, "variableReplacements": [], "scripts": {}, "marks": 0, "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "useCustomName": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "customName": "", "failureRate": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "vsetRangePoints": 5, "checkingType": "absdiff", "variableReplacements": [], "valuegenerators": [{"name": "y", "value": ""}], "scripts": {}, "marks": 1, "extendBaseMarkingAlgorithm": true, "checkingAccuracy": 0.001, "customMarkingAlgorithm": "", "vsetRange": [0, 1], "useCustomName": false, "answer": "(y+{h1})^(1/{h2})", "unitTests": [], "type": "jme", "showPreview": true, "checkVariableNames": false}], "unitTests": [], "type": "gapfill", "prompt": "

Make $x$ the subject of the equation, leaving your answer in the form $a^{\\frac{1}{b}}$.

\n

$\\log_x(y+\\var{h1})=\\var{h2}$

\n

$x=$ [[0]]

"}, {"variableReplacementStrategy": "originalfirst", "distractors": ["", "", "", "", "", ""], "maxMarks": 0, "showFeedbackIcon": true, "variableReplacements": [], "useCustomName": false, "marks": 0, "extendBaseMarkingAlgorithm": true, "unitTests": [], "maxAnswers": 0, "matrix": ["1", "1", "1", "-5", "-5", "1"], "type": "m_n_2", "displayColumns": 0, "warningType": "none", "showCorrectAnswer": true, "customName": "", "scripts": {}, "displayType": "checkbox", "customMarkingAlgorithm": "", "showCellAnswerState": true, "choices": ["

$\\log_a(a^x)$

", "

$a^{\\log_a(x)}$

", "

$e^{\\ln(x)}$

", "

$\\log_{10}(x)$

", "

$\\log_e(x)$

", "

$\\ln(e^x)$

"], "minAnswers": 0, "shuffleChoices": true, "prompt": "

Which of the following expressions are equivalent to $x$?

", "minMarks": 0}], "functions": {}, "name": "Using the Logarithm Equivalence $\\log_ba=c \\Longleftrightarrow a=b^c$", "ungrouped_variables": ["f", "f2", "f1", "f3", "f4", "f5"], "preamble": {"js": "", "css": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Rearrange some expressions involving logarithms by applying the relation $\\log_b(a) = c \\iff a = b^c$.

"}, "extensions": [], "statement": "

Changing the subject of an equation involving logarithms often requires the use of the equivalence

\n

\\[\\log_ba=c \\Longleftrightarrow a=b^c\\text{.}\\]

", "advice": "

a)

\n

i)

\n

We can rearrange logarithms using indices. 

\n

\\[\\log_ba=c \\Longleftrightarrow a=b^c\\]

\n

Using this equivalence we can rewrite $\\log_\\var{f}x=\\var{f1}$.

\n

\\[\\begin{align}
x&= \\var{f}^\\var{f1} \\\\
&=\\var{f^f1}
\\end{align}\\]

\n

\n

b)

\n

i)

\n

We can use the equivalence to rewrite our equation.

\n

\\[\\log_ba=c \\Longleftrightarrow a=b^c\\]

\n

We can write out our values to makes it easier.

\n

\\[\\begin{align}
a&=x \\\\
b&=\\var{g1}\\\\
c&=y+\\var{g2}
\\end{align}\\]

\n

Then we can write out our equation in the required form.

\n

\\[x=\\var{g1}^{y+\\var{g2}}\\]

\n

\n

c)

\n

We can use the same equivalence as in part b)

\n

\\[\\log_ba=c \\Longleftrightarrow a=b^c\\]

\n

We have

\n

\\begin{align}
a&=y+\\var{h1} \\\\
b&=x\\\\
c&=\\var{h2}\\text{.} \\\\ \\\\
\\log_{x}(y+\\var{h1}) &= \\var{h2} \\\\
\\implies y+\\var{h1} &= x^{\\var{h2}} \\\\
x &= (y+\\var{h1})^{\\frac{1}{\\var{h2}}}
\\end{align}

\n

\n

d) 

\n

The two in this list that don't equal $x$ are $\\log_e(x)$ and $\\log_{10}(x)$.

\n

\\[\\begin{align}
\\log_e(x)&=\\ln(x)\\\\
\\log_{10}(x)&=\\log(x)\\text{.}
\\end{align}\\]

", "variables": {"f2": {"description": "", "definition": "random(2..10 except f3 f)", "group": "Ungrouped variables", "name": "f2", "templateType": "anything"}, "f4": {"description": "", "definition": "random(5..12 except f2 f)", "group": "Ungrouped variables", "name": "f4", "templateType": "anything"}, "g4": {"description": "", "definition": "random(2..10except g1 g2 g3)", "group": "part 2", "name": "g4", "templateType": "anything"}, "g1": {"description": "", "definition": "random(2..10)", "group": "part 2", "name": "g1", "templateType": "anything"}, "g3": {"description": "", "definition": "random(2..10except g1 g2)", "group": "part 2", "name": "g3", "templateType": "anything"}, "f3": {"description": "", "definition": "random(3..8)", "group": "Ungrouped variables", "name": "f3", "templateType": "anything"}, "f": {"description": "", "definition": "random(2..10)", "group": "Ungrouped variables", "name": "f", "templateType": "anything"}, "f1": {"description": "", "definition": "random(2..5 except f)", "group": "Ungrouped variables", "name": "f1", "templateType": "anything"}, "h1": {"description": "", "definition": "random(1..10 except h2)", "group": "part3", "name": "h1", "templateType": "anything"}, "g2": {"description": "", "definition": "random(2..10except g1)", "group": "part 2", "name": "g2", "templateType": "anything"}, "f5": {"description": "", "definition": "random(2..6 except f1)", "group": "Ungrouped variables", "name": "f5", "templateType": "anything"}, "h2": {"description": "", "definition": "random(2..4)", "group": "part3", "name": "h2", "templateType": "anything"}}, "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/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "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/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}