Alberta Grade 12 Mathematics · Math 30-1 RF1

RF1 · Combine and compose functions, including their domains

A function assigns one output to each allowed input. When you combine functions, you make a new rule from their outputs. When you compose them…

Alberta Grade 12 Mathematics

Relations and Functions

Find the rule—and the inputs that make it work

A function assigns one output to each allowed input. When you combine functions, you make a new rule from their outputs. When you compose them, the output of one function becomes the input of another. In both cases, the new rule may have fewer allowed inputs than its parts. This lesson shows how to find the rule and check its domain.

What you will learn

  • Find rules for sums, differences, products, and quotients of functions.
  • Compose functions by substituting one function into another.
  • Determine and state the domain of a combined or composed function.

Review: functions, inputs, and domains

The domain of a function is the set of inputs for which its rule gives a real-number output. Before using a function, check which inputs it allows. For example, a square root requires its radicand—the expression inside the root—to be at least zero. A denominator must not equal zero.
Function notation names an input-output rule. If f(x)=x+4f(x)=x+4, then f(2)=6f(2)=6. The symbol f(x)f(x) means the output of ff at input xx; it does not mean ff multiplied by xx.
For a new function made from existing rules, keep only inputs allowed wherever the new rule needs them.
A(x)\sqrt{A(x)} is real when A(x)≥ 0, 1B(x)\frac{1}{B(x)} is defined when B(x)\ne 0
  • A domain lists the allowed inputs.
  • A square-root radicand must be non-negative.
  • A denominator must be non-zero.

Combining functions

You can add, subtract, or multiply functions by combining their outputs at the same input. For example, (f+g)(x)(f+g)(x) means f(x)+g(x)f(x)+g(x). The domain of each result is the overlap of the two original domains: an input must be allowed in both functions.
A quotient is similar, but it has an extra restriction. For (f/g)(x)(f/g)(x), the input must be allowed in both functions, and g(x)g(x) must not be zero. The quotient cannot use an input that makes its denominator zero, even if both original functions are defined there.
Suppose f(x)=x2f(x)=x^2 and g(x)=x+1g(x)=x+1. At input 22, the sum is 4+3=74+3=7, and the product is 4⋅3=124\cdot 3=12. This concrete check matches the general rules.
(f±g)(x)=f(x)±g(x),(fg)(x)=f(x)g(x),(fg)(x)=f(x)g(x)(f\pm g)(x)=f(x)\pm g(x),\qquad (fg)(x)=f(x)g(x),\qquad \left(\frac{f}{g}\right)(x)=\frac{f(x)}{g(x)}
  • For a sum, difference, or product, use inputs in both domains.
  • For a quotient, also exclude inputs where the denominator function equals zero.

Composing functions

Composition means applying one function and then using its output as the input of another. The notation (f∘g)(x)(f\circ g)(x) is read as “ff composed with gg.” First find g(x)g(x), then substitute that entire result wherever the input appears in ff.
For a composition, an input must be allowed in the inside function gg. Its output must also be allowed as an input in the outside function ff. This second check is essential: both functions can be defined at many inputs while their composition is not defined at all of them.
For instance, if f(u)=uf(u)=\sqrt{u} and g(x)=x−3g(x)=x-3, then (f∘g)(x)=x−3(f\circ g)(x)=\sqrt{x-3}. The inside output must be at least zero, so x−3≥0x-3\geq 0 and the composition's domain is x≥3x\geq 3. The letter uu shows that ff accepts the output of gg as its input.
(f° g)(x)=f(g(x)), \operatorname{Dom}(f° g)=\{x∈\operatorname{Dom}(g):g(x)∈\operatorname{Dom}(f)\}
  • In f∘gf\circ g, apply gg first and then ff.
  • Check that the inside input is allowed and that the inside output is allowed in the outside function.
  • Changing the order can change both the rule and its domain.

A reliable domain check

First write the combined or composed rule. Then list every restriction from the original functions and from the new expression. Solve the restrictions, and state the final domain clearly. When restrictions overlap, keep only the inputs that satisfy all of them.
Do not cancel a factor and forget where it was originally zero. For example, simplifying a quotient can make its formula look defined at a value that the original quotient excluded. The domain belongs to the original operation, not just to the simplified appearance.
A graph can help you check a result. It shows outputs for allowed inputs, but a graph window displays only part of a function. Use the algebraic restrictions to state the complete domain.
  • Record restrictions before simplifying.
  • A quotient's denominator restriction remains even if algebra later simplifies the expression.
  • Use exact domain statements, such as an inequality or interval, rather than a rounded approximation.

