// Numbas version: exam_results_page_options {"name": "Logs: resulting in negatives", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "variable_groups": [], "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": ""}, "tags": ["logarithms", "logs", "Logs", "negative indices", "negative powers"], "functions": {}, "name": "Logs: resulting in negatives", "ungrouped_variables": ["one", "two", "small", "tens", "num1", "num2"], "parts": [{"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "information", "prompt": "

When learning index laws you would have seen that
\\[x^{-n}=\\frac{1}{x^n}.\\]

Indices and logs are intimately related, ensure you revise your index laws.

", "variableReplacements": [], "scripts": {}, "marks": 0}], "gaps": [{"notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "minValue": "1/{num1}", "scripts": {}, "marks": 1, "allowFractions": true, "type": "numberentry", "correctAnswerFraction": true, "maxValue": "1/{num1}"}, {"notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "minValue": "1/{num2}^2", "scripts": {}, "marks": 1, "allowFractions": true, "type": "numberentry", "correctAnswerFraction": true, "maxValue": "1/{num2}^2"}], "stepsPenalty": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "prompt": "

Recall that we can convert negative indices to fractions

\n

$\\var{num1}^{-1}$ = [[0]] 

\n

$\\var{num2}^{-2}$ = [[1]] 

", "variableReplacements": [], "scripts": {}, "marks": 0}, {"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "information", "prompt": "

To determine the value of $\\log_b(a)$, you can think \"$b$ to the what equals $a$\", and that will be your answer.

\n


To determine $\\log_{\\var{one[0]}}\\left(\\frac{1}{\\var{one[0]}}\\right)$, realise $\\var{one[0]}^{-1}=\\frac{1}{\\var{one[0]}}$ and so $\\log_{\\var{one[0]}}\\left(\\frac{1}{\\var{one[0]}}\\right)=-1$.

", "variableReplacements": [], "scripts": {}, "marks": 0}], "gaps": [{"notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "minValue": "-1", "scripts": {}, "marks": 1, "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "maxValue": "-1"}], "stepsPenalty": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "prompt": "

Using the definition and your times tables determine the following:

\n

$\\log_{\\var{one[0]}}\\left(\\frac{1}{\\var{one[0]}}\\right)$ = [[0]]

", "variableReplacements": [], "scripts": {}, "marks": 0}, {"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "information", "prompt": "

To determine the value of $\\log_b(a)$, you can think \"$b$ to the what equals $a$\", and that will be your answer.

\n


To determine $\\log_{\\var{two[0]}}\\left(\\frac{1}{\\var{two[0]^2}}\\right)$, realise $\\var{two[0]}^{-2}=\\frac{1}{\\var{two[0]^2}}$ and so $\\log_{\\var{two[0]}}\\left(\\frac{1}{\\var{two[0]^2}}\\right)=-2$.

", "variableReplacements": [], "scripts": {}, "marks": 0}], "gaps": [{"notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "minValue": "-2", "scripts": {}, "marks": 1, "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "maxValue": "-2"}], "stepsPenalty": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "prompt": "

Using the definition and your times tables determine the following:

\n

$\\log_{\\var{two[0]}}\\left(\\frac{1}{\\var{two[0]^2}}\\right)$ = [[0]]

", "variableReplacements": [], "scripts": {}, "marks": 0}, {"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "information", "prompt": "

To determine the value of $\\log_b(a)$, you can think \"$b$ to the what equals $a$\", and that will be your answer.

\n


To determine $\\log_{\\var{small[0]}}\\left(\\frac{1}{\\var{small[0]^small[1]}}\\right)$, realise $\\var{small[0]}^{-\\var{small[1]}}=\\frac{1}{\\var{small[0]^small[1]}}$ and so $\\log_{\\var{small[0]}}\\left(\\frac{1}{\\var{small[0]^small[1]}}\\right)=-\\var{small[1]}$.

", "variableReplacements": [], "scripts": {}, "marks": 0}], "gaps": [{"notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "minValue": "{-small[1]}", "scripts": {}, "marks": 1, "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "maxValue": "{-small[1]}"}], "stepsPenalty": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "prompt": "

Using the definition and your times tables determine the following:

\n

$\\log_{\\var{small[0]}}\\left(\\frac{1}{\\var{small[0]^small[1]}}\\right)$ = [[0]]

", "variableReplacements": [], "scripts": {}, "marks": 0}, {"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "information", "prompt": "

To determine the value of $\\log_b(a)$, you can think \"$b$ to the what equals $a$\", and that will be your answer.

\n


To determine $\\log_{\\var{tens[0]}}(\\var{1/tens[0]^tens[1]})$, realise $\\var{tens[0]}^{-\\var{tens[1]}}=\\var{1/tens[0]^tens[1]}$ and so $\\log_{\\var{tens[0]}}(\\var{1/tens[0]^tens[1]})=-\\var{tens[1]}$.

\n
\n

Recall that $10^{-n}$ is the same as a decimal with zeros everywhere except a $1$ at the $n$th decimal place.

", "variableReplacements": [], "scripts": {}, "marks": 0}], "gaps": [{"notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "minValue": "{-tens[1]}", "scripts": {}, "marks": 1, "allowFractions": false, "type": "numberentry", "correctAnswerFraction": false, "maxValue": "{-tens[1]}"}], "stepsPenalty": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "prompt": "

Using the definition and your times tables determine the following:

\n

$\\log_{\\var{tens[0]}}(\\var{1/tens[0]^tens[1]})$ = [[0]]

", "variableReplacements": [], "scripts": {}, "marks": 0}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"one": {"description": "", "templateType": "anything", "definition": "random(map([b,1],b,list(2..12)))", "name": "one", "group": "Ungrouped variables"}, "num1": {"description": "", "templateType": "anything", "definition": "random(10..90)", "name": "num1", "group": "Ungrouped variables"}, "tens": {"description": "", "templateType": "anything", "definition": "random([10,3],[10,4],[10,5],[10,6])", "name": "tens", "group": "Ungrouped variables"}, "two": {"description": "", "templateType": "anything", "definition": "random(map([b,2],b,list(2..12)))", "name": "two", "group": "Ungrouped variables"}, "small": {"description": "", "templateType": "anything", "definition": "random([2,3],[2,4],[3,3],[3,4],[4,3],[5,3])", "name": "small", "group": "Ungrouped variables"}, "num2": {"description": "", "templateType": "anything", "definition": "random(2..12)", "name": "num2", "group": "Ungrouped variables"}}, "extensions": [], "type": "question", "preamble": {"js": "", "css": ""}, "advice": "", "statement": "

The following should be completed without the use of a calculator.

", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}