// 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": "

2. Laws of Indices

\n

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.

\n
\n

Key Point 5

\n

Laws of Indices

\n

The laws of indices state:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
First law:$a^m\\times a^n = a^{m+n}$add indices when multiplying numbers with the same base
Second law:$\\frac{a^m}{a^n} = a^{m-n}$subtract indices when dividing numbers with the same base
Third law:$(a^m)^n = a^{mn}$multiply indices together when raising a number to a power
\n
\n

\n

Example 16

\n

Simplify (a) $a^5\\times a^4$, $\\qquad$ (b) $2x^5(x^3)$.

\n

Solution

\n

In 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

\n

\\(2x^5(x^3)=2(x^5x^3)=2x^{(5+3)}=2x^8\\)

\n

The first law of indices (Key Point 5) extends in an obvious way when more terms are involved:

\n

Example 17

\n

Simplify $b^5\\times b^4 \\times b^7$.

\n

Solution

\n

The 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}$

\n

Task 2:

\n

$\\var{b_name}^\\var{b_i1_expr}\\div\\var{b_name}^\\var{b_i2_expr} = \\var{b_ans}$

\n

Task 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}}$

\n

Note: to enter $x^{(y + z)}$, type x^(y+z)

", "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": "

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

\n

Simplify (a) $\\displaystyle{\\frac{8^4}{8^2}}$,$\\qquad$(b)$x^{18}\\div x^7$.

\n

Solution

\n

In 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}$

\n

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

Simplify $\\var{b_name}^\\var{b_i1_expr}\\div\\var{b_name}^\\var{b_i2_expr}$.

\n

Note: to enter $x^{(y + z)}$, type x^(y+z)

", "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": "

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

\n

Simplify (a) $(8^2)^3$,$\\qquad$(b)$(z^3)^4$.

\n

Solution

\n

We 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}$

\n

Note: to enter $x^{yz}$, type x^(yz) or x^(y*z)

", "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": "

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:

\n
\n

Key Point 6

\n

Any non-zero number raised to the power $0$ has the value $1$, that is $a^0 = 1$.

\n

Any number raised to power $1$ is itself, that is $a^1 = a$.

\n
\n

\n

A generalisation of the third law states:

\n
\n

Key Point 7

\n

\\( (a^m b^n)^k = a^{mk}b^{nk} \\)

\n
\n

\n

Example 20

\n

Remove the brackets from (a) $(3x)^2$,$\\quad$ (b) $(x^3y^7)^4$.

\n

Solution

\n

(a) Noting that $3=3^1$ and $x=x^1$ then $(3x)^2=(3^1x^1)^2=3^2x^2=9x^2$

\n

or, 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}$

\n

Task 4

\n

Show 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/"}]}