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. The original short practice below includes explained solutions.

Before using the worksheets

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))\).

Worked examples for worksheet practice

Example 1

For \(f(x)=3x^2-2x\) and \(g(x)=x^2+4x-5\), find \((f-g)(x)\).

Subtract the entire second rule: \(3x^2-2x-(x^2+4x-5)=3x^2-2x-x^2-4x+5=2x^2-6x+5\). Both are polynomials, so the domain is all real numbers.

Example 2

For \(f(x)=\sqrt{x}\) and \(g(x)=1/(x-4)\), find \((f+g)(x)\) and its real domain.

The sum is \(\sqrt{x}+1/(x-4)\). The square root needs \(x\ge0\); the fraction needs \(x\ne4\). Intersect these conditions: \([0,4)\cup(4,\infty)\). The terms cannot be combined into a single like term.

Try these before opening the solutions

  1. If \(f(x)=2x+7\), \(g(x)=5x-1\), find \((f+g)(x)\).
  2. For the same functions, find \((g-f)(2)\).
  3. Find \((f-g)(x)\) and the domain if \(f(x)=1/(x+1)\), \(g(x)=1/(x+1)\).
Show step-by-step solutions
  1. Add the rules: \((2x+7)+(5x-1)=7x+6\). Both inputs may be any real number.
  2. Evaluate first: \(g(2)=10-1=9\), \(f(2)=4+7=11\). Subtract in the requested order: \(9-11=-2\). Equivalently, \((g-f)(x)=3x-8\), which also gives -2 at x = 2.
  3. The two outputs subtract to 0 wherever they exist. Both original denominators exclude \(x=-1\), so the answer is 0 with domain \(x\ne-1\). Simplifying does not restore the missing input.

Common mistakes

Do not subtract only the first term of g. Even a result that simplifies to a polynomial keeps all original domain restrictions.

Related skills

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