Applying operations to functions in terms of values for each input "point"
Inmathematics, the qualifier pointwise is used to indicate that a certain property is defined by considering each value of some function An important class of pointwise concepts are the pointwise operations, that is, operations defined on functions by applying the operations to function values separately for each point in the domain of definition. Important relations can also be defined pointwise.
Pointwise sum (upper plot, violet) and product (green) of the functions sin (lower plot, blue) and ln (red). The highlighted vertical slice shows the computation at the point x=2π.
A binary operation o: Y × Y → Y on a set Y can be lifted pointwise to an operation O: (X→Y) × (X→Y) → (X→Y) on the set X → Y of all functions from XtoY as follows: Given two functions f1: X → Y and f2: X → Y, define the function O(f1, f2): X → Yby
(O(f1, f2))(x) = o(f1(x), f2(x)) for all x ∈ X.
Commonly, o and O are denoted by the same symbol. A similar definition is used for unary operations o, and for operations of other arity.[citation needed]
Componentwise operations are usually defined on vectors, where vectors are elements of the set for some natural number and some field. If we denote the -th component of any vector as, then componentwise addition is .
Componentwise operations can be defined on matrices. Matrix addition, where is a componentwise operation while matrix multiplication is not.
Atuple can be regarded as a function, and a vector is a tuple. Therefore, any vector corresponds to the function such that , and any componentwise operation on vectors is the pointwise operation on functions corresponding to those vectors.
Inorder theory it is common to define a pointwise partial order on functions. With A, Bposets, the set of functions A → B can be ordered by defining f ≤ gif(∀x ∈ A) f(x) ≤ g(x). Pointwise orders also inherit some properties of the underlying posets. For instance if A and B are continuous lattices, then so is the set of functions A → B with pointwise order.[1] Using the pointwise order on functions one can concisely define other important notions, for instance:[2]