Back to homeMathematics · 1st Bach. Science · Change subject
Start for free
Notes

Exercises: Composition of functions

Practice★☆☆
Given the functions $f(x) = 3x + 2$ and $g(x) = x^2 - 1$, calculate the numerical value of the composite function $(g \circ f)(2)$.

Given the functions $f(x) = 3x + 2$ and $g(x) = x^2 - 1$, calculate the numerical value of the composite function $(g \circ f)(2)$.

Solve
Practice★☆☆
Find the algebraic expression for the composite function $(f \circ g)(x)$ given that $f(x) = 5x - 4$ and $g(x) = x^2 + 3x$.

Find the algebraic expression for the composite function $(f \circ g)(x)$ given that $f(x) = 5x - 4$ and $g(x) = x^2 + 3x$.

Solve
Practice★☆☆
Using the functions $f(x) = 5x - 4$ and $g(x) = x^2 + 3x$, find the expression for $(g \circ f)(x)$ and prove analytically that function composition is not commutative.

Using the functions $f(x) = 5x - 4$ and $g(x) = x^2 + 3x$, find the expression for $(g \circ f)(x)$ and prove analytically that function composition is not commutative.

Solve
Practice★☆☆
Given the rational functions $f(x) = \frac{2}{x}$ and $g(x) = x + 3$, determine the simplified expression for $(f \circ g)(x)$ and for $(g \circ f)(x)$.

Given the rational functions $f(x) = \frac{2}{x}$ and $g(x) = x + 3$, determine the simplified expression for $(f \circ g)(x)$ and for $(g \circ f)(x)$.

Solve
Practice★☆☆
Consider the functions $f(x) = x - 2$, $g(x) = 3x$ and $h(x) = x^2$. Calculate the numerical value of the repeated composite function $(h \circ g \circ f)(4)$.

Consider the functions $f(x) = x - 2$, $g(x) = 3x$ and $h(x) = x^2$. Calculate the numerical value of the repeated composite function $(h \circ g \circ f)(4)$.

Solve
Practice★☆☆
Given the composite function $h(x) = \sqrt{2x + 5}$, express it as the composite of two simpler functions $(g \circ f)(x)$, clearly stating the expression for $f(x)$ and…

Given the composite function $h(x) = \sqrt{2x + 5}$, express it as the composite of two simpler functions $(g \circ f)(x)$, clearly stating the expression for $f(x)$ and for $g(x)$.

Solve
Practice★☆☆
Given the constant function $f(x) = 7$ and the quadratic function $g(x) = 2x^2 - x$, determine the algebraic expressions for $(f \circ g)(x)$ and $(g \circ f)(x)$.

Given the constant function $f(x) = 7$ and the quadratic function $g(x) = 2x^2 - x$, determine the algebraic expressions for $(f \circ g)(x)$ and $(g \circ f)(x)$.

Solve
Practice★☆☆
Prove analytically that composing the function $f(x) = \frac{3x + 1}{x - 2}$ with the identity function $I(x) = x$ yields the original function itself. Calculate and…

Prove analytically that composing the function $f(x) = \frac{3x + 1}{x - 2}$ with the identity function $I(x) = x$ yields the original function itself. Calculate and simplify both $(f \circ I)(x)$ and $(I \circ f)(x)$.

Solve
Practice★☆☆
Lucía has to calculate the numerical value of the composition $(f \circ g)(2)$ for the functions $f(x) = 2x^2 - 1$ and $g(x) = 3x - 5$. On her exam, she writes the…

Lucía has to calculate the numerical value of the composition $(f \circ g)(2)$ for the functions $f(x) = 2x^2 - 1$ and $g(x) = 3x - 5$. On her exam, she writes the following procedure:

"Since I am asked for $(f \circ g)(2)$, I first calculate $f(2) = 2 \cdot 2^2 - 1 = 7$. Then I enter this result into the second function: $g(7) = 3 \cdot 7 - 5 = 16$. Therefore, $(f \circ g)(2) = 16$".

  1. a) Identify the conceptual error Lucía made and explain, using the theoretical definition of function composition, why her reasoning is not correct.
  2. b) Perform the calculations in the proper order to find the correct value of $(f \circ g)(2)$.
  3. c) What expression or value did Lucía actually calculate? Justify your answer.
Solve
Practice★☆☆
Given the functions $f(x) = \frac{2x + 1}{x - 3}$ and $g(x) = x^2 - 4$, you need to calculate the exact value of $(g \circ f)(5)$. Two different approaches are proposed…

