📝 Composition of Functions (17 MCQs)
Nested Functions and Successive Input Transformations
Composition of functions forms a new function by using the output of one function as the input of another. Written as , it belongs to the algebra of functions and provides a foundation for the chain rule in differential calculus. Composition describes multistage relationships in which one transformation feeds directly into a second transformation.
Why Functions Are Applied in a Specific Order
Many mathematical processes involve successive transformations rather than a single direct operation. A measurement may first be converted into another unit and then used in a physical formula. The order matters because the inner function determines the value supplied to the outer function. Reversing the order generally changes the resulting relationship.
Evaluating a Composition from Inner to Outer Function
For , first calculate , then substitute that expression into . The domain requires to belong to the domain of and to belong to the domain of . The reverse composition must be evaluated separately and may have a different domain.
Calculating Two Compositions with Linear Functions
Let and . Then , while . At , the results are 9 and 25, respectively. The unequal values demonstrate that composition is generally not commutative.
Composition in Modelling and the Chain Rule
Compositions model connected processes in which one quantity influences another indirectly. In calculus, the chain rule differentiates nested functions according to , when the required derivatives exist. The formula accounts for the combined rates of change of the inner and outer transformations.
Errors in the Order and Domain of Composition
'Composition is the same as multiplication' is false because applies one function to another's output. 'Changing the order makes no difference' ignores the general noncommutativity of composition. 'The domain is always the intersection of the original domains' is incorrect because the inner output must also belong to the outer function's domain.
Composition Problems in Calculus Examinations
Practise evaluating and separately, simplifying nested expressions, and determining their domains. Recognise compositions from formulas, tables, and applied situations. For differentiation questions, identify the inner and outer functions before applying the chain rule, and evaluate the outer derivative at the inner function rather than at the original input.
Key Terms of Function Composition
- Composition - Application of one function to another's output.
- Inner function - Function evaluated first.
- Outer function - Function applied to the inner output.
- Composite function - Function produced by composition.
- Chain rule - Rule for differentiating nested functions.
- Noncommutative - Property where reversing order changes results.
📝 All Composition of Functions MCQs
Q1. What is the definition of the composition \(f \\circ g)(x)\?
📖 Explanation: The composition \(f\\circ g)\ means we first apply \g\ to \x\ and then apply \f\ to the result, giving the formula \(f\\circ g)(x)=f(g(x))\. This is the standard definition used throughout calculus.
Q2. The domain of \f\\circ g\ consists of all \x\ such that ...
📖 Explanation: For the composition to be defined, \x\ must first belong to the domain of \g\; after evaluating \g(x)\, that value must lie in the domain of \f\. Hence the correct condition is that \x\ is in the domain of \g\ and \g(x)\ is in the domain of \f\.
Q3. Given \f(x)=\\sqrt{x}\ and \g(x)=x-2\, what is the domain of \(f\\circ g)(x)\?
📖 Explanation: To have \\\sqrt{g(x)}\ defined we need \g(x)\\ge 0\; that is \x-2\\ge0\ which gives \x\\ge2\. There are no other restrictions, so the domain is the interval \[2,\\infty)\.
Q4. If \(f\\circ g)(2)=5\ and \g(2)=1\, what is \f(1)\?
📖 Explanation: Since \(f\\circ g)(2)=f(g(2))\, we have \f(1)=5\. The given values directly determine the needed output of \f\ at the argument \1\.
Q5. Suppose \f\ is increasing and \g\ is decreasing on an interval where the composition is defined. What can be said about \f\\circ g\ on that interval?
📖 Explanation: A decreasing function \g\ reverses the order of inputs; applying an increasing function \f\ to those outputs preserves the reversal, so the overall composition \f\\circ g\ is decreasing on the interval.
Q6. If \(f\\circ g)(x)=x\ for every \x\ in the domain of \g\, which statement is true?
📖 Explanation: The equation \(f\\circ g)(x)=x\ means that applying \g\ then \f\ returns the original \x\; therefore \g\ acts as a right inverse of \f\ (i.e., \f\∘\g\=Id).
Q7. Let \f(x)=\\begin{cases}x+2,&x<0\\\\x-1,&x\\ge0\\end{cases}\ and \g(x)=\\begin{cases}-x,&x\\le1\\\\x^2,&x>1\\end{cases}\. For which \x\ are both \(f\\circ g)(x)\ and \(g\\circ f)(x)\ defined and equal?
📖 Explanation: Evaluating each piece shows that at \x=0\ we have \g(0)=-0=0\ and \f(0)=-1\; both compositions give \-1\. At \x=1\, \g(1)=-1\ and \f(1)=0\; again both yield \0\. No other \x\ satisfy the equality, so the set is \\{0,1\\}.
Q8. For \f(x)=x^{2}\ and \g(x)=x+3\, solve \(f\\circ g)(x)=(g\\circ f)(x)\.
📖 Explanation: Compute \f(g(x))=(x+3)^{2}=x^{2}+6x+9\ and \g(f(x))=x^{2}+3\. Equating gives \6x+9=3\ so \6x=-6\ and \x=-1\. Thus \-1\ is the unique solution.
Q9. If \f(x)=\\dfrac{1}{x-1}\ and \g(x)=\\sqrt{x}\, what are the domains of \f\\circ g\ and \g\\circ f\?
📖 Explanation: For \f\\circ g\ we need \x\\ge0\ for \\\sqrt{x}\ and \\\sqrt{x}\\neq1\ (i.e., \x\\neq1\). Hence \[0,\\infty)\\setminus\\{1\\}\. For \g\\circ f\ we require \x\\neq1\ and \1/(x-1)\\ge0\, which holds when \x>1\. Thus the domain is \(1,\\infty)\.
Q10. Is composition of functions associative, i.e., does \f\\circ(g\\circ h) = (f\\circ g)\\circ h\ always hold?
📖 Explanation: Associativity follows from the definition: \f\\circ(g\\circ h)(x)=f(g(h(x)))\ and \(f\\circ g)\\circ h)(x)=f(g(h(x)))\. Since both expressions are identical for any \x\ where the compositions are defined, the property holds whenever the individual compositions are defined.
Q11. For invertible functions \f\ and \g\, which statement about \(f\\circ g)^{-1}\ is correct?
📖 Explanation: If \y=(f\\circ g)(x)=f(g(x))\, applying \g^{-1}\ first gives \g^{-1}(f^{-1}(y))\. Hence the inverse of the composition is \g^{-1}\\circ f^{-1}\. This holds for any bijections, not just linear ones.
Q12. Compute \(f\\circ g\\circ h)(2)\ where \f(x)=\\sqrt{x},\\;g(x)=\\dfrac{1}{x},\\;h(x)=x^{3}\.
📖 Explanation: First evaluate \h(2)=2^{3}=8\. Then \g(8)=1/8\. Finally \f(1/8)=\\sqrt{1/8}=1/(2\\sqrt{2})\. Hence the composition yields \1/(2\\sqrt{2})\.
Q13. If \p = f\\circ g\ with \f(x)=x^{2}\ and \g(x)=\\ln x\, what is \p(x)\ and its natural domain?
📖 Explanation: Applying \g\ first gives \g(x)=\\ln x\ (defined for \x>0\). Then \f\ squares this result, so \p(x)=(\\ln x)^{2}\. The composition inherits the domain of \g\, namely all positive real numbers.
Q14. Construct functions \f\ and \g\ such that \f\\circ g\ is the identity on \\\mathbb{R}\ but \g\\circ f\ is not. Which pair achieves this?
📖 Explanation: Take \g:\\mathbb{R}\\to(0,\\infty)\ defined by \g(x)=e^{x}\ and \f:(0,\\infty)\\to\\mathbb{R}\ defined by \f(y)=\\ln y\. Then \(f\\circ g)(x)=\\ln(e^{x})=x\ for every real \x\, while \(g\\circ f)(y)=e^{\\ln y}=y\ only for \y>0\; thus \g\\circ f\ is not the identity on all of \\\mathbb{R}\.
Q15. Why is function composition generally not commutative?
📖 Explanation: A simple counterexample, such as \f(x)=x^{2}\ and \g(x)=x+1\, gives \(f\\circ g)(x)=(x+1)^{2}\ and \(g\\circ f)(x)=x^{2}+1\, which are not equal. Hence composition does not generally satisfy the commutative property.
Q16. Let \f(x)=e^{x}\ and \g(x)=\\ln x\. State the domain and result of \(f\\circ g)(x)\ and \(g\\circ f)(x)\.
📖 Explanation: Since \g\ requires \x>0\, \(f\\circ g)(x)=e^{\\ln x}=x\ for \x>0\. The composition \g\\circ f\ uses \f(x)=e^{x}>0\ for any real \x\, so \(g\\circ f)(x)=\\ln(e^{x})=x\ with domain \\\mathbb{R}\.
Q17. If \h=f\\circ g\ and both \f\ and \g\ are bijections, which expression gives \h^{-1}\?
📖 Explanation: The composition of two bijections is itself a bijection. Its inverse reverses the order of application: first apply \f^{-1}\ then \g^{-1}\. Hence \h^{-1}=g^{-1}\\circ f^{-1}\. This follows directly from the definition of inverses for one-to-one and onto functions.