x
x+3
x - y
3x
3(x + 17)
4xy + 7x -2y
ax2 +bx + c
In an algebraic expression such as 4xy + 7x -2y the numbers, 4, 7, and -2 are called coefficients and the symbols, x and y are called variables.
Given an algebraic expression, e, we write Var(e) for the set of all variables occuring in e.
Given a set, V, of variables we write Exp(V) for the set of all expressions e such that var(e) V. Note, for some applications it might be wise to extend this notation so that it also indicated what number system was being used.
Sometimes it is also useful to use letters to represent the coefficients. Thus in an algebraic expression such as ax2 +bx + c the letters a, b and c are coefficients. When letters are used for both coefficients and variables it may be hard to tell which is which. Indeed the distinction is not a sharp one and reflects intended use rather than a fundamental distinction. The intuitive idea is that a coefficient represents a constant (a number that will not change "during the solution of a problem") while a variable represents a "varying value". This intuition should become clearer over time.
The general convention is to use letters from
the front of the alphabet for coefficients and letters from the end of
the alphabet for variables. Furthermore, by convention,
the coefficients are written to the left of the variables, that is, we
write ax rather than xa
even
though xa = ax
in all the number systems with which we deal in high school algebra.
Given any algebraic expression we can make
it into an arithmetic expression by assigning a number to each variable
in the expressing and then transforming the algebraic expression
into an arithmetic expression by replacing each variable by its assigned
number For example, given the algebraic expression, 4xy
+ 7x -2y , then taking
Mathematically speaking, an assignment for an algebraic expression,
e, is a function, a:VN,
from any set, V, containing all
the variables in the algebraic expression e,
to the set, N, of numbers in
the underlying number system. Given any set of variables, V,
then every function f:VN,
is an assignment for any expression all of whose variables are in V.
The process of applying an assignment, a:VN,
to the variables in an expression, eExp(V)
to get an arithmetic expression which is then evaluated to give an element
of N, gives us a "rule" which
defines an new function a# :Exp(V)N.
As these example should suggest: whatever number system we want we have that for every choice of values for x and y we get an arithmetic expression, Thus we can think of an algebraic expression as an abbreviation for an infinite number of arithmetic expressions.