Summary
This lesson studies functions as objects that can be operated on. It defines the sum, the product, the quotient and the composition of real functions, together with their domains, and shows that composition is not commutative. From the lesson on sets, relations and functions it takes the associativity of composition, injectivity and the inverse function theorem, and it adds what is specific to real functions: the domain of a composition, monotonic functions, the inverse of a strictly monotonic function, the computation of the inverse by solving for the variable and restricting the domain, and the graph of the inverse, which is the reflection of the original one in the line . It then studies even and odd functions, the translations, stretches and reflections of a graph, and piecewise-defined functions and functions with absolute values.
Learning objectives
- Add, multiply, divide and compose functions, and determine the domain of each result from the domains of the functions being operated on.
- Decide whether a function is injective, surjective or bijective, and compute its inverse, restricting the domain when necessary.
- Recognize the symmetries of a graph: about the vertical axis, about the origin and about the line .
- Obtain the graph of a function from that of another by means of translations, stretches, reflections and absolute values, respecting the order in which they are applied.
- Interpret operations with functions and the inverse function in applied problems, such as the lens equation, in which the inverse exchanges the roles of the object and the image.
Operations with functions
In the lesson on algebraic functions a function was defined as a rule that assigns to each element of its domain exactly one image, and it was seen that algebraic functions are built from the variable by means of sums, products, quotients and roots. These operations can be understood as operations between functions: two functions are added, multiplied or divided pointwise, and one of them can be applied to the result of the other. If this is so, complicated functions are studied by decomposing them into simpler ones.
Let and be real functions of a real variable. Their sum , their difference and their product are the functions that assign to each the sum, the difference and the product of the images; their quotient assigns to each the quotient of the images:
For these expressions to make sense, must belong to both domains; in the quotient, moreover, the image cannot vanish. From this follow the domains of the operations:
The domain of the difference and that of the product coincide with that of the sum, and the product of a function by a number is the product by the constant function , whose domain is . Now, the domain of an operation is determined from the functions being operated on, and not from the formula that results after simplifying. If and , the quotient coincides with on its whole domain, but that domain excludes , because : the graph of the quotient is the line without the point . Likewise, if and , the sum is defined only at , the only common point of the domains. Excluded points like the first one will be called removable points in the lesson on sign charts and inequalities, and their effect on graphs will be studied in the lesson on rational functions.
Composition of functions
The most important operation between functions has no analogue among numbers: it consists in applying a function to the result of another. The composition of with , which is denoted by and read “ composed with ”, is the function that applies first and then :
It can be thought of as a sequence of two machines: enters , which produces , and that number enters , which produces . For the sequence to work, must belong to the domain of , and its image to the domain of :
Note the order: in the function written on the right acts first. Algebraic functions are compositions of simpler functions; for example, is the square root composed with , and recognizing that structure is what makes it possible to compute its domain.
Let and . Determine the functions and with their domains, and compare them. The figure represents each composition as a path through three number lines: that of , that of the first image and that of the second.
Proof
The domain of is , and that of consists of the nonnegative reals. To compute , the image must be nonnegative; the values of that make it negative, such as , do not pass through the second machine.
We factor the difference of squares. By the lemma on the sign of a product, both factors must be nonnegative, because for both to be negative would require and at the same time.
For , the number must belong to the domain of , and always belongs to that of . On simplifying, the formula loses the trace of the root, but the domain keeps it.
The two compositions are different functions: they have different domains, and at one and the same point of both, such as , they take different values. Therefore composition is not commutative.
Although it is not commutative, composition is associative: when three functions are chained, it makes no difference whether the first two or the last two are grouped first. For functions between given sets this was proved in the lesson on sets, relations and functions of the first unit. The only thing specific to real functions is the domain, which here is not declared in advance but deduced from the formulas. Now, applying twice the definition of the domain of a composition, a number is in the domain of exactly when it is in that of , its image is in that of and is in that of ; and the same condition results for . Restricted to that common domain, the functions being chained are functions between sets, and the theorem of that lesson gives in both cases the value . That is why one simply writes .
Loading the content…
Completed
Sign in to save your progress