// Numbas version: exam_results_page_options {"name": "Algebra II:Expanding one set of brackets", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": [], "name": "Algebra II:Expanding one set of brackets", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Expanding brackets involves removing the brackets from an expression by multiplying out the brackets. This is achieved by multiplying every term inside the bracket by the term outside the bracket.

\n

Example 1-  Expand $3(x+6)$

\n
\n

a) Remember to multiply every term inside the brackets by the term outside:

\n

$3(x+6) = 3x + 3\\times 6 = 3x + 18$

\n

b) When multiplying out double brackets, every term in the first pair of brackets must be multiplied by each term in the second. When expanding brackets, be very careful when dealing with negative numbers. Multiplying negatives has special rules: a negative times a positive gives a negative, but multiplying two negatives gives a positive:

\n
\n
\n

Example 2-  Expand $-( a - 2)$

\n

                   $- ( a- 2) = -1 \\times a + 1 \\times 2 = -a + 2$

\n

Answers: 

\n

In part a)

\n

We start by multiplying every term inside the bracket by the number outside.

\n

          $\\var{a}(\\var{b}x + \\var{c})=$

\n

          $\\var{a}\\times\\var{b} x + \\var{a}\\times\\var{c}$

\n

       = $\\var{m}x + \\var{n}$

\n

\n

In part b), a negative times a positive gives a negative, but multiplying two negatives gives a positive:

\n

          $\\var{d}(\\var{f}a  - \\var{g})=$

\n

          $\\var{d}\\times\\var{f} a + \\var{-d}\\times\\var{g}$

\n

       = $\\var{p}a + \\var{-q}$

\n

\n

In part c), a negative times a positive gives a negative, but multiplying two negatives gives a positive:

\n

$-(\\var{s}x-\\var{t}y+\\var{u})=$

\n

 $\\var{k}\\times\\var{s} x - (\\var{k}\\times\\var{t})y + (\\var{k}\\times\\var{u})$

\n

= $\\var{v}x+ \\var{-w}y - \\var{-o}$

\n

\n

             

\n

\n

For more help, please check this link - https://www.mathsisfun.com/algebra/expanding.html

\n
", "rulesets": {}, "parts": [{"stepsPenalty": "0", "prompt": "

The expression $\\var{a}(\\var{b}x + \\var{c})$ is factorised (written as a product), we can expand the expression (so it is written as a sum) to get 

\n

[[0]] $x$ + [[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

The number in front of the bracket is multiplying the bracketed term, that is, each term in the brackets.

\n

\n

For example, $3(5x+6)$ means $3\\times (5x+6)$ which means $3\\times 5x+3\\times 6$, and so expanding $3(5x+6)$ gives $15x+18$.

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{a}*{b}", "minValue": "{a}*{b}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{a}*{c}", "minValue": "{a}*{c}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": "0", "prompt": "

The expression $\\var{d}(\\var{f}a  - \\var{g})$ is factorised (written as a product), we can expand the expression

\n

[[0]] $a$ + [[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

The number in front of the bracket is multiplying the bracketed term, that is, each term in the brackets. Also recall that a negative multiplied by a negative is a positive.

\n

\n

For example, $-3(5a-6)$ means $-3\\times (5a-6)$ which means $(-3)\\times 5a+(-3)\\times (-6)$, and so expanding $3(5a+6)$ gives $-15a+18$.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{d}*{f}", "minValue": "{d}*{f}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "-({d}*{g})", "minValue": "-({d}*{g})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": "0", "prompt": "

Expand $-(\\var{s}x-\\var{t}y+\\var{u})$.

\n

[[0]] $x$ + [[1]] $y$ - [[2]] 

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

A negative sign in front of a bracket is a common way to signify $-1$ times the bracketed term. The result is that it changes the sign of everything in the brackets.

\n

\n

For example, $-(5x-y+6)$ means $-1\\times (5x-y+6)$ which means $(-1)\\times 5x+(-1)\\times (-y)+(-1)\\times 6$, and so expanding $-(5x-y+6)$ gives $-5x+y-6$.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "-{s}", "minValue": "-{s}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{t}", "minValue": "{t}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u}", "minValue": "{u}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

In the following questions, expand the bracket and express in linear variables.

\n

For more information, please check this video- https://www.youtube.com/watch?v=9r6_wDpxKjQ

", "variable_groups": [{"variables": ["a", "b", "c", "m", "n"], "name": "part a"}, {"variables": ["d", "f", "g", "p", "q"], "name": "part b"}, {"variables": ["s", "t", "u", "k", "v", "w", "o"], "name": "part c"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..20)", "templateType": "anything", "group": "part a", "name": "a", "description": ""}, "c": {"definition": "random(1..9)", "templateType": "anything", "group": "part a", "name": "c", "description": ""}, "b": {"definition": "random(10..20)", "templateType": "anything", "group": "part a", "name": "b", "description": ""}, "d": {"definition": "random(-12..-2)", "templateType": "anything", "group": "part b", "name": "d", "description": ""}, "g": {"definition": "random(1..9)", "templateType": "anything", "group": "part b", "name": "g", "description": ""}, "f": {"definition": "random(2..12)", "templateType": "anything", "group": "part b", "name": "f", "description": ""}, "k": {"definition": "-1", "templateType": "number", "group": "part c", "name": "k", "description": ""}, "m": {"definition": "{a}*{b}", "templateType": "anything", "group": "part a", "name": "m", "description": ""}, "o": {"definition": "{k}*{u}", "templateType": "anything", "group": "part c", "name": "o", "description": ""}, "n": {"definition": "{a}*{c}", "templateType": "anything", "group": "part a", "name": "n", "description": ""}, "q": {"definition": "{d}*{g}", "templateType": "anything", "group": "part b", "name": "q", "description": ""}, "p": {"definition": "{d}*{f}", "templateType": "anything", "group": "part b", "name": "p", "description": ""}, "s": {"definition": "random(2..12)", "templateType": "anything", "group": "part c", "name": "s", "description": ""}, "u": {"definition": "random(2..8)", "templateType": "anything", "group": "part c", "name": "u", "description": ""}, "t": {"definition": "random(12..20)", "templateType": "anything", "group": "part c", "name": "t", "description": ""}, "w": {"definition": "{k}*{t}", "templateType": "anything", "group": "part c", "name": "w", "description": ""}, "v": {"definition": "{k}*{s}", "templateType": "anything", "group": "part c", "name": "v", "description": ""}}, "metadata": {"description": "

These basic questions will help you expand one set of brackets for linear variables

\n

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}]}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}