Comprehensive Notes on Mathematical Analysis: Functions and Their Properties

Foundations and Definitions of Functions

  • Fundamental Definition of a Function:

    • Let XX and YY be two arbitrary sets.

    • A function ff defined on XX with values in YY is a correspondence that associates to each element x∈Xx \in X at most one element y∈Yy \in Y.

    • The mapping notation is written as:     f:dom⁡f⊆X→Yf : \operatorname{dom} f \subseteq X \rightarrow Y

  • Domain (dom⁡f\operatorname{dom} f or DfD_f):

    • The domain represents the subset of elements x∈Xx \in X to which the function ff associates an element in YY.

    • If an element x∈Xx \in X is not assigned a corresponding value in YY, it does not belong to the domain of ff.

  • Image and Range (im⁡f\operatorname{im} f or WfW_f):

    • The element y∈Yy \in Y associated with a given element x∈dom⁡fx \in \operatorname{dom} f is defined as the image of xx under ff, expressed symbolically as:     y=f(x)y = f(x)

    • The range (or image set) of ff, denoted as im⁡f\operatorname{im} f or WfW_f, constitutes the set of all images of points in the domain:     im⁡f={y∈Y∣∃x∈dom⁡f y=f(x)}={f(x)∣x∈dom⁡f}\operatorname{im} f = \{y \in Y \mid \exists_{x \in \operatorname{dom} f}\, y = f(x)\} = \{f(x) \mid x \in \operatorname{dom} f\}

  • Graph of a Function (Γ(f)\Gamma(f)):

    • The graph of a function ff is the specific subset Γ(f)\Gamma(f) of the Cartesian product X×YX \times Y formed by all ordered pairs (x,f(x))(x, f(x)) as xx varies throughout the domain of ff:     Γ(f)={(x,f(x))∈X×Y∣x∈dom⁡f}\Gamma(f) = \{(x, f(x)) \in X \times Y \mid x \in \operatorname{dom} f\}

  • The Vertical Line Test:

    • A geometric curve in the Cartesian plane R×R\mathbb{R} \times \mathbb{R} represents the graph of a single-valued function if and only if every vertical line intersects the curve at most once.

    • If any vertical line intersects a curve at two or more points, that correspondence associates multiple values of yy to a single xx, violating the definition of a function.

Vertical line test comparing a valid function graph with a multi-valued curve
  • Determining Domain and Range via Orthogonal Projections:

    • Given the Cartesian graph of a function y=f(x)y = f(x), its domain DfD_f is obtained by taking the orthogonal projection of the graph onto the horizontal xx-axis.

    • Similarly, the image/range WfW_f is obtained by taking the orthogonal projection of the graph onto the vertical yy-axis.

Domain and range of a function determined by orthogonal projection onto the coordinate axes

Natural Domain and Range Determination

  • Concept of Natural Domain:

    • When a function is defined solely by an analytical formula without an explicitly specified domain, its natural domain is the largest subset of real numbers R\mathbb{R} for which the mathematical operations in the formula are well-defined and yield real values.

  • Worked Example: Logarithmic Function Natural Domain:

    • Consider the function:     f(x)=log⁡(x2−1)f(x) = \log(x^2 - 1)

    • Recall the evaluation condition for a general logarithm log⁡a(b)\log_a(b), which requires:     a∈(0,1)∪(1,∞)a \in (0, 1) \cup (1, \infty)     b∈(0,∞)b \in (0, \infty)

    • For the standard logarithm, the argument must be strictly positive:     x2−1>0x^2 - 1 > 0

    • Factoring the difference of squares yields:     (x−1)(x+1)>0(x - 1)(x + 1) > 0

    • Determining the sign of the parabola (x−1)(x+1)(x - 1)(x + 1), the product is strictly positive when x<−1x < -1 or x>1x > 1.

    • Consequently, the natural domain is:     dom⁡f=(−∞,−1)∪(1,∞)\operatorname{dom} f = (-\infty, -1) \cup (1, \infty)

  • Worked Example: Natural Domain and Range of a Radical-Trigonometric Function:

    • Consider the function:     h(x)=1+2sin⁡(x)4h(x) = 1 + 2\sqrt[4]{\sin(x)}

    • Domain Determination:

    • An even root (here the 44-th root) is defined over real numbers only for non-negative radicands:       sin⁡(x)≥0\sin(x) \ge 0

    • Over the fundamental cycle, sin⁡(x)≥0\sin(x) \ge 0 on [0,π][0, \pi].

    • Incorporating the period of 2π2\pi, the condition holds for all integers k∈Zk \in \mathbb{Z}:       x∈[0+2kπ,π+2kπ]x \in [0 + 2k\pi, \pi + 2k\pi]

    • Thus, the natural domain is:       dom⁡h=⋃k∈Z[2kπ,(2k+1)π]\operatorname{dom} h = \bigcup_{k \in \mathbb{Z}} [2k\pi, (2k + 1)\pi]

    • Range Determination:

    • On the domain dom⁡h\operatorname{dom} h, the sine function is bounded within:       sin⁡(x)∈[0,1]\sin(x) \in [0, 1]

    • Evaluating the lower bound where sin⁡(x)=0\sin(x) = 0:       hmin⁡=1+204=1h_{\min} = 1 + 2\sqrt[4]{0} = 1

    • Evaluating the upper bound where sin⁡(x)=1\sin(x) = 1:       hmax⁡=1+214=1+2(1)=3h_{\max} = 1 + 2\sqrt[4]{1} = 1 + 2(1) = 3

    • Therefore, the image/range of hh is the closed interval:       im⁡h=[1,3]\operatorname{im} h = [1, 3]

