Operations on Functions Calculator

Type f(x) and g(x) and choose an operation.

A function of x, such as x^2 + 1 or 1/x.

A second function of x.

At x = (optional)aa

Optional: a value of x to evaluate the result at.

Try

Result

You enteredf(x)=x+1,g(x)=x−1f(x) = x + 1,\quad g(x) = x - 1

(fg)(x)=x2−1\displaystyle (fg)(x) = x^{2} - 1

Domain

all real numbers\displaystyle \text{all real numbers}
Show the work
  1. Product of functions

    Combine the two functions value by value: at each x, do the operation on f(x) and g(x).

    (fg)(x)=f(x) g(x)=(x+1)(x−1)\begin{aligned} (fg)(x) &= f(x)\,g(x) \\ &= \left(x + 1\right)\left(x - 1\right) \end{aligned}
  2. Combine and tidy

    Collect like terms (multiplying out where that is simpler).

    (fg)(x)=x2−1(fg)(x) = x^{2} - 1
  3. Domain

    The combination is defined where both f and g are.

    all real numbers\text{all real numbers}
  4. Result

    The combined function.

    (fg)(x)=x2−1(fg)(x) = x^{2} - 1

Worked examples