// Numbas version: exam_results_page_options {"name": "1.2.2. Laws of Indices", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "1.2.2. Laws of Indices", "tags": [], "metadata": {"description": "
Add, subtract and multiply indices. Part of HELM Book 1.2
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "There is a set of rules that enables us to manipulate expressions involving indices. These rules are known as the laws of indices, and they occur so commonly that it is worthwhile to memorise them.
\nThe laws of indices state:
\nFirst law: | \n$a^m\\times a^n = a^{m+n}$ | \nadd indices when multiplying numbers with the same base | \n
Second law: | \n$\\frac{a^m}{a^n} = a^{m-n}$ | \nsubtract indices when dividing numbers with the same base | \n
Third law: | \n$(a^m)^n = a^{mn}$ | \nmultiply indices together when raising a number to a power | \n
\n
Example 16
\nSimplify (a) $a^5\\times a^4$, $\\qquad$ (b) $2x^5(x^3)$.
\nSolution
\nIn each case we are required to multiply expressions involving indices. The bases are the same and we use the first law of indices.
(a) The indices must be added, thus $a^5\\times a^4 = a^{5+4} = a^9$.
(b) Because of the associativity of multiplication we can write
\\(2x^5(x^3)=2(x^5x^3)=2x^{(5+3)}=2x^8\\)
\nThe first law of indices (Key Point 5) extends in an obvious way when more terms are involved:
\nExample 17
\nSimplify $b^5\\times b^4 \\times b^7$.
\nSolution
\nThe indices are added. Thus $b^5\\times b^4 \\times b^7=b^{5+4+7}=b^{16}$.
\n", "advice": "Task 1:
\n$\\var{a_name}^{\\var{i1_expr}}\\times \\var{a_name}^{\\var{i2_expr}}\\times \\var{a_name}^{\\var{i3_expr}} = \\var{a_name}^{\\var{i1_expr}+\\var{i2_expr}+\\var{i3_expr}} = \\var{a_ans}$
\nTask 2:
\n$\\var{b_name}^\\var{b_i1_expr}\\div\\var{b_name}^\\var{b_i2_expr} = \\var{b_ans}$
\nTask 3:
\n$(\\var{c_name}^\\var{c_i1_expr})^\\var{c_i2_expr} = \\var{c_name}^{\\var{c_i1_expr}\\times\\var{c_i2_expr}}=\\var{c_ans}$
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Question a", "definition": "random(random(['a','b','c','d','e','f','g','h','k','m','n','p','q','r','s','t','w','x','y','z']),string(random(2..9)))", "description": "", "templateType": "anything", "can_override": false}, "a_name": {"name": "a_name", "group": "Question a", "definition": "expression(a)", "description": "", "templateType": "anything", "can_override": false}, "i1": {"name": "i1", "group": "Question a", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "i2": {"name": "i2", "group": "Question a", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "i3": {"name": "i3", "group": "Question a", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "question b", "definition": "random(random(['a','b','c','d','e','f','g','h','k','m','n','p','q','r','s','t','w','x','y','z']),string(random(2..9)))", "description": "", "templateType": "anything", "can_override": false}, "b_name": {"name": "b_name", "group": "question b", "definition": "expression(b)", "description": "", "templateType": "anything", "can_override": false}, "b_i1": {"name": "b_i1", "group": "question b", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "b_i2": {"name": "b_i2", "group": "question b", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "question c", "definition": "random(random(['a','b','c','d','e','f','g','h','k','m','n','p','q','r','s','t','w','x','y','z']),string(random(2..9)))", "description": "", "templateType": "anything", "can_override": false}, "c_name": {"name": "c_name", "group": "question c", "definition": "expression(c)", "description": "", "templateType": "anything", "can_override": false}, "c_i1": {"name": "c_i1", "group": "question c", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "c_i2": {"name": "c_i2", "group": "question c", "definition": "random(string(random(2..10)),random(alphabet))", "description": "", "templateType": "anything", "can_override": false}, "ex1_base": {"name": "ex1_base", "group": "Exercises", "definition": "[random(string(random(2..29)),random(alphabet)),\n random(string(random(2..29)),random(alphabet)),\n random(string(random(2..29)),random(alphabet))]", "description": "", "templateType": "anything", "can_override": false}, "ex1_idx": {"name": "ex1_idx", "group": "Exercises", "definition": "[random(random(-10..-2),random(2..10)),\n random(random(-10..-2),random(2..10)),\n random(random(-10..-2),random(2..10)),\n random(random(-10..-2),random(2..10)),\n random(random(-10..-2),random(2..10)),\n random(random(-10..-2),random(2..10))]", "description": "", "templateType": "anything", "can_override": false}, "alphabet": {"name": "alphabet", "group": "Ungrouped variables", "definition": "['a','b','k','m','n','w','x','y','z']", "description": "", "templateType": "anything", "can_override": false}, "ex1_base_expr": {"name": "ex1_base_expr", "group": "Exercises", "definition": "[expression(ex1_base[0]),expression(ex1_base[1]),expression(ex1_base[2])]", "description": "", "templateType": "anything", "can_override": false}, "c_i1_expr": {"name": "c_i1_expr", "group": "question c", "definition": "expression(c_i1)", "description": "", "templateType": "anything", "can_override": false}, "c_i2_expr": {"name": "c_i2_expr", "group": "question c", "definition": "expression(c_i2)", "description": "", "templateType": "anything", "can_override": false}, "c_ans": {"name": "c_ans", "group": "question c", "definition": "simplify(expression(c+\"^\"+\"(\"+c_i1 + \"*\" + c_i2+\")\"),[\"basic\",\"collectNumbers\"])", "description": "", "templateType": "anything", "can_override": false}, "i1_expr": {"name": "i1_expr", "group": "Question a", "definition": "expression(i1)", "description": "", "templateType": "anything", "can_override": false}, "i2_expr": {"name": "i2_expr", "group": "Question a", "definition": "expression(i2)", "description": "", "templateType": "anything", "can_override": false}, "i3_expr": {"name": "i3_expr", "group": "Question a", "definition": "expression(i3)", "description": "", "templateType": "anything", "can_override": false}, "b_i1_expr": {"name": "b_i1_expr", "group": "question b", "definition": "expression(b_i1)", "description": "", "templateType": "anything", "can_override": false}, "b_i2_expr": {"name": "b_i2_expr", "group": "question b", "definition": "expression(b_i2)", "description": "", "templateType": "anything", "can_override": false}, "b_ans": {"name": "b_ans", "group": "question b", "definition": "simplify(expression(b+\"^\"+\"(\"+b_i1 + \"-\" + b_i2+\")\"),[\"basic\",\"collectNumbers\"])", "description": "", "templateType": "anything", "can_override": false}, "a_ans": {"name": "a_ans", "group": "Question a", "definition": "simplify(expression(a+\"^\"+\"(\"+i1 + \"+\" + i2 + \"+\" + i3 +\")\"),[\"basic\",\"collectNumbers\"])", "description": "", "templateType": "anything", "can_override": false}, "ans1c": {"name": "ans1c", "group": "Exercises", "definition": "expression(ex1_base[2] + \"^\" + string(ex1_idx[4]*ex1_idx[5]))", "description": "", "templateType": "anything", "can_override": false}, "ans1b": {"name": "ans1b", "group": "Exercises", "definition": "expression(ex1_base[1] + \"^\" + string(ex1_idx[2]-ex1_idx[3]))", "description": "", "templateType": "anything", "can_override": false}, "ans1a": {"name": "ans1a", "group": "Exercises", "definition": "expression(ex1_base[0] + \"^\" + string(ex1_idx[0]+ex1_idx[1]))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["alphabet"], "variable_groups": [{"name": "question c", "variables": ["c", "c_ans", "c_i1", "c_i1_expr", "c_i2", "c_i2_expr", "c_name"]}, {"name": "Exercises", "variables": ["ex1_base", "ex1_idx", "ex1_base_expr", "ans1c", "ans1b", "ans1a"]}, {"name": "Question a", "variables": ["a", "a_name", "i1", "i2", "i3", "i1_expr", "i2_expr", "i3_expr", "a_ans"]}, {"name": "question b", "variables": ["b", "b_name", "b_i1", "b_i2", "b_i1_expr", "b_i2_expr", "b_ans"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": true, "customName": "Task 1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Simplify $\\var{a_name}^{\\var{i1_expr}}\\times \\var{a_name}^{\\var{i2_expr}}\\times \\var{a_name}^{\\var{i3_expr}}$
\nNote: to enter $x^{(y + z)}$, type x^(y+z)
All quantities have the same base. To multiply the quantities together, the indices are added.
"}], "answer": "{a_ans}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"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": "Example 18
\nSimplify (a) $\\displaystyle{\\frac{8^4}{8^2}}$,$\\qquad$(b)$x^{18}\\div x^7$.
\nSolution
\nIn each case we are required to divide expressions involving indices. The bases are the same and we use the second law of indices (Key Point 5).(a) The indices must be subtracted, thus $\\displaystyle{\\frac{8^4}{8^2}=8^{4-2}=8^2=64}$.
(b) Again the indices are subtracted, and so $x^{18}\\div x^7 = x^{18-7}=x^{11}$
Simplify $\\var{b_name}^\\var{b_i1_expr}\\div\\var{b_name}^\\var{b_i2_expr}$.
\nNote: to enter $x^{(y + z)}$, type x^(y+z)
The bases are the same, and the division is carried out by subtracting the indices.
"}], "answer": "{b_ans}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"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": "Example 19
\nSimplify (a) $(8^2)^3$,$\\qquad$(b)$(z^3)^4$.
\nSolution
\nWe use the third law of indices (Key Point 5).
\n(a) $(8^2)^3 = 8^{2\\times 3} = 8^6$
\n(b) $(z^3)^4 = z^{3\\times 4} = z^{12}$
\n"}, {"type": "jme", "useCustomName": true, "customName": "Task 3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Simplify $(\\var{c_name}^\\var{c_i1_expr})^\\var{c_i2_expr}$
\nNote: to enter $x^{yz}$, type x^(yz)
or x^(y*z)
Using the third law of indices, the two powers are multiplied.
"}], "answer": "{c_ans}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": true, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"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": "Two important results which can be derived from the laws of indices state:
\nAny non-zero number raised to the power $0$ has the value $1$, that is $a^0 = 1$.
\nAny number raised to power $1$ is itself, that is $a^1 = a$.
\nA generalisation of the third law states:
\n\\( (a^m b^n)^k = a^{mk}b^{nk} \\)
\n\n
Example 20
\nRemove the brackets from (a) $(3x)^2$,$\\quad$ (b) $(x^3y^7)^4$.
\nSolution
\n(a) Noting that $3=3^1$ and $x=x^1$ then $(3x)^2=(3^1x^1)^2=3^2x^2=9x^2$
\nor, alternatively, $(3x)^2=(3x)\\times(3x)=9x^2$
\n(b) $(x^3y^7)^4=x^{3\\times 4}y^{7\\times 4} = x^{12}y^{28}$
\nShow that $(-xy)^2$ is equivalent to $x^2y^2$ whereas $(-xy)^3$ is equivalent to $-x^3y^3$.
\n"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}