// Numbas version: finer_feedback_settings {"name": "Solving log equations using exponentials", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["power", "d", "f", "g", "b", "a", "c", "ans"], "name": "Solving log equations using exponentials", "tags": ["exp", "exponential", "exponentials", "logarithm", "logarithms", "logs", "solving", "solving equations"], "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "
Solve the following equation for $x$
\n$\\displaystyle{\\var{d}\\log_\\var{b}(\\simplify{{a}x+{c}})+\\var{f}=\\var{g} }.$
\n\n$x=$ [[0]]
\nNote: You can use the symbol ^ to signify powers, and / to signify division. Please ensure you use brackets correctly.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "fractionnumbers", "scripts": {}, "answer": "{({b}^{power}-{c})/{a}}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "steps": [{"prompt": "We start solving the equation one operation at a time by doing the inverse to both sides, when we get to undoing the log we recall the definition of $\\log_b$, write the equation in index form and continue solving.
\nRecall: The definition of $\\log_b$ says $\\log_b(a)=c$ is equivalent to $b^c=a$.
\n$\\displaystyle{\\var{d}\\log_\\var{b}(\\simplify{{a}x+{c}})+\\var{f} }$ | \n$=$ | \n$\\var{g}$ | \n\n |
$\\displaystyle{\\var{d}\\log_\\var{b}(\\simplify{{a}x+{c}}) }$ | \n$=$ | \n$\\var{g-f}$ | \n(subtract $\\var{f}$ from both sides) | \n
$\\displaystyle{\\log_\\var{b}(\\simplify{{a}x+{c}}) }$ | \n$=$ | \n$\\var{power}$ | \n(divide both sides by $\\var{d}$) | \n
$\\simplify[basic]{{b}^{power}}$ | \n$=$ | \n$\\simplify{{a}x+{c}}$ | \n(using the definition of $\\log_\\var{b}$) | \n
$\\simplify[basic,unitpower]{{b}^{power}-{c}}$ | \n$=$ | \n$\\var{a}x$ | \n(subtract $\\var{c}$ from both sides) | \n
\n | \n | \n | \n |
$\\displaystyle{\\simplify[basic,fractionnumbers,unitpower]{({b}^{power}-{c})/{a}}}$ | \n$=$ | \n$x$ | \n(divide both sides by $\\var{a}$) | \n
\n | \n | \n | \n |
$x$ | \n$=$ | \n$\\displaystyle{\\simplify[basic,fractionnumbers,unitpower]{{({b}^{power}-{c})/{a}}}}$ | \n\n |