Sub topic 2
Writing a Polynomial in Standard Form
Assume you can evaluate algebraic expressions, use integer arithmetic, interpret exponents, and apply the distributive property. This chapter uses those skills to organize a polynomial before you add, subtract, or multiply it.
What standard form means
A polynomial is an expression made from terms with variables raised to whole-number exponents. A term is a number, a variable, or a product of numbers and variables. In the term \(-6x^3\):
- \(-6\) is the coefficient.
- \(x\) is the variable.
- \(3\) is the exponent.
- The term has degree \(3\).
A polynomial is in standard form when its terms are written from greatest exponent to least exponent. For example:
\[ 4x^3-2x^2+7x-9 \]
The exponents are \(3, 2, 1,\) and \(0\), in descending order. The constant \(-9\) has no visible variable, but it can be viewed as \(-9x^0\).
The degree of a nonzero polynomial is the greatest exponent of its variable. Therefore, the polynomial above has degree \(3\), and its leading term is \(4x^3\).
Reordering terms
To write a polynomial in standard form:
- Identify the exponent of the variable in each term.
- Arrange the terms from the greatest exponent to the least.
- Combine like terms if they have the same variable part.
- Include zero-coefficient powers only when they help show the structure.
For example:
\[ 7-3x^2+5x^4+x \]
becomes
\[ 5x^4-3x^2+x+7. \]
There is no \(x^3\) term, so it is normally omitted. If you need to emphasize every power, write its coefficient as zero:
\[ 5x^4+0x^3-3x^2+x+7. \]
| Expression | Standard form | Degree |
|---|---|---|
| \(8-2x+x^3\) | \(x^3-2x+8\) | 3 |
| \(5x^2+4x^4-1\) | \(4x^4+5x^2-1\) | 4 |
| \(-7x+3\) | \(-7x+3\) | 1 |
Combining like terms first
Like terms have identical variable parts, including identical exponents. For example, \(3x^2\) and \(-5x^2\) are like terms, but \(3x^2\) and \(3x\) are not.
Consider:
\[ 2x^2+5x-3+x^2-9x+4. \]
Combine like terms:
\[ (2x^2+x^2)+(5x-9x)+(-3+4) =3x^2-4x+1. \]
The result is already in standard form. Reordering before combining can also work, but combining like terms prevents duplicate powers from being left in the final answer.
def standard_form(terms):
"""Combine coefficients by exponent and return descending powers."""
coefficients = {}
for exponent, coefficient in terms:
coefficients[exponent] = coefficients.get(exponent, 0) + coefficient
return [
(exponent, coefficients[exponent])
for exponent in sorted(coefficients, reverse=True)
if coefficients[exponent] != 0
]
terms = [(2, 2), (1, 5), (0, -3), (2, 1), (1, -9), (0, 4)]
print(standard_form(terms)) # [(2, 3), (1, -4), (0, 1)]Exercise
Write \(6-4x^3+2x+x^3-5x+1\) in standard form and state its degree.
Show answer
Combine like terms: \(-4x^3+x^3=-3x^3\), \(2x-5x=-3x\), and \(6+1=7\). The standard form is \(-3x^3-3x+7\), and its degree is \(3\).