// Numbas version: exam_results_page_options {"name": "Combining Logarithm Rules to Solve Equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Combining Logarithm Rules to Solve Equations", "tags": [], "metadata": {"description": "

Apply and combine logarithm laws in a given equation to find the value of $x$.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Solve for $x$

", "advice": "

a)

\n

We can use the logarithm law

\n

\\[k\\log_a(x)=\\log_a(x^k)\\text{,}\\]

\n

to also give a more specific rule

\n

\\[\\begin{align}
\\log_a\\left(\\frac{1}{x}\\right)&=\\log_a(x^{-1})\\\\
&=-\\log_a(x)\\text{.}
\\end{align}\\]

\n

This means we can write our expression as

\n

\\[\\log_\\var{b1}(x-\\var{b2})+\\log_\\var{b1}({x})=\\var{b4}\\text{.}\\]

\n

Then using the rule

\n

\\[\\log_a(x)+\\log_a(y)=\\log_a(x\\times y)\\text{,}\\]

\n

we can write our equation as

\n

\\[\\begin{align}
\\log_\\var{b1}(x(x-\\var{b2}))&=\\var{b4}\\\\
\\log_\\var{b1}(x^2-\\var{b2}x)&=\\var{b4}\\text{.}\\\\
\\end{align}\\]

\n

We then rely on the definition of $\\log_a$

\n

\\[b=a^c \\Longleftrightarrow \\log_{a}b=c\\]

\n

to write our equation as

\n

\\[\\begin{align}
x^2-\\var{b2}x&=\\var{b1}^\\var{b4}\\\\
&=\\var{b1^b4}\\text{.}
\\end{align}\\]

\n

We can then write out our equation and solve either by factorising or using the quadratic formula;

\n

\\[\\begin{align}
x^2-\\var{b2}x-\\var{b1^{b4}}&=0\\\\
(x+2)(x-\\var{b})&=0\\text{.}
\\end{align}\\]

\n

As logarithms can only be applied to positive numbers, the only possible value for $x$ is $\\var{b}$.

\n

b)

\n

$\\ln(x)$ is a shorthand for $\\log_e(x)$, so we can apply the same laws of logarithms here.

\n

Therefore applying the rule

\n

\\[k\\log_a(x)=\\log_a(x^k)\\]

\n

we can write our equation as

\n

\\[\\ln(x^\\var{p})+\\ln(\\var{q})=\\var{m}\\text{.}\\]

\n

Then using the rule

\n

\\[\\log_a(x)+\\log_a(y)=\\log_a(x\\times y)\\]

\n

we can write our equation as

\n

\\[\\ln(\\var{q}x^\\var{p})=\\var{m}\\text{.}\\]

\n

As $\\ln=\\log_e$ we can use 

\n

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

\n

to write our equation as

\n

\\[\\var{q}x^\\var{p}=e^\\var{m}\\text{.}\\]

\n

We then just need to rearrange our equation

\n

\\[\\begin{align}
\\var{q}x^\\var{p}&=e^\\var{m}\\\\[0.5em]
x^\\var{p}&=\\frac{e^\\var{m}}{\\var{q}}\\\\[0.5em]
x&=\\frac{e^{\\var{m}/\\var{p}}}{\\var{q^(1/{p})}}
\\end{align}\\]

", "rulesets": {}, "extensions": [], "variables": {"p": {"name": "p", "group": "part c", "definition": "random(3..6)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "b1^b4", "description": "", "templateType": "anything"}, "v": {"name": "v", "group": "part c", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "m": {"name": "m", "group": "part c", "definition": "random(2..20)", "description": "", "templateType": "anything"}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "random(2..8 #2)", "description": "", "templateType": "anything"}, "y1": {"name": "y1", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "b2": {"name": "b2", "group": "Ungrouped variables", "definition": "b-2", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "part c", "definition": "v^p", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "c/2", "description": "", "templateType": "anything"}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "repeat(random(2..20),8)", "description": "", "templateType": "anything"}, "b4": {"name": "b4", "group": "Ungrouped variables", "definition": "random(2..4 except b1)", "description": "", "templateType": "anything"}, "z1": {"name": "z1", "group": "Ungrouped variables", "definition": "random(2..6 except y1)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x1", "y1", "z1", "b1", "c", "b4", "b", "b2"], "variable_groups": [{"name": "part c", "variables": ["p", "v", "q", "m"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\log_\\var{b1}(x-\\var{b2})-\\log_\\var{b1}\\left(\\displaystyle\\frac{1}{x}\\right)=\\var{b4}$

\n

$x=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{b}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Solve for $x$ and leave your answer in the form  $x=\\displaystyle\\frac{e^{a}}{b}$.

\n

$\\var{p}\\ln(x)+\\ln(\\var{q})=\\var{m}$ 

\n

$x=$ [[0]]

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

You may find the following conversion useful

\n

\\[\\ln(x)=\\log_e(x)\\]

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "e^({m}/{p})/{v}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "notallowed": {"strings": ["*", ")^"], "showStrings": false, "partialCredit": 0, "message": ""}, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}]}]}], "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": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}]}