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)=x2+1,g(x)=2x−3f(x) = x^{2} + 1,\quad g(x) = 2x - 3

(f+g)(x)=x2+2x−2\displaystyle (f + g)(x) = x^{2} + 2x - 2

Domain

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

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

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

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

    (f+g)(x)=x2+2x−2(f + g)(x) = x^{2} + 2x - 2
  3. Domain

    The combination is defined where both f and g are.

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

    The combined function.

    (f+g)(x)=x2+2x−2(f + g)(x) = x^{2} + 2x - 2

Worked examples