Equality of Functions

  • Formal Criteria for Equality:

    • Two functions f:dom⁡f→Yf : \operatorname{dom} f \rightarrow Y and g:dom⁡g→Yg : \operatorname{dom} g \rightarrow Y are equal (f=gf = g) if and only if both of the following conditions are simultaneously satisfied:     dom⁡f=dom⁡g\operatorname{dom} f = \operatorname{dom} g     ∀x∈dom⁡f f(x)=g(x)\forall_{x \in \operatorname{dom} f}\, f(x) = g(x)

  • Worked Example 1: Comparing Trigonometric Forms:

    • Let the candidate functions be:     f(x)=sin⁡(x)f(x) = \sin(x)     g(x)=1−cos⁡2(x)g(x) = \sqrt{1 - \cos^2(x)}

    • Domain Analysis:

    • The domain of the sine function is unrestricted:       dom⁡f=R\operatorname{dom} f = \mathbb{R}

    • For g(x)g(x), the radicand must be non-negative:       1−cos⁡2(x)≥01 - \cos^2(x) \ge 0

    • Utilizing the Pythagorean identity sin⁡2(x)+cos⁡2(x)=1\sin^2(x) + \cos^2(x) = 1, this simplifies to:       sin⁡2(x)≥0\sin^2(x) \ge 0

    • Because a real square is always non-negative, the condition holds for all real numbers:       dom⁡g=R\operatorname{dom} g = \mathbb{R}

    • The domain condition dom⁡f=dom⁡g\operatorname{dom} f = \operatorname{dom} g is satisfied.

    • Formula Comparison:

    • Simplifying g(x)g(x) using the absolute value identity u2=∣u∣\sqrt{u^2} = |u|:       g(x)=sin⁡2(x)=∣sin⁡(x)∣g(x) = \sqrt{\sin^2(x)} = |\sin(x)|

    • Since ∣sin⁡(x)∣≠sin⁡(x)|\sin(x)| \ne \sin(x) for any xx where sin⁡(x)<0\sin(x) < 0 (e.g., at x=3π2x = \frac{3\pi}{2}, f(x)=−1f(x) = -1 whereas g(x)=1g(x) = 1):       f(x)≠g(x)f(x) \ne g(x)

  • Conclusion: The functions are not equal (f≠gf \ne g).

  • Worked Example 2: Comparing Rational Expressions:

    • Let the candidate functions be:     f(x)=1−xf(x) = 1 - x     g(x)=1−x21+xg(x) = \frac{1 - x^2}{1 + x}

    • Domain Analysis:

    • For f(x)f(x), a standard polynomial:       dom⁡f=R\operatorname{dom} f = \mathbb{R}

    • For g(x)g(x), division by zero is undefined, requiring:       1+x≠0  ⟹  x≠−11 + x \ne 0 \implies x \ne -1

  • Thus, the domain of gg excludes −1-1:   dom⁡g=R∖{−1}\operatorname{dom} g = \mathbb{R} \setminus \{-1\}

  • Because dom⁡f≠dom⁡g\operatorname{dom} f \ne \operatorname{dom} g, the functions cannot be equal.

  • Formula Comparison:

    • Factoring the numerator for x∈dom⁡gx \in \operatorname{dom} g:     g(x)=(1−x)(1+x)1+x=1−x=f(x)g(x) = \frac{(1 - x)(1 + x)}{1 + x} = 1 - x = f(x)

    • Conclusion: Although the formulas agree wherever g(x)g(x) is defined, f≠gf \ne g due to domain mismatch.

