Skip to main content
Engineering LibreTexts

3.3: Reverse Relations and Images

  • Page ID
    112207
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    We begin this section with a review of the term "Image". The first appearance of the term "Image" was in Section 3.1 when we discussed the topic: Functions. Now, we are going to elaborate on this term a little bit more. We begin with following example.

    Example

    Let A be the set of all men and B be the set of all women. A relation LaTeX: f:A\longrightarrow B is defined as "For each element x in A, assign an element y in B to x if y is the biological mother of x".

    The set A is called the domain of this relation and the set B is called the codomain of the relation. From the previous section, Section 3.2, we know this relation

    • is a function because for each x in A, there is at most one y in B that can be assigned to x (For each man, there is only one biological mother)
    • is total because for each x in A, there will be one y in B that is assigned to x (Each man will have a biological mother)

    But this relation is not surjective. To be surjective, for each element y in B, there must be at lease one element x in A such that y is assigned to x. That means for each woman in B, she has to be a biological mother of someone in A. Obviously, this is not true because some women may not have a son.

    Now, the set B (the set of all women) can be divided into two subsets: one that contains all the women who have a son and the other one contains all the women who don't have a son. We use S to represent the set that contains all the women who have a son, then S is called the image of this relation, and we write it as R(A) = S or S = R(A).

    An image of a relation is a subset of the codomain. It can be the same as the codomain if all the elements in the codomain can be assigned to an element in the domain. If this is the case, then the relation is surjective.

    Example

    Let A be the set of all real numbers and B also be the set of all real numbers. A relation LaTeX: f:A\longrightarrow B is defined as "For each element x in A, assign an element y in B to x if y = x2"

    Both domain and codomain of this relation is the set of all real numbers. This relation

    • is a function because, for each element x in A, there is at most one element in B that can be assigned to x
    • is total because for each element x in A, there will be an element y in B such that y = x2

    But, it is not surjective because not every y in B can be assigned to an element in A. In other words, for some element y, we can't find an x in A such that y = x2. For example, for y = -1, there isn't anything in A that will make -1 = x2 be a true statement. Again, the codomain is divided into to sets: one that contains all the positive numbers y in B for which we can find an x in A such that y=x2 . We use S to denote this set. The other set contains all the negative numbers y in B for which, we can't find a number x in A such that y = x2.

    In this example, the subset S is the image of the relation. From algebra, we know the set S consists of all the numbers that are greater than or equal to 0. That is S = {x LaTeX: \in B : xLaTeX: \ge0}

    With the help of those two examples, hope you have grasped the concept of "image" for a given relation.

    Now, let's tackle the concept of "Inverse Relation"

    Definition

    Let A and B be sets. A relation LaTeX: f:A\longrightarrow B assigns an element y in B to an element x in A. The inverse of this relation is also a relation which is denoted by LaTeX: f-1 : LaTeX: B\longrightarrow A and is defined as "Assign an element y in A to an element x in B if x was assigned to y in the relation LaTeX: f:A\longrightarrow B

    Such precise mathematical/logical definition is always very difficult to understand. It is like those laws written in a law book. It is not really for the normal people like you and me to read. Therefore, we need interpretations and examples to help us to understand the concepts. So are those mathematical/logical definitions.

    Example

    Let A be a set {a, b, c, d, e} and B be a set {3, -1, 2, 4}. A relation LaTeX: f:A\longrightarrow B is defined by following table:

    preview

    Then the inverse of this relation LaTeX: f^{-1}:B\longrightarrow A will be defined as

    preview_ozeb

    From this example, we can see to get an inverse of a relation, all we need to do is switch the domain to codomain and switch the codomain to domain and at the meantime, reverse the directions of those arrows.

    It is going be even easier to get an inverse relation if we use a set of ordered pairs to represent a relation.

    In this example, we can use following set of the ordered pairs to represent the original relation LaTeX: f:A\longrightarrow B

    LaTeX: f : {(a, -1), (b, 3), (b, 2), (c, 2), (d, 4), (e, 4)}

    To get the inverse of this relation, all we need to do now is to switch the order of two elements in each ordered pair:

    LaTeX: f^{-1}: {(-1, a), (3, b), (2, b), (2, c), (4, d), (4, e)}

    From this example we can also see the original relation LaTeX: f:A\longrightarrow B is a function, but its inverse is not.

    Example

    Let A be the set of all men and B be the set of all women. A relation LaTeX: f:A\longrightarrow B is defined as "For each element x in A, assign an element y in B to x if y is the biological mother of x".

    Now, the inverse of this relation LaTeX: f^{-1}:B\longrightarrow A is defined as "For each element x in B (each woman in B), assign an element y in A (a man in A) to x if y is a son of x". We can see the original relation is a function, but its inverse is not. The original relation is not surjective, but its inverse is. The original relation is total, but its inverse is not.

    Example

    Let A be the set of all real numbers and B also be the set of all real numbers. A relation LaTeX: f:A\longrightarrow B is defined as "For each element x in A, assign an element y in B to x if y = x2"

    The inverse of this relation LaTeX: f^{-1}:B\longrightarrow A will be defined as "For each element x in B, assign an element y in A to x if y2 = x" For example, for the element x=16 in B, we will assign the number y=4 in A to it because 42 = 16.

    This last example may be a challenge. Actually, it is not too bad. The original relation maps each number in the domain to its square and the inverse relation maps each number in the domain to it square root. The original relation is function, but its inverse is not because each number in the domain have two different square roots: one is positive and the other is negative.


    3.3: Reverse Relations and Images is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?