Worked example

Combine two polynomial functions

Let f(x)=x2−4f(x)=x^2-4 and g(x)=2x+1g(x)=2x+1. Find (f+g)(x)(f+g)(x) and (fg)(x)(fg)(x), and state each domain.
Combined rules
Combined rulesThe curves show only a window of the full domain, which is all real numbers.-3-2-10123-15-10-50510152025SumProductxy

The curves show only a window of the full domain, which is all real numbers.

  1. Add the rules
    A sum uses both outputs at the same input. Combine like terms to write the result as a single rule.
    (f+g)(x)=(x2−4)+(2x+1)=x2+2x−3(f+g)(x)=(x^2-4)+(2x+1)=x^2+2x-3
  2. Multiply the rules
    A product also uses both outputs at the same input. Expand the product to obtain a polynomial rule.
    (fg)(x)=(x2−4)(2x+1)=2x3+x2−8x−4(fg)(x)=(x^2-4)(2x+1)=2x^3+x^2-8x-4
  3. Check the domains
    Both original rules are polynomials, so each accepts every real number. The sum and product therefore also accept every real number.
    Dom⁡(f+g)=Dom⁡(fg)=R\operatorname{Dom}(f+g)=\operatorname{Dom}(fg)=\mathbb{R}
Answer: (f+g)(x)=x2+2x−3(f+g)(x)=x^2+2x-3 and (fg)(x)=2x3+x2−8x−4(fg)(x)=2x^3+x^2-8x-4. Both domains are R\mathbb{R}.
Check: At x=1x=1, the original outputs are f(1)=−3f(1)=-3 and g(1)=3g(1)=3. Their sum is 00 and product is −9-9, matching the new rules.

Worked example

Compose a square root with a quadratic

Let f(x)=x−1f(x)=\sqrt{x-1} and g(x)=x2g(x)=x^2. Find (f∘g)(x)(f\circ g)(x) and its domain.
The two functions in the composition
The two functions in the compositionEach curve shows only a window of its domain. The composed rule is defined for $x\leq -1$ or $x\geq 1$.-3-2-1012302468f(x)g(x)xy

Each curve shows only a window of its domain. The composed rule is defined for $x\leq -1$ or $x\geq 1$.

  1. Substitute the inside function
    The composition applies gg first. Replace the input of ff with the entire expression x2x^2.
    (f∘g)(x)=f(x2)=x2−1(f\circ g)(x)=f(x^2)=\sqrt{x^2-1}
  2. Find the allowed inputs
    The quadratic gg accepts every real input. The square root in ff requires its input to be at least 11. Apply that restriction to the output x2x^2. x^2-1≥ 0\Longrightarrow x≤ -1 or x≥ 1
  3. State the domain
    Both endpoints make the radicand zero, which is allowed. Include them in the domain.
    (−∞,−1]∪[1,∞)(-\infty,-1]\cup[1,\infty)
Answer: (f∘g)(x)=x2−1(f\circ g)(x)=\sqrt{x^2-1} with domain (−∞,−1]∪[1,∞)(-\infty,-1]\cup[1,\infty).
Check: At x=0x=0, the inside function is defined, but f(g(0))=−1f(g(0))=\sqrt{-1} is not a real number. This confirms that checking the outside function's restriction is necessary.

Worked example

Compose a rational function with a square root

Let f(x)=x+2f(x)=\sqrt{x+2} and g(x)=1x−1g(x)=\frac{1}{x-1}. Find (f∘g)(x)(f\circ g)(x) and its domain.
The functions being composed
The functions being composedThe curves show only windows of the full domains. The composition also requires a non-negative radicand.-3-2-101234-4-20246f(x)g(x)xy

The curves show only windows of the full domains. The composition also requires a non-negative radicand.

  1. Substitute and note the first restriction
    Put the full rule for gg into ff. The inside function is undefined at x=1x=1, so exclude that value.
    (f∘g)(x)=1x−1+2,x≠1(f\circ g)(x)=\sqrt{\frac{1}{x-1}+2},\qquad x\ne 1
  2. Require a non-negative radicand
    A real square root needs a radicand at least zero. Combine the terms over a common denominator. The fraction is non-negative when its numerator and denominator have the same sign, or when its numerator is zero.
    1x−1+2=2x−1x−1≥0\frac{1}{x-1}+2=\frac{2x-1}{x-1}\geq 0
  3. Read the sign intervals
    The critical values are 12\frac12, where the numerator is zero, and 11, where the denominator is zero. The fraction is non-negative for x≤12x\leq\frac12 and for x>1x>1. Include 12\frac12 because it gives a zero radicand; exclude 11 because the denominator is zero.
    (−∞,12]∪(1,∞)(-\infty,\tfrac12]\cup(1,\infty)