Surjective (Onto) Functions

  • Definition of Surjectivity:

    • A function f:X→Yf : X \rightarrow Y is surjective (or onto YY) if and only if its image equals its codomain:     im⁡f=Y\operatorname{im} f = Y

    • Stated in predicate logic, every element of YY is mapped to by at least one element of XX:     ∀y∈Y ∃x∈X f(x)=y\forall_{y \in Y}\, \exists_{x \in X}\, f(x) = y

Surjective function mapping each codomain element from at least one domain element
  • Worked Example 1: Surjectivity of a Quadratic Function:

    • Consider f(x)=x2f(x) = x^2 where X=RX = \mathbb{R} and Y=[0,∞)Y = [0, \infty).

    • Test whether the condition holds:     ∀y∈[0,∞) ∃x∈R x2=y\forall_{y \in [0, \infty)}\, \exists_{x \in \mathbb{R}}\, x^2 = y

    • Choose an arbitrary element y0∈[0,∞)y_0 \in [0, \infty).

    • Solve the algebraic equation:     x2=y0  ⟹  x=y0x^2 = y_0 \implies x = \sqrt{y_0}

    • Since y0≥0y_0 \ge 0, y0\sqrt{y_0} is always a well-defined real number (y0∈R\sqrt{y_0} \in \mathbb{R}).

    • Substituting back confirms:     f(y0)=(y0)2=y0f(\sqrt{y_0}) = (\sqrt{y_0})^2 = y_0

    • Conclusion: The function ff is surjective onto [0,∞)[0, \infty).

  • Worked Example 2: Non-Surjectivity of an Exponential Function:

    • Consider f(x)=2xf(x) = 2^x where X=RX = \mathbb{R} and Y=[0,∞)Y = [0, \infty).

    • Test whether the condition holds:     ∀y∈[0,∞) ∃x∈R 2x=y\forall_{y \in [0, \infty)}\, \exists_{x \in \mathbb{R}}\, 2^x = y

    • Choose an arbitrary element y0∈[0,∞)y_0 \in [0, \infty).

    • Attempt to solve for xx:     2x=y0  ⟹  2x=2log⁡2(y0)  ⟹  x=log⁡2(y0)2^x = y_0 \implies 2^x = 2^{\log_2(y_0)} \implies x = \log_2(y_0)

    • The expression log⁡2(y0)\log_2(y_0) is defined only for strictly positive numbers (y0>0y_0 > 0).

    • For y0=0∈Yy_0 = 0 \in Y, the equation 2x=02^x = 0 possesses no real solution because 2x>02^x > 0 for all x∈Rx \in \mathbb{R}.

    • Conclusion: The function ff is not surjective onto [0,∞)[0, \infty).

Periodic Functions

  • Definition of Periodicity:

    • A function f:dom⁡f→Rf : \operatorname{dom} f \rightarrow \mathbb{R} is periodic of period pp (with real p>0p > 0) if the domain is invariant under translations by pp and the functional value is preserved:     ∃p>0 ∀x∈dom⁡f (x±p∈dom⁡f∧f(x+p)=f(x))\exists_{p > 0}\, \forall_{x \in \operatorname{dom} f}\, (x \pm p \in \operatorname{dom} f \land f(x + p) = f(x))

  • Multiples of Periods and Minimum Period:

    • If a function is periodic with period pp, it is also periodic with period m⋅pm \cdot p for any positive integer m∈N∖{0}m \in \mathbb{N} \setminus \{0\}.

    • If there exists a smallest strictly positive period pp, it is designated as the minimum period (or fundamental period) of the function.

