A shop’s profit is its revenue minus its costs, and both depend on how many items it sells. To find the profit at items you take the revenue at and the cost at and subtract. That is all it means to combine two functions. The care goes into one question, which inputs both functions can actually handle.
Key terms
Pointwise operation
Definition A pointwise operation builds a new function from two functions and by taking one input , evaluating both and at that same , and combining the two output numbers by an arithmetic operation. The new function is defined only at inputs where both outputs exist and the operation makes sense.
In plain words Feed the same number into both functions, then add, subtract, multiply or divide the two answers. You never mix outputs from different inputs.
Example Let and . At the outputs are and , so the pointwise sum at is .
Common domain
Definition The common domain of and is the intersection of their domains,
the set of inputs at which both and are defined. It is the domain of , and .
In plain words An input is allowed only if both functions accept it. Find each domain separately, then keep the overlap.
Example The function needs , and needs . Their common domain is
Sum of functions
Definition The sum of and is the function defined by
In plain words At each allowed input, the height of is the height of plus the height of .
Example Let and . The first needs and the second needs , so has domain . At it gives , and at it gives .
Difference of functions
Definition The difference of and is the function defined by
Order matters, since .
In plain words Subtract the second output from the first at the same input. Swapping the two functions flips the sign of every answer.
Example For and , both defined everywhere,
At this gives , while .
Product of functions
Definition The product of and is the function defined by
Here means multiplying outputs. It is not the composition , given by , which feeds the output of into .
In plain words Multiply the two heights at the same input. Plugging one function into the other is a different operation with a different notation.
Example Let and . The product
has domain , and . The composition gives instead, and has the different domain .
Quotient of functions
Definition The quotient of by is the function defined by
for every in with . The function is called the denominator function. Every input where the denominator function equals zero is excluded, in addition to the inputs outside the common domain.
In plain words Divide the outputs at the same input, but only where both functions work and the bottom output is not zero.
Example Let and . The common domain is , and at and . Only lies in , so the domain of is . At the quotient is .
Domain restriction
Definition The domain of a combined function is fixed by the original functions, as described above. If the formula is then simplified, the simplified formula agrees with the combined function only on that domain. Every restriction inherited from , from and from stays in force, even when the simplified formula would make sense at more inputs.
In plain words Find the domain first, from the functions as given. Simplifying may tidy the formula, but it never adds inputs back.
Example Let and . The function needs , and at , so has domain . On that domain
The formula is fine at , but the quotient is not defined there, so its graph has a hole at . In the same way holds only for , so that product is the line kept only on .
Check yourself
- Let and . Find the domain of and the value .
Show the answer
The function needs and needs , so the domain is . The value is .
- Let and . Find the domain of , simplify it and evaluate it at .
Show the answer
The denominator factors as , so the domain is all real numbers except and . For those inputs
and stays excluded. At the value is .
- For and , compute and .
Show the answer
The product multiplies outputs, so . The composition feeds into , so .