// Numbas version: exam_results_page_options {"name": "Rosanna's copy of Logarithms: inverses", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "parts": [{"gaps": [{"showFeedbackIcon": true, "expectedvariablenames": [], "variableReplacements": [], "marks": 1, "answer": "x+{d}", "checkingtype": "absdiff", "notallowed": {"message": "

This expression can be simplified to not contain logs or exponentials.

", "partialCredit": 0, "strings": ["log", "ln", "e"], "showStrings": false}, "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "scripts": {}, "vsetrangepoints": 5, "showCorrectAnswer": true, "vsetrange": [0, 1]}], "showFeedbackIcon": true, "prompt": "

$\\var{b}^{\\log_{\\var{b}}(\\simplify{x+{d}})}=$ [[0]], for $x>\\var{-d}$.

", "variableReplacements": [], "marks": 0, "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"gaps": [{"showFeedbackIcon": true, "expectedvariablenames": [], "variableReplacements": [], "marks": 1, "answersimplification": "fractionNumbers", "answer": "(x^{a}+{d})^{c}", "checkingtype": "absdiff", "notallowed": {"message": "

This expression can be simplified to not contain logs or exponentials.

", "partialCredit": 0, "strings": ["log", "ln", "e"], "showStrings": false}, "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "scripts": {}, "vsetrangepoints": 5, "showCorrectAnswer": true, "vsetrange": [0, 1]}], "showFeedbackIcon": true, "prompt": "

$e^{\\var[fractionNumbers]{c}\\ln(\\simplify{x^{a}+{d}})}=$ [[0]], for $\\simplify{x^{a}+{d}}>0$.

", "variableReplacements": [], "marks": 0, "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"gaps": [{"showFeedbackIcon": true, "expectedvariablenames": [], "variableReplacements": [], "marks": 1, "answer": "{p}x^2+{q}x+{r}", "checkingtype": "absdiff", "notallowed": {"message": "

This expression can be simplified to not contain logs or exponentials.

", "partialCredit": 0, "strings": ["ln", "log", "e"], "showStrings": false}, "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "scripts": {}, "vsetrangepoints": 5, "showCorrectAnswer": true, "vsetrange": [0, 1]}], "showFeedbackIcon": true, "prompt": "

$\\displaystyle \\ln\\left(e^{\\simplify{{p}x^2+{q}x+{r}}}\\right)=$ [[0]]

", "variableReplacements": [], "marks": 0, "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}], "variables": {"list": {"group": "Ungrouped variables", "definition": "shuffle([0,0,random(-12..12 except 0),random(-12..12 except 0),random(-12..12 except 0)])", "templateType": "anything", "description": "", "name": "list"}, "d": {"group": "Ungrouped variables", "definition": "random(-12..12 except b)", "templateType": "anything", "description": "", "name": "d"}, "c": {"group": "Ungrouped variables", "definition": "random(2,3,4,5,6,7,-2,-3,-4,-5,1/2,1/5,1/4,-1/2,-1/4,-1/5)", "templateType": "anything", "description": "

c

", "name": "c"}, "q": {"group": "Ungrouped variables", "definition": "list[1]", "templateType": "anything", "description": "

q

", "name": "q"}, "a": {"group": "Ungrouped variables", "definition": "random(2..7)", "templateType": "anything", "description": "

a

", "name": "a"}, "p": {"group": "Ungrouped variables", "definition": "list[0]", "templateType": "anything", "description": "

p

", "name": "p"}, "r": {"group": "Ungrouped variables", "definition": "list[2]", "templateType": "anything", "description": "", "name": "r"}, "b": {"group": "Ungrouped variables", "definition": "random(2, 3, 5, 7, 11, e)", "templateType": "anything", "description": "", "name": "b"}}, "functions": {}, "ungrouped_variables": ["b", "d", "c", "a", "list", "p", "q", "r"], "statement": "

Simplify the following expressions:

", "extensions": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "name": "Rosanna's copy of Logarithms: inverses", "advice": "

a) 

\n

You might recall that $b^{\\log_{b}(a)}=a$ (for $a>0$), and therefore

\n

\\[\\var{b}^{\\log_{\\var{b}}(\\simplify{x+{d}})}=\\simplify{x+{d}}, \\quad\\text{ for }x>\\var{-d}.\\]

\n

We can think of the logarithm and the exponential (of the same base) cancelling each other out, or undoing each other since they are the inverse of each other. Some people might prefer to see more evidence of this, so here is a longer explanation:

\n

Let $\\simplify{log(x+{d},{b})}=n$. Recall the definition of log says that this is equivalent to \\[\\simplify{{b}^n=x+{d}}.\\] Now substitute $\\simplify{log(x+{d},{b})}$ for $n$ into this equation (since we defined them to be equal) and we have 

\n

\\[\\simplify{{b}^(log(x+{d},{b}))=x+{d}}\\]

\n

\n

b) Recall that $\\ln$ denotes $\\log_e$.

\n

Here is one way to do this simplification (use the log laws $b\\log(a)=\\log(a^b)$ and $b^{\\log_b(a)}=a$):

\n

$\\begin{align}e^{\\var[fractionNumbers]{c}\\ln(\\simplify{x^{a}+{d}})}&=e^{\\ln\\left(\\simplify[fractionNumbers]{(x^{a}+{d})^{c}}\\right)}\\\\&=\\simplify[fractionNumbers]{(x^{a}+{d})^{c}}\\end{align}$

\n

Another way (use the index law $a^{bc}=(a^b)^c$ and $b^{\\log_b(a)}=a$):

\n

$\\begin{align}e^{\\var[fractionNumbers]{c}\\ln(\\simplify{x^{a}+{d}})}&=\\left(e^{\\ln(\\simplify{x^{a}+{d}})}\\right)^\\var[fractionNumbers]{c}\\\\&=\\simplify[fractionNumbers]{(x^{a}+{d})^{c}}\\end{align}$

\n

\n

c) Recall that $\\ln$ denotes $\\log_e$.

\n

To simplify $\\displaystyle \\ln\\left(e^{\\simplify{{p}x^2+{q}x+{r}}}\\right)$ we might think of the logarithm and the exponential (of the same base) cancelling each other out, or undoing each other since they are the inverse of each other. Some people might prefer to see more evidence of this, so here is a longer explanation:

\n

Let $\\displaystyle \\ln\\left(e^{\\simplify{{p}x^2+{q}x+{r}}}\\right)=n$. Recall the definition of log says that this is equivalent to \\[e^n=e^\\simplify{{p}x^2+{q}x+{r}}\\]

\n

Therefore $n=\\simplify{{p}x^2+{q}x+{r}}$ and so we can conclude

\n

\\[\\ln\\left(e^{\\simplify{{p}x^2+{q}x+{r}}}\\right)=\\simplify{{p}x^2+{q}x+{r}}.\\]

\n

 

", "metadata": {"description": "

Simplifying expressions such as $b^{\\log_b(x)}$ and $b^{\\log_b(x)}$.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "tags": [], "type": "question", "contributors": [{"name": "Rosanna Mottola", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1810/"}]}]}], "contributors": [{"name": "Rosanna Mottola", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1810/"}]}