Periodic function showing translational repetition across period interval T
  • Worked Examples of Periodicity:

    • Scaled Trigonometric Function:

    • For f(x)=cos⁡(3x)f(x) = \cos(3x), verify the proposed minimum period p=2π3p = \frac{2\pi}{3}:       f(x+p)=cos⁡(3(x+2π3))=cos⁡(3x+2π)=cos⁡(3x)=f(x)f(x + p) = \cos\left(3\left(x + \frac{2\pi}{3}\right)\right) = \cos(3x + 2\pi) = \cos(3x) = f(x)

    • The minimum period is p=2π3p = \frac{2\pi}{3}.

    • Discrete Alternating Sequence Function:

    • For g(k)=(−1)kg(k) = (-1)^k, where k∈Zk \in \mathbb{Z}, verify the period p=2p = 2:       g(k+2)=(−1)k+2=(−1)k⋅(−1)2=(−1)k⋅1=(−1)k=g(k)g(k + 2) = (-1)^{k+2} = (-1)^k \cdot (-1)^2 = (-1)^k \cdot 1 = (-1)^k = g(k)

    • The minimum period is p=2p = 2.

    • Constant Function:

    • For h(x)=ah(x) = a, where a∈Ra \in \mathbb{R}:       ∀p∈R h(x+p)=a=h(x)\forall_{p \in \mathbb{R}}\, h(x + p) = a = h(x)

    • A constant function is periodic for any positive real number pp, but it has no minimum period since no smallest positive real number exists.

Even and Odd Functions and Functional Decomposition

  • Symmetric Domain Requirement:

    • A domain dom⁡f⊆R\operatorname{dom} f \subseteq \mathbb{R} is symmetric with respect to the origin if:     x∈dom⁡f  ⟹  −x∈dom⁡fx \in \operatorname{dom} f \implies -x \in \operatorname{dom} f

  • Even Functions:

    • A function f:dom⁡f→Rf : \operatorname{dom} f \rightarrow \mathbb{R} is even if its domain is symmetric with respect to the origin and:     ∀x∈dom⁡f f(−x)=f(x)\forall_{x \in \operatorname{dom} f}\, f(-x) = f(x)

    • Geometric Property: The graph of an even function is symmetric with respect to the vertical yy-axis.

Symmetry of an even function with respect to the vertical y-axis
  • Worked Example of an Even Function:

    • Consider the function:     g(x)=sin⁡(x)x3g(x) = \frac{\sin(x)}{x^3}

    • The domain is dom⁡g=R∖{0}\operatorname{dom} g = \mathbb{R} \setminus \{0\}, which is symmetric with respect to the origin (x≠0  ⟹  −x≠0x \ne 0 \implies -x \ne 0).

    • Evaluating at −x-x:     g(−x)=sin⁡(−x)(−x)3=−sin⁡(x)−x3=sin⁡(x)x3=g(x)g(-x) = \frac{\sin(-x)}{(-x)^3} = \frac{-\sin(x)}{-x^3} = \frac{\sin(x)}{x^3} = g(x)

    • Thus, g(x)g(x) is an even function.

  • Odd Functions:

    • A function f:dom⁡f→Rf : \operatorname{dom} f \rightarrow \mathbb{R} is odd if its domain is symmetric with respect to the origin and:     ∀x∈dom⁡f f(−x)=−f(x)\forall_{x \in \operatorname{dom} f}\, f(-x) = -f(x)

    • Geometric Property: The graph of an odd function is symmetric with respect to the origin (0,0)(0, 0).

Symmetry of an odd function with respect to the coordinate origin
  • Worked Example of an Odd Function:

    • Consider the function:     p(x)=x∣x∣p(x) = x|x|

    • The domain is dom⁡p=R\operatorname{dom} p = \mathbb{R}, which is symmetric with respect to the origin.

    • Evaluating at −x-x:     p(−x)=(−x)∣−x∣=−x∣x∣=−p(x)p(-x) = (-x)|-x| = -x|x| = -p(x)

    • Thus, p(x)p(x) is an odd function.

  • Decomposition Theorem into Even and Odd Components:

    • Every function f:dom⁡f→Rf : \operatorname{dom} f \rightarrow \mathbb{R} defined on a domain symmetric with respect to the origin can be uniquely decomposed into the sum of an even function g1(x)g_1(x) and an odd function g2(x)g_2(x):     f(x)=12(f(x)+f(−x))+12(f(x)−f(−x))f(x) = \frac{1}{2}(f(x) + f(-x)) + \frac{1}{2}(f(x) - f(-x))

    • Verification of the Even Component:

    • Define g1(x)=12(f(x)+f(−x))g_1(x) = \frac{1}{2}(f(x) + f(-x)).

    • Evaluating at −x-x:       g1(−x)=12(f(−x)+f(−(−x)))=12(f(−x)+f(x))=g1(x)g_1(-x) = \frac{1}{2}(f(-x) + f(-(-x))) = \frac{1}{2}(f(-x) + f(x)) = g_1(x)

    • Hence, g1(x)g_1(x) is even.

    • Verification of the Odd Component:

    • Define g2(x)=12(f(x)−f(−x))g_2(x) = \frac{1}{2}(f(x) - f(-x)).

    • Evaluating at −x-x:       g2(−x)=12(f(−x)−f(−(−x)))=12(f(−x)−f(x))=−12(f(x)−f(−x))=−g2(x)g_2(-x) = \frac{1}{2}(f(-x) - f(-(-x))) = \frac{1}{2}(f(-x) - f(x)) = -\frac{1}{2}(f(x) - f(-x)) = -g_2(x)

    • Hence, g2(x)g_2(x) is odd.

