Add or subtract functions by combining their outputs at the same input. The result is defined only where both original functions are defined.

Free adding and subtracting functions practice: PDF set 1, PDF set 2, PDF set 3, additional practice PDF, topic quiz. The original short practice below includes explained solutions.

A reliable method

  1. Write both functions with parentheses.
  2. Apply the indicated operation to the complete outputs.
  3. Expand, factor, or reduce as appropriate.
  4. Keep original restrictions even when a common factor cancels.

Key rules and restrictions

The rules are \((f+g)(x)=f(x)+g(x)\) and \((f-g)(x)=f(x)-g(x)\). Write parentheses around both rules before simplifying. Subtraction changes every sign in the second rule; it is not composition \(f(g(x))\).

Example 1

For \(f(x)=2 x + 3\) and \(g(x)=x - 5\), find \((f+g)(x)\). State any real-domain restrictions.

Add the whole outputs: \((2x+3)+(x-5)=2x+x+3-5=3x-2\). Both rules are polynomials, so the domain is all real numbers.

Answer: \(3 x - 2\); For these polynomial inputs, the domain is all real numbers.

Example 2

For \(f(x)=x^{2} - 9\) and \(g(x)=x - 3\), find \((f-g)(x)\). State any real-domain restrictions.

Subtract using parentheses: \((x^2-9)-(x-3)=x^2-9-x+3=x^2-x-6\). The domain is all real numbers.

Answer: \(x^{2} - x - 6\); For these polynomial inputs, the domain is all real numbers.

Common mistakes

  • A sum of functions is different from function composition.
  • Cancelling a factor does not restore a previously excluded input.

Practice without the answer first

  1. For \(f(x)=x + 2\) and \(g(x)=x - 2\), find \((f+g)(x)\). State any real-domain restrictions.
  2. For \(f(x)=x^{2} - 4\) and \(g(x)=x + 2\), find \((f-g)(x)\). State any real-domain restrictions.
  3. For \(f(x)=\frac{1}{x - 1}\) and \(g(x)=x + 1\), find \((f-g)(x)\). State any real-domain restrictions.
Answers and step-by-step explanations

Practice 1

Add \((x+2)+(x-2)=x+x+2-2=2x\). The domain is all real numbers.

Answer: \(2 x\); For these polynomial inputs, the domain is all real numbers.

Practice 2

Subtract \((x^2-4)-(x+2)=x^2-4-x-2=x^2-x-6\). The domain is all real numbers.

Answer: \(x^{2} - x - 6\); For these polynomial inputs, the domain is all real numbers.

Practice 3

The first function is \(f(x)=1/(x-1)\), so \(x\ne1\). Subtract: \(\frac1{x-1}-(x+1)=\frac{1-(x+1)(x-1)}{x-1}=\frac{1-(x^2-1)}{x-1}=\frac{2-x^2}{x-1}\). Retain \(x\ne1\).

Answer: \(\frac{2 - x^{2}}{x - 1}\); Exclude \(x=1\).

Related skills

Adding and Subtracting Functions worksheets; Function Notation lesson; Multiplying and Dividing Functions lesson; Composition of Functions lesson.