If you build a square fenced garden, what is its perimeter? If each side is $2\text{ m}$, perimeter is $4 \times 2 = 8\text{ m}$. If each side is $6\text{ m}$, perimeter is $4 \times 6 = 24\text{ m}$. The number 4 is fixed (constant), while the side length changes. We represent this variable side length by the letter $x$, creating the algebraic formula $\mathbf{4x}$.
- Variable: A symbol (usually letters $x, y, z, a, b$) that represents an unknown or changing quantity.
- Constant: A symbol with a fixed, unvarying numerical value ($7, -15, \frac{3}{4}$).
- Algebraic Term: A combination of constants and variables linked strictly by multiplication or division. Terms are separated from one another by $+$ or $-$ signs. In $5x^2 - 4xy + 9$, the terms are $5x^2, -4xy, 9$.
- Coefficient: The multiplier associated with a variable factor:
- Numerical Coefficient: The constant multiplier including its sign. In $-7x^2y$, the numerical coefficient is $\mathbf{-7}$.
- Literal Coefficient: In $-7x^2y$, the coefficient of $y$ is $-7x^2$, and the coefficient of $x^2$ is $-7y$.
- Polynomial Classification: Monomial (1 term: $4x$), Binomial (2 terms: $2x - 3$), Trinomial (3 terms: $x^2 + 4x + 4$), Polynomial (any expression with 1 or more terms).
Problem: In the algebraic expression $8x^2y - 14xy^2 + 5x - 9$:
a) List all terms.
b) Identify the numerical coefficient of the second term.
c) What is the coefficient of $x^2$ in the first term?
Solution:
a) The 4 terms are: $\mathbf{8x^2y}, \mathbf{-14xy^2}, \mathbf{5x}, \mathbf{-9}$.
b) Second term is $-14xy^2$. Numerical coefficient is $\mathbf{-14}$ (including the negative sign).
c) In $8x^2y$, the remaining factor multiplying $x^2$ is $\mathbf{8y}$.
For the term $-x$, the numerical coefficient is $\mathbf{-1}$, not $0$ or just minus.
For the term $+x$, the numerical coefficient is $\mathbf{+1}$.
In machine learning algorithms, every feature input (e.g. house size, bedrooms) has a weight coefficient (e.g. $w_1 x_1 + w_2 x_2 + b$) that predicts prices or diagnoses medical scans.