Given the functions $f(x) = \frac{2x + 1}{x - 3}$ and $g(x) = x^2 - 4$, you need to calculate the exact value of $(g \circ f)(5)$. Two different approaches are proposed to solve this:

  • Method 1: First obtain the general simplified formula for $(g \circ f)(x)$ by substituting the expression for $f(x)$ into each variable of $g(x)$, find a common denominator, and finally substitute $x = 5$.

  • Method 2: Directly calculate the image of the first function at the given point, $f(5)$, and then apply the function $g$ to the resulting number.

  1. a) Apply both methods separately and verify that you obtain the same numerical result.
  2. b) Compare the number of operations and the risk of algebraic error involved in each alternative. Justify which of the two methods is more convenient when you are only interested in evaluating the function at a specific number, and in which practical case it would be mandatory to use Method 1.
Solve
Practice★★☆
An electronics shop applies a discount of $15\%$ to all its products, which is modelled by the function $d(x) = 0,85x$. In addition, a customer has a loyalty voucher for…

An electronics shop applies a discount of $15\%$ to all its products, which is modelled by the function $d(x) = 0,85x$. In addition, a customer has a loyalty voucher for a direct discount of $20$ euros, modelled by the function $c(x) = x - 20$. Determine the expressions for $(c \circ d)(x)$ and $(d \circ c)(x)$. Which order of composition benefits the customer more if they want to buy a computer with an initial price of $600$ euros?

Solve
Practice★★☆
When a stone is dropped into a pond, a circular ripple is formed whose radius increases over time according to the function $r(t) = 2,5t$ (with $r$ in centimetres and…

When a stone is dropped into a pond, a circular ripple is formed whose radius increases over time according to the function $r(t) = 2,5t$ (with $r$ in centimetres and $t$ in seconds). Given that the area of the circle is given by $A(r) = \pi r^2$, find the function $(A \circ r)(t)$ describing the area as a function of time and calculate the area of the affected surface after $4$ seconds.

Solve
Practice★★☆
Rigorously determine the domain of the composite function $(g \circ f)(x)$ given that $f(x) = x - 4$ and $g(x) = \sqrt{x}$.

Rigorously determine the domain of the composite function $(g \circ f)(x)$ given that $f(x) = x - 4$ and $g(x) = \sqrt{x}$.

Solve
Practice★★☆
Given the functions $f(x) = 2x + k$ and $g(x) = 4x - 3$, find the value of the parameter $k$ so that the commutative property holds in this particular case, that is,…

Given the functions $f(x) = 2x + k$ and $g(x) = 4x - 3$, find the value of the parameter $k$ so that the commutative property holds in this particular case, that is, $(f \circ g)(x) = (g \circ f)(x)$ for any value of $x$.

Solve
Practice★★☆
The electricity demand of a city, in megawatts, depends on the ambient temperature according to the function $D(T) = 50T^2 - 100T + 200$. In turn, the temperature varies…

The electricity demand of a city, in megawatts, depends on the ambient temperature according to the function $D(T) = 50T^2 - 100T + 200$. In turn, the temperature varies with time in hours according to $T(t) = 1,5t + 10$. Calculate the exact electricity demand after $6$ hours.

Solve
Practice★★☆
Observe the following graph where the functions $f(x)$ (in blue) and $g(x)$ (in green) are represented. From the visual information and without needing to obtain their…

Observe the following graph where the functions $f(x)$ (in blue) and $g(x)$ (in green) are represented. From the visual information and without needing to obtain their algebraic expressions, determine the numerical values of $(f \circ g)(2)$ and $(g \circ f)(-1)$.

X Y f(x) g(x)
Solve
Practice★★☆
Given that $f(x) = 3x + 2$ and that the composite function is $(g \circ f)(x) = 9x^2 + 12x + 5$, determine the algebraic expression for the outer function $g(x)$.

Given that $f(x) = 3x + 2$ and that the composite function is $(g \circ f)(x) = 9x^2 + 12x + 5$, determine the algebraic expression for the outer function $g(x)$.

Solve
Practice★★☆
The daily production cost of $x$ parts in a factory is given by the function $C(x) = 15x + 500$ euros. The number of parts assembled by a machine in $t$ hours of…

The daily production cost of $x$ parts in a factory is given by the function $C(x) = 15x + 500$ euros. The number of parts assembled by a machine in $t$ hours of continuous operation is $x(t) = 40t$. Express the production cost as a function of the machine's operating time and calculate the total cost after a shift of $8$ hours.

Solve
Practice★★☆
We know the first-degree polynomial function $f(x) = 2x - 3$, but we do not know the expression of a second function $g(x)$. However, it is known that when they are…

We know the first-degree polynomial function $f(x) = 2x - 3$, but we do not know the expression of a second function $g(x)$. However, it is known that when they are composed, the resulting quadratic function is:

$$(g \circ f)(x) = 4x^2 - 8x + 1$$
  1. a) Reasonably find the algebraic expression for $g(x)$. To do so, make the change of variable $u = 2x - 3$, solve for $x$ in terms of $u$, and substitute it into the composite expression $(g \circ f)(x)$.
  2. b) Check that your deduction is correct by recalculating $g(f(x))$ using the formula you found for $g(x)$.
  3. c) Reason whether the function $g(x)$ found is unique or if other distinct functions could exist that produce exactly the same composition with $f(x)$.
