// Numbas version: exam_results_page_options {"name": "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": [{"variable_groups": [{"variables": ["g3", "g2", "g4", "g1"], "name": "part 2"}, {"variables": ["h1", "h2"], "name": "part3"}], "metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["f", "f2", "f1", "f3", "f4", "f5"], "functions": {}, "extensions": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "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{.}\\]

", "preamble": {"js": "", "css": ""}, "tags": [], "parts": [{"showFeedbackIcon": true, "marks": 0, "scripts": {}, "prompt": "

Rearrange the equation to find $x$.

\n

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

\n

$x=$ [[0]]

", "type": "gapfill", "gaps": [{"scripts": {}, "checkingtype": "absdiff", "answer": "{f^f1}", "vsetrange": [0, 1], "vsetrangepoints": 5, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "jme", "showFeedbackIcon": true, "checkvariablenames": false, "marks": 1, "checkingaccuracy": 0.001, "showpreview": true, "variableReplacements": [], "expectedvariablenames": []}], "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}, {"minMarks": 0, "choices": ["

$\\log_a(a^x)$

", "

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

", "

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

", "

$\\log_{10}(x)$

", "

$\\log_e(x)$

", "

$\\ln(e^x)$

"], "maxMarks": 0, "scripts": {}, "showCorrectAnswer": true, "prompt": "

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

", "displayType": "checkbox", "minAnswers": 0, "variableReplacementStrategy": "originalfirst", "type": "m_n_2", "shuffleChoices": true, "showFeedbackIcon": true, "marks": 0, "displayColumns": 0, "maxAnswers": 0, "matrix": ["1", "1", "1", "-5", "-5", "1"], "distractors": ["", "", "", "", "", ""], "warningType": "none", "variableReplacements": []}], "rulesets": {}, "variables": {"f3": {"templateType": "anything", "description": "", "definition": "random(3..8)", "group": "Ungrouped variables", "name": "f3"}, "h2": {"templateType": "anything", "description": "", "definition": "random(2..4)", "group": "part3", "name": "h2"}, "g1": {"templateType": "anything", "description": "", "definition": "random(2..10)", "group": "part 2", "name": "g1"}, "g2": {"templateType": "anything", "description": "", "definition": "random(2..10except g1)", "group": "part 2", "name": "g2"}, "g3": {"templateType": "anything", "description": "", "definition": "random(2..10except g1 g2)", "group": "part 2", "name": "g3"}, "f5": {"templateType": "anything", "description": "", "definition": "random(2..6 except f1)", "group": "Ungrouped variables", "name": "f5"}, "h1": {"templateType": "anything", "description": "", "definition": "random(1..10 except h2)", "group": "part3", "name": "h1"}, "f4": {"templateType": "anything", "description": "", "definition": "random(5..12 except f2 f)", "group": "Ungrouped variables", "name": "f4"}, "f1": {"templateType": "anything", "description": "", "definition": "random(2..5 except f)", "group": "Ungrouped variables", "name": "f1"}, "f": {"templateType": "anything", "description": "", "definition": "random(2..10)", "group": "Ungrouped variables", "name": "f"}, "f2": {"templateType": "anything", "description": "", "definition": "random(2..10 except f3 f)", "group": "Ungrouped variables", "name": "f2"}, "g4": {"templateType": "anything", "description": "", "definition": "random(2..10except g1 g2 g3)", "group": "part 2", "name": "g4"}}, "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}\\]

", "name": "Logarithm Equivalence $\\log_ba=c \\Longleftrightarrow a=b^c$", "contributors": [{"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}]}], "contributors": [{"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}