Discrete Mathematics: Functions, Invertibility, Monotonicity, and Sequences
Foundations of Functions, Surjectivity, and Bijectivity
Definition of a Function: A function is a mathematical relation that assigns each element from the domain to exactly one element in the codomain .
Surjective (Onto) Functions:
- A function is onto (surjective) if every element in the codomain corresponds to at least one element in the domain .
- Equivalently, a function is onto when its range is strictly equal to its codomain (). If the range is merely a proper subset of the codomain, the function fails to be onto.
Bijective Functions (One-to-One and Onto):
- A function is defined as a bijection (bijective) if and only if it satisfies two simultaneous criteria: it is one-to-one (injective) and it is onto (surjective).
- Bijections establish a strict one-to-one correspondence between every element of the domain and every element of the codomain.
Inverse Functions ():
- A function possesses an inverse function if and only if it is a bijection.
- Procedure to Derive the Equation of an Inverse Function:
- Step 1: Set the functional expression equal to the codomain variable: .
- Step 2: Perform algebraic operations to solve the equation for the domain input variable in terms of .
- Step 3: Interchange the variables and to express the inverse function in terms of the standard independent variable .
- The mathematical convention assigns to denote elements in the domain and to denote elements in the codomain; swapping variables at the conclusion restores this convention.
Function Well-Definedness Analysis (Section 2.3, Problem #2, Part C):
- Proposed Function: evaluated as a candidate mapping from the domain of integers to the codomain of real numbers ().
- Evaluation Criterion: For every randomly selected integer , the expression must be defined and produce an output that belongs to .
- Singularity Analysis:
- The denominator must be non-zero for real division to be defined: .
Solving the restriction gives , which implies and . * Because the inputs and are elements of the domain , evaluating or results in division by zero (), which is undefined in .
- Conclusion: The relation is not a valid function from to .
Criteria for Bijections on Real Numbers (Page 153, Problem 22):
- To verify that a mapping is a bijection, one must verify both injectivity (distinct real inputs map to distinct real outputs) and surjectivity (every real number in the codomain is mapped to).
- If the range covers only a subset of , the function is not onto, precluding the existence of a standard inverse function across .
Monotonicity of Functions: Increasing and Strictly Increasing Mappings
Monotonicity Definitions on Subsets of Real Numbers (Page 143):
- Consider a function whose domain and codomain are subsets of the set of real numbers .
- Increasing Function: A function is classified as increasing if, when moving across the graph from left to right, the output value never decreases. Mathematically, for any domain elements and : if , then .
- Strictly Increasing Function: A function is classified as strictly increasing if it satisfies a strict inequality. Mathematically, for any domain elements and : if , then .
- Geometric Interpretation: Tracing a strictly increasing function from left to right shows a curve that continuously ascends without any horizontal plateaus or downward segments.
Examples of Strictly Increasing Functions:
- Any linear function of the form where the slope is strictly positive ().
Contrasting Increasing vs. Strictly Increasing Behavior:
- Linear functions with negative slopes () are decreasing.
- Piecewise or step functions that contain horizontal segments: if there exists an interval where for distinct points , the function fails the definition of being strictly increasing on that interval, even if holds for a point situated further to the right.
Proof: Strictly Increasing Real Functions are One-to-One (Page 153, Problem 26):
- Theorem: If a function is strictly increasing, then is one-to-one (injective).
- Proof:
- Let and be arbitrary elements in such that .
Without loss of generality, assume .
By the definition of a strictly increasing function, the assumption directly implies that .
Because , it follows that .
Therefore, distinct inputs map to distinct outputs, establishing that is one-to-one.
Pre-Images Under Quadratic Mappings
Distinction Between Inverse Function and Pre-Image (Page 153, Problem 22):
- Consider the quadratic mapping defined by .
- Because , the function is not one-to-one; because negative real numbers have no real square roots, the function is not onto. Thus, does not possess an inverse function .
- The notation or can denote the pre-image (inverse image) of an element or set, defined as the set of all inputs in the domain that map into the designated target: .
Pre-Image of a Single Point:
- To find under , identify all domain inputs such that .
- Solving yields two values: and .
- The pre-image is the discrete set .
Pre-Image of an Open Interval (Part B):
- Determine the pre-image of the interval , denoted , which requires finding all such that .
- Graphical Projection Method:
- Project the codomain target interval horizontally onto the parabola .
- The upper boundary corresponds to the inputs and .
- The lower boundary corresponds to .
- Because the inequality is strict, neither nor is included in the output range.
- Resulting Domain Intervals:
- The input must lie either between and or between and .
- The solution set is , represented in set notation as:
Pre-Image of an Unbounded Interval (Part C):
- Determine the pre-image for outputs satisfying , which requires solving the inequality .
- Taking the square root across the inequality yields the absolute value condition: .
- Testing Intervals:
- For values less than (e.g., ): , which satisfies the condition.
- For values greater than (e.g., ): , which satisfies the condition.
- Resulting Solution Set:
- Projecting this region onto the graph shows all from negative infinity up to (non-inclusive) and from up to positive infinity (non-inclusive).
- The boundary values are excluded due to the strict inequality ().
- The solution is expressed with the logical disjunction "or":
Theory and Classification of Sequences
Curricular Importance of Sequences (Section 2.4):
- Sequences, recurrence relations, and methods for finding general solutions serve as core prerequisites for upper-level coursework (such as Course 344).
- These concepts occupy approximately two-thirds of advanced coursework and are used for:
- Analyzing recurrence relations.
- Evaluating recursion trees and determining tree height.
- Deriving time complexity functions for algorithms.
Formal Definition of a Sequence:
- A sequence is a function whose domain is a subset of the integers, typically the set of natural numbers () or positive integers (), mapping to a target set.
- Standard Notation: Sequences are denoted by indexed sets or ordered lists:
Representations of Sequences:
- Enumerated Terms: Specifying the initial consecutive terms of a sequence (e.g., ) to determine the underlying pattern.
- Recurrence Relations: Specifying an equation where the -th term is defined in terms of one or more previous terms, such as:
- Closed-Form Solution: An explicit algebraic formula that calculates the value of directly from its index , without computing preceding terms.
Deriving Closed Forms for Standard Patterns:
- Sequence of Squares:
- Given initial terms:
- Indexed from ().
- Closed-form solution: .
- Alternating Sign Sequences:
- Given terms:
- Indexed from :
- When is odd (), the term is negative ().
- When is even (), the term is positive ().
- Closed-form solution: .
- If the parity is reversed (positive for odd indices, negative for even indices: ), the closed form is written as or .
- Sequence of Squares:
Fundamental Progression Types: Geometric and Arithmetic
Geometric Sequences:
- A sequence where each term after the first is obtained by multiplying the previous term by a fixed, non-zero constant.
- General Pattern:
- Parameters:
- Initial term: (or ), representing the starting value.
- Common ratio: , representing the constant factor between successive terms ().
- Closed-Form Equations:
- For indexing starting at :
- For indexing starting at :
Arithmetic Sequences:
- A sequence where each term after the first is obtained by adding a constant numerical difference to the preceding term.
- General Pattern:
- Parameters:
- Initial term: , representing the first term.
- Common difference: , representing the fixed increment ().
- Closed-Form Equation:
- For indexing starting at :
Application Example for an Arithmetic Progression:
- Initial term: .
- Common difference: .
- General Form Derivation:
- Substitute the parameters into the arithmetic formula:
Questions & Classroom Exchanges
Exchange on Well-Defined Functions:
- Question: For the rule , is it a function from to ?
- Response: No. If an input is chosen such that the denominator becomes zero (specifically or ), the evaluation produces a non-real, undefined result.
Exchange on Strictly Increasing Examples:
- Question: What are examples of functions that are strictly increasing?
- Response: , , and any linear function characterized by a positive slope ().
Exchange on Point Pre-Images:
- Question: For , what is the pre-image of , denoted ?
- Response: The values are and , because evaluating the function at either or yields .
Exchange on Interval Boundaries:
- Question: If under the mapping , what are the corresponding -values?
- Response: The -values are and . For the interval , the inputs must satisfy or .
Exchange on Closed-Form Recognition:
- Question: What pattern describes the sequence terms ?
- Response: The sequence consists of squares (), giving the closed form .
Exchange on Arithmetic Formula Construction:
- Question: What is the general form of an arithmetic progression with a first term of and a common difference of ?
- Response: The first term is and , yielding the expression .