Loading…

Operations on Functions (sum, Difference, Product, Quotient)

Math Algebra • Functions

View all topics

Perform arithmetic operations on functions: sum, difference, product, and quotient. Enter \(f(x)\), \(g(x)\), and optionally \(h(x)\), then build expressions such as \((f+g)(x)\), \((f\cdot g)(x)\), or \(\frac{f(x)}{g(x)}\). The calculator also checks the domain of the resulting function.

Sum: \((f+g)(x)=f(x)+g(x)\) Difference: \((f-g)(x)=f(x)-g(x)\) Product: \((f\cdot g)(x)=f(x)\cdot g(x)\) Quotient: \(\left(\frac{f}{g}\right)(x)=\frac{f(x)}{g(x)},\ g(x)\ne0\)

Function inputs

Supported syntax: powers such as x^2, implicit multiplication such as 2x, constants pi and e, and functions sqrt, ln, log, exp, abs, sin, cos, and tan.

Graph and domain window

Analysis settings

Quick examples

Ready
Enter functions and click “Operate on functions”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What are operations on functions?

Operations on functions create a new function by adding, subtracting, multiplying, or dividing the output values of two or more functions at the same input x.

What is the formula for the sum of two functions?

The sum is (f + g)(x) = f(x) + g(x).

What is the formula for the product of two functions?

The product is (f · g)(x) = f(x) · g(x).

What is the formula for the quotient of two functions?

The quotient is (f/g)(x) = f(x)/g(x), with the restriction that g(x) cannot equal zero.

How do you find the domain of f + g?

The domain of f + g is the intersection of the domain of f and the domain of g.

How do you find the domain of f/g?

The domain of f/g is the intersection of the domains of f and g, excluding any x-values where g(x) = 0.

What is (f + g)(x) if f(x) = x^2 and g(x) = 2x + 1?

The result is (f + g)(x) = x^2 + 2x + 1.

Why can a quotient have excluded values even after simplification?

The original denominator still cannot be zero. Even if a factor cancels algebraically, that original zero remains excluded from the domain.

Can this calculator handle more than two functions?

Yes. It includes operation builders for f + g + h, f · g + h, and f · g divided by h.

Can this calculator graph the result?

Yes. It graphs f(x), g(x), optional h(x), and the resulting function, with domain shading and quotient exclusion markers.