Answer: (f∘g)(x)=1x−1+2(f\circ g)(x)=\sqrt{\frac{1}{x-1}+2} with domain (−∞,12]∪(1,∞)(-\infty,\frac12]\cup(1,\infty).
Check: At x=0x=0, the radicand is 11, so the input is allowed. At x=34x=\frac34, the radicand is negative, so that input is excluded. At x=1x=1, the inside function is undefined.

Common mistakes and how to avoid them

Adding the formulas but assuming the new domain is automatically all real numbers.
Correction: Check both original domains. A combined function can use only inputs allowed by both.
Reading f∘gf\circ g as applying ff first.
Correction: The inside function acts first: substitute g(x)g(x) into ff.
Checking only that the inside function is defined.
Correction: Also check that its output is allowed as an input of the outside function.
Including an input that makes a denominator zero.
Correction: Exclude it, even if a later algebra step appears to remove the denominator.

Lesson summary

  • For sums, differences, and products, use inputs allowed by both functions.
  • For quotients, also exclude inputs that make the denominator function zero.
  • For (f∘g)(f\circ g), apply gg first and require its output to be allowed in ff.
  • State the final domain after checking every restriction.

Check your understanding

Question 1

Let f(x)=xf(x)=\sqrt{x} and g(x)=x−5g(x)=x-5. What is the domain of (f∘g)(x)(f\circ g)(x)?
  1. x≥0x\geq 0
  2. x≥5x\geq 5
  3. x≤5x\leq 5
  4. All real numbers
Show answer and explanation
x≥5x\geq 5
(f∘g)(x)=x−5(f\circ g)(x)=\sqrt{x-5}, so the radicand must satisfy x−5≥0x-5\geq 0. Thus x≥5x\geq 5.

Question 2

If ff is defined for all real numbers and g(x)=1x+2g(x)=\frac{1}{x+2}, which value must be excluded from the domain of (f/g)(x)(f/g)(x)?
  1. −2-2 only
  2. 00 only
  3. 22 only
  4. No values
Show answer and explanation
−2-2 only
The quotient is undefined when g(x)=0g(x)=0 or when gg is undefined. Here gg is never zero and is undefined at x=−2x=-2, so exclude −2-2.

Question 3

Let f(x)=2x+1f(x)=2x+1 and g(x)=x2g(x)=x^2. What is (g∘f)(x)(g\circ f)(x)?
  1. 2x2+12x^2+1
  2. x2+2x+1x^2+2x+1
  3. 4x2+4x+14x^2+4x+1
  4. 2x+12x+1
Show answer and explanation
4x2+4x+14x^2+4x+1
Apply ff first, then square its output: g(f(x))=(2x+1)2=4x2+4x+1g(f(x))=(2x+1)^2=4x^2+4x+1.

Key terms

Domain
The set of inputs for which a function's rule gives a real-number output.
Composition
A new function made by using the output of one function as the input of another.
Radicand
The expression inside a radical, such as x+2x+2 inside x+2\sqrt{x+2}.

Continue through Math 30-1

View the complete Math 30-1 Alberta Grade 12 Mathematics curriculum and lessons

Tutor support for RF1 · Combine and compose functions, including their domains

Working on RF1 · Combine and compose functions, including their domains in Math 30-1? Bring the question and your own attempt. In a live session, you can label the axes and connect each feature of the graph to the equation or situation. Ask about the first step that does not make sense, then try a similar question yourself.

Explore math tutoring · Request an eligible free 30-minute introduction. Your request is matched by subject and language; a tutor must accept before a time is confirmed.

برای مبحث RF1 · ترکیب و اعمال روی تابع‌ها همراه با دامنه‌های آن‌ها در درس Math 30-1، سؤال و تلاش خود را همراه بیاورید. در جلسه می‌توانید محورها را برچسب بزنید و هر ویژگی نمودار را به معادله یا موقعیت مسئله ربط دهید. راهنمای معلم ریاضی را ببینید یا جلسهٔ معارفهٔ رایگان ۳۰ دقیقه‌ای درخواست کنید. زمان جلسه پس از پذیرش معلم قطعی می‌شود.

About this lesson and its review

Published by DoAssignment. This reviewed lesson follows Alberta Grade 12 Mathematics (Math 30-1), expectation RF1. It is a study resource, not an official curriculum publication.

Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question