Monotonicity: Increasing and Decreasing Functions

  • Increasing Functions:

    • A function ff is increasing on a set I⊂dom⁡fI \subset \operatorname{dom} f if for all x1,x2∈Ix_1, x_2 \in I:     x1<x2  ⟹  f(x1)≤f(x2)x_1 < x_2 \implies f(x_1) \le f(x_2)

    • A function ff is strictly increasing on II if for all x1,x2∈Ix_1, x_2 \in I:     x1<x2  ⟹  f(x1)<f(x2)x_1 < x_2 \implies f(x_1) < f(x_2)

Comparison between strictly increasing and weakly increasing functions
  • Decreasing Functions:

    • A function ff is decreasing on a set I⊂dom⁡fI \subset \operatorname{dom} f if for all x1,x2∈Ix_1, x_2 \in I:     x1<x2  ⟹  f(x1)≥f(x2)x_1 < x_2 \implies f(x_1) \ge f(x_2)

    • A function ff is strictly decreasing on II if for all x1,x2∈Ix_1, x_2 \in I:     x1<x2  ⟹  f(x1)>f(x2)x_1 < x_2 \implies f(x_1) > f(x_2)

Comparison between strictly decreasing and weakly decreasing functions
  • Monotonicity in Logarithmic and Exponential Inequalities:

    • Logarithmic Inequalities:

    • If the base satisfies a>1a > 1, the logarithm is strictly increasing:       log⁡a(b)<log⁡a(c)  ⟺  b<c\log_a(b) < \log_a(c) \iff b < c

    • If the base satisfies a∈(0,1)a \in (0, 1), the logarithm is strictly decreasing:       log⁡a(b)<log⁡a(c)  ⟺  b>c\log_a(b) < \log_a(c) \iff b > c

    • Exponential Inequalities:

    • If the base satisfies a>1a > 1, the exponential is strictly increasing:       ab<ac  ⟺  b<ca^b < a^c \iff b < c

    • If the base satisfies a∈(0,1)a \in (0, 1), the exponential is strictly decreasing:       ab<ac  ⟺  b>ca^b < a^c \iff b > c

  • Worked Example: Proof of an Increasing Rational Function:

    • Prove that g(x)=1x4+1g(x) = \frac{1}{x^4 + 1} is strictly increasing on the interval I=(−∞,0]I = (-\infty, 0].

    • Select arbitrary elements x1,x2∈(−∞,0]x_1, x_2 \in (-\infty, 0] such that x1<x2x_1 < x_2.

    • Evaluate the target inequality:     1x14+1<1x24+1\frac{1}{x_1^4 + 1} < \frac{1}{x_2^4 + 1}

    • Multiplying across by the positive denominators (x14+1)(x24+1)>0(x_1^4 + 1)(x_2^4 + 1) > 0:     x24+1<x14+1x_2^4 + 1 < x_1^4 + 1     x24−x14<0x_2^4 - x_1^4 < 0

    • Applying the difference of squares identity repeatedly:     (x22−x12)(x22+x12)<0(x_2^2 - x_1^2)(x_2^2 + x_1^2) < 0     (x2−x1)(x2+x1)(x22+x12)<0(x_2 - x_1)(x_2 + x_1)(x_2^2 + x_1^2) < 0

    • Evaluate the sign of each factor:

    • (x2−x1)>0(x_2 - x_1) > 0 because x1<x2x_1 < x_2.

    • (x2+x1)<0(x_2 + x_1) < 0 because x1<x2≤0x_1 < x_2 \le 0, so at least one number is strictly negative and neither is positive.

    • (x22+x12)>0(x_2^2 + x_1^2) > 0 because x1<x2≤0x_1 < x_2 \le 0 implies x1≠0x_1 \ne 0, ensuring a strictly positive sum of squares.

    • The sign of the product is:     (+)⋅(−)⋅(+)=−<0(+) \cdot (-) \cdot (+) = - < 0

    • Since the inequality holds, g(x)g(x) is strictly increasing on (−∞,0](-\infty, 0].

  • Worked Example: Proof of a Decreasing Quadratic Function:

    • Prove that g(x)=x2−2xg(x) = x^2 - 2x is strictly decreasing on the interval I=(−∞,1)I = (-\infty, 1).

    • Select arbitrary elements x1,x2∈(−∞,1)x_1, x_2 \in (-\infty, 1) such that x1<x2x_1 < x_2.

    • Evaluate the target inequality:     g(x1)>g(x2)g(x_1) > g(x_2)     x12−2x1>x22−2x2x_1^2 - 2x_1 > x_2^2 - 2x_2

    • Rearrange all terms to one side:     (x12−x22)−2(x1−x2)>0(x_1^2 - x_2^2) - 2(x_1 - x_2) > 0

    • Factor the difference of squares:     (x1−x2)(x1+x2)−2(x1−x2)>0(x_1 - x_2)(x_1 + x_2) - 2(x_1 - x_2) > 0     (x1−x2)(x1+x2−2)>0(x_1 - x_2)(x_1 + x_2 - 2) > 0

    • Evaluate the sign of each factor:

    • (x1−x2)<0(x_1 - x_2) < 0 because x1<x2x_1 < x_2.

    • Since x1<1x_1 < 1 and x2<1x_2 < 1, their sum satisfies x1+x2<2x_1 + x_2 < 2, meaning (x1+x2−2)<0(x_1 + x_2 - 2) < 0.

    • The sign of the product is:     (−)⋅(−)=+>0(-) \cdot (-) = + > 0

    • Since the inequality holds, g(x)g(x) is strictly decreasing on (−∞,1)(-\infty, 1).