Solve
Practice★★☆
At a ski resort in Sierra Nevada (Granada), the altitude $h$ (measured in hundreds of meters above sea level) reached by a chairlift depends on time $t$ (in minutes…

At a ski resort in Sierra Nevada (Granada), the altitude $h$ (measured in hundreds of meters above sea level) reached by a chairlift depends on time $t$ (in minutes elapsed from the base station) according to the function:

$$h(t) = 21 + 0,8t, \quad \text{with } 0 \leq t \leq 10$$

Furthermore, according to AEMET meteorological records for that day, the outside temperature $T$ (in degrees Celsius) decreases linearly with altitude according to the function:

$$T(h) = 5 - 0,65(h - 21)$$
  1. a) Determine which of the two compositions, $(T \circ h)(t)$ or $(h \circ T)(t)$, models the temperature experienced by a skier throughout the ride. Justify your choice by explaining the role of the inputs and outputs of each function.
  2. b) Obtain the simplified algebraic expression of the chosen composite function and state its domain in the real context of the problem.
  3. c) Interpret the physical meaning of the coefficient multiplying $t$ (the slope) and calculate the exact temperature the skier will experience upon reaching the top ($t = 10$ minutes).
Solve
Practice★★★
Given the functions $f(x)$ and $g(x)$, where $f(x) = 2x$ if $x < 1$ and $f(x) = x^2$ if $x \geq 1$, and the function $g(x) = x + 3$. Determine the complete algebraic…

Given the functions $f(x)$ and $g(x)$, where $f(x) = 2x$ if $x < 1$ and $f(x) = x^2$ if $x \geq 1$, and the function $g(x) = x + 3$. Determine the complete algebraic expression for the composite function $(f \circ g)(x)$, paying special attention to the intervals of definition.

Solve
Practice★★★
Consider the functions $f(x) = \sqrt{x + 3}$ and $g(x) = \frac{1}{x^2 - 4}$. Perform a rigorous analytical study to determine the domain of definition of the composite…

Consider the functions $f(x) = \sqrt{x + 3}$ and $g(x) = \frac{1}{x^2 - 4}$. Perform a rigorous analytical study to determine the domain of definition of the composite function $(f \circ g)(x)$.

