Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

B: Functions

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

Here we collect a few basic facts about functions. Note that the words function, map, mapping and transformation may be used interchangeably. Here we just use the term function. We leave the proofs of all the results in this appendix to the interested reader.

Definition B.1:

A function f from the set A to the set B is a rule which assigns to each element aA an element f(a)B in such a way that the following condition holds for all x,yA:

x=yf(x)=f(y). To indicate that f is a function from A to B we write f:AB. The set A is called the domain of f and the set B is called the codomain of f.

If the conditions of Definition B.1 hold, it is customary to say that the function is well-defined. Often we speak of “the function f”, but strictly speaking the domain and the codomain are integral parts of the definition, so this is short for “the function f:AB.”

To describe a function one must specify the domain (a set) and the codomain (another set) and specify its effect on a typical element (variable) in its domain.

When a function is defined it is often given a name such as f or σ. So we speak of the function f or the function σ. If x is in the domain of f then f(x) is the element in the codomain of f that f assigns to x. We sometimes write xf(x) to indicate that f sends x to f(x).

We can also use the barred arrow to define a function without giving it a name. For example, we may speak of the function xx2+2x+4 from R to R. Alternatively one could define the same function as follows: Let h:RR be defined by the rule h(x)=x2+2x+4 for all xR.

Note that it is correct to say the function sin or the function xsin(x). But it is not correct to say the function sin(x).

Arrows: We consistently distinguish the following types of arrows:

As in f:AB.
As in xx2+3x+4
Means implies
Means is equivalent to

Some people use in place of
It is often important to know when two functions are equal. Then, the following definition is required.

Definition B.2:

Let f:AB and g:CD. We write f=g if and only if

A=CB=D and f(a)=g(a) for all aA.

Definition B.3:

A function f:AB is said to be one-to-one if the following condition holds for all x,yA : f(x)=f(y)x=y.

Note carefully the difference and similiarity between (B.1) and (B.2).

Definition B.4:

A function f:AB is said to be onto if the following condition holds: For every bB there is an element aA such that f(a)=b.

Some mathematicians use injective instead of one-to-one, surjective instead of onto, and bijective for one-to-one and onto. If f:AB is bijective f is sometimes said to be a bijection or a one-to-one correspondence between A and B.

Definition B.5:

For any set A, we define the function ιA:AA by the rule ιA(x)=x for all xA. We call ιA the identity function on A. If A is understood, we write simply ι instead of ιA.

Some people write 1A instead of ιA to indicate the identity function on A.

Problem B.1 Prove that ιA:AA is one-to-one and onto.

Theorem B.1

If f:AB and g:BC then the rule gf(a)=g(f(a)) for all aA defines a function gf:AC. This function is called the composition of g and f.

Some people write gf instead of gf, but we will not do this.

Theorem B.2

If f:AB is one-to-one and onto then the rule for every bB define f1(b)=a if and only if f(a)=b, defines a function f1:BA. The function f1 is itself one-to-one and onto and satisfies ff1=ιB and f1f=ιA.

The function f1 defined in the above theorem is called the inverse of f.

Theorem B.3

Let f:AB and g:BC.

  1. If f and g are one-to-one then gf:AC is one-to-one.
  2. If f and g are onto then gf:AC is onto.
  3. If f and g are one-to-one and onto then gf:AC is also one-to-one and onto.

This page titled B: Functions is shared under a not declared license and was authored, remixed, and/or curated by W. Edwin Clark via source content that was edited to the style and standards of the LibreTexts platform.

  • Was this article helpful?

Support Center

How can we help?