Composition of Functions

  • Formal Definition of Function Composition:

    • Let X,Y,Z,WX, Y, Z, W be sets with Y⊂ZY \subset Z.

    • Suppose f:X→Yf : X \rightarrow Y and g:Z→Wg : Z \rightarrow W.

    • The composite function h=g∘fh = g \circ f (read "gg composed with ff") is the function from XX to WW defined by:     (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x))

Mapping diagram illustrating the composition of functions from domain through intermediate codomain
  • Domain of a Composite Function:

    • For xx to belong to the domain of g∘fg \circ f, two conditions must be met:

    1. xx must belong to the domain of ff (so f(x)f(x) is defined).

    2. The resulting value f(x)f(x) must belong to the domain of gg (so g(f(x))g(f(x)) is defined).

    • Stated formally:     x∈dom⁡(g∘f)  ⟺  x∈dom⁡f∧f(x)∈dom⁡gx \in \operatorname{dom}(g \circ f) \iff x \in \operatorname{dom} f \land f(x) \in \operatorname{dom} g

  • Worked Example: Pairwise Compositions of Rational Functions:

    • Given the functions:     f(x)=x1+x2f(x) = \frac{x}{1 + x^2}     g(x)=1xg(x) = \frac{1}{x}

    • **Composition (f∘f)(x)(f \circ f)(x)     (f∘f)(x)=f(f(x))=f(x1+x2)(f \circ f)(x) = f(f(x)) = f\left(\frac{x}{1 + x^2}\right)     (f∘f)(x)=x1+x21+(x1+x2)2(f \circ f)(x) = \frac{\frac{x}{1 + x^2}}{1 + \left(\frac{x}{1 + x^2}\right)^2}     (f∘f)(x)=x1+x21+x2(1+x2)2=x1+x2(1+x2)2+x2(1+x2)2(f \circ f)(x) = \frac{\frac{x}{1 + x^2}}{1 + \frac{x^2}{(1 + x^2)^2}} = \frac{\frac{x}{1 + x^2}}{\frac{(1 + x^2)^2 + x^2}{(1 + x^2)^2}}     (f∘f)(x)=x1+x2⋅(1+x2)21+2x2+x4+x2=x(1+x2)1+3x2+x4(f \circ f)(x) = \frac{x}{1 + x^2} \cdot \frac{(1 + x^2)^2}{1 + 2x^2 + x^4 + x^2} = \frac{x(1 + x^2)}{1 + 3x^2 + x^4}

    • **Composition (f∘g)(x)(f \circ g)(x)     (f∘g)(x)=f(g(x))=f(1x)(f \circ g)(x) = f(g(x)) = f\left(\frac{1}{x}\right)     (f∘g)(x)=1x1+(1x)2=1x1+1x2=1xx2+1x2(f \circ g)(x) = \frac{\frac{1}{x}}{1 + \left(\frac{1}{x}\right)^2} = \frac{\frac{1}{x}}{1 + \frac{1}{x^2}} = \frac{\frac{1}{x}}{\frac{x^2 + 1}{x^2}}     (f∘g)(x)=1x⋅x21+x2=x1+x2(f \circ g)(x) = \frac{1}{x} \cdot \frac{x^2}{1 + x^2} = \frac{x}{1 + x^2}

    • **Composition (g∘f)(x)(g \circ f)(x)     (g∘f)(x)=g(f(x))=g(x1+x2)(g \circ f)(x) = g(f(x)) = g\left(\frac{x}{1 + x^2}\right)     (g∘f)(x)=1x1+x2=1+x2x(g \circ f)(x) = \frac{1}{\frac{x}{1 + x^2}} = \frac{1 + x^2}{x}

    • **Composition (g∘g)(x)(g \circ g)(x)     (g∘g)(x)=g(g(x))=g(1x)(g \circ g)(x) = g(g(x)) = g\left(\frac{1}{x}\right)     (g∘g)(x)=11x=x(g \circ g)(x) = \frac{1}{\frac{1}{x}} = x

