A defined function gives you a rule for converting an allowed input into an output. Start by identifying the input, replace the variable with that entire input, and perform the operations in the stated order. For a composition such as f(g(x)), the output of the inner function becomes the input of the outer function.
The current GMAT Quantitative Reasoning section assesses arithmetic and elementary algebra through Problem Solving. This guide teaches the notation and algebra behind custom rules; it does not claim that a particular function pattern has a published frequency or guarantees a score improvement. Every worked example below is original teaching material, not a released GMAT question.
Read f(x) as an output, not a multiplication
In f(x) = 2x + 3, f is the name of the rule and x is the input. The expression f(4) means the output when the input is 4: 2(4) + 3 = 11. It does not mean f multiplied by 4. The name and the variable are labels; h(t) = 2t + 3 describes the same input-output relationship.
Keep the rule separate from a particular calculation. The statement f(4) = 11 tells you one output. It does not say that f(x) = 11 for every input. If the rule is defined only for integers, a request involving a noninteger input needs that restriction resolved before you calculate.
Substitute the entire input
Let q(x) = 2x² − 5 for real x. For a negative input, write brackets before you square:
q(−3) = 2(−3)² − 5 = 18 − 5 = 13.
Squaring applies to −3 as a whole. It is not the expression −3², which is interpreted as the negative of 3². Also, q(−3) is not automatically −q(3): here q(3) = 13, while −q(3) = −13. A negative input and a negative output are different operations.
The same substitution principle applies to an expression. If q(x) = 2x² − 5, then q(t + 1) = 2(t + 1)² − 5. Only after substituting should you expand, if expansion helps the question. Replacing x with t while adding 1 afterwards would give q(t) + 1, a different quantity.
A change inside the brackets changes the input
Take f(x) = 2x + 1. Compare these expressions before using a numerical input:
| Expression | Meaning | Result |
|---|---|---|
| f(x + 1) | Increase the input by 1, then apply f | 2x + 3 |
| f(x) + 1 | Apply f, then increase the output by 1 | 2x + 2 |
| f(2x) | Double the input, then apply f | 4x + 1 |
| 2f(x) | Apply f, then double the output | 4x + 2 |
At x = 2, the first pair gives 7 and 6; the second pair gives 9 and 10. These differences are not exceptions to memorise. They follow from where the operation occurs. Writing the substituted expression makes that location explicit.
Composition: work from the inside out
Let f(x) = 2x + 1 and g(x) = x² − 3, both for real inputs. To find f(g(2)), calculate g(2) first:
- g(2) = 2² − 3 = 1.
- Use that output as the new input: f(1) = 2(1) + 1 = 3.
Reversing the order answers a different question. For g(f(2)), f(2) = 5 and g(5) = 25 − 3 = 22. Therefore f(g(2)) = 3, while g(f(2)) = 22.
You can also substitute the inner expression into the outer rule:
f(g(x)) = 2(x² − 3) + 1 = 2x² − 5.
g(f(x)) = (2x + 1)² − 3 = 4x² + 4x − 2.
The second expansion includes the middle term 4x. Squaring 2x + 1 does not give 4x² + 1. Numerical substitution at x = 2 checks the two expressions against the step-by-step results.
Applying the same function twice
The notation f(f(2)) uses the same rule in two successive steps. With f(x) = 2x + 1, the first output is f(2) = 5; the second is f(5) = 11. This is neither f(2) × f(2), which equals 25, nor 2f(2), which equals 10. Read nested brackets as successive inputs.
Use given outputs to determine a rule
Suppose f(x) = ax + b, and the question gives f(2) = 7 and f(5) = 16. The unknowns are a and b, so translate the two outputs into two equations:
2a + b = 7
5a + b = 16
Subtracting gives 3a = 9, so a = 3. Substitution then gives b = 1, and f(3) = 10. Check both original conditions: 3(2) + 1 = 7 and 3(5) + 1 = 16.
A single output would not determine both coefficients. For example, f(2) = 7 is satisfied by f(x) = 3x + 1 and by f(x) = 2x + 3, but their values at 3 differ. Similarly, one value of a quadratic expression with three unknown coefficients does not supply three independent equations.
Keep input restrictions visible
Before evaluating a composition, check that the first input is allowed by the inner function and that its output is allowed by the outer one. A completed arithmetic step does not make an excluded input valid. For case selection, fractions, square roots and equations with multiple possible inputs, continue with piecewise functions, domains and solving.
When reviewing an error, identify the exact step: reading the brackets, substituting the input, handling a sign, expanding a square, or choosing the outer rule. Then try an unfamiliar example of that operation. A fixed question count or a short timed set cannot certify that a topic is mastered. Use the GMAT question bank for further practice and review the rule and constraints in each problem.
Official exam context
GMAC's current exam-content page describes Quantitative Reasoning as arithmetic and elementary algebra, with no calculator in that section. Data Sufficiency belongs to Data Insights. These section descriptions provide context; the worked rules in this guide are teaching examples, not a claim about which exact function forms will appear on your exam. Source checked: 14 October 2026.
Comments (0)
No comments yet. Be the first to comment on this article.