Class 12 – Mathematics
Master 30 advanced topics covering advanced functions, inverse trigonometry, matrices, determinants, differential and integral calculus, differential equations, vectors, three-dimensional geometry, linear programming and probability. Every topic now includes detailed theory, key formulas, a fully worked example, common mistakes and practice questions.
📘 How to use this page
Mathematics is learned by doing. Read the theory, memorise the formula box, then cover the solution of each worked example and try it yourself first. Study the “Common mistake” boxes, which show where marks are most often lost, and finish every topic by solving the practice questions on paper. Revise the formula sheet at the end before tests.
🔗 Advanced Relations, Functions and Inverse Trigonometry
Advanced Relations and Equivalence Relations
A relation R from a set A to a set B is a subset of A × B. A relation on A is a subset of A × A. Special cases are the empty relation (no pair related) and the universal relation (every pair related). Three properties classify relations on a set A:
- Reflexive: (a, a) ∈ R for every a ∈ A.
- Symmetric: (a, b) ∈ R ⇒ (b, a) ∈ R.
- Transitive: (a, b) ∈ R and (b, c) ∈ R ⇒ (a, c) ∈ R.
A relation that is reflexive, symmetric and transitive is an equivalence relation. It splits the set into disjoint equivalence classes: every element belongs to exactly one class, and elements in the same class are all related to each other. Congruence of triangles, similarity, equality, and “same remainder on division by n” are standard equivalence relations. In contrast, “is less than”, “is a divisor of” and “is perpendicular to” fail at least one of the three properties.
Reflexive: a − a = 0 is divisible by 3. Symmetric: if 3 | (a − b) then 3 | (b − a) = −(a − b). Transitive: if 3 | (a − b) and 3 | (b − c), then 3 | [(a − b) + (b − c)] = (a − c). The equivalence classes are [0], [1], [2], consisting of integers leaving remainders 0, 1, 2 on division by 3.
- Test whether “has the same remainder when divided by 3” is an equivalence relation on integers.
- Show that “is a divisor of” on natural numbers is reflexive and transitive but not symmetric.
- How many reflexive relations exist on a set with 3 elements? (answer: 2⁶ = 64)
One-One, Onto and Bijective Functions
A function f: A → B assigns to every element of A exactly one element of B. A is the domain, B the codomain, and the set of actual outputs is the range. A function is one-one (injective) if different inputs give different outputs: f(x₁) = f(x₂) ⇒ x₁ = x₂. It is onto (surjective) if every element of the codomain is an output, i.e. range = codomain. A function that is both is bijective.
The graphical horizontal line test shows injectivity (no horizontal line meets the graph twice), while surjectivity depends on whether the range fills the stated codomain. Notice that the same formula can be bijective or not depending on the sets chosen: f(x) = x² is neither one-one nor onto from R to R, but it is a bijection from [0, ∞) to [0, ∞).
One-one: 2x₁ + 1 = 2x₂ + 1 ⇒ x₁ = x₂. Onto: for any y ∈ R, take x = (y − 1)/2 ∈ R; then f(x) = y. Hence bijective. By contrast, f(x) = x² is not one-one since f(2) = f(−2) = 4, and not onto since negative numbers are never reached.
- Determine whether f(x) = x² from R to R is one-one or onto.
- How many one-one functions exist from {1, 2, 3} to {a, b, c, d, e}? (answer: 5 × 4 × 3 = 60)
- Check whether f(x) = x³ and f(x) = |x| are bijective on R.
Composition of Functions
If f: A → B and g: B → C, the composite g∘f: A → C is defined by (g∘f)(x) = g(f(x)). The output of the inner function must lie in the domain of the outer function, so domains deserve care. Composition is associative, h∘(g∘f) = (h∘g)∘f, but generally not commutative: f∘g ≠ g∘f.
Useful structural facts: the composition of two one-one functions is one-one; the composition of two onto functions is onto; if g∘f is one-one then f must be one-one; and if g∘f is onto then g must be onto. The identity function I(x) = x behaves like the number 1: f∘I = I∘f = f.
(f∘g)(x) = f(3x) = 3x + 2, whereas (g∘f)(x) = g(x + 2) = 3x + 6, so f∘g ≠ g∘f. For the second pair, (f∘g)(x) = √(x − 4), which requires x − 4 ≥ 0, so the domain is x ≥ 4.
- Find g∘f for f(x) = x + 2 and g(x) = 3x, and compare it with f∘g.
- If f(x) = x² and g(x) = sin x, find f∘g and g∘f.
- If f(x) = 2x + 3 and g(x) = (x − 3)/2, show that f∘g = g∘f = identity.
Inverse Functions
If f: A → B is bijective, there is a unique function f⁻¹: B → A such that f⁻¹(f(x)) = x for all x in A and f(f⁻¹(y)) = y for all y in B. To find it: write y = f(x), solve for x in terms of y, then rename y as x. The graph of f⁻¹ is the mirror image of the graph of f in the line y = x.
Properties: (f⁻¹)⁻¹ = f, and for bijective f and g, (g∘f)⁻¹ = f⁻¹∘g⁻¹ (the order reverses, like taking off shoes and socks). The notation f⁻¹(x) is not the reciprocal 1/f(x); the reciprocal is written [f(x)]⁻¹.
Let y = (x − 2)/(x + 3). Then y(x + 3) = x − 2, so xy + 3y = x − 2, giving x(y − 1) = −2 − 3y and x = (3y + 2)/(1 − y). Therefore f⁻¹(x) = (3x + 2)/(1 − x). Simpler case: for f(x) = 3x − 6, f⁻¹(x) = (x + 6)/3.
- Find the inverse of f(x) = 5x + 4 and verify by composition.
- Show that f(x) = x³ + 1 is invertible and find f⁻¹.
- If f(x) = 2x and g(x) = x + 3, find (g∘f)⁻¹.
Inverse Trigonometric Functions
Trigonometric functions are many-one over R, so to define inverses their domains are restricted to intervals where they are bijective. The resulting outputs are principal values.
| Function | Domain | Principal value range |
|---|---|---|
| sin⁻¹ x | [−1, 1] | [−π/2, π/2] |
| cos⁻¹ x | [−1, 1] | [0, π] |
| tan⁻¹ x | R | (−π/2, π/2) |
| cot⁻¹ x | R | (0, π) |
| sec⁻¹ x | |x| ≥ 1 | [0, π] − {π/2} |
| cosec⁻¹ x | |x| ≥ 1 | [−π/2, π/2] − {0} |
sin⁻¹(−x) = −sin⁻¹x | cos⁻¹(−x) = π − cos⁻¹x | tan⁻¹(−x) = −tan⁻¹x
sin⁻¹x + cos⁻¹x = π/2 | tan⁻¹x + cot⁻¹x = π/2
tan⁻¹x + tan⁻¹y = tan⁻¹[(x + y)/(1 − xy)] if xy < 1
2tan⁻¹x = sin⁻¹[2x/(1 + x²)] (|x| ≤ 1) = cos⁻¹[(1 − x²)/(1 + x²)] (x ≥ 0) = tan⁻¹[2x/(1 − x²)] (|x| < 1)
sin(sin⁻¹x) = x for x ∈ [−1, 1], but sin⁻¹(sin x) = x only for x ∈ [−π/2, π/2]
2π/3 lies outside [−π/2, π/2], and sin(2π/3) = sin(π/3), so sin⁻¹(sin 2π/3) = π/3. Next, xy = 1/6 < 1, so the sum = tan⁻¹[(1/2 + 1/3)/(1 − 1/6)] = tan⁻¹[(5/6)/(5/6)] = tan⁻¹(1) = π/4. Also cos⁻¹(−1/2) = π − π/3 = 2π/3.
- Evaluate cos⁻¹(0), tan⁻¹(1) and sin⁻¹(−1).
- Prove that sin⁻¹(3/5) + sin⁻¹(4/5) = π/2.
- Simplify tan⁻¹[(cos x)/(1 − sin x)], 0 < x < π/2 (answer: π/4 + x/2).
🔢 Matrices and Determinants
Matrices and Special Matrix Types
A matrix is a rectangular array of numbers arranged in m rows and n columns; its order is m × n and it has mn entries aij. Two matrices are equal when they have the same order and every corresponding entry is equal. Types include row matrix (1 × n), column matrix (m × 1), square matrix (m = n), diagonal (all off-diagonal entries zero), scalar (diagonal with equal entries), identity I (scalar with ones), zero matrix, and upper/lower triangular matrices.
For a square matrix A, the transpose A′ swaps rows and columns. A is symmetric if A′ = A and skew-symmetric if A′ = −A; a skew-symmetric matrix has zero diagonal entries. Every square matrix can be written uniquely as the sum of a symmetric and a skew-symmetric matrix.
A′ = [[1, 3], [2, 4]]. Symmetric part P = ½(A + A′) = [[1, 2.5], [2.5, 4]]. Skew part Q = ½(A − A′) = [[0, −0.5], [0.5, 0]]. Adding P + Q returns [[1, 2], [3, 4]] = A.
- Classify several matrices by order and special type.
- How many different matrices of order 2 × 3 can be formed using entries 0 or 1? (answer: 2⁶ = 64)
- Show that A + A′ is symmetric and A − A′ is skew-symmetric for any square A.
Matrix Operations and Multiplication
Matrices of the same order are added or subtracted entry by entry, and multiplied by a scalar entry by entry. Multiplication AB is defined only when the number of columns of A equals the number of rows of B: an m × n matrix times an n × p matrix gives an m × p matrix, where entry (i, j) is the sum of products of row i of A with column j of B.
Multiplication is associative and distributes over addition, but it behaves unlike ordinary numbers: AB ≠ BA in general, AB = O does not imply A = O or B = O, and AB = AC does not imply B = C. The transpose obeys (AB)′ = B′A′ with reversed order. Identity matrices satisfy AI = IA = A.
(A + B)² = A² + AB + BA + B² (not A² + 2AB + B² unless AB = BA)
AB: row 1 = [1·0 + 2·1, 1·1 + 2·0] = [2, 1]; row 2 = [3·0 + 4·1, 3·1 + 4·0] = [4, 3]. So AB = [[2, 1], [4, 3]]. BA = [[3, 4], [1, 2]] (B swaps the rows of A). Clearly AB ≠ BA. Also [[1,0],[0,0]] × [[0,0],[0,1]] = O although neither factor is zero.
- Determine whether AB and BA are defined for matrices of orders 2 × 3 and 3 × 2, and find their orders.
- If A = [[1, −1], [2, 3]], find A² − 4A + 5I.
- Show that (AB)′ = B′A′ for two 2 × 2 matrices of your choice.
Transpose and Inverse of a Matrix
The transpose satisfies (A′)′ = A, (A + B)′ = A′ + B′, (kA)′ = kA′ and (AB)′ = B′A′. A square matrix A of order n is invertible if there is a matrix B with AB = BA = I; then B = A⁻¹. This is possible exactly when A is non-singular (|A| ≠ 0). The inverse, when it exists, is unique.
The standard formula uses the adjoint: adj A is the transpose of the cofactor matrix, and A⁻¹ = adj A / |A|. For a 2 × 2 matrix [[a, b], [c, d]], swap a and d, change signs of b and c, and divide by ad − bc. Other facts: (AB)⁻¹ = B⁻¹A⁻¹, (A′)⁻¹ = (A⁻¹)′, A(adj A) = |A|I, and |adj A| = |A|n−1. Inverses can also be found by elementary row operations on [A | I].
|A| = 2·3 − 1·5 = 1. A⁻¹ = [[3, −1], [−5, 2]]. Check: A·A⁻¹ = [[2·3 + 1·(−5), 2·(−1) + 1·2], [5·3 + 3·(−5), 5·(−1) + 3·2]] = [[1, 0], [0, 1]] = I.
- Verify an inverse by multiplying the original matrix by the proposed inverse.
- Find the inverse of [[1, 2], [3, 4]] (answer: [[−2, 1], [1.5, −0.5]]).
- If A is 3 × 3 with |A| = 4, find |adj A| and |2A|. (answers: 16 and 32)
Determinants and Their Properties
Each square matrix has a determinant, a single number. For 2 × 2, |A| = ad − bc. For 3 × 3, expand along any row or column using minors Mij and cofactors Cij = (−1)i+jMij, with signs following the checkerboard pattern + − + / − + − / + − +. Expanding along a row or column with many zeros saves time.
Properties: |A′| = |A|; interchanging two rows (or columns) changes the sign; two identical or proportional rows give 0; multiplying one row by k multiplies the determinant by k; adding a multiple of one row to another leaves it unchanged; |kA| = kⁿ|A| for an n × n matrix; and |AB| = |A||B|. A determinant gives geometric information too: the area of a triangle with vertices (x₁, y₁), (x₂, y₂), (x₃, y₃) is ½ |det [[x₁, y₁, 1], [x₂, y₂, 1], [x₃, y₃, 1]]|, and three points are collinear when this determinant is zero.
Area of triangle = ½ |det [[x₁, y₁, 1], [x₂, y₂, 1], [x₃, y₃, 1]]|
Expanding along row 1: 1(1·0 − 4·6) − 2(0·0 − 4·5) + 3(0·6 − 1·5) = −24 + 40 − 15 = 1. For the triangle, det [[0,0,1],[4,0,1],[0,3,1]] = 1·(4·3 − 0) = 12, so area = ½ × 12 = 6 square units.
- Evaluate the determinant of a 3 × 3 matrix by expansion along a convenient row.
- Show that [[1, a, a²], [1, b, b²], [1, c, c²]] has determinant (a − b)(b − c)(c − a) up to sign.
- Find k if the points (1, 2), (3, 4) and (k, 6) are collinear. (answer: k = 5)
Solving Systems of Linear Equations with Matrices
A system of linear equations is written compactly as AX = B, where A is the coefficient matrix, X the column of unknowns and B the column of constants. If |A| ≠ 0, A is invertible and the system has a unique solution X = A⁻¹B (equivalently Cramer’s rule: x = Dx/D, y = Dy/D, z = Dz/D, where Dx replaces the x-column with B).
If |A| = 0, compute (adj A)B. If it is the zero matrix, the system is consistent with infinitely many solutions; if it is non-zero, the system is inconsistent (no solution). A system that has at least one solution is called consistent.
D = |[[1,1,1],[1,−1,1],[2,1,−1]]| = 1(1 − 1) − 1(−1 − 2) + 1(1 + 2) = 0 + 3 + 3 = 6 ≠ 0, so the solution is unique. Subtracting equations 1 and 2 gives 2y = 4, y = 2; adding them gives x + z = 4; then equation 3 gives 2x − z = −1, hence x = 1, z = 3. Check in the first equation: 1 + 2 + 3 = 6.
Inconsistent case: x + y = 2 and 2x + 2y = 5 have |A| = 0 but contradictory constants, so no solution.
- Convert a three-equation system into matrix form AX = B.
- Solve 2x + 3y = 7 and x − y = 1 using the matrix inverse (answer: x = 2, y = 1).
- Find k for which x + 2y = 3 and 2x + ky = 6 has infinitely many solutions (answer: k = 4).
📈 Differential Calculus and Applications
Continuity of Functions
A function f is continuous at x = c if limx→c f(x) exists and equals f(c); that is, left-hand limit = right-hand limit = f(c). It is continuous on an interval if continuous at every point of it. Intuitively, the graph can be drawn without lifting the pen.
Sums, differences, products, quotients (where the denominator is non-zero) and compositions of continuous functions are continuous. Polynomials, sine, cosine, exponential functions and absolute value are continuous everywhere on their domains; rational functions are continuous except where the denominator is zero. A discontinuity is removable if the limit exists but differs from (or the function lacks) the value there, and a jump discontinuity if the one-sided limits are different (the greatest integer function jumps at every integer).
First: for x ≠ 2, f(x) = x + 2, so the limit is 4; therefore k = 4. Second: RHL = 3(5) − 5 = 10 and LHL = f(5) = 5k + 1; equating gives 5k + 1 = 10, so k = 9/5.
- Test continuity of a piecewise function at its joining point.
- Show that f(x) = |x| is continuous at 0.
- Find the points of discontinuity of f(x) = 1/(x² − 3x + 2). (answer: x = 1 and x = 2)
Differentiability and Its Relationship with Continuity
The derivative of f at c is f′(c) = limh→0 [f(c + h) − f(c)]/h, provided the limit exists and is finite. It exists only if the left-hand derivative (LHD) and right-hand derivative (RHD) are equal. Geometrically, differentiability means the graph has a unique non-vertical tangent there. Corners (like |x| at 0), cusps and vertical tangents (like x1/3 at 0) violate it.
The central relationship is: differentiable ⇒ continuous, so a function that is not continuous at a point cannot be differentiable there. The converse is false: |x| is continuous at 0 yet not differentiable. For piecewise functions, check continuity first, then compare LHD and RHD at the joining point.
For |x|: LHD = lim (−h − 0)/h as h→0⁻ = −1, RHD = +1; unequal, so not differentiable at 0. For the second function: f(1) = 1, RHL = 2(1) − 1 = 1, so f is continuous. LHD = 2(1) = 2 (derivative of x²) and RHD = 2, equal; so it is differentiable at 1 with f′(1) = 2.
- Examine left and right derivatives of |x| at zero.
- Show that f(x) = |x − 2| is continuous but not differentiable at x = 2.
- Is f(x) = x|x| differentiable at 0? (answer: yes, f′(0) = 0)
Advanced Differentiation Techniques
Beyond basic rules, Class 12 uses the chain rule for composites, the product and quotient rules, implicit differentiation (differentiate both sides with respect to x and treat y as a function of x), logarithmic differentiation (for functions like xx or products with many factors), parametric differentiation and second-order derivatives. Rolle’s theorem and the mean value theorem link average and instantaneous rates of change.
d/dx(xⁿ) = nxⁿ⁻¹ | sin x → cos x | cos x → −sin x | tan x → sec²x | eˣ → eˣ | ln x → 1/x
sin⁻¹x → 1/√(1 − x²) | cos⁻¹x → −1/√(1 − x²) | tan⁻¹x → 1/(1 + x²) | cot⁻¹x → −1/(1 + x²)
Chain rule: dy/dx = (dy/du)(du/dx) | Parametric: dy/dx = (dy/dt)/(dx/dt) | Product: (uv)′ = u′v + uv′
(a) dy/dx = 5(3x² + 1)⁴ · 6x = 30x(3x² + 1)⁴. (b) ln y = x ln x ⟹ y′/y = ln x + 1 ⟹ y′ = xx(1 + ln x). (c) 2x + 2y(dy/dx) = 0 ⟹ dy/dx = −x/y. (d) dy/dx = (a cos θ)/(−a sin θ) = −cot θ.
- Differentiate y = (3x² + 1)⁵ using the chain rule.
- Find dy/dx if y = sin⁻¹(2x√(1 − x²)).
- If y = ex sin x, show that d²y/dx² − 2(dy/dx) + 2y = 0.
Tangents and Normals to Curves
The derivative dy/dx at a point is the slope of the tangent to the curve there. If the point is (x₀, y₀) and m = f′(x₀), the tangent is y − y₀ = m(x − x₀) and the normal (perpendicular to the tangent at the same point) is y − y₀ = −(1/m)(x − x₀). If the tangent is horizontal (m = 0), the normal is the vertical line x = x₀; if the tangent is vertical, the normal is horizontal.
The tangent also gives approximations: for small Δx, f(x + Δx) ≈ f(x) + f′(x)Δx. This is used to estimate values such as square roots and small errors in measurements (Δy ≈ dy).
At x = 1, y = 1 and slope = 2x = 2. Tangent: y − 1 = 2(x − 1), i.e. y = 2x − 1. Normal: y − 1 = −½(x − 1), i.e. x + 2y = 3. For √25.3, take f(x) = √x at 25 with Δx = 0.3: f′ = 1/(2√x) = 1/10, so √25.3 ≈ 5 + 0.03 = 5.03.
- Find tangent and normal equations to y = x² at x = 1.
- Find the points on y = x³ − 3x where the tangent is parallel to the x-axis. (answer: x = ±1)
- Use differentials to approximate (27.1)1/3. (answer: ≈ 3.0037)
Increasing and Decreasing Functions
A function f is increasing on an interval if x₁ < x₂ implies f(x₁) ≤ f(x₂), and strictly increasing if the inequality is strict; the decreasing cases reverse the inequality. For a differentiable function, the sign of the derivative decides: f′(x) > 0 on an interval ⇒ strictly increasing; f′(x) < 0 ⇒ strictly decreasing; f′(x) ≥ 0 (with zeros only at isolated points) still gives increasing.
Procedure: find f′(x), solve f′(x) = 0 to locate critical points, mark these on a number line, test the sign of f′ in each sub-interval, and report open intervals. A function like x³ is increasing everywhere even though f′(0) = 0, because the derivative does not change sign.
f′(x) = 3x² − 3 = 3(x − 1)(x + 1). The critical points are x = −1 and x = 1. For x < −1: f′ > 0 (increasing). For −1 < x < 1: f′ < 0 (decreasing). For x > 1: f′ > 0 (increasing). So f increases on (−∞, −1) and (1, ∞) and decreases on (−1, 1).
- Determine increasing and decreasing intervals for f(x) = x³ − 3x.
- Show that f(x) = x³ + x is strictly increasing on R.
- Find the intervals on which f(x) = sin x is increasing in [0, 2π]. (answer: [0, π/2] and [3π/2, 2π])
Maxima, Minima and Optimisation
A point c is a local maximum if f(c) is the largest value in some neighbourhood of c, and a local minimum if it is the smallest. A necessary condition is f′(c) = 0 (or f′ undefined). The first derivative test classifies c: if f′ changes from positive to negative it is a local maximum; from negative to positive a local minimum; no sign change means a point of inflection. The second derivative test says: f′(c) = 0 and f″(c) < 0 ⇒ local maximum; f″(c) > 0 ⇒ local minimum; f″(c) = 0 ⇒ inconclusive.
On a closed interval [a, b] the absolute maximum and minimum occur at critical points inside the interval or at the endpoints, so evaluate f at all of them and compare. For word problems, express the quantity to be optimised in one variable using the constraint, find critical points, verify the type, and interpret the answer within the allowed domain.
With sides x and 20 − x, A = x(20 − x) = 20x − x². A′ = 20 − 2x = 0 ⟹ x = 10, and A″ = −2 < 0, so it is a maximum: A = 100 (a square).
Worked example 2: Absolute extrema of f(x) = x³ − 3x on [−2, 2]: critical points x = ±1. f(−2) = −2, f(−1) = 2, f(1) = −2, f(2) = 2; so the maximum is 2 and the minimum is −2.
Worked example 3: An open box is made by cutting squares of side x from the corners of an 18 cm square sheet. V = x(18 − 2x)²; V′ = (18 − 2x)(18 − 6x) = 0 ⟹ x = 3 (x = 9 gives zero volume). V = 3 × 12² = 432 cm³ (maximum).
- Form an area function for a rectangle with fixed perimeter and determine its maximum.
- Find the local maximum and minimum values of f(x) = 2x³ − 9x² + 12x + 5.
- A closed cylinder has volume 1000 cm³. Find the radius that minimises surface area. (answer: r = (500/π)1/3, with h = 2r)
∫ Integral Calculus and Differential Equations
Indefinite Integrals and Antiderivatives
Integration is the reverse of differentiation. If F′(x) = f(x), then F is an antiderivative of f and the indefinite integral is ∫f(x)dx = F(x) + C, where C is an arbitrary constant, because every member of the family F(x) + C has the same derivative. Integration is linear: ∫[af(x) + bg(x)]dx = a∫f + b∫g.
∫xⁿdx = xⁿ⁺¹/(n + 1) + C (n ≠ −1) | ∫dx/x = ln|x| + C | ∫eˣdx = eˣ + C | ∫aˣdx = aˣ/ln a + C
∫sin x dx = −cos x + C | ∫cos x dx = sin x + C | ∫sec²x dx = tan x + C | ∫cosec²x dx = −cot x + C
∫tan x dx = ln|sec x| + C | ∫cot x dx = ln|sin x| + C | ∫sec x dx = ln|sec x + tan x| + C | ∫cosec x dx = ln|cosec x − cot x| + C
∫dx/(x² + a²) = (1/a)tan⁻¹(x/a) + C | ∫dx/√(a² − x²) = sin⁻¹(x/a) + C
∫dx/(x² − a²) = (1/2a)ln|(x − a)/(x + a)| + C | ∫dx/√(x² ± a²) = ln|x + √(x² ± a²)| + C
∫(3x² + 4)dx = x³ + 4x + C. For sin²x use sin²x = (1 − cos 2x)/2: ∫sin²x dx = x/2 − (sin 2x)/4 + C. Differentiating the answer returns the integrand, which is always a good check.
- Evaluate ∫(3x² + 4)dx.
- Evaluate ∫(2x + 3)/(x² + 3x + 5) dx (answer: ln|x² + 3x + 5| + C).
- Evaluate ∫1/(1 + cos 2x) dx (answer: ½ tan x + C).
Definite Integrals and Fundamental Theorem
The definite integral ∫ab f(x)dx is the limit of Riemann sums and represents signed area between the curve and the x-axis. The second fundamental theorem of calculus says that if F is an antiderivative of f, then ∫ab f(x)dx = F(b) − F(a). The first fundamental theorem states that the derivative of A(x) = ∫ax f(t)dt is f(x).
∫abf = −∫baf | ∫abf = ∫acf + ∫cbf
∫0af(x)dx = ∫0af(a − x)dx | ∫abf(x)dx = ∫abf(a + b − x)dx
∫−aaf = 2∫0af if f is even, 0 if f is odd
∫02af(x)dx = 2∫0af(x)dx if f(2a − x) = f(x), and 0 if f(2a − x) = −f(x)
∫13 2x dx = [x²]13 = 9 − 1 = 8. For I, apply the property f(x) → f(π/2 − x): I = ∫ cos x/(cos x + sin x) dx. Adding the two forms gives 2I = ∫0π/2 1 dx = π/2, so I = π/4. Also ∫−11 x³dx = 0 because x³ is odd.
- Evaluate ∫13 2x dx.
- Evaluate ∫0π x sin x dx (answer: π).
- Use the even/odd property to evaluate ∫−π/2π/2 sin⁵x cos x dx. (answer: 0)
Methods of Integration
Substitution: if the integrand has the form f(g(x))g′(x), put t = g(x) so that ∫f(t)dt is simpler. Integration by parts comes from the product rule: ∫u v dx = u∫v dx − ∫[u′ ∫v dx]dx. Choose u using the order ILATE (Inverse trig, Logarithmic, Algebraic, Trigonometric, Exponential): the earlier-listed function is taken as u. Partial fractions decompose a rational function into simpler fractions that integrate separately; if the degree of the numerator is not smaller than the denominator, divide first.
∫eˣ[f(x) + f′(x)]dx = eˣf(x) + C | ∫√(a² − x²)dx = (x/2)√(a² − x²) + (a²/2)sin⁻¹(x/a) + C
∫√(x² + a²)dx = (x/2)√(x² + a²) + (a²/2)ln|x + √(x² + a²)| + C
Partial fractions: (px + q)/[(x − a)(x − b)] = A/(x − a) + B/(x − b)
(a) Put t = x²: ∫cos t dt = sin(x²) + C. (b) u = x, v = eˣ: x eˣ − ∫eˣdx = (x − 1)eˣ + C. (c) u = ln x, v = 1: x ln x − x + C. (d) x + 1 = A(x + 2) + B(x − 1) gives A = 2/3 and B = 1/3, so the integral is (2/3)ln|x − 1| + (1/3)ln|x + 2| + C. Also ∫eˣ(sin x + cos x)dx = eˣ sin x + C.
- Identify whether substitution or integration by parts is more natural for ∫x²eˣdx, ∫tan x dx and ∫x/(x² + 1)dx.
- Evaluate ∫x²eˣdx (answer: eˣ(x² − 2x + 2) + C).
- Evaluate ∫dx/(x² − 1) using partial fractions.
Area Under Curves and Between Curves
For a continuous curve y = f(x) lying above the x-axis, the area bounded by the curve, the x-axis and the lines x = a and x = b is ∫ab f(x)dx. If part of the curve lies below the axis, split the integral at the x-intercepts and add absolute values. The area between two curves y = f(x) (upper) and y = g(x) (lower) over [a, b] is ∫ab[f(x) − g(x)]dx. First find intersection points by solving f(x) = g(x), then sketch the region. Sometimes it is easier to integrate with respect to y.
Region between y² = 4ax and its latus rectum x = a: (8/3)a² | Area = ∫(upper − lower)dx
First: intersection x² = x ⟹ x = 0, 1; on [0, 1] the line is above the parabola: ∫01(x − x²)dx = ½ − ⅓ = 1/6. Second: y² = 4x and y = x meet where x² = 4x, so x = 0, 4; upper curve y = 2√x, lower y = x: ∫04(2√x − x)dx = (4/3)(4)3/2 − 8 = 32/3 − 8 = 8/3.
- Sketch two curves before setting up the integral for their enclosed area.
- Find the area of the region bounded by y = sin x, the x-axis, x = 0 and x = 2π. (answer: 4)
- Find the area of the circle x² + y² = 16 using integration. (answer: 16π)
Differential Equations and Variable Separation
A differential equation involves an unknown function and its derivatives. Its order is the order of the highest derivative; its degree is the power of that highest derivative once the equation is a polynomial in derivatives (not defined if derivatives appear inside trigonometric or exponential functions). A general solution contains arbitrary constants equal in number to the order; a particular solution uses initial conditions to fix them. A family of curves with n arbitrary constants is described by an nth-order differential equation formed by eliminating the constants.
Three solution methods are required. Variable separable: dy/dx = f(x)g(y) ⟹ ∫dy/g(y) = ∫f(x)dx. Homogeneous: dy/dx = F(y/x); substitute y = vx. Linear first-order: dy/dx + Py = Q, with integrating factor IF = e∫P dx, solution y·IF = ∫Q·IF dx + C (and similarly dx/dy + P₁x = Q₁).
(a) Separate: dy/y = x dx ⟹ ln|y| = x²/2 + C ⟹ y = Aex²/2; y(0) = 2 gives A = 2. (b) P = 1, IF = eˣ; (y eˣ)′ = 1 ⟹ y eˣ = x + C ⟹ y = (x + C)e⁻ˣ. (c) Highest derivative is second order, with power 3, so order 2 and degree 3.
- Identify the order and degree of several differential equations.
- Solve dy/dx = (1 + y²)/(1 + x²) (answer: tan⁻¹y = tan⁻¹x + C).
- A population grows at a rate proportional to its size and doubles in 10 years. Write the differential equation and solution.
🧭 Vectors and Three-Dimensional Geometry
Vector Algebra and Components
A vector has both magnitude and direction. The position vector of the point (x, y, z) is r = xî + yĵ + zk̂, with magnitude |r| = √(x² + y² + z²). The vector from P to Q is PQ = OQ − OP. A unit vector in the direction of a is â = a/|a|. Vectors add by the triangle or parallelogram law, and component-wise in coordinates. Two vectors are collinear (parallel) if one is a scalar multiple of the other.
The direction cosines l, m, n of a vector are the cosines of the angles α, β, γ it makes with the axes; l = x/|r|, and l² + m² + n² = 1. Direction ratios are any numbers proportional to them. The section formula locates the point dividing the join of A and B in the ratio m : n internally at (m·B + n·A)/(m + n), and the midpoint is (A + B)/2.
|a| = √(4 + 1 + 4) = 3, so â = (2/3, −1/3, 2/3), and these are also the direction cosines. Internal division: P = (1·B + 2·A)/3 = ((7 + 2)/3, (8 + 4)/3, (9 + 6)/3) = (3, 4, 5).
- Find the magnitude and unit vector corresponding to (2, −1, 2).
- Show that the points A(1, 2, 3), B(3, 4, 5), C(5, 6, 7) are collinear.
- Find the direction cosines of the line joining (1, 0, 0) and (0, 1, 1).
Dot Product and Projection
The scalar (dot) product of two vectors is a·b = |a||b|cos θ, where θ is the angle between them (0 ≤ θ ≤ π). In components, a·b = a₁b₁ + a₂b₂ + a₃b₃. It is commutative and distributive, with a·a = |a|², and î·î = ĵ·ĵ = k̂·k̂ = 1 while î·ĵ = ĵ·k̂ = k̂·î = 0. The product is zero for non-zero vectors exactly when they are perpendicular.
The scalar projection of a on b is (a·b)/|b|; the vector projection is [(a·b)/|b|²]b. Physically, the work done by a force F over displacement d is W = F·d.
a·b = 2 − 2 + 4 = 4; |a| = 3, |b| = 3; cos θ = 4/9, so θ = cos⁻¹(4/9). Projection of a on b = 4/3. For the second pair: 2 − 3 + 1 = 0, so they are perpendicular.
- Find the angle between two given vectors using their dot product.
- Find λ so that (2î + λĵ + k̂) ⊥ (î − 2ĵ + 3k̂). (answer: λ = 5/2)
- A force F = (3, 4, 5) moves a particle from (1, 1, 1) to (2, 3, 4). Find the work done. (answer: F·d = 3 + 8 + 15 = 26 units)
Cross Product and Geometric Applications
The vector (cross) product is a × b = |a||b| sin θ n̂, where n̂ is a unit vector perpendicular to both, in the direction given by the right-hand rule. In components it is the determinant with rows î ĵ k̂ / a₁ a₂ a₃ / b₁ b₂ b₃. It is anti-commutative (a × b = −b × a), distributive, and a × a = 0; a × b = 0 for non-zero vectors means they are parallel.
Geometric uses: the area of a parallelogram with adjacent sides a and b is |a × b|; the area of a triangle is ½|a × b|. The scalar triple product [a b c] = a·(b × c) equals the determinant of the three vectors, and its absolute value is the volume of the parallelepiped. Three vectors are coplanar when it is zero. Lagrange’s identity: |a × b|² = |a|²|b|² − (a·b)².
î: 2·1 − 3·(−1) = 5; ĵ: 3·2 − 1·1 = 5; k̂: 1·(−1) − 2·2 = −5. So a × b = (5, 5, −5), |a × b| = 5√3, and the triangle area = (5√3)/2. Check: a·(a × b) = 5 + 10 − 15 = 0, confirming perpendicularity.
- Use a cross product to test whether two vectors are parallel.
- Find the area of the triangle with vertices A(1, 1, 1), B(1, 2, 3), C(2, 3, 1).
- Show that (1, 2, 3), (2, 1, 0), (3, 3, 3) are coplanar (the scalar triple product is zero).
Equations of Lines in Three Dimensions
A line is fixed by a point and a direction. Vector form: r = a + λb, where a is the position vector of a point on the line and b a direction vector. Through two points A and B: r = a + λ(b − a). Cartesian (symmetric) form: (x − x₁)/l = (y − y₁)/m = (z − z₁)/n, with direction ratios (l, m, n); the parameter λ gives the parametric form x = x₁ + λl, etc.
Angle between lines with direction vectors b₁ and b₂: cos θ = |b₁·b₂|/(|b₁||b₂|). Lines are parallel if b₁ ∥ b₂ and perpendicular if b₁·b₂ = 0. Skew lines are non-parallel and non-intersecting; their shortest distance is |(a₂ − a₁)·(b₁ × b₂)|/|b₁ × b₂|. For parallel lines, the distance is |(a₂ − a₁) × b|/|b|.
Worked example 2: Find the shortest distance between r = (1, 1, 0) + λ(2, −1, 1) and r = (2, 1, −1) + μ(3, −5, 2). b₁ × b₂ = (3, −1, −7), with magnitude √59; a₂ − a₁ = (1, 0, −1); dot product = 3 + 7 = 10. Distance = 10/√59.
- Form the vector equation of a line through two given points.
- Find the angle between the lines (x − 1)/1 = (y − 2)/2 = (z − 3)/2 and (x)/2 = (y)/(−1) = (z)/2.
- Convert r = (1, 2, 3) + λ(2, 3, 4) into Cartesian form.
Equations of Planes in Three Dimensions
A plane is fixed by a point and a normal vector n. Vector form: r·n = d (or (r − a)·n = 0). Cartesian form: ax + by + cz = d, where (a, b, c) is a normal. Other forms: through the point (x₁, y₁, z₁) with normal (a, b, c): a(x − x₁) + b(y − y₁) + c(z − z₁) = 0; intercept form x/p + y/q + z/r = 1; through three non-collinear points, using the determinant of coordinate differences or the normal (AB × AC); and through the intersection of two planes P₁ + λP₂ = 0.
2(x − 1) − (y − 2) + 3(z − 3) = 0 gives 2x − y + 3z = 9; check (1, 2, 3): 2 − 2 + 9 = 9 ✓. The three-point plane has intercepts 1, 1, 1: x + y + z = 1.
- Form a plane equation through a point with a specified normal vector.
- Find the plane through (2, 1, 0), (3, 2, 1) and (1, 0, 3) using AB × AC.
- Find the plane through the intersection of x + y + z = 1 and 2x + 3y − z = 4 passing through (1, 1, 1).
Angles and Distances in Space
Angles are found from direction vectors (lines) or normal vectors (planes). Between two planes, cos θ = |n₁·n₂|/(|n₁||n₂|); planes are parallel when normals are proportional and perpendicular when n₁·n₂ = 0. Between a line with direction b and a plane with normal n, sin θ = |b·n|/(|b||n|); the line is parallel to the plane if b·n = 0.
Distance formulas: from point (x₁, y₁, z₁) to plane ax + by + cz = d, distance = |ax₁ + by₁ + cz₁ − d|/√(a² + b² + c²); between parallel planes ax + by + cz = d₁ and = d₂: |d₁ − d₂|/√(a² + b² + c²); between a point and a line, and between skew lines, use the vector formulas of the previous topics.
(a) |2 − 2 + 6 − 9|/√(4 + 1 + 4) = 3/3 = 1. (b) n₁ = (1, 1, 1), n₂ = (1, −1, 1); n₁·n₂ = 1; magnitudes √3 each; cos θ = 1/3, so θ = cos⁻¹(1/3). (c) b·n = 2 + 2 − 4 = 0, so the line is parallel to the plane.
- Determine whether two planes are parallel by comparing their normal vectors.
- Find the distance between the parallel planes 2x + 2y − z = 3 and 2x + 2y − z = 9. (answer: 2)
- Find the angle between the line (x − 1)/1 = (y − 2)/2 = (z − 3)/2 and the plane x + y + z = 5.
📊 Optimisation and Advanced Probability
Linear Programming and Feasible Regions
A linear programming problem (LPP) maximises or minimises a linear objective function Z = ax + by subject to linear constraints (inequalities) and non-negativity conditions x, y ≥ 0. The set of points satisfying all constraints is the feasible region, always convex. Solutions inside it are feasible; the best one is optimal.
The corner point theorem states that if the feasible region is bounded, the optimum of Z occurs at a corner (vertex). If the region is unbounded, a maximum or minimum may not exist; check by drawing the half-plane ax + by > M (or < m) and testing whether it has points common with the feasible region. If two corners give the same optimal value, every point on the segment between them is optimal (alternative optima). An empty feasible region means the problem is infeasible.
Corner points: O(0, 0), A(4, 0), B(3, 1) (from x + y = 4 and x + 3y = 6), C(0, 2). Values of Z: 0, 12, 11, 4. The maximum is 12 at (4, 0).
- Graph two linear constraints and identify their common feasible region.
- Minimise Z = 2x + 3y subject to x + y ≥ 4, x ≥ 1, y ≥ 1 (answer: Z = 9 at (3, 1)).
- Why can the optimum of a bounded LPP not lie strictly in the interior of the feasible region?
Conditional Probability and Independent Events
The probability of event A given that B has occurred is P(A|B) = P(A ∩ B)/P(B), provided P(B) > 0. Knowing B shrinks the sample space to B. Rearranging gives the multiplication rule P(A ∩ B) = P(B)P(A|B) = P(A)P(B|A). Properties include 0 ≤ P(A|B) ≤ 1, P(A′|B) = 1 − P(A|B), and P(E ∪ F | G) = P(E|G) + P(F|G) − P(E ∩ F | G).
Events A and B are independent if P(A ∩ B) = P(A)P(B), equivalently P(A|B) = P(A): the occurrence of one does not change the probability of the other. Three events are mutually independent only if every pair and the triple product satisfy the product rule. Independence is not the same as mutual exclusivity: mutually exclusive events with non-zero probabilities are always dependent, since one occurring makes the other impossible.
(a) Given first die = 3, there are 6 outcomes; only (3, 5) gives sum 8, so the probability is 1/6. (b) (4/52)(3/51) = 1/221. (c) The events are independent: (1/2)(1/6) = 1/12.
- Use a two-way table to calculate a conditional probability.
- If P(A) = 0.6, P(B) = 0.5 and P(A ∩ B) = 0.3, are A and B independent? (answer: yes)
- A bag has 4 red and 6 black balls. Two are drawn without replacement. Find P(second red | first red). (answer: 3/9 = 1/3)
Bayes’ Theorem and Random-Variable Distributions
If E₁, E₂, …, Eₙ are mutually exclusive and exhaustive events (a partition of the sample space) with P(Eᵢ) > 0, the theorem of total probability gives P(A) = ΣP(Eᵢ)P(A|Eᵢ). Bayes’ theorem reverses the conditioning: P(Eᵢ|A) = P(Eᵢ)P(A|Eᵢ)/ΣP(Eⱼ)P(A|Eⱼ). The P(Eᵢ) are prior probabilities and P(Eᵢ|A) the posterior probabilities after observing A.
A random variable X assigns a real number to each outcome. The probability distribution lists each value xᵢ with pᵢ = P(X = xᵢ), with Σpᵢ = 1. The mean (expectation) is E(X) = Σxᵢpᵢ and the variance Var(X) = E(X²) − [E(X)]², with standard deviation √Var. Bernoulli trials are independent trials with two outcomes (success p, failure q = 1 − p); the number of successes in n trials follows the binomial distribution B(n, p).
Binomial: P(X = r) = ⁿCr pr qn−r, mean = np, variance = npq
(a) P(A|D) = 0.6 × 0.02/(0.6 × 0.02 + 0.4 × 0.03) = 0.012/0.024 = 0.5. (b) X = 0, 1, 2 with probabilities 1/4, 1/2, 1/4; E(X) = 1; E(X²) = 0 + 1/2 + 1 = 1.5; Var = 1.5 − 1 = 0.5 (= npq = 2·½·½). (c) ⁴C₂(1/6)²(5/6)² = 6 × 25/1296 = 25/216 ≈ 0.116.
- Construct a simple probability distribution for the number of heads in two coin tosses.
- Find the mean of the number obtained on a single throw of a fair die. (answer: 3.5)
- A test detects a disease with 99% accuracy; 1% of people have it and the false-positive rate is 5%. Use Bayes’ theorem to find P(disease | positive). (answer: ≈ 0.167)
📋 Formula Sheet and Exam Tips
Quick Revision Sheet
| Area | Key results to memorise |
|---|---|
| Inverse trigonometry | sin⁻¹x + cos⁻¹x = π/2; principal ranges; tan⁻¹x + tan⁻¹y = tan⁻¹[(x + y)/(1 − xy)] |
| Matrices | A⁻¹ = adj A/|A|; (AB)′ = B′A′; (AB)⁻¹ = B⁻¹A⁻¹; |kA| = kⁿ|A| |
| Determinants | Area of triangle = ½|det|; |AB| = |A||B|; row swap flips sign |
| Derivatives | (uv)′ = u′v + uv′; (u/v)′ = (u′v − uv′)/v²; (xˣ)′ = xˣ(1 + ln x); inverse trig derivatives |
| Applications of derivatives | Tangent: y − y₀ = f′(x₀)(x − x₀); f′ > 0 increasing; f″ test for max/min |
| Integrals | ∫dx/(x² + a²) = (1/a)tan⁻¹(x/a); ∫eˣ[f + f′] = eˣf; ILATE for parts |
| Definite integrals | ∫abf(x)dx = ∫abf(a + b − x)dx; even/odd property |
| Differential equations | IF = e∫P dx; y = vx for homogeneous; separate variables |
| Vectors | a·b = |a||b|cos θ; |a × b| = |a||b|sin θ; [a b c] = a·(b × c) |
| 3D geometry | Skew-line distance |(a₂ − a₁)·(b₁ × b₂)|/|b₁ × b₂|; point–plane distance formula |
| Probability | P(A|B) = P(A ∩ B)/P(B); Bayes’ theorem; binomial mean np, variance npq |
Exam strategy
- Check domain and range first. Many errors in functions and inverse trigonometry come from ignoring principal values.
- Show every step. Marks are given for method; write the formula, substitute, and state the result with units or sign where relevant.
- Verify answers. Multiply a matrix by its inverse, differentiate an integral, or test a point in the feasible region.
- Sketch before integrating. A rough graph prevents sign errors in area problems and shows which curve is above.
- Watch limits and constants. Change limits during substitution, add + C for indefinite integrals, and apply initial conditions in differential equations.
- Practise mixed problems daily. Rotate between algebra, calculus, vectors and probability so no chapter fades before the exam.