One-to-One (Injective) Functions

  • Definition of Injectivity:

    • A function ff is one-to-one (injective) if distinct elements in the domain always map to distinct values in the range:     ∀x1,x2∈dom⁡f [(x1≠x2)  ⟹  (f(x1)≠f(x2))]\forall_{x_1, x_2 \in \operatorname{dom} f}\, [(x_1 \ne x_2) \implies (f(x_1) \ne f(x_2))]

    • By contrapositive, if two images are equal, the original domain elements must be identical:     ∀x1,x2∈dom⁡f [(f(x1)=f(x2))  ⟹  (x1=x2)]\forall_{x_1, x_2 \in \operatorname{dom} f}\, [(f(x_1) = f(x_2)) \implies (x_1 = x_2)]

  • The Horizontal Line Test:

    • A function is one-to-one if and only if every horizontal line in the Cartesian plane intersects the graph of the function at most once.

    • If a horizontal line intersects the graph at two or more points, those points share the same yy-value for distinct xx-values, violating injectivity.

  • Connection to Strict Monotonicity:

    • If a function ff is strictly monotone (strictly increasing or strictly decreasing) on its domain, then ff is guaranteed to be one-to-one.

Horizontal line test showing an injective piecewise function and a non-injective polynomial curve
  • Worked Example: Proof of Injectivity by Contradiction:

    • Prove that g(x)=1x2g(x) = \frac{1}{x^2} is one-to-one on the interval I=(−∞,0)I = (-\infty, 0).

    • Assumption: Suppose there exist two elements x1,x2∈(−∞,0)x_1, x_2 \in (-\infty, 0) such that x1≠x2x_1 \ne x_2, yet g(x1)=g(x2)g(x_1) = g(x_2).

  • Setting the equations equal:   1x12=1x22  ⟹  x12=x22\frac{1}{x_1^2} = \frac{1}{x_2^2} \implies x_1^2 = x_2^2

  • Rearranging and factoring:   x12−x22=0  ⟹  (x1−x2)(x1+x2)=0x_1^2 - x_2^2 = 0 \implies (x_1 - x_2)(x_1 + x_2) = 0

  • This product equals zero if and only if:   x1=x2orx1=−x2x_1 = x_2 \quad \text{or} \quad x_1 = -x_2

  • Contradiction Analysis:

    • The case x1=x2x_1 = x_2 directly contradicts the starting hypothesis that x1≠x2x_1 \ne x_2.

    • The case x1=−x2x_1 = -x_2 requires x1x_1 and x2x_2 to have opposite signs. However, both x1,x2∈(−∞,0)x_1, x_2 \in (-\infty, 0), meaning both must be strictly negative, which is impossible if x1=−x2x_1 = -x_2.

  • Conclusion: Both branches produce a contradiction. Hence, g(x)g(x) is one-to-one on (−∞,0)(-\infty, 0).

