Advanced Math Medium
⏱ 20 min 📊 Medium ⭐ Premium

Function Composition and Operations

Combine functions through addition, subtraction, multiplication, division, and composition (f∘g).

Before you read
Answer first — see what you already know.

A temperature conversion uses and a scaling function . What is ?

Check your answer
Answer:

B

Before you read
Answer first — see what you already know.

If and model transformations, what is ?

Check your answer
Answer:

B

Theory

Operations on Functions

Given two functions ff and gg, you can create new functions:

OperationNotationDefinition
Sum(f+g)(x)(f + g)(x)f(x)+g(x)f(x) + g(x)
Difference(fg)(x)(f - g)(x)f(x)g(x)f(x) - g(x)
Product(fg)(x)(f \cdot g)(x)f(x)g(x)f(x) \cdot g(x)
Quotient(fg)(x)\left(\frac{f}{g}\right)(x)f(x)g(x)\frac{f(x)}{g(x)} (where g(x)0g(x) \neq 0)

These are straightforward — just apply both functions and combine.

  1. f(x)=2x+1,  g(x)=x2f(x) = 2x + 1, \; g(x) = x^2
  2. f(g(x))=f(x2)f(g(x)) = f(x^2)
  3. =2(x2)+1= 2(x^2) + 1substitute x2^{2} into f
  4. =2x2+1= 2x^2 + 1
Composing f(g(x))
Theory

Function Composition: f(g(x))

Composition is plugging one function INTO another:

(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Read it as: "ff of gg of xx" — first apply gg, then apply ff to the result.

Important: f(g(x))g(f(x))f(g(x)) \neq g(f(x)) in general! Order matters.

Example 1

If f(x)=2x+3f(x) = 2x + 3 and g(x)=x2g(x) = x^2, find f(g(2))f(g(2)).

Inside first: g(2)=22=4g(2) = 2^2 = 4.

Then outside: f(4)=2(4)+3=11f(4) = 2(4) + 3 = 11.

f(g(2))=11f(g(2)) = 11
Example 2

If f(x)=x+1f(x) = x + 1 and g(x)=3xg(x) = 3x, find f(g(x))f(g(x)) and g(f(x))g(f(x)).

f(g(x))=f(3x)=3x+1f(g(x)) = f(3x) = 3x + 1

g(f(x))=g(x+1)=3(x+1)=3x+3g(f(x)) = g(x + 1) = 3(x + 1) = 3x + 3

Different! f(g(x))g(f(x))f(g(x)) \neq g(f(x)).

f(g(x))=3x+1f(g(x)) = 3x + 1, g(f(x))=3x+3g(f(x)) = 3x + 3
Example 3

If f(x)=xf(x) = \sqrt{x} and g(x)=x+9g(x) = x + 9, find f(g(x))f(g(x)).

f(g(x))=f(x+9)=x+9f(g(x)) = f(x + 9) = \sqrt{x + 9}

f(g(x))=x+9f(g(x)) = \sqrt{x + 9}

Continue this lesson in the app

3 more sections including examples, practice problems, and step-by-step solutions.

Try NovaMath Free
compositionf-of-gfunction-operationsnested

Ready to ace the SAT?

Try NovaMath free — AI tutoring, 115 lessons, 2,400+ exercises.

Try NovaMath Free