1.4 Functions, Relations, and Sequences
Functions
Definition
A function from a set domain to a set codomain is a rule that assigns to each a unique . Denote .
Types of Functions
Injective (One-to-One): .
Surjective (Onto):
Bijective: Both injective and surjective; has an inverse .
Operations on Functions
Composition: Given , , define by .
Inverse Function: If is bijective, then satisfies and .
Relations
Definition
A relation on sets and is a subset . If , we write .
Properties of Relations on a Set A
Reflexive: .
Symmetric: If , then .
Antisymmetric: If and , then .
Transitive: If and , then .
Special Relations
Equivalence Relation: Reflexive, symmetric, and transitive. Partitions into equivalence classes.
Partial Order: Reflexive, antisymmetric, and transitive. Yields poset .
Sequences
Definition
A sequence is a function , often denoted or .
Types of Sequences
Finite Sequence: Defined for .
Infinite Sequence: Defined for all .
Arithmetic Sequence
Defined by . Sum of first terms: .
Geometric Sequence
Defined by . Sum of first terms: .
Recurrence Relations
A relation defining in terms of previous terms, e.g. with initial conditions. Use characteristic equations to solve.