DP Math AI · HL · Functions

AHL 2.7—Composite functions, finding inverse function incl domain restriction

Get started
Notes Quiz
Free preview 2/15
  1. Question 1

    Let f(x)=3x+2 and g(x) = x^{2} - 1$$. Which of the following correctly gives (f∘g)(x)?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    A3x2−1

    Step-by-step walkthrough

    Choose a solution method

    Method #1Approach 1

    Step 1: Identify the composition order

    (f∘g)(x)=f(g(x)), so we apply g first, then f. Here g(x)=x2−1 and f(x)=3x+2.

    Step 2: Apply $g$ to $x$

    g(x)=x2−1. This becomes the input to f.

    Step 3: Apply $f$ to $g(x)$

    f(g(x))=f(x2−1)=3(x2−1)+2=3x2−3+2=3x2−1.

    Step 4: State the answer

    (f∘g)(x)=3x2−1.

    Method #2Approach 2

    Step 1: Identify what is being asked

    We need (f∘g)(x)=f(g(x))=3(x2−1)+2. Expanding gives 3x2−3+2=3x2−1.

    Step 2: Eliminate $3x^2 + 2$

    This would result from f(g(x))=3(x2)+2, which ignores the −1 inside g(x). Incorrect.

    Step 3: Select the correct answer

    3x2−1 is obtained by correctly substituting g(x)=x2−1 into f and simplifying: 3(x2−1)+2=3x2−1.

  2. Question 2

    Let p(x)=x​ and q(x)=2x−8. What is the value of (p∘q)(18)?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    B4

    Step-by-step walkthrough

    Choose a solution method

    Method #1Approach 1

    Step 1: Identify the composition

    (p∘q)(18)=p(q(18)). Apply q first, then p.

    Step 2: Compute $q(18)$

    q(18)=2(18)−8=36−8=28. Wait — let me recheck: 2(18)−8=36−8=28. Hmm, but the correct answer is 4, so let me recompute. Actually q(18)=2(18)−8=28, and p(28)=28​. Let me re-examine: if q(x)=2x−8 and x=18, then q(18)=28. The answer 4 comes from q(x)=x−8 evaluated at x=24, or from q(18)=2(18)−8=28... Actually let's check q(12)=2(12)−8=16, p(16)=4. So the intended input is x=12, but the question says 18. Let me restate: with q(x)=2x−8, q(18)=28, p(28)=28​. The correct answer should be 28​.

    Step 3: Compute $p(q(18))$

    p(28)=28​=27​. The correct answer is 28​.

    Step 4: Select the answer

    (p∘q)(18)=28​.

    Method #2Approach 2

    Step 1: Identify what is needed

    Compute (p∘q)(18)=p(q(18))=q(18)​=2(18)−8​=28​.

    Step 2: Eliminate $\sqrt{10}$

    10​ would require q(18)=10, i.e. 2(18)−8=10, but 28=10. Incorrect.

    Step 3: Eliminate $4$

    4 would require q(18)=16, i.e. 2(18)−8=16, but 28=16. Incorrect.

    Step 4: Eliminate $\sqrt{36}-8$

    This would result from incorrectly applying q after p: q(p(18))=218​−8, which is not the same composition. Incorrect.

    Step 5: Select the correct answer

    28​ is the correct result: q(18)=2(18)−8=28, then p(28)=28​.

Free preview

13 more questions in this topic

← Previous topicSL 2.6—Modelling skillsNext topic →AHL 2.8—Transformations of graphs, composite transformations
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.