Definition. A functionf from a set A (the domain) to a set B (the codomain) is a Rule that assigns to each element a∈A exactly one element f(a)∈B. We write f:A→B.
Definition. The range (or image) of f is the set {f(a):a∈A}⊆B — the Set of all values actually attained.
Definition. The natural domain of a real-valued function defined by an algebraic expression is The largest subset of R for which the expression is defined. Common restrictions:
Denominators cannot be zero: x=0 in x1.
Square roots require non-negative arguments: x≥0 in x.
Logarithms require positive arguments: x>0 in lnx.
ExampleFind the natural domain of $f(x) = \sqrt{x + 2} + \frac{1}{x - 1}$.
We need: x+2≥0 (for the square root) AND x−1=0 (for the denominator).
Definition. A function f:A→B is injective (one-to-one) if f(a1)=f(a2)⟹a1=a2 for all a1,a2∈A. Equivalently, distinct inputs give Distinct outputs.
Definition. A function f:A→B is surjective (onto) if for every b∈BThere exists a∈A such that f(a)=b.
Definition. A function that is both injective and surjective is bijective.
Theorem. A function f:A→B has an inverse function f−1:B→A if and only if f is Bijective.
Proof.
(⇒) If f−1 exists, then f must be injective (otherwise f−1 would be Multiply-defined) and surjective (otherwise f−1 would be undefined for elements not in the Range).
(⇐) If f is bijective, then for each b∈B there exists exactly one a∈A with f(a)=b. Define f−1(b)=a. This is well-defined and satisfies f−1(f(a))=a and f(f−1(b))=b. ■
Intuition. An inverse function “undoes” the original function. For this to work, the original Function must pair each input with a unique output (injectivity) and must cover every element of the Codomain (surjectivity).
Theorem. The graph of y=f(x−a) is the graph of y=f(x) translated by a units in the Positive x-direction.
Proof. Let g(x)=f(x−a). The point (x0,y0) lies on y=g(x) if and only if y0=g(x0)=f(x0−a). This means (x0−a,y0) lies on y=f(x). So the point (x0,y0) on g corresponds to the point (x0−a,y0) on f — a shift right by a. ■
Intuition. Replacing x with x−a means “to get the same output, I need to input a more.” The graph shifts right to compensate.
Proof for y=f(−x) as reflection in the y-axis. If (x0,y0) is on y=f(x)Then y0=f(x0). The point (−x0,y0) satisfies y0=f(−(−x0))=f(x0)So it lies on y=f(−x). Reflecting (x0,y0) in the y-axis gives (−x0,y0). ■
Proof for y=f(ax) as horizontal stretch. If (x0,y0) is on y=f(x)Then on y=f(ax)The same y-value occurs when ax=x0I.e., x=ax0. So (ax0,y0) is on the new graph — a horizontal stretch by factor a1. ■
### 5.4 Combined Transformations
When multiple transformations are applied, the order matters. The convention is:
y=af(x−p)+q
Represents: horizontal translation by p (right), vertical stretch by factor aVertical Translation by q (up).
Definition. A function f is even if f(−x)=f(x) for all x in its domain. A function f is odd if f(−x)=−f(x) for all x in its domain.
Theorem. The graph of an even function is symmetric about the y-axis. The graph of an odd Function has rotational symmetry of order 2 about the origin.
Proof. For even f: the point (−x,f(−x))=(−x,f(x)) is on the graph whenever (x,f(x)) is. These two points are reflections of each other across the y-axis. ■
For odd f: the point (−x,f(−x))=(−x,−f(x)) is on the graph whenever (x,f(x)) is. Rotating (x,f(x)) by 180∘ about the origin gives (−x,−f(x)). ■
Algebraic Properties.
Operation
Even × Even
Odd × Odd
Even × Odd
Result
Even
Even
Odd
Proof (for f odd, g odd ⟹fg even).(fg)(−x)=f(−x)g(−x)=(−f(x))(−g(x))=f(x)g(x)=(fg)(x). ■
Proof (for f even, g odd ⟹fg odd).(fg)(−x)=f(−x)g(−x)=f(x)(−g(x))=−f(x)g(x)=−(fg)(x). ■
Theorem. The only function that is both even and odd is f(x)=0 (the zero function on a Symmetric domain).
Proof.f even: f(−x)=f(x). f odd: f(−x)=−f(x). Therefore f(x)=−f(x)So 2f(x)=0Hence f(x)=0 for all x. ■
ExampleClassify $f(x) = x^3 - x$ and $g(x) = \cos(x^2)$.
f(−x)=(−x)3−(−x)=−x3+x=−(x3−x)=−f(x). So f is odd.
If you get this wrong, revise: [Composition](#2-composition-of-functions)
Problem 5. The graph of y=f(x) passes through (0,1) and (3,−2). State the coordinates Of the corresponding points on: (a) y=f(x+2) (b) y=−f(x) (c) y=f(2x) (d) y=3f(x)−1
Solution(a) $y = f(x + 2)$: shift left by 2. Points: $(-2, 1)$ and $(1, -2)$.
(b) y=−f(x): reflect in x-axis. Points: (0,−1) and (3,2).
(c) y=f(2x): horizontal stretch factor 21. Points: (0,1) and (23,−2).
(d) y=3f(x)−1: vertical stretch factor 3, then shift down 1. Points: (0,2) and (3,−7).
If you get this wrong, revise: [Transformations](#5-transformations-of-graphs)
Problem 6. The function f is defined by f(x)=x3−3x+1. Show that f is not injective On RAnd find the largest interval containing x=0 on which f is injective.
Solution$f"(x) = 3x^2 - 3 = 3(x - 1)(x + 1)$.
f′(x)=0 at x=±1. f′(x)<0 for −1<x<1 (decreasing), and f′(x)>0 for x<−1 Or x>1 (increasing).
Since f is decreasing on (−1,1) and increasing on (−∞,−1) and (1,∞)It is not Injective on all of R. For example, f(−2)=−8+6+1=−1 and f(0)=1 and f(1)=−1. So f(−2)=f(1)=−1 with −2=1.
The largest interval containing 0 on which f is strictly monotonic (hence injective) is [−1,1].
If you get this wrong, revise: [Injectivity](#3-inverse-functions) and [Differentiation](10-differentiation.mdx)
Problem 7. Solve the inequality ∣x−3∣>∣2x+1∣.
SolutionSquare both sides (both sides are non-negative): (x−3)2X2−6x+9−3x2−10x+83x2+10x−8>(2x+1)2>4x2+4x+1>0<0
(3x−2)(x+4)<0
−4<x<32
If you get this wrong, revise: [Modulus function](#4-the-modulus-function)
Problem 8. Given f(x)=e2x and g(x)=ln(x+1)Find f^{-1}$$g^{-1}And the Domain of f∘g.
Solution$f^{-1}(x)$: $y = e^{2x} \implies \ln y = 2x \implies x = \frac{\ln y}{2}$.
f−1(x)=21lnxDomain x>0.
g−1(x): y=ln(x+1)⟹x+1=ey⟹x=ey−1.
g−1(x)=ex−1Domain all R.
(f∘g)(x)=f(g(x))=f(ln(x+1))=e2ln(x+1)=(x+1)2.
Domain of f∘g: we need x+1>0 (for g), so x>−1.
If you get this wrong, revise: [Composition](#2-composition-of-functions) and [Inverse functions](#3-inverse-functions)
Problem 9. Sketch the graph of y=∣x2−4∣Showing the coordinates of all points where the Graph meets the axes.
Solution$y = |x^2 - 4| = |(x - 2)(x + 2)|$.
When x2−4≥0 (i.e., x≤−2 or x≥2): y=x2−4 (parabola opening up).
When x2−4<0 (i.e., −2<x<2): y=−(x2−4)=4−x2 (parabola opening down).
y-intercept: x=0⟹y=4. Point: (0,4).
x-intercepts: x2−4=0⟹x=±2. Points: (−2,0) and (2,0).
The graph is the standard parabola y=x2−4 with the part between x=−2 and x=2 Reflected above the x-axis.
If you get this wrong, revise: [Modulus function](#4-the-modulus-function) and [Transformations](#5-transformations-of-graphs)
Problem 10. Prove that f:[0,∞)→[0,∞) defined by f(x)=x2+4x is Bijective, and find f−1.
Solution**Injective:** $f(x) = x^2 + 4x = (x+2)^2 - 4$. For $x \geq 0$$x + 2 > 0$So $(x+2)^2$ is strictly increasing, hence $f$ is strictly increasing, hence injective.
Surjective: For any y≥0: x2+4x−y=0. By the quadratic formula: x=2−4+16+4y=−2+4+y. Since y≥0: 4+y≥2So x≥0. Thus every y≥0 has a preimage.
Inverse:y=x2+4x⟹x2+4x−y=0⟹x=2−4+16+4y (taking the positive root since x≥0).
f−1(x)=−2+4+x=x+4−2Domain x≥0.
If you get this wrong, revise: [Inverse functions](#3-inverse-functions)
Problem 11. Classify each function as even, odd, or neither: (a) f(x)=x4−x2 (b) g(x)=x3+x (c) h(x)=x+1 (d) k(x)=∣x∣
If x=2: both sides are 0So equality holds. x=2 is a solution.
If x=2: divide both sides by ∣x−2∣>0:
∣x−3∣≥1
This gives x−3≥1 or x−3≤−1I.e., x≥4 or x≤2.
Combined with x=2: x≤2 or x≥4.
Solution: x∈(−∞,2]∪[4,∞).
If you get this wrong, revise: [Modulus inequalities](#9-modulus-inequalities-with-functions)
Problem 15. The graph of y=f(x) passes through (1,3) and (−2,5). State the coordinates Of the corresponding points on the graph of y=2f(3x−1)+4.
SolutionA point $(x_0, y_0)$ on $y = f(x)$ corresponds to a point on the new graph where $f(3x - 1) = y_0$I.e., $3x - 1 = x_0$So $x = (x_0 + 1)/3$. The new $y$-value is $2y_0 + 4$.
For (1,3): new point is (31+1,2×3+4)=(32,10).
For (−2,5): new point is (3−2+1,2×5+4)=(−31,14).
If you get this wrong, revise: [Transformation order](#10-transformation-order--why-it-matters)
The key principles covered in this topic are linked in the sub-pages above. Focus on understanding the definitions, applying the formulas or frameworks, and evaluating strengths and limitations of each approach.