Inverse Functions

  • Definition and Existence of Inverse Functions:

    • If a function f:X→Yf : X \rightarrow Y is one-to-one, each element y∈im⁡fy \in \operatorname{im} f corresponds to a unique element x∈dom⁡fx \in \operatorname{dom} f such that f(x)=yf(x) = y.

    • This assignment defines the inverse function, denoted f−1f^{-1}, from im⁡f\operatorname{im} f to dom⁡f\operatorname{dom} f:     f−1(y)=x  ⟺  y=f(x)f^{-1}(y) = x \iff y = f(x)

  • Domain and Range Relations for Inverses:

    • The domain of the inverse is the image of the original function:     dom⁡(f−1)=im⁡f\operatorname{dom}(f^{-1}) = \operatorname{im} f

    • The image of the inverse is the domain of the original function:     im⁡(f−1)=dom⁡f\operatorname{im}(f^{-1}) = \operatorname{dom} f

  • Composition Inversion Identity:

    • Applying a function and its inverse consecutively yields the identity mapping on their respective sets:     (f−1∘f)(x)=xfor all x∈dom⁡f(f^{-1} \circ f)(x) = x \quad \text{for all } x \in \operatorname{dom} f     (f∘f−1)(y)=yfor all y∈im⁡f(f \circ f^{-1})(y) = y \quad \text{for all } y \in \operatorname{im} f

  • Geometric Characterization of the Inverse:

    • In Cartesian coordinates, the relationship y=f(x)  ⟺  x=f−1(y)y = f(x) \iff x = f^{-1}(y) signifies that the graph of f−1f^{-1} is obtained by reflecting the graph of ff across the main diagonal line:     y=xy = x

Geometric reflection of a function graph across the diagonal line y equals x to obtain the inverse
  • Step-by-Step Derivation of an Inverse Function:

    • Consider the quadratic function restricted to a domain ensuring injectivity:     f(x)=x2−2x,x∈[1,∞)f(x) = x^2 - 2x, \quad x \in [1, \infty)

    • Step 1: Set up the equation y=f(x)y = f(x) and solve for xx:     y=x2−2x  ⟹  x2−2x−y=0y = x^2 - 2x \implies x^2 - 2x - y = 0

    • Step 2: Apply the quadratic formula:

    • The discriminant with respect to xx is:       Δ=(−2)2−4(1)(−y)=4+4y=4(1+y)\Delta = (-2)^2 - 4(1)(-y) = 4 + 4y = 4(1 + y)

    • Solving for xx:       x=−(−2)±4(1+y)2(1)=2±21+y2=1±1+yx = \frac{-(-2) \pm \sqrt{4(1 + y)}}{2(1)} = \frac{2 \pm 2\sqrt{1 + y}}{2} = 1 \pm \sqrt{1 + y}

    • Step 3: Discard the extraneous root based on the domain x≥1x \ge 1:

    • For x1=1−1+yx_1 = 1 - \sqrt{1 + y}:       x1≤1  ⟹  x1∉[1,∞)(for all y>−1)x_1 \le 1 \implies x_1 \notin [1, \infty) \quad (\text{for all } y > -1)

    • For x2=1+1+yx_2 = 1 + \sqrt{1 + y}:     x2≥1  ⟹  x2∈[1,∞)(for all y≥−1)x_2 \ge 1 \implies x_2 \in [1, \infty) \quad (\text{for all } y \ge -1)

    • Therefore, select the root:     x=1+1+yx = 1 + \sqrt{1 + y}

  • Step 4: Standardize variable notation (x↔yx \leftrightarrow y):

    • Express the inverse function with argument xx:     f−1(x)=1+1+xf^{-1}(x) = 1 + \sqrt{1 + x}

    • The natural domain of the inverse corresponds to the range of ff on [1,∞)[1, \infty):     dom⁡(f−1)=[−1,∞)\operatorname{dom}(f^{-1}) = [-1, \infty)