Operator
- This article is about operators in mathematics, for other kinds of operators see operator (disambiguation).
In many important cases, operators transform functions into other functions. We also say an operator maps a function to another. The operator itself is a function, but has an attached type indicating the correct operand, and the kind of function returned. This extra data can be defined formally, using type theory; but in everyday usage saying operator flags its significance. Functions can therefore conversely be considered operators, for which we forget some of the type baggage, leaving just labels for the domain and codomain.
To begin with, the usage of operator in mathematics is subsumed in the usage of function: an operator can be taken to be some special kind of function. The word is probably used to call attention to some aspect of its nature as function. Since there are several such aspects that are of interest, there is no completely consistent terminology. Common are these:
Operators and levels of abstraction
A single operator might conceivably qualify under all three of these. Other important ideas are:
These are abstract ideas from mathematics, and computer science. They may however also be encountered in quantum mechanics. There Dirac drew a clear distinction between q-number or operator quantities, and c-numbers which are conventional complex numbers. The manipulation of q-numbers from that point on became basic to theoretical physics.
There are other notations commonly met. In some literature, a small uphat is written over the operator name. In certain circumstances, they are written unlike functions, when an operator has a single argument or operand. For example, if the operator name is Q and the operand a function f, we write Qf and not usually Q(f); this latter notation may however be used for clarity if there is a product — for instance, Q(fg). Later on we will use Q to denote a general operator, and xi to denote the i-th argument.
Notations for operators include the following. If f(x) is a function of x and Q is the general operator we can write Q acting on f as (Qf)(x) also.
Programming languages have a set of operators that perform arithmetical operations, and others such as Boolean operations on truth values, and string operators manipulating strings of text. Computers are mathematical devices, but compilers and interpreters require a full syntactic theory of all operations in order to parse formulae involving any combinations correctly. In particular they depend on operator precedence rules, on order of operations, that are tacitly assumed in mathematical writing.
Conventionally, the computing usage of operator also goes beyond the mathematical usage (for functions). The C programming language syntax for pointers, uses the operators * and &. sizeof is sometimes considered an operator, and in C++, new and delete are also operators. In object oriented languages, such as C++, you can define your own uses for operators.
In certain programming languages, such as PostScript, the use of the word "operator" has more specific meaning, in that an operator is an executable element in the stack. Because operators here are always written postfix, the need for brackets is redundant as the way objects are taken from the stack ensures correct evaluation. This is an example of Reverse Polish notation.
This section concentrates on illustrating the expressive power of the operator concept in mathematics. Please refer to individual topics pages for further details.
The most common kind of operator encountered are linear operators. In talking about linear operators, the operator is signified generally by the letters T or L. Linear operators are those which satisfy the following conditions; take the general operator T, the function acted on under the operator T, written as f(x), and the constant a:
Linear operators are also known as linear transformations or linear mappings. Many other operators one encounters in mathematics are linear, and linear operators are the most easily studied (Compare with nonlinearity).
Such an example of a linear transformation between vectors in R2 is reflection, given a vector x=(x1, x2)
Operators are also involved in probability theory.
Such operators as expectation, variance, covariance, factorials, et al.
The differential operator is an operator which is fundamentally used in Calculus to denote the action of taking a derivative. Common notations are such d/dx, y'(x) to denote the derivative of y(x). However here we will use the notation that is closest to the operator notation we have been using, that is, using D f to represent the action of taking the derivative of f.
The convolution of two functions is a mapping from two functions to one other, defined by an integral as follows:
If x1=f(t) and x2=g(t), define the operator Q such that;
The Fourier transform is used in many areas, not only in mathematics, but in physics and in signal processing, to name a few. It is another integral operator; it is useful mainly because it converts a function on one (spatial) domain to a function on another (frequency) domain, in a way that is effectively invertible. Nothing significant is lost, because there is an inverse transform operator. In the simple case of periodic functions, this result is based on the theorem that any continuous periodic function can be represented as the sum of a series of sine waves and cosine waves:
Given f=f(s), it is defined by:
Three main operators are key to vector calculus, the operator ∇, known as gradient, where at a certain point in a scalar field forms a vector which points in the direction of greatest change of that scalar field. In a vector field, the divergence is an operator that measures a vector field's tendency to originate from or converge upon a given point. Curl, in a vector field, is a vector operator that shows a vector field's tendency to rotate about a point.
In physics, an operator often takes on a more specialized meaning than in mathematics. Operators as observables are a key part of the theory of quantum mechanics. In that context operator often means a linear transformation from a Hilbert space to another, or (more abstractly) an element of a C* algebra.Describing operators
Operators are described usually by the number of operands:
and so on.Notations
There are three major systematic ways of writing operators and their arguments. These are
Q(x1, x2,...,xn).
(x1, x2,...,xn) Q
x1 Q x2Operators in programming
Examples of mathematical operators
Linear operators
Main article: Linear transformation
Many operators are linear. For example, the differential operator and Laplacian operator, which we will see later.
We can also make sense of linear operators between generalisations of finite-dimensional vector spaces. For example, there is a large body of work dealing with linear operators on Hilbert spaces and on Banach spaces. See also operator algebra.Operators in probability theory
Main article: Probability theoryOperators in calculus
Calculus is, essentially, the study of one particular operator, and its behavior embodies and exemplifies the idea of the operator very clearly. The key operator studied is the differential operator. It is linear, as are many of the operators constructed from it.The differential operator
Main article: Differential operatorIntegral operators
Given that integration is an operator as well (inverse of differentiation), we have some important operators we can write in terms of integration.Convolution
Main article: Convolution
which we write as .Fourier transform
Main article: Fourier transform
When dealing with general function R->C, the transform takes up an integral form:Laplacian transform
Main article: Laplace transform
The Laplace transform is another integral operator and is involved in simplifying the process of solving differential equations.Fundamental operators on scalar and vector fields
Main articles: vector calculus, scalar field, gradient, divergence, and curlOperators in physics
Main article: Operator (physics)