Chapter IV (annotated)-2

1. Introduction to functions and definitions

This section establishes the formal mathematical definition of a function, distinguishing between related concepts such as domain, codomain, image (range), function equality, and the representation of functions via their graph.

1.1 Formal Definition of a Function

A function is a fundamental concept in mathematics describing a rule that assigns exactly one output element to every input element from a specified set.

Definition 1 (Functions): Let AA and BB be two sets. A function ff from AA to BB, denoted f:A→Bf: A \to B or f:A↓→Bf: A \downarrow \to B, assigns to every element a∈Aa \in A exactly one element f(a)∈Bf(a) \in B. The element f(a)∈Bf(a) \in B is called the value of ff at aa. The sets AA and BB are considered intrinsic parts of the function's description.

  • AA is the domain (or source) of ff, denoted dom(f)\text{dom}(f).
  • BB is the codomain (or target) of ff 3.

The concept is visualized by showing that every element in the domain AA has precisely one associated element in the codomain BB. However, it is not required that every element in BB is mapped to by an element in AA 2.

A Venn diagram illustrating a function f from set A to set B, showing mappings from elements in A to elements in B.

1.2 Examples and Piecewise Definitions

Functions can map between various types of sets, including discrete sets or sets of real numbers R\mathbb{R}.

Example: The functions g:R→Rg: \mathbb{R} \to \mathbb{R}, x↦x2x \mapsto x^2 and h:R→[0,∞)h: \mathbb{R} \to [0, \infty), x↦x2x \mapsto x^2 have the same domain and values, but they are considered unequal because their codomains differ (g≠hg \neq h).

Functions are often described piecewise using case distinctions, particularly when dealing with functions exhibiting discontinuities or changes in rule, such as those with "bumps or jumps".

1.3 Function Equality (Extensionality)

Two functions are only considered equal if they share the same input and output sets and produce identical outputs for every input in the shared domain.

Definition 2 (Extensionality for functions): Two functions f:A→Bf: A \to B and g:X→Yg: X \to Y are equal if and only if: (i) A=XA = X (They have the same domains). (ii) B=YB = Y (They have the same codomains). (iii) ∀a∈A:f(a)=g(a)\forall a \in A: f(a) = g(a) (Their values agree for all elements in the domain).

1.4 Image (Range) of a Function

The image (or range) of a function consists of all the actual output values attained by the function when its domain is fully evaluated.

Definition 3 (Image): The image of a function f:A→Bf: A \to B, denoted im(f)\text{im}(f), is the subset of the codomain BB given by: im(f):={b∈B∣∃a∈A:f(a)=b}={f(a)∈B∣a∈A}⊆B\text{im}(f) := \{ b \in B \mid \exists a \in A : f(a) = b \} = \{ f(a) \in B \mid a \in A \} \subseteq B The term "range" is sometimes used interchangeably for the image or the codomain, but it is generally discouraged due to this ambiguity 6.

Example: For f:{1,2,3,4,5}→{a,b,c,d}f: \{ 1, 2, 3, 4, 5 \} \to \{ a, b, c, d \} defined by f=a,f=c,f=a,f=d,f=cf =a, f =c, f =a, f =d, f =c, the image is im(f)={a,c,d}\text{im}(f) = \{a, c, d\}, which is a proper subset of the codomain {a,b,c,d}\{a, b, c, d\} 5.

If g:R→Rg: \mathbb{R} \to \mathbb{R}, x↦x2x \mapsto x^2, then im(g)=[0,∞)⊂R\text{im}(g) = [0, \infty) \subset \mathbb{R}. However, if h:R→[0,∞)h: \mathbb{R} \to [0, \infty), x↦x2x \mapsto x^2, then im(h)=codom(h)=[0,∞)\text{im}(h) = \text{codom}(h) = [0, \infty) 7.

Definition 3 provides the set-builder notation for the image (or range) of a function f: A → B.

1.5 Representation via Graphs

A function f:A→Bf: A \to B can be uniquely encoded by its graph, which is a specific subset of the Cartesian product A×BA \times B.

The graph of ff, denoted Γ(f)\Gamma(f), is defined as: Γ(f):={(a,b)∈A×B∣f(a)=b}={(a,f(a))∣a∈A}\Gamma(f):= \{ (a, b) \in A \times B \mid f(a) = b \} = \{ (a, f(a)) \mid a \in A \}.

A subset S⊆A×BS \subseteq A \times B is the graph of a function f:A→Bf: A \to B if and only if: (i) For every a∈Aa \in A, there exists some b∈Bb \in B such that (a,b)∈S(a, b) \in S (ensuring every domain element is mapped). (ii) If (a,b1)∈S(a, b_1) \in S and (a,b2)∈S(a, b_2) \in S for b1,b2∈Bb_1, b_2 \in B, then b1=b2b_1 = b_2 (ensuring uniqueness of the image) 8.

