Home / Notes / Class 12 / Mathematics / Functions and limits
Functions, domain and range, composite and inverse functions, the idea of a limit, limit theorems, important limits and continuity, with worked examples.
A function f from a set A to a set B is a rule that assigns to each element x of A exactly one element y of B. We write y = f(x). A is the domain, and the set of values that f takes is the range. A vertical line meets the graph of a function at only one point.
Types of function include polynomial (such as x² − 3x + 2), rational (a ratio of polynomials), exponential (aˣ), logarithmic (logₐ x) and trigonometric functions. The domain of a rational function excludes the values that make the denominator zero, and the domain of a square root function requires the quantity under the root to be zero or positive.
A function is even if f(−x) = f(x), and its graph is symmetric about the y axis, for example x² and cos x. It is odd if f(−x) = −f(x), and its graph is symmetric about the origin, for example x³ and sin x.
The composite function (f ∘ g)(x) = f(g(x)) is found by putting g(x) in place of x in f. In general f(g(x)) is not the same as g(f(x)).
A function is one to one if different inputs give different outputs. Such a function has an inverse f⁻¹, found by writing y = f(x), solving for x in terms of y and then interchanging x and y. The graph of f⁻¹ is the mirror image of the graph of f in the line y = x, and f(f⁻¹(x)) = x.
The limit of f(x) as x approaches a is L if f(x) can be made as close to L as we like by taking x close enough to a, but not equal to a. We write lim f(x) = L as x → a. The limit exists only if the left hand and right hand limits are equal.
Limit theorems. If lim f(x) = L and lim g(x) = M as x → a, then:
To find a limit that gives 0/0 on direct substitution, factorise and cancel, or rationalise, and then substitute. For example, the limit of (x² − 9)/(x − 3) as x → 3 equals the limit of (x + 3), which is 6.
Important limits:
A function f is continuous at x = a if f(a) is defined, the limit of f(x) as x → a exists, and the limit equals f(a). A polynomial is continuous everywhere. A function is discontinuous where it is not defined, where the limit does not exist, or where the limit differs from the value.
Study tip: For every limit, first try direct substitution. If you get 0/0, decide whether to factorise, rationalise or use a standard limit, and show each step.
Say the meaning first, then open the card to check.
A rule that assigns to each element of the domain exactly one element of the range.
The set of all allowed inputs of a function.
The set of all values that the function takes.
The function f(g(x)), formed by applying g first and then f.
The function that reverses f, so that f⁻¹(f(x)) = x.
The value that f(x) approaches as x approaches a given number.
A function is continuous at a if its limit at a exists and equals its value there.
| Name | Formula | What it means |
|---|---|---|
| Composite function | (f ∘ g)(x) = f(g(x)) | Apply g first, then f. |
| Limit of sin x / x | lim (sin x / x) = 1 | x → 0, x in radians. |
| Number e | lim (1 + 1/n)ⁿ = e | n → ∞. |
| Exponential limit | lim (eˣ − 1) / x = 1 | x → 0. |
| Difference of squares | (x² − a²) / (x − a) = x + a | Used to remove 0/0 forms. |
These are the kind of questions asked for 2, 3 and 5 marks. Try each one before opening the answer.
The quantity under the root must be non-negative, so x ≥ 2. The denominator must not be zero, so x ≠ 5. The domain is x ≥ 2 with x ≠ 5.
f(−x) = (−x)³ + (−x) = −x³ − x = −(x³ + x) = −f(x), so f is odd.
f(g(x)) = 2x² + 1. g(f(x)) = (2x + 1)² = 4x² + 4x + 1. They are different.
Put y = 3x − 4, so x = (y + 4)/3. Interchanging x and y gives f⁻¹(x) = (x + 4)/3.
f(a) must exist, the limit of f(x) as x → a must exist, and the limit must equal f(a).
Answer: 8
Answer: 3
Answer: 1/4
Answer: e²