Algebra of functions
Numbers can be added, subtracted, multiplied and divided — and so can functions. Given two real-valued functions and , the algebra of functions tells you how to build four new functions, , , and , by combining the output values and at each shared input . This closes out the Relations and Functions strand of ISC Class 11 Sets and Functions, right after domain and range, and it stops exactly there: composing functions to build and finding inverse functions are both Class XII topics and are not touched here. The one genuinely tricky part is not the arithmetic — that is just substitution — it is the domain. Every combined function needs a fresh, separate decision about where it is defined, and that decision is a set-theory question about intersecting domains, never a question you can answer by staring at a simplified algebraic expression. Getting this domain step right, and knowing why it can survive algebraic cancellation, is what this article is built around.
Combined functions like , , and are formed pointwise from and , but each one's domain is found separately by intersecting and (and, for the quotient, further removing zeros of ) — never by reading it off the simplified formula.
The core idea
Let and be real-valued functions with domains and . The four combined functions are defined pointwise — you plug the same into both and , get two numbers, and combine those numbers exactly as you would combine any two real numbers:
where: and are the values the two original functions take at the same input , and the right-hand side of each equation is an ordinary arithmetic operation on two real numbers. That is the entire "rule" half of the topic. The "domain" half is a separate question, and it is answered by set intersection, not algebra:
where: is the set of inputs where both original functions are defined, and the quotient additionally strips out any input at which happens to equal zero, since division by zero is never allowed. A useful side case: for a real constant , has exactly the same domain as , since multiplying by a constant never introduces a new restriction. Think of the construction as always happening in two separate stages that must not be blended together. Stage one is purely mechanical: substitute and into the arithmetic operation. Stage two is purely set-theoretic: ask "for which does this combination make sense at all," and answer that by intersecting domains (and, for a quotient, trimming zeros of the denominator) — never by simplifying the combined expression first and reading a domain off the simplified form. That single habit, kept separate and done first, prevents the most common mistake in the whole topic.
The goal of this derivation is to show, from the domain rule alone and without appeal to any diagram, that when a quotient of two functions is simplified by cancelling a common algebraic factor, an input that was excluded from the original domain must remain excluded from the domain of the simplified expression even though the simplified expression looks perfectly defined there — the excluded point is a fact about the function you started with, not about whichever algebraic form you happen to be looking at.
Step 1. Take with and with , and form the quotient rule first, purely mechanically: .
Step 2. Apply the domain rule for a quotient. First intersect: . Then remove the zeros of by solving , which gives , so or . The domain is therefore , fixed entirely by the original and , before any simplification has been attempted.
Step 3. Only now simplify the algebraic expression, factoring : . This cancellation is only valid at points already inside the domain found in Step 2, i.e. for .
Step 4. Compare the two forms at . The simplified expression evaluates just fine there, to , and looks completely defined. But the original function was never defined at , because makes it a division by zero — the numerator's own zero at only cancels the algebraic factor, it does not undo the fact that you divided by zero there. So stays excluded regardless of what the cancelled formula suggests, and the domain from Step 2 is the final, correct answer.
Worked example
Problem. Let with domain , and with domain . Find and with their domains, then evaluate and .
Step 1. Combine the rules by substitution: , and .
Step 2. Apply the domain rule . Here and , so . Both and share this same domain — neither is a quotient, so there is no further zero-removal step.
Step 3. Evaluate : .
Step 4. Evaluate the same pointwise way: . Both evaluations only needed and individually, computed first and then combined — the general symbolic rule for or is convenient when many evaluations are needed, but is never strictly required for a single numeric evaluation.
Common traps
- Cancelling a common algebraic factor in a quotient and forgetting the original exclusion still applies, exactly as stays excluded from even though the cancelled form looks fine there.
- Taking the domain of or to be the union instead of the intersection — the combined function needs both and to exist, so it can only be defined where both individually are.
- Forgetting the extra zero-removal step that applies only to a quotient , and mistakenly applying it to a sum, difference or product too.
- Reading the domain off the simplified algebraic form of a combined function instead of computing it from the original, unsimplified and .
Ask the tutor: Try asking why and not makes sense by picking a specific that's in only one domain and checking whether could possibly be computed there.
Why does simplifying the quotient not change its domain?
Simplifying only rewrites the formula — it never changes which function you are describing. The domain is a property of the original and , fixed the moment they were defined, before you ever touch the algebra. In the worked derivation, was excluded because made the original quotient a division by zero; cancelling the shared factor removes that factor from the written expression, but it cannot retroactively make the original division valid. So you always compute the domain from the unsimplified rule first, then simplify separately if asked.
Do I always need to write out the general rule for f+g before evaluating it at a number?
No. To find for a specific number , it is usually fastest to compute and separately and then add the two numbers, exactly as in the worked example where needed no symbolic expression at all. Writing the general rule becomes genuinely useful only when you need several evaluations, or when the question explicitly asks for the rule itself.
Is composition, like f of g of x, part of this topic?
No, and this is a common source of confusion. Composition — building a new function by feeding the output of into — along with inverse functions, belongs to Class XII, not Class XI. This ISC Class 11 topic covers only the four arithmetic combinations , , and and their domains. If a problem asks you to substitute one function's formula into another as its input, that is composition and is outside this syllabus point.