Definition of the graph of a function f: A → B as a subset of the Cartesian product A × B.

1.6 Partial Functions

The concept of a function can be relaxed to allow for inputs for which an output might not be defined, resulting in a partial function.

Definition 5 (Partial Function): A partial function f:A⇀Bf: A \rightharpoonup B is a subset Γ(f)⊆A×B\Gamma(f) \subseteq A \times B that only satisfies condition (ii) of the graph lemma: ∀a∈A,∀b1,b2∈B:[(a,b1)∈Γ(f)∧(a,b2)∈Γ(f)]  ⟹  b1=b2\forall a \in A, \forall b_1, b_2 \in B: [(a, b_1) \in \Gamma(f) \land (a, b_2) \in \Gamma(f)] \implies b_1 = b_2 If (a,b)∈Γ(f)(a, b) \in \Gamma(f), we say ff is defined at aa and set f(a):=bf(a):= b. If no such pair exists for a∈Aa \in A, ff is not defined at aa.

A partial function f:A⇀Bf: A \rightharpoonup B is a full function f:A→Bf: A \to B if and only if it is defined for all a∈Aa \in A 9.

A diagram illustrating a partial function f: A \rightarrow B where some elements in set A are mapped to elements in set B, while others are not mapped.

1.7 Real Functions

Definition 6 (Real Function): A function f:A→Bf: A \to B is called a real function if both the domain AA and the codomain BB are subsets of the set of real numbers R\mathbb{R}.

Tip: Any real function can be viewed as a partial function f:R⇀Rf: \mathbb{R} \rightharpoonup \mathbb{R}. For example, g:[0,∞)→Rg: [0, \infty) \to \mathbb{R}, x↦xx \mapsto \sqrt{x} is a function, but when viewed as a subset of R×R\mathbb{R} \times \mathbb{R}, it acts as a partial function defined only on the non-negative reals 10.

Concept Check: Remember that function equality requires identical codomains. Thus, g:R→Rg: \mathbb{R} \to \mathbb{R}, x↦x2x \mapsto x^2 and h:R→[0,∞)h: \mathbb{R} \to [0, \infty), x↦x2x \mapsto x^2 are distinct functions because codom(g)≠codom(h)\text{codom}(g) \neq \text{codom}(h) 4.

2. Domains, images, and basic function types

This section summarizes the fundamentals of real functions defined by algebraic formulas, focusing on determining their natural domains, calculating their images, and classifying them based on injectivity, surjectivity, and bijectivity.

2.1 Determining the natural domain of algebraic functions

A function determined by an algebraic formula involves only variables, real numbers, and elementary algebra (addition, subtraction, multiplication, division, and roots). These formulas typically define partial functions f:D(f)⊂R↠Rf: D(f) \subset \mathbb{R} \twoheadrightarrow \mathbb{R}, where the domain D(f)D(f) is restricted by the formula itself.

The natural domain D(f)D(f) of an algebraic formula f(⋅)f(\cdot) is defined as the largest subset of R\mathbb{R} for which the expression is well-defined, establishing a function f:D(f)→Rf: D(f) \to \mathbb{R} 12.

Key restrictions when determining the natural domain include:

  1. Division by Zero: The denominator of a rational expression cannot be zero.
  2. Square Roots: The radicand (the expression under the square root) must be non-negative (greater than or equal to zero).
  3. Higher Even Roots: Similar to square roots, expressions under even roots must be non-negative.

Tip: When dealing with multiple restrictions (e.g., rational functions containing roots), the natural domain is the intersection of the sets derived from all individual constraints.

