Image (mathematics)

From Wikipedia, the free encyclopedia

For the cryptographic attack on hash functions, see preimage attack.

In mathematics, image is a part of the set theoretic notion of function.

Contents

[edit] Definition

Let X and Y be sets, f be the function f : XY, and x be some member of X. Then the image of x under f, denoted f(x), is the unique member y of Y that f associates with x. The image of a function f is denoted im(f) and is the range of f, or more precisely, the image of its domain.

The image of a subset AX under f is the subset of Y defined by

f[A] = {yY | y = f(x) for some xA}.

When there is no risk of confusion, f[A] is sometimes simply written f(A). An alternative notation for f[A], common in the older literature on mathematical logic and still preferred by some set theorists, is f "A.

Given this definition, the image of f becomes a function whose domain is the power set of X (the set of all subsets of X), and whose codomain is the power set of Y. The same notation can denote either the function f or its image. This convention is a common one; the intended meaning must be inferred from the context.

The preimage or inverse image of a set BY under f is the subset of X defined by

f −1[B] = {xX | f(x) ∈ B}.

The inverse image of a singleton, f −1[{y}], is a fiber (also spelled fibre) or a level set.

Again, if there is no risk of confusion, we may denote f −1[B] by f −1(B), and think of f −1 as a function from the power set of Y to the power set of X. The notation f −1 should not be confused with that for inverse function. The two coincide only if f is a bijection.

f can also be seen as a family of sets indexed by Y, which leads to the notion of a fibred category.

[edit] Examples

1. f: {1,2,3} → {a,b,c,d} defined by f(x)=\left\{\begin{matrix} a, & \mbox{if }x=1 \\ d, & \mbox{if }x=2 \\ c, & \mbox{if }x=3. \end{matrix}\right.

The image of {2,3} under f is f({2,3}) = {d,c}, and the range of f is {a,d,c}. The preimage of {a,c} is f −1({a,c}) = {1,3}.


2. f: RR defined by f(x) = x2.

The image of {-2,3} under f is f({-2,3}) = {4,9}, and the range of f is R+. The preimage of {4,9} under f is f −1({4,9}) = {-3,-2,2,3}.


3. f: R2R defined by f(x, y) = x2 + y2.

The fibres f −1({a}) are concentric circles about the origin, the origin, and the empty set, depending on whether a>0, a=0, or a<0, respectively.


4. If M is a manifold and π :TMM is the canonical projection from the tangent bundle TM to M, then the fibres of π are the tangent spaces Tx(M) for xM. This is also an example of a fiber bundle.

[edit] Consequences

Given a function f : XY, for all subsets A, A1, and A2 of X and all subsets B, B1, and B2 of Y we have:

  • f(A1 ∪ A2) = f(A1) ∪ f(A2)
  • f(A1 ∩ A2) ⊆ f(A1) ∩ f(A2)
  • f −1(B1 ∪ B2) = f −1(B1) ∪ f −1(B2)
  • f −1(B1 ∩ B2) = f −1(B1) ∩ f −1(B2)
  • f(f −1(B)) ⊆ B
  • f −1(f(A)) ⊇ A
  • A1A2f(A1) ⊆ f(A2)
  • B1B2f −1(B1) ⊆ f −1(B2)
  • f −1(BC) = (f −1(B))C
  • (f |A)−1(B) = Af −1(B).

The results relating images and preimages to the (Boolean) algebra of intersection and union work for any collection of subsets, not just for pairs of subsets.

With respect to the algebra of subsets, by the above we see that the inverse image function is a lattice homomorphism while the image function is just a semilattice homomorphism (it does not always preserve intersections).

[edit] See also

  • This article incorporates material from Fibre on PlanetMath, which is licensed under the GFDL.