Sub topic 8
Multiplying Monomials
A monomial is a single term: a number, a variable, or a product of a number and variables raised to whole-number powers. Examples are 7, x, -4x^3, and 3x^2y. Multiplying two monomials gives another monomial, so the result never needs to be simplified into a sum. This is the basic move behind every polynomial product in later chapters.
This chapter assumes you can evaluate expressions, do integer arithmetic with negative numbers, and read exponents such as x^3 as repeated multiplication. It also assumes you know the product rule for exponents from the previous chapter. The rule is restated and justified below.
The two-part rule
To multiply two monomials, treat the number part and the variable part separately.
- Multiply the coefficients. The coefficient is the numeric factor, so in
-4x^3it is-4. - For each variable that appears in both factors, add the exponents. A variable that appears in only one factor is copied into the answer unchanged.
Multiplication is commutative and associative, so you can regroup the factors in any order. Take (3x^2)(5x^4):
(3x^2)(5x^4) = (3 * 5) * (x^2 * x^4)
= 15 * (x*x) * (x*x*x*x)
= 15x^6The exponents add because x^2 is two copies of x and x^4 is four copies. Multiplying them gives six copies in a row. This is the product rule: x^m * x^n = x^(m+n).
Worked examples
One variable
(-2x^3)(5x^4):
- Coefficients:
-2 * 5 = -10. - Exponents of
x:3 + 4 = 7. - Result:
-10x^7.
Several variables
Variables multiply independently, so each one gets its own exponent sum. Take (3x^2y)(-4x^3y^2).
- Coefficients:
3 * (-4) = -12. - Exponents of
x:2 + 3 = 5. - Exponents of
y: a bareyhas exponent 1, so1 + 2 = 3. - Result:
-12x^5y^3.
Mixed variables
When the variables differ, nothing combines. Take (x^2y)(xy^3).
xappears in both:2 + 1 = 3.yappears in both:1 + 3 = 4.- Result:
x^3y^4.
Now take (5x)(2y). The variables differ, so the result is 10xy. You cannot write this as 10x^2 or 10y^2, because x and y are different quantities.
More than two factors
The rule extends to any number of factors. Take (4ab^2)(-3a^2b)(a):
- Coefficients:
4 * (-3) * 1 = -12. The bareahas coefficient 1. - Exponents of
a:1 + 2 + 1 = 4. - Exponents of
b:2 + 1 = 3. - Result:
-12a^4b^3.
Hidden coefficients and exponents
Many mistakes come from parts of a monomial that are written implicitly.
| Written | Actually means |
|---|---|
| `x` | `1x^1` |
| `-x` | `-1x^1` |
| `y^3` | `1y^3` |
| `7` | `7x^0`, or `7` with no variables |
| `-x^2` | `-1x^2`, which is not `(-x)^2` |
Two consequences follow:
(-x)(-x) = (-1)(-1)x^2 = x^2. Two negatives multiply to a positive.- A constant such as
7multiplies like any monomial with exponent 0 on every variable. So(7)(3x^2) = 21x^2.
Signs
Sign handling is the same as in integer arithmetic. The sign of the product depends on how many negative coefficients there are:
- An even number of negative factors gives a positive coefficient.
- An odd number gives a negative coefficient.
Exponents never change the coefficient's sign. In (-2x^3)(-3x^2) = 6x^5, the odd exponent 3 does not make the result negative. The sign comes only from (-2)(-3).
The degree of a product
The degree of a monomial is the sum of the exponents of its variables. For -12x^5y^3 the degree is 5 + 3 = 8.
Adding exponents when you multiply means degrees add as well. If monomial A has degree a and monomial B has degree b, then A times B has degree a + b. For example, 3x^2y has degree 3 and -4x^3y^2 has degree 5, and their product -12x^5y^3 has degree 8.
This gives you a quick check before you finish a problem. If your answer's degree is not the sum of the factors' degrees, you made an exponent error. The rule assumes both coefficients are nonzero. If either coefficient is 0, the product is 0, and 0 has no meaningful degree.
Powers of a monomial
A power of a monomial is repeated multiplication, so the same rule applies. Take (3x^2)^3:
(3x^2)^3 = (3x^2)(3x^2)(3x^2)
= (3 * 3 * 3) * x^(2+2+2)
= 27x^6The coefficient is raised to the power, and the exponent is multiplied by the power: 2 * 3 = 6. Do not apply the power only to the variable. (3x^2)^3 is not 3x^6.
Common errors
| Error | Why it is wrong | Correct |
|---|---|---|
| `(3x^2)(5x^4) = 15x^8` | Exponents were multiplied | `15x^6` |
| `(3x^2)(5x^4) = 8x^6` | Coefficients were added | `15x^6` |
| `x * x = 2x` | That is addition, `x + x` | `x^2` |
| `(2x)(3y) = 6x^2y^2` | Exponents were added across different variables | `6xy` |
| `(x^2)(x) = x^2` | The hidden exponent 1 was ignored | `x^3` |
| `(-x)(-x) = -x^2` | Two negatives give a positive | `x^2` |
Verifying with a computer
You can represent a monomial in code as a coefficient plus a dictionary that maps each variable to its exponent. The multiplication function is the rule itself: multiply the coefficients and add exponents key by key.
def multiply_monomials(m1, m2):
c1, vars1 = m1
c2, vars2 = m2
exponents = dict(vars1) # copy so the inputs are not modified
for var, exp in vars2.items():
exponents[var] = exponents.get(var, 0) + exp
return (c1 * c2, exponents)
def degree(m):
return sum(m[1].values())
def evaluate(m, values):
coeff, exps = m
result = coeff
for var, exp in exps.items():
result *= values[var] ** exp
return result
a = (3, {"x": 2, "y": 1}) # 3x^2y
b = (-4, {"x": 3, "y": 2}) # -4x^3y^2
product = multiply_monomials(a, b)
print(product) # (-12, {'x': 5, 'y': 3})
print(degree(a), degree(b), degree(product)) # 3 5 8
point = {"x": 2, "y": 1}
print(evaluate(a, point) * evaluate(b, point)) # -384
print(evaluate(product, point)) # -384
print(multiply_monomials((5, {"x": 1}), (2, {"y": 1}))) # (10, {'x': 1, 'y': 1})The output confirms three things from this chapter:
- The
xexponents add,2 + 3 = 5, and so do theyexponents,1 + 2 = 3. - The degrees add,
3 + 5 = 8. - Evaluating the factors and evaluating the product at
x = 2, y = 1give the same number. The same check works on paper:3(4)(1) = 12,-4(8)(1) = -32, and12 * (-32) = -384.
The last line shows two different variables staying separate in the result.
Why this matters for later chapters
Every polynomial product is built from monomial products. When you multiply (x + 2)(x^2 + 3x + 1), you multiply each term of the first factor by each term of the second. Each of those multiplications is one of the monomial products you practiced here. Accurate exponent and sign handling at this level prevents most errors in FOIL and in larger expansions.
Exercise
Multiply (-6x^2y^3)(1/2 x^4 y). State the degree of each factor and of the product.
Show answer
Coefficients: -6 * 1/2 = -3. Exponents of x: 2 + 4 = 6. Exponents of y: 3 + 1 = 4. The product is -3x^6y^4. The factors have degrees 5 and 5, and the product has degree 6 + 4 = 10, which equals 5 + 5.
Exercise
A student writes (2x^3)^2 = 2x^6. Find the mistake and give the correct result.
Show answer
The student applied the power only to the variable part. Squaring the monomial means (2x^3)(2x^3) = (2 * 2)(x^(3+3)) = 4x^6. The coefficient must be squared too.
Exercise
Multiply (7x^3y)(2xy^4z) and check the degree of the result.
Show answer
Coefficients: 7 * 2 = 14. Exponents: x gives 3 + 1 = 4, y gives 1 + 4 = 5, and z appears once, so it is copied with exponent 1. The product is 14x^4y^5z. The factors have degrees 4 and 6, and the product has degree 4 + 5 + 1 = 10, which equals 4 + 6.