Examples illustrating domain determination based on these rules:

  • For f(x)=1x2−1f(x) = \frac{1}{x^2 - 1}, the denominator x2−1≠0x^2 - 1 \ne 0, so D(f)=R∖{−1,1}D(f) = \mathbb{R} \setminus \{-1, 1\}.
  • For f(x)=xf(x) = \sqrt{x}, the constraint is x≥0x \ge 0, so D(f)=[0,+∞)D(f) = [0, +\infty).
  • For f(x)=x−2f(x) = \sqrt{x-2}, the constraint is x−2≥0x-2 \ge 0, leading to D(f)=[2,+∞)D(f) = [2, +\infty).
  • For f(x)=x2−x−2f(x) = \sqrt{x^2 - x - 2}, since x2−x−2=(x+1)(x−2)x^2 - x - 2 = (x+1)(x-2), the constraint is (x+1)(x−2)≥0(x+1)(x-2) \ge 0, resulting in D(f)=(−∞,−1∪[2,+∞)D(f) = (-\infty, -1 \cup [2, +\infty) 13.

A list of mathematical functions and their corresponding domains, illustrating the process of determining the natural domain for various function types.

To find the domain of a function involving multiple components, one must satisfy all conditions simultaneously. For f(x)=2x+1+1x2−3f(x) = \sqrt{2x+1} + \frac{1}{x^2-3}, two conditions must be met: the radicand must be non-negative, and the denominator must be non-zero 14.

  1. Square root constraint: 2x+1≥0  ⟹  x≥−122x+1 \ge 0 \implies x \ge -\frac{1}{2}.
  2. Denominator constraint: x2−3≠0  ⟹  x≠3x^2 - 3 \ne 0 \implies x \ne \sqrt{3} and x≠−3x \ne -\sqrt{3}.

The natural domain D(f)D(f) is the intersection of these sets: [−12,+∞)∖{3}\left[-\frac{1}{2}, +\infty\right) \setminus \{\sqrt{3}\}.

Step-by-step derivation of the domain for the function f(x) = \sqrt{{2x+1}} + \frac{{1}}{{x^2-3}}

Example: For f(x)=x+1x−1f(x) = \frac{\sqrt{x+1}}{x-1}, we need x+1≥0x+1 \ge 0 (so x≥−1x \ge -1) AND x−1≠0x-1 \ne 0 (so x≠1x \ne 1). The domain is D(f)=[−1,+∞)∖{1}D(f) = [-1, +\infty) \setminus \{1\}, which is represented as [−1,1)∪(1,+∞)[-1, 1) \cup (1, +\infty) 15.

2.2 The image of a function

The image of a function f:A→Bf: A \to B, denoted im(f)\text{im}(f), is the subset of the codomain BB consisting of all elements that are actual outputs of ff for inputs in the domain AA.

Formally, the image is defined as: im(f):={b∈B∣∃a∈A:f(a)=b}\text{im}(f):= \{ b \in B \mid \exists a \in A: f(a) = b \}.

This means an element b∈Bb \in B belongs to the image if and only if the equation f(x)=bf(x) = b has at least one solution xx in the domain AA.

Mathematical definition of the image of a function f: A \to B using set-builder notation and an alternative representation.

To determine the image im(f)\text{im}(f) for f:A→Bf: A \to B, one solves the equation f(x)=yf(x) = y for xx in terms of yy, treating yy as a fixed element of the codomain BB, and then identifies the set of yy values for which a solution x∈Ax \in A exists.

Example: For f:R∖{2}→Rf: \mathbb{R} \setminus \{2\} \to \mathbb{R} defined by f(x)=3x+1x−2f(x) = \frac{3x+1}{x-2}. Set y=f(x)y = f(x) and solve for xx: y=3x+1x−2  ⟹  y(x−2)=3x+1  ⟹  yx−2y=3x+1y = \frac{3x+1}{x-2} \implies y(x-2) = 3x+1 \implies yx - 2y = 3x + 1 yx−3x=2y+1  ⟹  x(y−3)=2y+1yx - 3x = 2y + 1 \implies x(y-3) = 2y + 1 If y≠3y \ne 3, then x=2y+1y−3x = \frac{2y+1}{y-3}. Since this formula yields a valid x∈R∖{2}x \in \mathbb{R} \setminus \{2\} for any y≠3y \ne 3, the image is im(f)=R∖{3}\text{im}(f) = \mathbb{R} \setminus \{3\} 17.

The image calculation depends heavily on the domain AA 18.

  • For f:R→Rf: \mathbb{R} \to \mathbb{R}, f(x)=3x+1f(x) = 3x+1, every yy has a solution x=y−13x = \frac{y-1}{3}, so im(f)=R\text{im}(f) = \mathbb{R} (surjective).
  • For h:→Rh: \to \mathbb{R}, h(x)=3x+1h(x) = 3x+1. Since hh is increasing, the image is [hh=[h h = 7 16.

For quadratic functions, the minimum or maximum value often dictates the image boundary. For g:R→Rg: \mathbb{R} \to \mathbb{R}, g(x)=x2+2x+5g(x) = x^2 + 2x + 5: x2+2x+5=(x+1)2+4x^2 + 2x + 5 = (x+1)^2 + 4 Since (x+1)2≥0(x+1)^2 \ge 0, the minimum value is 4. Thus, im(g)=[4,+∞)\text{im}(g) = [4, +\infty), and gg is not surjective onto R\mathbb{R} 19.

2.3 Properties of functions: Injectivity and Surjectivity

Functions can be characterized by whether they map distinct inputs to distinct outputs (injectivity) or whether every element in the codomain is reached (surjectivity) 20.

2.3.1 Injectivity (One-to-one)

A function f:A→Bf: A \to B is injective (or one-to-one) if distinct elements in the domain always map to distinct elements in the codomain.

Formally, ff is injective if: ∀a1,a2∈A:f(a1)=f(a2)  ⟺  a1=a2\forall a_1, a_2 \in A: f(a_1) = f(a_2) \iff a_1 = a_2.

This is equivalent to the contrapositive: if a1≠a2a_1 \ne a_2, then f(a1)≠f(a2)f(a_1) \ne f(a_2). Injective functions are also called injections 21.

Tip: To prove injectivity algebraically, assume f(a1)=f(a2)f(a_1) = f(a_2) for arbitrary a1,a2a_1, a_2 in the domain, and algebraically manipulate the expression until you deduce a1=a2a_1 = a_2.

For f:R→Rf: \mathbb{R} \to \mathbb{R}, f(x)=x2f(x) = x^2, is not injective because f(−1)=f=1f(-1) = f = 1, but −1≠1-1 \ne 1 1 22.

However, restricting the domain can enforce injectivity. For g:[0,+∞)→Rg: [0, +\infty) \to \mathbb{R}, g(x)=x2g(x) = x^2: If g(x1)=g(x2)g(x_1) = g(x_2), then x12=x22x_1^2 = x_2^2. Since x1,x2≥0x_1, x_2 \ge 0, this implies x1=x2x_1 = x_2, so gg is injective on [0,+∞)[0, +\infty) 23.

![Proof demonstrating that the function g(x) = x^2 on the domain 0, ∞) is injective by setting g(x1) = g(x2) and deriving x1 = x2.

2.3.2 Surjectivity (Onto)

A function f:A→Bf: A \to B is surjective (or "onto BB") if every element bb in the codomain BB is the image of at least one element aa in the domain AA.

Formally, ff is surjective if: ∀b∈B,∃a∈A:f(a)=b\forall b \in B, \exists a \in A: f(a) = b.

This is equivalent to saying that the image equals the codomain: im(f)=B\text{im}(f) = B 24.

If f:A→Bf: A \to B is an arbitrary function, its corestriction f~:A→im(f)\tilde{f}: A \to \text{im}(f), where f~(a)=f(a)\tilde{f}(a) = f(a), is always surjective because its codomain is defined specifically as its image.

Example: The function f:R∖{2}→Rf: \mathbb{R} \setminus \{2\} \to \mathbb{R}, f(x)=3x+1x−2f(x) = \frac{3x+1}{x-2}, is not surjective because im(f)=R∖{3}\text{im}(f) = \mathbb{R} \setminus \{3\}. However, its corestriction f~:R∖{2}→R∖{3}\tilde{f}: \mathbb{R} \setminus \{2\} \to \mathbb{R} \setminus \{3\}, given by the same formula, is surjective 25.

This visual illustrates the definition of a corestriction of a function f: A \to B to its image, \tilde{{f}}: A \to \text{{im}}(f), which is always surjective.

2.4 Connecting Properties to Equations

Both injectivity and surjectivity can be characterized by the number of solutions to the equation f(a)=bf(a) = b for a fixed b∈Bb \in B.

  • Injective: For every fixed b∈Bb \in B, the equation f(a)=bf(a) = b has at most one solution a∈Aa \in A.
  • Surjective: For every fixed b∈Bb \in B, the equation f(a)=bf(a) = b has at least one solution a∈Aa \in A 26.

2.5 Bijectivity and Inverse Functions

A function possessing both properties is called bijective.

Definition 10 (Bijective): A function f:A→Bf: A \to B is bijective if it is both injective and surjective. Bijective functions are also called bijections.

This implies that for a bijection f:A→Bf: A \to B, for every fixed b∈Bb \in B, the equation f(a)=bf(a) = b has exactly one unique solution a∈Aa \in A. A bijection establishes a perfect one-to-one correspondence between the elements of AA and BB 27.

Example: The function f~:R∖{2}→R∖{3}\tilde{f}: \mathbb{R} \setminus \{2\} \to \mathbb{R} \setminus \{3\}, defined by x↦3x+1x−2x \mapsto \frac{3x+1}{x-2}, is bijective because for any y∈R∖{3}y \in \mathbb{R} \setminus \{3\}, the equation f(x)=yf(x)=y yields the unique solution x=2y+1y−3x = \frac{2y+1}{y-3}.

The equation f(a)=b represents the condition for a function f: A \to B to be bijective, meaning for every b \in B, there is exactly one a \in A such that f(a)=b.

The existence of a unique solution for the inverse mapping is precisely what guarantees bijectivity, which is the foundational requirement for the existence of an inverse function f−1:B→Af^{-1}: B \to A 28.

Mathematical proof demonstrating that the function \tilde{{f}}: \mathbb{{R}} \setminus \{{2\}} \to \mathbb{{R}} \setminus \{{3\}} defined by x \mapsto \frac{{3x+1}}{{x-2}} is bijective by showing the inverse relationship.

3. Function composition and inverses

This section details the process of function composition, defines the necessary identity function, and formally introduces the concept and existence criteria for inverse functions.

3.1 Function composition

The composition of two functions links the codomain of the first function to the domain of the second function. If f:A→Bf: A \to B and g:B→Cg: B \to C, the composite function g∘f:A→Cg \circ f: A \to C is defined such that for any element a∈Aa \in A, the value is (g∘f)(a)=g(f(a))(g \circ f)(a) = g(f(a)). In this notation, function ff is applied first, followed by function gg.

Tip: When reading g∘fg \circ f, remember to process the functions from right to left: first ff, then gg 30.

Definition 11 formally defines the composite function g∘f:A→Cg \circ f: A \to C as x↦g(f(x))x \mapsto g(f(x)).

Example: Given f:{1,2,3}→{a,b,c,d}f: \{1, 2, 3\} \to \{a, b, c, d\} with f=a,f=c,f=df =a, f =c, f =d, and g:{a,b,c,d}→{u,x,y,z}g: \{a, b, c, d\} \to \{u, x, y, z\} with g(a)=x,g(b)=u,g(c)=y,g(d)=zg(a)=x, g(b)=u, g(c)=y, g(d)=z. The composite (g∘f)(g \circ f) is:

  • (g∘f)=g(f)=g(a)=x(g \circ f) = g(f ) = g(a) = x 1.
  • (g∘f)=g(f)=g(c)=y(g \circ f) = g(f ) = g(c) = y 2.
  • (g∘f)=g(f)=g(d)=z(g \circ f) = g(f ) = g(d) = z 3. Thus, g∘f:{1,2,3}→{u,x,y,z}g \circ f: \{1, 2, 3\} \to \{u, x, y, z\} 31.

The order of composition is generally not commutative, meaning g∘fg \circ f is usually not equal to f∘gf \circ g.

Example: Consider f:R→Rf: \mathbb{R} \to \mathbb{R} defined by f(x)=2x−3f(x) = 2x - 3 and g:R→Rg: \mathbb{R} \to \mathbb{R} defined by g(x)=x2+1g(x) = x^2 + 1.

The composition (g∘f)(x)(g \circ f)(x) is calculated as: (g∘f)(x)=g(f(x))=g(2x−3)=(2x−3)2+1=(4x2−12x+9)+1=4x2−12x+10(g \circ f)(x) = g(f(x)) = g(2x - 3) = (2x - 3)^2 + 1 = (4x^2 - 12x + 9) + 1 = 4x^2 - 12x + 10

The composition (f∘g)(x)(f \circ g)(x) is calculated as: (f∘g)(x)=f(g(x))=f(x2+1)=2(x2+1)−3=2x2+2−3=2x2−1(f \circ g)(x) = f(g(x)) = f(x^2 + 1) = 2(x^2 + 1) - 3 = 2x^2 + 2 - 3 = 2x^2 - 1

Since 4x2−12x+10≠2x2−14x^2 - 12x + 10 \neq 2x^2 - 1, we see that g∘f≠f∘gg \circ f \neq f \circ g 32.

A diagram illustrating the composition of two functions, f: A → B and g: B → C, resulting in the composite function g ∘ f: A → C.

Diagram illustrating the composition of functions f and g, showing their domains and codomains as the set of real numbers (R).

3.2 The identity function

Definition 12 introduces the identity function, denoted idS\text{id}_S, for any set SS.

The identity function idS:S→S\text{id}_S: S \to S maps every element to itself: s↦ss \mapsto s. For instance, the identity function on the real numbers is f:R→Rf: \mathbb{R} \to \mathbb{R} given by f(x)=xf(x) = x 34.

A key property of the identity function regarding composition is that composing any function with the appropriate identity function leaves the original function unchanged:

  1. idS∘f=f\text{id}_S \circ f = f for any function f:A→Sf: A \to S.
  2. g∘idS=gg \circ \text{id}_S = g for any function g:S→Bg: S \to B.

3.3 Inverse functions

Definition 13 states that two functions, f:A→Bf: A \to B and g:B→Ag: B \to A, are inverses of each other if their compositions result in the identity functions on their respective domains and codomains. This requires two conditions to hold:

  1. g∘f=idAg \circ f = \text{id}_A, meaning g(f(a))=ag(f(a)) = a for all a∈Aa \in A.
  2. f∘g=idBf \circ g = \text{id}_B, meaning f(g(b))=bf(g(b)) = b for all b∈Bb \in B.

When this relationship holds, gg is the inverse of ff (written g=f−1g = f^{-1}), and ff is the inverse of gg (written f=g−1f = g^{-1}). An important note is that if ff has an inverse, gg is unique, and the inverse relationship is symmetric: f=g−1f = g^{-1} if and only if g=f−1g = f^{-1} 35.

Caution: One must not confuse the inverse function f−1(x)f^{-1}(x) with the reciprocal function 1f(x)\frac{1}{f(x)} 36.

Examples of self-inverse functions include:

  • The identity function itself: idS−1=idS\text{id}_S^{-1} = \text{id}_S.
  • The reciprocal function on non-zero reals: f:R∖{0}→R∖{0}f: \mathbb{R} \setminus \{0\} \to \mathbb{R} \setminus \{0\}, f(x)=1xf(x) = \frac{1}{x}, is its own inverse since f∘f=idR∖{0}f \circ f = \text{id}_{\mathbb{R} \setminus \{0\}}.
  • For non-negative reals, f(x)=x2f(x) = x^2 and g(x)=xg(x) = \sqrt{x} are inverses of each other on the domain/codomain [0,∞)[0, \infty) 37.

Criterion for the existence of an inverse

Lemma 14 establishes the fundamental condition for a function to possess an inverse.

Lemma 14: A function f:A→Bf: A \to B has an inverse g:B→Ag: B \to A if and only if ff is a bijection.

A function is bijective if it is both injective (one-to-one) and surjective (onto).

The proof confirms this equivalence:

  1. If ff has an inverse gg (only if):

    • Injectivity: If f(a1)=f(a2)f(a_1) = f(a_2), applying gg to both sides yields g(f(a1))=g(f(a2))g(f(a_1)) = g(f(a_2)), which simplifies to a1=a2a_1 = a_2 because g∘f=idAg \circ f = \text{id}_A.
    • Surjectivity: For any b∈Bb \in B, since f∘g=idBf \circ g = \text{id}_B, we have b=f(g(b))b = f(g(b)). Setting a=g(b)∈Aa = g(b) \in A, we find an element aa such that f(a)=bf(a) = b 38.
  2. If ff is bijective (if):

    • We construct the inverse g:B→Ag: B \to A. Because ff is surjective, for every b∈Bb \in B, there exists at least one a∈Aa \in A such that f(a)=bf(a) = b. Because ff is injective, this aa is unique. We define g(b)g(b) as this unique element aa.
    • We must then verify f∘g=idBf \circ g = \text{id}_B and g∘f=idAg \circ f = \text{id}_A using this constructed gg 39.

In summary, the existence of an inverse requires the domain and codomain of ff to align perfectly, ensuring every output corresponds to exactly one input, and every possible output is achieved.

Summary of Inverses: For functions f:A→Bf: A \to B and g:B→Ag: B \to A to be inverses, they must satisfy g∘f=idAg \circ f = \text{id}_A and f∘g=idBf \circ g = \text{id}_B. If g=f−1g = f^{-1}, then (f−1)−1=f(f^{-1})^{-1} = f 40.

Example: Consider f:R∖{3}→Rf: \mathbb{R} \setminus \{3\} \to \mathbb{R} defined by f(x)=3x+2x−3f(x) = \frac{3x+2}{x-3}. To find the inverse, we first determine the image, im(f)\text{im}(f). Let y=f(x)y = f(x) and solve for xx in terms of yy: y=3x+2x−3y = \frac{3x+2}{x-3} y(x−3)=3x+2y(x-3) = 3x+2 yx−3y=3x+2yx - 3y = 3x + 2 yx−3x=3y+2yx - 3x = 3y + 2 x(y−3)=3y+2x(y - 3) = 3y + 2 x=3y+2y−3x = \frac{3y+2}{y-3} Since the denominator cannot be zero, y≠3y \neq 3. Thus, the image is im(f)=R∖{3}\text{im}(f) = \mathbb{R} \setminus \{3\}.

Since for every yy in the image, there is exactly one xx, ff is injective. Since im(f)≠codomain(R)\text{im}(f) \neq \text{codomain}(\mathbb{R}), ff is not surjective onto R\mathbb{R}.

The inverse function, f~−1:im(f)→R∖{3}\tilde{f}^{-1}: \text{im}(f) \to \mathbb{R} \setminus \{3\}, is found by swapping xx and yy in the expression for xx: f~−1(x)=3x+2x−3\tilde{f}^{-1}(x) = \frac{3x+2}{x-3} In this specific case, ff is its own inverse, f=f−1f = f^{-1} 41.

Steps for finding the inverse of the function f(x) = \frac{{3x+2}}{{x-3}}

4. Cardinality and analysis of exponential/logarithmic functions

This section bridges set theory by using bijections to define and compare set cardinalities, formally defining the exponential function and its inverse, the logarithm, along with their key algebraic properties.

4.1 Set Cardinality and Countability

Cardinality is introduced as a formal method to compare the "size" of sets, particularly infinite sets, using the concept of bijective functions.

  • Finite Sets: The cardinality, denoted ∣S∣|S|, of a finite set SS is the number of its elements.
  • Equal Cardinality: Two sets SS and TT have the same cardinality, written ∣S∣=∣T∣|S| = |T|, if and only if there exists a bijective function S→TS \rightarrow T.
  • Cardinality Inequality: If there exists an injective function S→TS \rightarrow T, we write S↑TS \uparrow T or ∣S∣↓∣T∣|S| \downarrow |T|, indicating that SS "fits" into TT 43.

A crucial concept arising from countability is the Schröder–Bernstein theorem: If S↑TS \uparrow T and T↑ST \uparrow S, then ∣S∣=∣T∣|S| = |T|, meaning a bijection exists between them.

Example: The set of even integers S={…,−4,−2,0,2,4,… }S = \{ \dots, -4, -2, 0, 2, 4, \dots \} and the set of all integers T=ZT = \mathbb{Z} have the same cardinality. The inclusion S→TS \rightarrow T (s↦ss \mapsto s) is injective (S↑TS \uparrow T), and the function T→ST \rightarrow S (t↦2tt \mapsto 2t) is also injective (T↑ST \uparrow S). By the theorem, ∣S∣=∣T∣|S| = |T|.

Countable Sets

A set SS is defined as countable if there exists an injection S→NS \rightarrow \mathbb{N} (the natural numbers).

  • If a bijection S→NS \rightarrow \mathbb{N} exists, the set SS is called countably infinite.
  • All subsets of countable sets are countable. Furthermore, if SS and TT are countable, then S↔TS \leftrightarrow T (meaning ∣S∣=∣T∣|S|=|T|), S↗TS \nearrow T (meaning ∣S∣↗∣T∣|S| \nearrow |T|), and S↘TS \searrow T (meaning ∣S∣↘∣T∣|S| \searrow |T|).
  • It is demonstrated that N×N\mathbb{N} \times \mathbb{N} (pairs of natural numbers) is countably infinite by showing a bijection to N\mathbb{N} using a zigzag enumeration pattern 44.

A major result established is that there exist infinite sets that are uncountable (i.e., not countable), notably the set of real numbers, R\mathbb{R}, which is uncountable (a fact proven by Cantor's diagonalization argument) 45.

4.2 The Exponential Function

The exponential function is initially defined over the integers based on the base 2 (i.e., fZ:Z→Z,n↦2nf_{\mathbb{Z}}: \mathbb{Z} \rightarrow \mathbb{Z}, n \mapsto 2^n), extended to rational numbers, and finally defined over the real numbers via interpolation, which involves continuously filling in the gaps 47.

The formal definition for a general base a>0a > 0 is: f:R↔R,f(x)=axf: \mathbb{R} \leftrightarrow \mathbb{R}, f(x) = a^x.

The graph of f(x)=2xf(x) = 2^x illustrates key features: it exhibits exponential growth, passes through the y-intercept (0,1)(0, 1), and approaches zero as xx tends to negative infinity 48.

A line graph illustrating the exponential function f(x) = 2^x over the domain shown.

Properties of Exponential Functions

The behavior of f(x)=axf(x) = a^x depends critically on the base aa:

  1. Functional Property: f(x+1)=ax+1=ax⋅a=a⋅f(x)f(x+1) = a^{x+1} = a^x \cdot a = a \cdot f(x).
  2. Monotonicity and Ordering:
    • If a>1a > 1, ff is strictly increasing: x1<x2⇔f(x1)<f(x2)x_1 < x_2 \Leftrightarrow f(x_1) < f(x_2).
    • If a<1a < 1, ff is strictly decreasing: x1<x2⇔f(x1)>f(x2)x_1 < x_2 \Leftrightarrow f(x_1) > f(x_2).
    • If a=1a = 1, f(x)=1f(x) = 1 for all xx.
  3. Injectivity: ff is injective if and only if a≠1a \neq 1 50.

The graphical representation shows that for different bases, all exponential functions pass through (0,1)(0, 1), with bases a>1a>1 showing growth and bases 0<a<10 < a < 1 showing decay 49.

A graph illustrating the behavior of three different exponential functions on a Cartesian coordinate system.

Further properties concern limits and range (image):

  • If a>1a > 1: f(x)→+∞f(x) \rightarrow +\infty as x→+∞x \rightarrow +\infty, and f(x)→0f(x) \rightarrow 0 as x→−∞x \rightarrow -\infty.
  • If a<1a < 1: f(x)→0f(x) \rightarrow 0 as x→+∞x \rightarrow +\infty, and f(x)→+∞f(x) \rightarrow +\infty as x→−∞x \rightarrow -\infty.
  • In both cases where a≠1a \neq 1, the image (range) of ff is (0,∞)(0, \infty).
  • The corestriction f~:R→(0,∞)\tilde{f}: \mathbb{R} \rightarrow (0, \infty) is surjective and hence bijective, implying the existence of an inverse function 51.

Algebraic Properties of Exponentials

For a,a1,a2>0a, a_1, a_2 > 0 and a,a1,a2≠1a, a_1, a_2 \neq 1:

  • (i) Multiplicative Property: ax1⋅ax2=ax1+x2a^{x_1} \cdot a^{x_2} = a^{x_1 + x_2} (The functional equation of the exponential).
  • (ii) Power of a Power: (ax1)x2=ax1⋅x2(a^{x_1})^{x_2} = a^{x_1 \cdot x_2} (Note: this is distinct from ax1x2a^{x_1^{x_2}}).
  • (iii) Product to a Power: (a⋅b)x=ax⋅bx(a \cdot b)^x = a^x \cdot b^x.
  • (iv) Identity: a0=1a^0 = 1.
  • (v) Negative Exponent: a−x=(ax)−1=1axa^{-x} = (a^x)^{-1} = \frac{1}{a^x}.
  • (vi) Root Definition: a1/n=ana^{1/n} = \sqrt[n]{a} for integers n∝2n \propto 2 54.

4.3 The Logarithmic Function

The logarithm is formally defined as the inverse function of the restricted exponential function f~:R↔(0,∞)\tilde{f}: \mathbb{R} \leftrightarrow (0, \infty).

Definition 22: Let a>0a > 0 and a≠1a \neq 1. The logarithm to the base aa is the inverse function: log⁡a:(0,∞)↔R,x↦log⁡a(x)\log_a: (0, \infty) \leftrightarrow \mathbb{R}, x \mapsto \log_a(x).

This inverse relationship translates to the fundamental equivalence: log⁡a(y)=x⟺y=ax\log_a(y) = x \quad \Longleftrightarrow \quad y = a^x.

In interpretation, log⁡a(y)\log_a(y) is the exponent to which the base aa must be raised to obtain yy.

Tip: When encountering a logarithm problem, immediately translate it to its equivalent exponential form if the definition is unclear 52.

Logarithmic functions share properties with exponential functions due to their inverse relationship. For bases a>1a>1, the function f(x)=log⁡a(x)f(x) = \log_a(x) is strictly increasing, and for 0<a<10<a<1, it is strictly decreasing. Critically, all logarithmic functions pass through the point (1,0)(1, 0) and possess a vertical asymptote at x=0x=0 53.

This section defines the logarithm as the inverse function of exponentiation and shows the relationship between logarithmic and exponential forms.

A graph comparing the functions f(x) = \log_2(x) (purple) and f(x) = \log_5(x) (orange) on a Cartesian coordinate system.

Algebraic Properties of Logarithms

The algebraic properties of logarithms directly mirror those of exponentiation, as derived from the inverse relationship log⁡a(ax)=x\log_a(a^x) = x and alog⁡a(y)=ya^{\log_a(y)} = y 56.

Let a,b>0,a,b≠1a, b > 0, a, b \neq 1, and x1,x2∈Rx_1, x_2 \in \mathbb{R}, y1,y2∈(0,∞)y_1, y_2 \in (0, \infty):

  • (i) Identity: log⁡a=0\log_a = 0, since a0=1a^0 = 1 1.
  • (ii) Base Identity: log⁡a(a)=1\log_a(a) = 1, since a1=aa^1 = a.
  • (iii) Product Rule: log⁡a(y1⋅y2)=log⁡a(y1)+log⁡a(y2)\log_a(y_1 \cdot y_2) = \log_a(y_1) + \log_a(y_2), corresponding to ax1⋅ax2=ax1+x2a^{x_1} \cdot a^{x_2} = a^{x_1 + x_2}.
  • (iv) Quotient Rule: log⁡a(y1y2)=log⁡a(y1)−log⁡a(y2)\log_a\left(\frac{y_1}{y_2}\right) = \log_a(y_1) - \log_a(y_2), corresponding to ax1ax2=ax1−x2\frac{a^{x_1}}{a^{x_2}} = a^{x_1 - x_2}.
  • (v) Power Rule: log⁡a(yc)=clog⁡a(y)\log_a(y^c) = c \log_a(y) for all real numbers cc, corresponding to (ax)c=ac⋅x(a^x)^c = a^{c \cdot x}.
  • (vi) Root Rule (Integer Case): log⁡a(yn)=log⁡a(y)/n\log_a(\sqrt[n]{y}) = \log_a(y) / n for integers n∝2n \propto 2 57.

Change of Base Formula

To compute logarithms with arbitrary bases using standard calculators (which typically only provide common logarithm log⁡=log⁡10\log = \log_{10} and natural logarithm ln⁡=log⁡e\ln = \log_e, where e≈2.7183e \approx 2.7183), the change of base formula is employed. This formula is a direct consequence of property (vii) mentioned in the reference material:

log⁡a(y)=log⁡10(y)log⁡10(a)=ln⁡(y)ln⁡(a)\log_a(y) = \frac{\log_{10}(y)}{\log_{10}(a)} = \frac{\ln(y)}{\ln(a)}.

The change of base formula for logarithms shows how to express log base a of y using common log (base 10) or natural log (base e).

Tip: Euler's number, ee, is defined by the infinite series e:=∑n=0∞1n!≈2.7183e:= \sum_{n=0}^{\infty} \frac{1}{n!} \approx 2.7183. The natural logarithm, ln⁡(x)\ln(x), is simply log⁡e(x)\log_e(x) 59.

Common mistakes to avoid

  • Review all topics thoroughly before exams
  • Pay attention to formulas and key definitions
  • Practice with examples provided in each section
  • Don't memorize without understanding the underlying concepts

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also