Sub topic 4
Terms: The Pieces of an Expression
Assume you know integer arithmetic, fractions, order of operations, and basic exponents such as \(3^2\). This chapter focuses on how an algebraic expression is split into terms and how each term carries its sign.
What counts as a term?
An algebraic expression is made from numbers, variables, operations, and grouping symbols. A term is a part of an expression separated from another part by addition or subtraction.
Consider:
\[ -4x^2 + 7y - 9 \]
Its terms are:
- \(-4x^2\)
- \(+7y\)
- \(-9\)
The signs are part of the terms. Writing the second term as \(7y\) is acceptable when the plus sign is understood, but keeping \(+7y\) visible helps prevent sign errors.
A term can contain several factors multiplied together. In \(-4x^2\), the factors are \(-4\) and \(x^2\). The number \(-4\) is the term's signed coefficient, and \(x^2\) is its variable part.
Reading the structure
Use the addition and subtraction signs at the outer level to identify terms. Do not split a term at a multiplication sign.
| Expression | Terms | Why |
|---|---|---|
| \(3x - 5 + 2y\) | \(3x,\ -5,\ 2y\) | Addition and subtraction separate the terms |
| \(-ab + 6\) | \(-ab,\ 6\) | The product \(ab\) stays together |
| \(4(x+2) - y\) | \(4(x+2),\ -y\) | The parentheses form one factor until expanded |
The first term has no written sign, so its sign is positive. For example, \(8x\) means \(+8x\).
A constant term contains no variable. In \(5x^2 - 3x + 11\), the constant term is \(+11\). A term such as \(5x^2\) contains a coefficient, a variable, and an exponent. A term such as \(-z\) has an implied coefficient of \(-1\).
A reliable parsing method
To identify terms:
- Rewrite subtraction as addition of a negative when useful.
- Find the top-level plus and minus signs.
- Keep multiplication, exponents, and factors inside parentheses together.
- Include each term's sign.
- Record any implied coefficient, such as \(1\) in \(x\) or \(-1\) in \(-x\).
For example:
\[ 12 - 3m + 2mn - n^2 \]
can be read as:
\[ +12 + (-3m) + (+2mn) + (-n^2) \]
Therefore, its four terms are \(12\), \(-3m\), \(2mn\), and \(-n^2\).
from sympy import symbols
m, n = symbols("m n")
expression = 12 - 3*m + 2*m*n - n**2
print(expression.as_ordered_terms())
# [12, -3*m, 2*m*n, -n**2]SymPy displays the expression's separate additive pieces. The order can vary in other expressions because addition is commutative, but the terms and their values remain the same.
Terms and later simplification
Identifying terms is the first step toward combining like terms. Two terms can combine only when their variable parts match exactly. For instance, \(3x\) and \(-8x\) are separate terms but are like terms. The terms \(3x\) and \(3x^2\) are different because their exponents differ.
Parentheses can hide the terms inside them. In \(2(x+3)\), the entire product is one term before distribution. Applying the distributive property changes it to \(2x+6\), which has two terms.
Exercise
Identify every term, including its sign, in the expression -6p^2 + 4pq - q + 10.
Show answer
The terms are -6p^2, +4pq, -q, and +10. The coefficient of -q is -1, and +10 is the constant term.