Solve
Practice★★★
A spherical hot-air balloon is inflated using a compressor that injects air at a constant rate, such that its volume in cubic metres is given by $V(t) = 12t$ (with $t$…

A spherical hot-air balloon is inflated using a compressor that injects air at a constant rate, such that its volume in cubic metres is given by $V(t) = 12t$ (with $t$ in minutes). Knowing that the volume of a sphere is $V = \frac{4}{3}\pi r^3$ and its surface area is $S = 4\pi r^2$, find the composite function $S(t)$ that gives the surface area of the balloon directly as a function of the time elapsed.

Solve
Practice★★★
Let $f(x) = \frac{x}{x - 1}$ be the rational function. Calculate the successive compositions $(f \circ f)(x)$ and $(f \circ f \circ f)(x)$. From the results obtained,…

Let $f(x) = \frac{x}{x - 1}$ be the rational function. Calculate the successive compositions $(f \circ f)(x)$ and $(f \circ f \circ f)(x)$. From the results obtained, deduce with justification the expression of $f^{[n]}(x)$ (the composition of $f$ with itself $n$ times) depending on whether $n$ is an even or an odd number.

Solve
Practice★★★
Prove algebraically that, if $f(x) = \frac{ax + b}{cx - a}$ (with the condition $a^2 + bc \neq 0$), the function is its own inverse by verifying that…

Prove algebraically that, if $f(x) = \frac{ax + b}{cx - a}$ (with the condition $a^2 + bc \neq 0$), the function is its own inverse by verifying that $(f \circ f)(x) = x$ for all $x$ belonging to its domain.

Solve
Practice★★★
A light beam passes through a series of optical filters. A type A filter reduces light intensity by $20\%$, modelled by $f_A(I) = 0,8I$. A type B filter reduces…

A light beam passes through a series of optical filters. A type A filter reduces light intensity by $20\%$, modelled by $f_A(I) = 0,8I$. A type B filter reduces intensity by a fixed amount of $15 \text{ W/m}^2$, modelled by $f_B(I) = I - 15$. If the initial intensity is $I_0$, find the expression for the final intensity after passing through $3$ type A filters followed by $2$ type B filters. Is the result equivalent to passing through the $2$ type B filters first and then the $3$ type A filters?

Solve
Practice★★★
Observe the graph of the function $f(x)$. From it, obtain the piecewise analytical expression for $f(x)$ and calculate the detailed algebraic expression for…

Observe the graph of the function $f(x)$. From it, obtain the piecewise analytical expression for $f(x)$ and calculate the detailed algebraic expression for $(f \circ f)(x)$.

f(x) 2 −2 2 X Y
Solve
Practice★★★
Decompose the complex function $H(x) = \frac{1}{\sqrt{3^{\sin x} + 2}}$ as the successive composition of four elementary functions $f_1, f_2, f_3, f_4$ such that…

Decompose the complex function $H(x) = \frac{1}{\sqrt{3^{\sin x} + 2}}$ as the successive composition of four elementary functions $f_1, f_2, f_3, f_4$ such that $H(x) = (f_4 \circ f_3 \circ f_2 \circ f_1)(x)$. Clearly state the algebraic expression for each of the four functions.

Solve
Practice★★★
Given the functions $f(x) = x^2 - 4$ and $g(x) = \frac{1}{\sqrt{x}}$, the composite function $h(x) = (g \circ f)(x)$ is defined. a) Estimate: Before performing any…

Given the functions $f(x) = x^2 - 4$ and $g(x) = \frac{1}{\sqrt{x}}$, the composite function $h(x) = (g \circ f)(x)$ is defined.

  1. a) Estimate: Before performing any formal algebraic calculation, reflect on the chain of processes: what kind of real values does the function $g$ accept as input to avoid undefined expressions in the real numbers? Keeping this in mind, qualitatively deduce what sign the output of $f(x)$ must have and estimate which intervals of the real line will form the domain of $h(x)$. In particular, reason without computing whether the values $x = 0$ and $x = 2$ can be part of this domain.
  2. b) Calculate: Write the analytic formula for $h(x)$ and determine its domain rigorously by applying the two theoretical conditions: $x \in \operatorname{Dom}(f)$ and $f(x) \in \operatorname{Dom}(g)$. Express the result using intervals.
  3. c) Check: Compare the domain obtained analytically with your estimates from part a). Explain in detail why, even though $x = 0$ belongs to the domain of $f$, it is ultimately excluded from the composition.
Solve
Practice★★★
Consider the rational function $f(x) = \frac{1}{x - 3}$ and an unknown function $g(x)$. It is known that the composition of both gives the result: $$(f \circ g)(x) =…

Consider the rational function $f(x) = \frac{1}{x - 3}$ and an unknown function $g(x)$. It is known that the composition of both gives the result:

$$(f \circ g)(x) = \frac{x + 1}{2 - 3x}$$
  1. a) Determine, with justification, the algebraic expression of the function $g(x)$.
  2. b) Find the domain of the composite function $(f \circ g)(x)$ by strictly applying the formal definition of a chain of functions: $x \in \operatorname{Dom}(g)$ and $g(x) \in \operatorname{Dom}(f)$.
  3. c) A student looks at the final expression $\frac{x + 1}{2 - 3x}$ and states: «The domain of $(f \circ g)$ is all real numbers except $x = \frac{2}{3}$, since for $x = -1$ the formula gives $\frac{-1+1}{2-3(-1)} = \frac{0}{5} = 0$, which is a perfectly valid real value». Think of the composition as two chained machines: the first is $g$, which receives the number $x$ and outputs $g(x)$; that output goes directly into the second machine, $f$, which outputs $f(g(x))$. Each machine only works with inputs from its own domain, and if the first one gives no output, the second receives nothing. Using this idea of the two chained machines, refute the student's argument and explain exactly what happens in the calculation process when you try to evaluate the composition at $x = -1$.
Solve