Jump to a key chapter
Meaning of composition
In mathematics, we can generate a singular, more complex function from multiple simple functions. This process is known as composition, where we consider the output of one function as the input of another function.
A composition of functions is a mathematical process where two functions are combined to generate a composite function. The output of one function is used as the input of another.
We can denote composite functions as or , where f and g are functions and T and S are transformations. The composition can also be denoted as The composition of two functions f and g gives a new function h. It is important to know the functions' order, as this affects the production of the new composite function. For example, using the output of function f as the input of function g to obtain composite function h is not the same as using function g as the input of function f.
We may also use the concept of composition in Geometry, called the composition of transformations, which occurs on shapes (or figures) rather than functions. Transformations in Geometry include translations, reflections, rotations, etc.
A composition of transformations is a process where a combination of transformations is performed on a shape or figure consecutively, with the resulting transformed shape from one transformation used as the starting point in the following transformation.
In this article we explore composition both in terms of transformations and functions.
Composition of transformations
Let us consider a transformation T which maps from point A to B as well as another transformation S which maps from point B to C. From these transformations T and S, we can produce a new composite transformation that can map directly from point A to C, called the composite of S and T. We denote it as and state it as "S of T."
Here, we apply transformation T first, and then we apply transformation S. So, we can represent this composition as:
An example of a composition of transformations is a glide reflection. It is the composition of a reflection and a translation.
Statements regarding composition of transformations
Let's take a look at some of the theorems concerning the composition of transformations.
Theorem 1: Composition Theorem
A composition of two isometries is an isometry.
Theorem 2: Reflections in Parallel Lines Theorem
A composition of reflections in two parallel lines is a translation. That is, for two parallel lines l and m, the reflection in l and then the reflection in m is the same as a translation.
Theorem 3: Reflection in Intersecting Lines Theorem
A composition of reflections in two intersecting lines is a rotation about the point of intersection of those two lines. In other words, if l and m are two lines intersecting at point O, then reflection in l and then the reflection in m is the same as a rotation about point O.
Theorem 4: Reflection in Perpendicular Lines
A composition of reflections in perpendicular lines is a half-turn about the point where the lines intersect.
Theorem 5: Composition of Rotation
The composition for two rotations with respect to the same point is again a rotation.
Theorem 6: Composition of Translation
The composition of two translations is also a translation.
Composition of translation examples
Let's look at a worked example regarding the composition of translations.
Find the composition in the given rotation.
Solution: Here, the rotation degree for arc PP' is given as and the rotation degree for arc P'P'' is given as Then, for the rotation degree of arc PP'', we use the composition of rotation. This simply means that we add the degrees of rotation for both of the two rotations to obtain our composition of rotation.
Composition of functions
If two functions and are given, we can combine the functions to create a new, composite function. This means that we take function g and use it as an input for the other function f. Then, the composition of these functions is denoted as or We call it "f of g of x."
We can also form a composite function using a reverse order, where we consider function f as the input for function g. In this case, we represent it the composite function as or
Note that and will yield different functions unless they are perfect inverse (opposite) of each other in which
Order of composition of functions
When dealing with composition, the order of the functions f and g is important to note and should be kept in mind. Here an example is presented to understand this concept better.
Consider two functions and Now, we will find the compositions and and check whether they give the same answers or different ones.
In the above equation, we use function g as an input for function f. Now, let us consider a composite function in which we use function f as the input for function g.
We can see the difference between both compositions. In other words, .
Domain of composite functions
All the values which are accepted by the particular function are called the domain of that function. However, for a composition of functions, we are dealing with two different functions. So, it is necessary to consider both functions when dealing with the domain of a composite function.
There are times when we cannot compose some particular functions for all the values of x. So, in this situation, we will restrict some values of x in order to use composition. Those restricted values become the domain for that function. In compositions, the domain of the second function can either be the same as the first function or lie within it.
We consider two functions Here let's find the domain for the composition
As function g is the square root, we can only consider greater than or equal to zero values for x.
Now for the function f, it will become the input of function g. So f should have values greater than or equal to zero.
So will be only possible when the value x as is considered.
Here the value of x is obtained as:
Hence, the composition function has a domain of
Range of composite functions
The range of a function concerns the output values of that function. We can calculate the range of the composite function just as we do for the range of any other function. The range of the composite function can either be the same as the second function (i.e. outer function) or lie within it.
Let We will find the composition Here the function f can take any value. But the second function g is in the form of the square. So the values will be greater than equal to zero. Now for the composition we have:
As f can be anything and applying g to it, where g can be greater than or equal to zero, the range of the composition will be greater than or equal to zero.
Composition of functions examples
Let's better understand the composition of functions with some worked examples.
Two functions and are given. Find the composition
Solution: Here we have to find So we will first consider function and then we will use it as input for the function g. So we can write it as:
Find for the functions and
Solution: We are asked to calculate the composition of f and g when the value of x is given as First, we use function g as an input for function f. To do this, we replace the variable x in function f with the entire function of g, that is id="2728522" role="math" .
Note: The input function goes into every x value and not just in the first value.
For the last step, we simply input the value of x, -1, in the above composite equation.
Alternatively, we can also use the following approach to solve the composition. First, we evaluate :
Then, we proceed further by using the calculated value above as an input for the function f.
Composition - Key takeaways
- A composition of functions is a mathematical process where two functions are combined to generate a composite function. The output of one function is used as the input of another.
- A composition of transformations is a process where a combination of transformations (translations, rotations, reflections, etc.) is performed on a shape or figure consecutively, with the resulting transformed shape from one transformation used as the starting point in the following transformation.
- When dealing with composition, the order of functions f and g is important.
- In composition, the domain of the second function can either be the same as the first function or lie within it.
- The range of the composite function can either be the same as the second function (i.e. outer function) or lie within it.
Learn with 2 Composition flashcards in the free StudySmarter app
We have 14,000 flashcards about Dynamic Landscapes.
Already have an account? Log in
Frequently Asked Questions about Composition
What is composition in maths?
Composition is the combination of two functions or transformations.
What is the rule of composition math?
The rule of composition is that the output of one function should be input for another function.
How do you write a math composition?
We can write composition for functions f(x) and g(x) as f(g(x)). And we call it as "f of g of x."
How do you find the composition of a function?
We can find the composition by substituting one function into another, regarding it as an input.
Why do we use composition of transformations?
We use composition of transformations to create a new image (or figure) using transformations, whereby a combination of transformations is performed on a shape or figure consecutively, using the resulting transformed shape from one transformation as the starting point in the following.
About StudySmarter
StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.
Learn more