1
Unit 1 · Number & Algebra
HL AI revision notes
›
Unit 1 · Number & Algebra
HL AI revision notes
IB MATHEMATICS AI HL
UNIT 1: NUMBER & ALGEBRA
Comprehensive Notes (Part 1 of 2)
ibblueComplete Syllabus Coverage
SL 1.1 & 1.6: Scientific Notation, Approximation, Bounds & Percentage Error.
SL 1.2 & 1.3: Arithmetic and Geometric Sequences & Series.
AHL 1.9 & 1.10: Laws of Logarithms and Rational Exponents.
AHL 1.11: Infinite Convergent Geometric Series.
ibmathrevision.com
SECTION 1: APPROXIMATION & ERROR (SL)
Scientific Notation & Percentage Error (SL 1.1, 1.6)
1. Standard Form (Scientific Notation): Written as \(a \times 10^k\), where \(1 \le a < 10\) and \(k\) is an integer. Useful for very large or small numbers.
2. Bounds: If a value \(x\) is rounded to the nearest unit, the absolute error can be up to half that unit. The true value lies in the range: \(\text{Lower Bound} \le x < \text{Upper Bound}\).
3. Percentage Error: Used to evaluate the accuracy of an estimation (\(v_E\)) against an exact theoretical value (\(v_A\)). Formula:
\[\epsilon = \left| \frac{v_A - v_E}{v_E} \right| \times 100\%\]
Worked Examples: Error & Bounds
Example 1: Calculating Percentage Error
The exact area of a rectangle is \(125.4 \text{ cm}^2\). A student measures it and estimates the area to be \(120 \text{ cm}^2\). Calculate the percentage error.
\(v_A = 125.4\) and \(v_E = 120\).
\(\epsilon = \left| \frac{125.4 - 120}{120} \right| \times 100\% = \left| \frac{5.4}{120} \right| \times 100\% = 0.045 \times 100\% = 4.5\%\).
Example 2: Establishing Bounds
The length of a fence is given as \(45\) m, correct to the nearest metre. Write down the upper and lower bounds.
Since it is to the nearest \(1\) m, the maximum error is \(\pm 0.5\) m.
Lower Bound = \(44.5\) m, Upper Bound = \(45.5\) m. (\(44.5 \le L < 45.5\)).
SECTION 2: EXPONENTS & LOGARITHMS (AHL)
Rational & Negative Exponents (AHL 1.10) HL students must simplify expressions involving rational (fractional) and negative exponents. The fundamental rules connecting radicals and reciprocals to exponents are: \[x^{\frac{m}{n}} = \sqrt[n]{x^m} = (\sqrt[n]{x})^m \quad \text{and} \quad x^{-n} = \frac{1}{x^n}\]
Worked Examples: Advanced Exponents
Example 1: Numerical Evaluation
Evaluate \(27^{\frac{2}{3}}\) without a calculator.
\(27^{\frac{2}{3}} = (\sqrt[1]{27})^2 = (3)^2 = 9\).
Example 2: Solving Exponential Equations
Solve the equation \(x^{-\frac{1}{2}} = \frac{1}{5}\) for \(x\).
Using the negative exponent rule: \(\frac{1}{x^{1/2}} = \frac{1}{5} \implies \frac{1}{\sqrt{x}} = \frac{1}{5}\).
Therefore, \(\sqrt{x} = 5\). Squaring both sides gives \(x = 25\).
The Laws of Logarithms (AHL 1.9) Logarithms are the inverse operations to exponents. In IB AI HL, the base \(a\) will almost exclusively be \(10\) (\(\log x\)) or \(e\) (Natural Logarithm, \(\ln x\)). For any strictly positive values \(x > 0\) and \(y > 0\):
Product Law: \(\log_a (xy) = \log_a x + \log_a y\)
Quotient Law: \(\log_a \left(\frac{x}{y}\right) = \log_a x - \log_a y\)
Power Law: \(\log_a (x^m) = m \log_a x\)
Worked Examples: Logarithm Laws
Example 1: Expanding and Condensing
Express \(\ln\left(\frac{\sqrt{x}}{y^3}\right)\) in terms of \(\ln x\) and \(\ln y\).
Using the Quotient Law: \(\ln(\sqrt{x}) - \ln(y^3)\).
Using rational exponents and the Power Law: \(\frac{1}{2}\ln x - 3\ln y\).
Example 2: Solving Exponential Equations with Logarithms
Solve the equation \(5 \times 3^x = 40\) exactly.
Isolate the base: \(3^x = 8\).
Apply the natural logarithm to both sides: \(\ln(3^x) = \ln(8)\).
Use the Power Law: \(x \ln(3) = \ln(8) \implies x = \frac{\ln(8)}{\ln(3)}\).
SECTION 3: SEQUENCES & SERIES (SL & AHL)
Arithmetic & Geometric Sequences (SL 1.2, 1.3)
1. Arithmetic Sequences: The terms change by a constant difference, \(d\).
\(n\)-th term: \(u_n = u_1 + (n-1)d\)
Sum to \(n\) terms (\(S_n\)): \(S_n = \frac{n}{2}(2u_1 + (n-1)d)\) or \(\frac{n}{2}(u_1 + u_n)\).
2. Geometric Sequences: The terms change by a constant ratio, \(r\).
\(n\)-th term: \(u_n = u_1 r^{n-1}\)
Sum to \(n\) terms (\(S_n\)): \(S_n = \frac{u_1(r^n - 1)}{r - 1} = \frac{u_1(1 - r^n)}{1 - r}\).
Worked Examples: Finite Sequences
Example 1: Arithmetic Sum
An arithmetic sequence has \(u_1 = 4\) and a common difference \(d = 5\). Find the sum of the first \(15\) terms.
Using the sum formula: \(S_{15} = \frac{15}{2}(2(4) + (15-1)(5))\).
\(S_{15} = 7.5(8 + 14(5)) = 7.5(8 + 70) = 7.5(78) = 585\).
Example 2: Geometric Term
A geometric sequence has \(u_1 = 3\) and \(u_2 = 12\). Find the 5th term (\(u_5\)).
Find \(r\): \(r = \frac{12}{3} = 4\).
Find \(u_5\): \(u_5 = 3(4)^{5-1} = 3(4)^4 = 3(256) = 768\).
Infinite Geometric Series (AHL 1.11) If a geometric sequence has a common ratio \(r\) that falls strictly between \(-1\) and \(1\) (\(|r| < 1\)), the terms decay towards zero. We can find the exact sum of an infinite number of terms (a convergent series). \[S_\infty = \frac{u_1}{1 - r} \quad \text{for} \quad |r| < 1\]
Worked Examples: Infinite Series
Example 1: Finding the Sum to Infinity
An infinite geometric series is given by \(18 + 6 + 2 + \frac{2}{3} + \dots\) Find its exact sum.
Find the common ratio (\(r\)): \(r = \frac{6}{18} = \frac{1}{3}\).
Check convergence: Since \(|1/3| < 1\), the series converges.
Calculate \(S_\infty\): \(S_\infty = \frac{18}{1 - 1/3} = \frac{18}{2/3} = 18 \times \frac{3}{2} = 27\).
Example 2: Evaluating Sigma Notation to Infinity
Evaluate exactly: \(\sum_{k=1}^{\infty} 5(0.2)^{k-1}\)
This is an infinite geometric series. The first term (\(k=1\)) is \(u_1 = 5(0.2)^0 = 5\).
The common ratio is the base of the exponent: \(r = 0.2\).
Since \(|0.2| < 1\), \(S_\infty = \frac{5}{1 - 0.2} = \frac{5}{0.8} = 6.25\).
IB MATHEMATICS AI HL
UNIT 1: NUMBER & ALGEBRA
Comprehensive Notes (Part 2 of 2)
ibblueComplete Syllabus Coverage
SL 1.4 & 1.7: Financial Math (Compound Interest, Depreciation, Amortization).
SL 1.8: Systems of Linear Equations using technology.
AHL 1.12 & 1.13: Complex Numbers (Cartesian, Polar, and Euler forms).
AHL 1.14 & 1.15: Matrices, Eigenvalues, Eigenvectors, and Diagonalization.
ibmathrevision.com
SECTION 4: FINANCE & LINEAR SYSTEMS (SL)
CG50 Tip: The TVM Solver
Do not use the standard compound interest formula by hand! Go to MENU \(\rightarrow\) Financial \(\rightarrow\) Compound Interest (F2).
N = total periods, I% = interest rate, PV = present value (negative if depositing), PMT = regular payments, FV = future value, P/Y & C/Y = periods/compounds per year.
Compound Interest & Amortization (SL 1.4, 1.7)
Compound Interest: Interest is earned on both the initial principal and the accumulated interest. Formula: \(FV = PV \times \left(1 + \frac{r}{100k}\right)^{kn}\).
Amortization (Annuities): When dealing with loans or retirement funds, regular payments (PMT) are made alongside the accumulating compound interest. This must be solved using the GDC’s TVM solver.
Worked Examples: Financial Mathematics
Example 1: Basic Compound Interest
$5000 is invested at \(4\%\) p.a., compounded quarterly. Find the value after 5 years.
Using the formula: \(FV = 5000 \times \left(1 + \frac{4}{100 \times 4}\right)^{4 \times 5} = 5000(1.01)^{20} \approx \$6100.95\).
Using GDC: N=20, I%=4, PV=-5000, PMT=0, P/Y=4, C/Y=4 \(\rightarrow\) Solve FV.
Example 2: Loan Repayment (Amortization)
A $20,000 car loan is charged \(6\%\) p.a. compounded monthly. The buyer wants to pay it off in 3 years with monthly payments. Calculate the monthly payment.
Using GDC: N=36 (months), I%=6, PV=20000 (loan received), FV=0 (paid off), P/Y=12, C/Y=12. Solve for PMT.
PMT \(\approx -608.44\). The monthly payment is $608.44.
Systems of Linear Equations (SL 1.8) HL students must solve systems of up to \(3\) linear equations with \(3\) unknowns (\(x, y, z\)). You should always use your GDC to solve these via matrices or the simultaneous equation solver.
Worked Examples: Linear Systems
Example 1: Solving a 3x3 System
Solve the system:
\(x + 2y - z = 5\)
\(3x - y + 2z = 8\)
\(2x + y + z = 7\)
Using GDC: MENU \(\rightarrow\) Equation \(\rightarrow\) Simultaneous (F1) \(\rightarrow\) Unknowns: 3 (F2).
Enter the matrix coefficients: \([1, 2, -1, 5]\), \([3, -1, 2, 8]\), \([2-4]\).
Solve: \(x = 1, y = 3, z = 2\).
SECTION 5: ADVANCED COMPLEX NUMBERS (AHL)
Cartesian, Polar, and Euler Forms (AHL 1.12, 1.13)
A complex number extends the number line into 2D space using \(i = \sqrt{-1}\).
1. Cartesian Form: \(z = a + bi\) (Real part \(a\), Imaginary part \(b\)).
2. Polar Form: \(z = r(\cos\theta + i\sin\theta) = r\operatorname{cis}\theta\) (Modulus \(r = \sqrt{a^2 + b^2}\), Argument \(\tan\theta = \frac{b}{a}\)).
3. Euler (Exponential) Form: \(z = re^{i\theta}\).
Worked Examples: Complex Forms and Conversions
Example 1: Cartesian to Polar/Euler Conversion
Convert \(z = 1 + i\) into Euler form.
Find \(r\): \(r = \sqrt{1^2 + 1^2} = \sqrt{2}\).
Find \(\theta\): \(\tan\theta = \frac{1}{1} = 1 \implies \theta = \frac{\pi}{4}\).
Write in Euler form: \(z = \sqrt{2}e^{i\frac{\pi}{4}}\).
Example 2: Polar to Cartesian Conversion
Convert \(w = 4\operatorname{cis}\left(\frac{5\pi}{6}\right)\) into Cartesian form \(a+bi\).
Expand using sine and cosine: \(w = 4\left( \cos\frac{5\pi}{6} + i\sin\frac{5\pi}{6} \right)\).
Substitute exact trig values: \(w = 4\left( -\frac{\sqrt{3}}{2} + i\frac{1}{2} \right) = -2\sqrt{3} + 2i\).
Multiplying & Dividing in Euler Form (AHL 1.13) To multiply complex numbers in Euler form, multiply their moduli (\(r\)) and add their arguments (\(\theta\)). To divide, divide their moduli and subtract their arguments. \[z_1 \times z_2 = (r_1 r_2) e^{i(\theta_1 + \theta_2)} \quad \text{and} \quad \frac{z_1}{z_2} = \left(\frac{r_1}{r_2}\right) e^{i(\theta_1 - \theta_2)}\]
Worked Examples: Exponential Arithmetic
Example 1: Multiplying and Dividing
Given \(z_1 = 4e^{i\frac{\pi}{2}}\) and \(z_2 = 2e^{i\frac{\pi}{6}}\), find \(z_1 z_2\) and \(\frac{z_1}{z_2}\).
Product: \(z_1 z_2 = (4 \times 2) e^{i(\frac{\pi}{2} + \frac{\pi}{6})} = 8e^{i\frac{4\pi}{6}} = 8e^{i\frac{2\pi}{3}}\).
Quotient: \(\frac{z_1}{z_2} = \left(\frac{4}{2}\right) e^{i(\frac{\pi}{2} - \frac{\pi}{6})} = 2e^{i\frac{2\pi}{6}} = 2e^{i\frac{\pi}{3}}\).
SECTION 6: MATRICES & MATRIX ALGEBRA (AHL)
Matrix Definition, Addition & Multiplication (AHL 1.14) A matrix is an array of numbers. Its size is described by its order: \(m \times n\) (Rows \(\times\) Columns). Addition is performed element-by-element. To multiply two matrices \(A\) and \(B\), you multiply the Rows of the first matrix by the Columns of the second matrix.
Worked Examples: Matrix Algebra
Example 1: Addition and Scalar Multiplication
Let \(A = \begin{pmatrix} 4 & 1 \\ 2 & 0 \end{pmatrix}\) and \(B = \begin{pmatrix} 1 & -2 \\ 3 & 5 \end{pmatrix}\). Find \(2A - B\).
Scalar multiply \(A\): \(2A = \begin{pmatrix} 8 & 2 \\ 4 & 0 \end{pmatrix}\).
Subtract \(B\) element-by-element: \(\begin{pmatrix} 8-1 & 2-(-2) \\ 4-3 & 0-5 \end{pmatrix} = \begin{pmatrix} 7 & 4 \\ 1 & -5 \end{pmatrix}\).
Example 2: Matrix Multiplication
Let \(A = \begin{pmatrix} 2 & 3 \\ 1 & 4 \end{pmatrix}\) and \(B = \begin{pmatrix} 5 \\ -1 \end{pmatrix}\). Find \(AB\).
Top Row \(\times\) Column: \((2 \times 5) + (3 \times -1) = 10 - 3 = 7\).
Bottom Row \(\times\) Column: \((1 \times 5) + (4 \times -1) = 5 - 4 = 1\).
Resulting Matrix: \(AB = \begin{pmatrix} 7 \\ 1 \end{pmatrix}\).
Finding Eigenvalues, Eigenvectors & Diagonalization (AHL 1.15)
Eigenvalues (\(\lambda\)): Satisfy the characteristic equation \(\det(A - \lambda I) = 0\).
Eigenvectors (\(\vec{v}\)): Satisfy the system \((A - \lambda I)\vec{v} = \vec{0}\).
Diagonalization: A \(2 \times 2\) matrix \(A\) can be written as \(A = PDP^{-1}\), where \(P\) contains the eigenvectors and \(D\) contains the eigenvalues diagonally.
Worked Examples: Eigenvalues & Diagonalization
Example 1: Finding Eigenvalues
Find the exact eigenvalues of \(A = \begin{pmatrix} 4 & 2 \\ 1 & 3 \end{pmatrix}\).
Set up characteristic equation: \(\begin{vmatrix} 4-\lambda & 2 \\ 1 & 3-\lambda \end{vmatrix} = 0\).
Calculate determinant: \((4-\lambda)(3-\lambda) - (2 \times 1) = 0\).
Expand and Factorize: \(\lambda^2 - 7\lambda + 10 = 0 \implies (\lambda - 5)(\lambda - 2) = 0\).
The exact eigenvalues are \(\lambda_1 = 5\) and \(\lambda_2 = 2\).
Example 2: Finding Eigenvectors and Diagonalizing
Find the eigenvector for \(\lambda_1 = 5\) and construct \(P\) and \(D\). (Assume \(\lambda_2=2\) gives \(\vec{v}_2 = \begin{pmatrix} -1 \\ 1 \end{pmatrix}\)).
Substitute \(\lambda = 5\): \(\begin{pmatrix} 4-5 & 2 \\ 1 & 3-5 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} \implies \begin{pmatrix} -1 & 2 \\ 1 & -2 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}\).
Create equation from top row: \(-1x + 2y = 0 \implies x = 2y\). Let \(y = 1 \implies x = 2\).
Eigenvector \(\vec{v}_1 = \begin{pmatrix} 2 \\ 1 \end{pmatrix}\).
Construct \(P\) and \(D\): \(P = \begin{pmatrix} 2 & -1 \\ 1 & 1 \end{pmatrix}\), \(D = \begin{pmatrix} 5 & 0 \\ 0 & 2 \end{pmatrix}\).
Diagonalized Form: \(A = \begin{pmatrix} 2 & -1 \\ 1 & 1 \end{pmatrix} \begin{pmatrix} 5 & 0 \\ 0 & 2 \end{pmatrix} P^{-1}\).
2
Unit 2 · Functions
HL AI revision notes
›
Unit 2 · Functions
HL AI revision notes
IB MATHEMATICS AI HL
UNIT 2: FUNCTIONS
Comprehensive Notes (Part 1 of 2)
ibblueComplete Syllabus Coverage
SL 2.1: Linear Functions, Gradients, and Equations of Lines.
SL 2.2: Concept of a function, Domain, Range, and Notation.
AHL 2.7: Composite Functions and Inverse Functions (with domain restriction).
SL 2.3 & 2.4: Key features of graphs (Intercepts, Asymptotes, and Extrema).
ibmathrevision.com
SECTION 1: LINEAR FUNCTIONS (SL 2.1)
Equations of Straight Lines & Gradients (SL 2.1)
Linear models have a constant rate of change called the gradient (\(m\)).
\[m = \frac{y_2 - y_1}{x_2 - x_1}\]
1. Gradient-Intercept Form: \(y = mx + c\) (where \(c\) is the \(y\)-intercept).
2. Point-Gradient Form: \(y - y_1 = m(x - x_1)\) (used when a point and gradient are known).
3. General Form: \(ax + by + d = 0\) (where \(a, b, d\) are integers).
Parallel Lines: Have the exact same gradient (\(m_1 = m_2\)).
Perpendicular Lines: Have negative reciprocal gradients (\(m_1 \times m_2 = -1\)).
Worked Examples: Linear Equations
Example 1: Finding an Equation from Two Points
A straight line passes through \(A(2, 5)\) and \(B(6, 17)\). Find its equation in the form \(y = mx + c\).
Find the gradient \(m\): \(m = \frac{17 - 5}{6 - 2} = \frac{12}{4} = 3\).
Use point-gradient form with point \(A\): \(y - 5 = 3(x - 2)\).
Expand and solve for \(y\): \(y - 5 = 3x - 6 \implies y = 3x - 1\).
Example 2: Perpendicular Lines
Line \(L_1\) has equation \(y = -\frac{1}{4}x + 2\). Line \(L_2\) is perpendicular to \(L_1\) and passes through \((1, 3)\). Find the equation of \(L_2\) in general form \(ax + by + d = 0\).
The gradient of \(L_1\) is \(-\frac{1}{4}\). The perpendicular gradient is the negative reciprocal: \(m_2 = 4\).
Use point \((1, 3)\): \(y - 3 = 4(x - 1) \implies y - 3 = 4x - 4 \implies y = 4x - 1\).
Rearrange to general form (integers): \(4x - y - 1 = 0\).
SECTION 2: DOMAIN AND RANGE (SL 2.2)
Function Basics, Domain & Range (SL 2.2)
A function maps each input (\(x\)) to exactly one output (\(y\)).
Domain: The set of all possible valid input (\(x\)) values.
Range: The set of all possible output (\(y\)) values.
To algebraically determine a domain restriction, check the DEN rule:
1. Denominators cannot equal zero.
2. Even roots (like square roots) must have non-negative arguments (\(\ge 0\)).
3. Natural Logarithms (\(\ln x\)) must have strictly positive arguments (\(> 0\)).
Worked Examples: Domain and Range Restrictions
Example 1: Denominator Restriction
Find the maximal domain of \(f(x) = \frac{3}{2x - 8}\).
The denominator cannot be zero: \(2x - 8 \neq 0 \implies 2x \neq 8 \implies x \neq 4\).
Domain: \(x \in \mathbb{R}, x \neq 4\).
Example 2: Square Root Restriction
Find the domain of \(g(x) = \sqrt{10 - 2x}\).
The inside of the root must be \(\ge 0\): \(10 - 2x \ge 0 \implies 10 \ge 2x \implies 5 \ge x\).
Domain: \(x \le 5\).
Example 3: Finding Range Algebraically
Find the range of the quadratic function \(h(x) = x^2 - 4x + 7\).
Find the \(x\)-coordinate of the vertex: \(x = -\frac{b}{2a} = -\frac{-4}{2(1)} = 2\).
Find the \(y\)-coordinate: \(h(2) = (2)^2 - 4(2) + 7 = 4 - 8 + 7 = 3\).
Since \(a > 0\), the parabola opens upwards, making the vertex a minimum.
Range: \(y \ge 3\).
SECTION 3: COMPOSITE & INVERSE FUNCTIONS (AHL 2.7)
Composite Functions (AHL 2.7) A composite function applies one function to the result of another: \((f \circ g)(x) = f(g(x))\). You work from the inside out (right to left).
Worked Examples: Composite Functions
Example 1: Algebraic Composition
Let \(f(x) = 2x - 3\) and \(g(x) = x^2 + 1\). Find an expression for \((f \circ g)(x)\).
\((f \circ g)(x) = f(g(x)) = f(x^2 + 1)\).
Substitute \((x^2+1)\) into \(f(x)\): \(2(x^2 + 1) - 3 = 2x^2 + 2 - 3 = 2x^2 - 1\).
Example 2: Evaluating Composites
Using the same functions, evaluate \((g \circ f)(4)\).
First find \(f(4)\): \(f(4) = 2(4) - 3 = 8 - 3 = 5\).
Substitute the result into \(g(x)\): \(g(5) = 5^2 + 1 = 25 + 1 = 26\).
Inverse Functions & Domain Restriction (AHL 2.7)
An inverse function \(f^{-1}(x)\) reverses the operation of \(f(x)\). The graph of \(f^{-1}(x)\) is a perfect reflection of \(f(x)\) across the diagonal line \(y = x\).
Crucially, a function only has an inverse if it is one-to-one (passes the horizontal line test). If it is many-to-one (like a quadratic), its domain must be restricted before an inverse can be found.
Worked Examples: Inverse Functions
Example 1: Finding an Inverse Function Algebraically
Let \(f(x) = \frac{3x + 1}{x - 2}\). Find \(f^{-1}(x)\).
Step 1: Set \(y = f(x) \implies y = \frac{3x + 1}{x - 2}\).
Step 2: Swap \(x\) and \(y\): \(x = \frac{3y + 1}{y - 2}\).
Step 3: Multiply out the denominator: \(x(y - 2) = 3y + 1 \implies xy - 2x = 3y + 1\).
Step 4: Collect all \(y\) terms on one side: \(xy - 3y = 2x + 1\).
Step 5: Factor out \(y\): \(y(x - 3) = 2x + 1\).
Step 6: Divide to isolate \(y\): \(y = \frac{2x + 1}{x - 3}\).
Answer: \(f^{-1}(x) = \frac{2x + 1}{x - 3}\).
Example 2: Restricting the Domain
Explain why \(h(x) = x^2 - 6x\) does not have an inverse on \(x \in \mathbb{R}\), and state a restricted domain that would allow an inverse to exist.
\(h(x)\) is a parabola, which fails the horizontal line test (it is a many-to-one function).
To make it one-to-one, we restrict it to one half of the parabola by finding the vertex:
Vertex \(x = -b/2a = -(-6)/2 = 3\).
A valid restricted domain is \(x \ge 3\) (or \(x \le 3\)).
CG50 Tip: Verifying Inverses
Because \(f(f^{-1}(x)) = x\), you can check your inverse function on a GDC! Enter the original function into Y1 and your calculated inverse into Y2. In Y3, enter Y1(Y2(x)). If you graphed it correctly, Y3 will be a perfectly straight diagonal line (\(y=x\))!
IB MATHEMATICS AI HL
UNIT 2: FUNCTIONS
Comprehensive Notes (Part 2 of 2)
ibblueComplete Syllabus Coverage
AHL 2.8: Transformations of Graphs (Translations, Stretches, and Reflections).
SL 2.5 & 2.6: Polynomial and Exponential Modelling Skills.
AHL 2.9: Logistic Models and Piecewise Functions.
AHL 2.10: Scaling Laws and Logarithmic Linearisation.
ibmathrevision.com
SECTION 4: TRANSFORMATIONS OF GRAPHS (AHL 2.8)
Translations, Stretches & Reflections (AHL 2.8)
HL students must be able to perform graphical transformations on any generic function \(y = f(x)\).
1. Translations: \(y = f(x - a) + b\) shifts the graph right by \(a\) units, and up by \(b\) units.
2. Stretches: \(y = p f(x)\) stretches vertically by a scale factor of \(p\). \(y = f(qx)\) stretches horizontally by a scale factor of \(\frac{1}{q}\).
3. Reflections: \(y = -f(x)\) reflects across the \(x\)-axis. \(y = f(-x)\) reflects across the \(y\)-axis.
Worked Examples: Graph Transformations
Example 1: Identifying Transformations
Describe the full sequence of geometric transformations that maps \(f(x) = x^2\) onto the graph \(g(x) = -3(x - 4)^2 + 5\).
1. Translation: \(4\) units RIGHT and \(5\) units UP.
2. Stretch: A vertical stretch by a scale factor of \(3\).
3. Reflection: A reflection in the \(x\)-axis (due to the negative sign in front of the \(3\)).
Example 2: Composite Coordinate Shifts
The point \((2, 6)\) lies on the curve \(y = f(x)\). Find the coordinates of the corresponding point on the curve \(y = f(2x) - 1\).
The \(f(2x)\) implies a horizontal stretch by scale factor \(\frac{1}{2}\). The \(x\)-coordinate halves: \(2 \times \frac{1}{2} = 1\).
The \(-1\) implies a vertical translation DOWN \(1\). The \(y\)-coordinate drops: \(6 - 1 = 5\).
New coordinate: \((1, 5)\).
SECTION 5: ADVANCED MODELLING (AHL 2.9)
Logistic Models (AHL 2.9) Populations rarely grow exponentially forever. They are often restricted by a "carrying capacity". The IB AI syllabus models this using the Logistic Function: \[f(x) = \frac{L}{1 + C e^{-kx}}\]
\(L\) is the carrying capacity (the absolute maximum horizontal asymptote).
\(C\) and \(k\) are constants that dictate the curve’s starting point and growth rate.
Worked Examples: Logistic Modelling
Example 1: Interpreting the Logistic Formula
The population of fish in a lake \(t\) years after introduction is modelled by \(P(t) = \frac{5000}{1 + 24e^{-0.3t}}\).
(a) Find the initial population.
Substitute \(t = 0\): \(P(0) = \frac{5000}{1 + 24e^0} = \frac{5000}{1 + 24(1)} = \frac{5000}{25} = 200\) fish.
(b) State the carrying capacity.
The numerator dictates the maximum limit. As \(t \to \infty\), the term \(e^{-0.3t} \to 0\), leaving \(\frac{5000}{1+0}\).
The carrying capacity is exactly \(5000\) fish.
Piecewise Functions (AHL 2.9) A piecewise function uses different algebraic rules for different parts of its domain. This is highly applicable for models like mobile phone tariffs or tiered income taxes.
Worked Examples: Piecewise Functions
Example 1: Evaluating Piecewise Boundaries
A taxi fare \(C(x)\) for travelling \(x\) kilometres is given by:
\(C(x) =
\begin{cases}
5 & \text{for } 0 \le x \le 2 \\
5 + 1.5(x - 2) & \text{for } x > 2
\end{cases}\)
Calculate the cost of a \(10\) km journey.
Because \(10 > 2\), we must use the second equation in the piecewise definition:
\(C(10) = 5 + 1.5(10 - 2) = 5 + 1.5(8) = 5 + 12 = \$17\).
SECTION 6: LOGARITHMIC LINEARISATION (AHL 2.10)
Scaling Laws & Linearisation (AHL 2.10)
In data science, curved relationships (like exponential or power models) are difficult to analyse. By taking the logarithm of both sides, HL students must convert these curves into straight lines!
1. Power Models (\(y = a x^n\)):
\(\log y = \log(ax^n) \implies \log y = \log a + n\log x\).
If you plot \(\log y\) against \(\log x\), the gradient is \(n\) and the y-intercept is \(\log a\).
2. Exponential Models (\(y = a \times b^x\)):
\(\ln y = \ln(a \times b^x) \implies \ln y = \ln a + x\ln b\).
If you plot \(\ln y\) against \(x\), the gradient is \(\ln b\) and the y-intercept is \(\ln a\).
Worked Examples: Linearising Data
Example 1: Extracting Exponential Parameters from a Linear Graph
The mass of bacteria \(M\) after \(t\) hours is modelled by \(M = a \times b^t\).
A scientist plots a graph of \(\ln M\) against \(t\). The graph forms a perfect straight line with a \(y\)-intercept of \(4\) and a gradient of \(1.5\). Find the exact values of the constants \(a\) and \(b\).
Step 1: Write out the linearised formula.
\(\ln M = \ln a + t\ln b\).
Step 2: Match the graph features to the formula.
The \(y\)-intercept is \(\ln a\). Therefore: \(\ln a = 4 \implies a = e^4\).
The gradient is \(\ln b\). Therefore: \(\ln b = 1.5 \implies b = e^{1.5}\).
Step 3: State the final model.
\(M = e^4 \times (e^{1.5})^t = e^4 \times e^{1.5t}\).
Example 2: Formulating a Power Model
Variables \(P\) and \(Q\) obey a power law \(P = k Q^n\). When \(\log_{10} P\) is plotted on the vertical axis against \(\log_{10} Q\) on the horizontal axis, the line passes through \((2, 7)\) and \((5, 13)\). Find \(n\).
Step 1: Linearise.
\(\log P = \log k + n \log Q\).
Here, the gradient of the line is exactly \(n\).
Step 2: Calculate the gradient.
\(n = m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{13 - 7}{5 - 2} = \frac{6}{3} = 2\).
The power \(n\) is exactly \(2\).
3
Unit 3 · Geometry & Trig
HL AI revision notes
›
Unit 3 · Geometry & Trig
HL AI revision notes
IB MATHEMATICS AI HL
UNIT 3: GEOMETRY & TRIGONOMETRY
Comprehensive Notes (Part 1 of 2)
ibblueComplete Syllabus Coverage
SL 3.1 & 3.2: 3D Coordinate Geometry, Midpoints, Distance, and Right-Angled Trigonometry (SOH CAH TOA).
SL 3.3 & 3.4: Non-Right Trigonometry (Sine/Cosine Rules) and Circles (Degrees).
AHL 3.7: Radian Measure, Arc Length, and Sector Area in Radians.
AHL 3.8 & 3.9: The Unit Circle, Pythagorean Identity, and Trigonometric Functions.
ibmathrevision.com
SECTION 1: 3D GEOMETRY & SOH CAH TOA (SL 3.1, 3.2)
3D Coordinate Geometry (SL 3.1)
In three-dimensional space, coordinates are given as \((x, y, z)\).
1. Distance between two points \(A(x_1, y_1, z_1)\) and \(B(x_2, y_2, z_2)\):
\[d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}\]
2. Midpoint of a 3D line segment:
\[M = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)\]
Worked Examples: 3D Coordinates
Example 1: Finding 3D Distance and Midpoint
Given points \(A(1, 2, 3)\) and \(B(4, -2, 15)\), find the exact distance \(AB\) and the midpoint \(M\).
Distance: \(AB = \sqrt{(4 - 1)^2 + (-2 - 2)^2 + (15 - 3)^2} = \sqrt{3^2 + (-4)^2 + 12^2}\).
\(AB = \sqrt{9 + 16 + 144} = \sqrt{169} = 13\) units.
Midpoint: \(M = \left( \frac{1 + 4}{2}, \frac{2 - 2}{2}, \frac{3 + 15}{2} \right) = (2.5, 0, 9)\).
Right-Angled Trigonometry (SL 3.2)
For right-angled triangles, use SOH CAH TOA:
\(\sin \theta = \frac{\text{Opposite}}{\text{Hypotenuse}}, \quad \cos \theta = \frac{\text{Adjacent}}{\text{Hypotenuse}}, \quad \tan \theta = \frac{\text{Opposite}}{\text{Adjacent}}\)
*Note: Angles of elevation are measured upwards from the horizontal, and angles of depression are measured downwards from the horizontal. They are alternate interior angles and are equal.*
Worked Examples: SOH CAH TOA
Example 1: Angle of Elevation
A person stands \(50\) m from the base of a building. The angle of elevation to the top of the building is \(31^\circ\). Calculate the height of the building.
We have the Adjacent (\(50\)) and want the Opposite (\(h\)). Use Tangent:
\(\tan(31^\circ) = \frac{h}{50} \implies h = 50 \tan(31^\circ) \approx 30.0\) m.
SECTION 2: NON-RIGHT TRIG & RADIANS (SL 3.3, AHL 3.7)
The Sine Rule, Cosine Rule & Triangle Area (SL 3.3)
Used for any triangle where the sides are \(a, b, c\) and corresponding opposite angles are \(A, B, C\).
1. Cosine Rule: \(c^2 = a^2 + b^2 - 2ab \cos C\) (Use when given 3 sides, or 2 sides + included angle).
2. Sine Rule: \(\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}\) (Use when you have a known "matching pair" of a side and its opposite angle).
3. Area of a Triangle: \(Area = \frac{1}{2}ab \sin C\).
Worked Examples: Advanced Triangle Rules
Example 1: Finding an Angle with the Cosine Rule
A triangle has sides \(a=5\), \(b=7\), and \(c=8\). Find the largest angle.
The largest angle (\(C\)) is opposite the largest side (\(c=8\)).
Rearranged Cosine Rule: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab} = \frac{5^2 + 7^2 - 8^2}{2(5)(7)} = \frac{25 + 49 - 64}{70} = \frac{10}{70} = \frac{1}{7}\).
\(C = \cos^{-1}\left(\frac{1}{7}\right) \approx 81.8^\circ\).
Example 2: Finding Area
Using the triangle above, calculate its exact area using \(\sin C\).
Since \(\cos C = \frac{1}{7}\), we use \(\sin^2 C + \cos^2 C = 1 \implies \sin C = \sqrt{1 - (1/7)^2} = \sqrt{\frac{48}{49}} = \frac{4\sqrt{3}}{7}\).
Area \(= \frac{1}{2}ab \sin C = \frac{1}{2}(5)(7)\left(\frac{4\sqrt{3}}{7}\right) = 10\sqrt{3}\).
Radian Measure, Arcs & Sectors (AHL 3.7)
HL students must work seamlessly in radians. \(\pi \text{ radians} = 180^\circ\).
When the angle \(\theta\) is in radians, the formulas simplify significantly compared to degrees:
Arc Length: \(l = r\theta\)
Sector Area: \(A = \frac{1}{2}r^2\theta\)
Worked Examples: Radians
Example 1: Conversions and Sector Area
A circle has a radius of \(12\) cm. A sector is formed by an angle of \(150^\circ\).
(a) Convert the angle to radians exactly.
\(150^\circ \times \frac{\pi}{180^\circ} = \frac{150\pi}{180} = \frac{5\pi}{6}\) radians.
(b) Calculate the exact area of the sector.
\(A = \frac{1}{2}r^2\theta = \frac{1}{2}(12^2)\left(\frac{5\pi}{6}\right) = \frac{1}{2}(144)\left(\frac{5\pi}{6}\right) = 72 \left(\frac{5\pi}{6}\right) = 60\pi \text{ cm}^2\).
SECTION 3: UNIT CIRCLE & TRIG FUNCTIONS (AHL 3.8, 3.9)
CG50 Tip: Radian vs Degree Mode
A massive source of lost marks in HL is having your calculator in the wrong angle setting. Always press SHIFT \(\rightarrow\) SETUP and check Angle. Use Deg for SL triangle geometry, but switch to Rad for Trig Functions, Vectors, and Calculus!
The Unit Circle & Identities (AHL 3.8)
The unit circle has a radius of \(1\). For any point \((x, y)\) on the circle at an angle \(\theta\):
\(x = \cos \theta\) and \(y = \sin \theta\). \(\tan \theta = \frac{\sin \theta}{\cos \theta}\).
By Pythagoras’ Theorem on the unit circle, we get the fundamental identity:
\[\cos^2 \theta + \sin^2 \theta = 1\]
Worked Examples: The Unit Circle
Example 1: Using the Pythagorean Identity
Given that \(\sin \theta = \frac{3}{5}\) and \(\frac{\pi}{2} < \theta < \pi\) (obtuse angle), find the exact value of \(\cos \theta\).
Use \(\cos^2 \theta + \sin^2 \theta = 1 \implies \cos^2 \theta + \left(\frac{3}{5}\right)^2 = 1 \implies \cos^2 \theta = 1 - \frac{9}{25} = \frac{16}{25}\).
\(\cos \theta = \pm \sqrt{\frac{16}{25}} = \pm \frac{4}{5}\).
Because \(\theta\) is in the second quadrant (\(\frac{\pi}{2} < \theta < \pi\)), cosine is negative. \(\cos \theta = -\frac{4}{5}\).
Trigonometric Functions & Modelling (AHL 3.9)
Periodic data (like tides, daylight hours, pendulums) is modelled by \(f(t) = a \sin(b(t - c)) + d\).
Principal Axis: \(d = \frac{\text{Max} + \text{Min}}{2}\)
Amplitude: \(a = \frac{\text{Max} - \text{Min}}{2}\)
Period: The time for one full cycle. \(\text{Period} = \frac{2\pi}{b}\) (if in radians) or \(\frac{360^\circ}{b}\) (if in degrees).
Worked Examples: Trig Functions
Example 1: Extracting Graph Parameters
The height of water in a harbour is given by \(h(t) = 4.2 \sin\left(\frac{\pi}{6}t\right) + 6.8\) metres, where \(t\) is hours after midnight.
(a) Find the maximum and minimum heights.
Max \(= d + a = 6.8 + 4.2 = 11.0\) m.
Min \(= d - a = 6.8 - 4.2 = 2.6\) m.
(b) Find the period of the tides.
\(b = \frac{\pi}{6}\). Period \(= \frac{2\pi}{b} = \frac{2\pi}{\pi/6} = 12\) hours.
IB MATHEMATICS AI HL
UNIT 3: GEOMETRY & TRIGONOMETRY
Comprehensive Notes (Part 2 of 2)
ibblueComplete Syllabus Coverage
SL 3.5 & 3.6: Perpendicular Bisectors and Voronoi Diagrams (Site location and Nearest Neighbour).
AHL 3.10: Vectors, Magnitude, Scalar (Dot) Product, and Angles between Vectors.
AHL 3.11: Vector equation of a line (\(r = a + \lambda b\)) in 2D and 3D.
AHL 3.12: Vector Kinematics (Position, Velocity, Constant/Variable Acceleration).
ibmathrevision.com
SECTION 4: VORONOI DIAGRAMS (SL 3.5, 3.6)
Perpendicular Bisectors & Voronoi Diagrams (SL 3.5, 3.6)
A Voronoi diagram divides a plane into regions based on the distance to a specific set of points called "sites". Every point in a region is closest to the site within that region.
The boundary between two adjacent sites \(A\) and \(B\) is perfectly formed by their perpendicular bisector.
Steps to find a perpendicular bisector:
1. Find the midpoint \(M\) of \(A\) and \(B\).
2. Find the gradient \(m\) of the line segment \(AB\).
3. Find the perpendicular gradient \(m_\perp = -\frac{1}{m}\).
4. Substitute \(M\) and \(m_\perp\) into \(y - y_1 = m_\perp(x - x_1)\).
Worked Examples: Voronoi Boundaries
Example 1: Finding the Equation of a Boundary
Sites \(A(2, 5)\) and \(B(6, 1)\) dictate two adjacent Voronoi regions. Find the exact equation of the boundary separating them.
1. Midpoint: \(M = \left(\frac{2+6}{2}, \frac{5+1}{2}\right) = (4, 3)\).
2. Gradient \(AB\): \(m = \frac{1 - 5}{6 - 2} = \frac{-4}{4} = -1\).
3. Perpendicular Gradient: \(m_\perp = \frac{-1}{-1} = 1\).
4. Equation: \(y - 3 = 1(x - 4) \implies y = x - 1\).
SECTION 5: VECTORS & THE DOT PRODUCT (AHL 3.10)
Vectors, Magnitude & Dot Product (AHL 3.10)
A vector has both magnitude and direction. It is written as a column vector \(v = \begin{pmatrix} x \\ y \\ z \end{pmatrix}\).
Magnitude (Length): \(|v| = \sqrt{x^2 + y^2 + z^2}\).
Unit Vector: A vector with a length of exactly \(1\). Found by calculating \(\frac{1}{|v|} v\).
Scalar (Dot) Product: \(v \cdot w = x_1x_2 + y_1y_2 + z_1z_2\).
Angle Between Vectors: Found using the formula \(\cos \theta = \frac{v \cdot w}{|v||w|}\).
*If the dot product is \(0\), the vectors are perfectly perpendicular (\(90^\circ\)).*
Worked Examples: Vector Mathematics
Example 1: Dot Product and Angles
Let \(p = \begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix}\) and \(q = \begin{pmatrix} 4 \\ 5 \\ -1 \end{pmatrix}\). Find the angle between \(p\) and \(q\).
1. Dot Product: \(p \cdot q = (2)(4) + (-1)(5) + (3)(-1) = 8 - 5 - 3 = 0\).
2. Conclusion: Since \(p \cdot q = 0\), \(\cos \theta = 0\). The angle is exactly \(90^\circ\) (perpendicular).
Example 2: Unit Vectors
Find a unit vector in the same direction as \(v = \begin{pmatrix} 3 \\ 0 \\ -4 \end{pmatrix}\).
Magnitude \(|v| = \sqrt{3^2 + 0^2 + (-4)^2} = \sqrt{9 + 16} = 5\).
Unit Vector \(= \frac{1}{5} \begin{pmatrix} 3 \\ 0 \\ -4 \end{pmatrix} = \begin{pmatrix} 0.6 \\ 0 \\ -0.8 \end{pmatrix}\).
SECTION 6: VECTOR LINES & KINEMATICS (AHL 3.11, 3.12)
Vector Equations of Lines (AHL 3.11)
A straight line in 2D or 3D is defined by a starting position vector (\(a\)) and a direction vector (\(b\)).
\[r = a + t b\]
Where \(t\) is a scalar parameter (often representing time).
This can be split into parametric equations: \(x = x_0 + t b_x, \quad y = y_0 + t b_y, \quad z = z_0 + t b_z\).
Worked Examples: Vector Lines
Example 1: Intersecting Lines
Line \(L_1\) has equation \(r_1 = \begin{pmatrix} 2 \\ 5 \end{pmatrix} + t \begin{pmatrix} 1 \\ -2 \end{pmatrix}\). Line \(L_2\) has equation \(r_2 = \begin{pmatrix} -4 \\ 2 \end{pmatrix} + s \begin{pmatrix} 3 \\ 1 \end{pmatrix}\). Find their point of intersection.
Equate the \(x\) and \(y\) components to form simultaneous equations:
\(x\)-eq: \(2 + t = -4 + 3s \implies t - 3s = -6\)
\(y\)-eq: \(5 - 2t = 2 + s \implies -2t - s = -3\)
Solve via GDC or substitution. Let’s substitute \(t = 3s - 6\) into the \(y\)-equation:
\(-2(3s - 6) - s = -3 \implies -6s + 12 - s = -3 \implies -7s = -15 \implies s = \frac{15}{7}\).
Substitute \(s\) into \(r_2\) to find the intersection coordinate:
\(x = -4 + 3(15/7) = 17/7\), and \(y = 2 + (15/7) = 29/7\). Point is \((17/7, 29/7)\).
Vector Kinematics (AHL 3.12)
In kinematics, the vector equation of a line perfectly models an object moving with constant velocity.
\[r(t) = r_0 + v t\]
\(r(t)\) is the position at time \(t\).
\(r_0\) is the initial position (when \(t=0\)).
\(v\) is the velocity vector (direction and rate of movement).
Speed is the magnitude of the velocity vector: \(\text{Speed} = |v|\).
Worked Examples: Kinematics
Example 1: Position, Velocity, and Speed
A ship leaves a port at \(O(0, 0)\) and moves with a constant velocity vector \(v = \begin{pmatrix} 12 \\ -5 \end{pmatrix}\) km/h.
(a) Find the speed of the ship.
Speed \(= |v| = \sqrt{12^2 + (-5)^2} = \sqrt{144 + 25} = \sqrt{169} = 13\) km/h.
(b) Find the position vector of the ship after 3 hours.
\(r(3) = r_0 + 3v = \begin{pmatrix} 0 \\ 0 \end{pmatrix} + 3 \begin{pmatrix} 12 \\ -5 \end{pmatrix} = \begin{pmatrix} 36 \\ -15 \end{pmatrix}\).
Example 2: Closest Distance Between Two Moving Objects
If Object A is at \(r_A(t) = \begin{pmatrix} 0 \\ 10 \end{pmatrix} + t\begin{pmatrix} 4 \\ 0 \end{pmatrix}\) and Object B is at \(r_B(t) = \begin{pmatrix} 20 \\ 0 \end{pmatrix} + t\begin{pmatrix} 0 \\ 5 \end{pmatrix}\), find the distance between them at \(t=2\).
Find position of A at \(t=2\): \(r_A(2) = (8, 10)\).
Find position of B at \(t=2\): \(r_B(2) = (20, 10)\).
Distance \(= \sqrt{(20 - 8)^2 + (10 - 10)^2} = \sqrt{12^2 + 0} = 12\) units.
4
Unit 4 · Stats & Probability
HL AI revision notes
›
Unit 4 · Stats & Probability
HL AI revision notes
IB MATHEMATICS AI HL
UNIT 4: STATISTICS & PROBABILITY
Comprehensive Notes (Part 1 of 2)
ibblueComplete Syllabus Coverage
SL 4.1 & 4.3: Central Tendency, Dispersion, Outliers, and Sampling Methods.
AHL 4.12: Reliability vs Validity in Data Collection.
SL 4.5 & 4.6: Probability, Venn/Tree Diagrams, Conditional & Independent Events.
SL 4.7 & 4.8: Discrete Random Variables and the Binomial Distribution.
AHL 4.14: Linear Transformations of Random Variables (\(E(aX+b)\) & \(Var(aX+b)\)).
ibmathrevision.com
SECTION 1: DATA ANALYSIS & SAMPLING (SL & AHL)
Sampling, Outliers & Data Quality (SL 4.1, AHL 4.12)
1. Sampling Methods: Simple Random, Systematic (every \(k\)-th subject), Convenience, Quota, and Stratified (proportional to subgroup sizes).
2. Outliers: An outlier is formally defined as any data point that is more than \(1.5 \times IQR\) below the Lower Quartile (\(Q_1\)) or above the Upper Quartile (\(Q_3\)).
3. Reliability vs Validity (AHL):
Reliability refers to consistency (would a repeat test yield the same result?).
Validity refers to accuracy (does the test actually measure what it claims to measure?).
Worked Examples: Outliers & Sampling
Example 1: Identifying Outliers
A dataset of test scores has a lower quartile of \(45\) and an upper quartile of \(71\). A student scored \(105\). Is this score a mathematical outlier?
1. Find the IQR: \(IQR = Q_3 - Q_1 = 71 - 45 = 26\).
2. Calculate Upper Boundary: \(Q_3 + 1.5(IQR) = 71 + 1.5(26) = 71 + 39 = 110\).
3. Conclusion: Since \(105 < 110\), the score is strictly within the boundary and is not an outlier.
Example 2: Stratified Sampling
A school has \(400\) juniors and \(600\) seniors. A sample of \(50\) students is needed. How many juniors should be sampled using stratified sampling?
1. Total Population: \(400 + 600 = 1000\).
2. Junior Proportion: \(\frac{400}{1000} \times 50 = 20\) juniors.
SECTION 2: PROBABILITY & EVENTS (SL 4.5, 4.6)
Probability Laws & Conditional Events (SL 4.6)
1. Mutually Exclusive Events: Cannot happen at the same time. \(P(A \cap B) = 0\).
Addition Rule simplifies to: \(P(A \cup B) = P(A) + P(B)\).
2. Independent Events: The outcome of one does not affect the other.
Multiplication Rule: \(P(A \cap B) = P(A) \times P(B)\).
3. Conditional Probability: The probability of \(A\) given that \(B\) has already occurred.
\[P(A|B) = \frac{P(A \cap B)}{P(B)}\]
Worked Examples: Advanced Probability
Example 1: Using Conditional Probability Formulas
Given that \(P(A) = 0.6\), \(P(B) = 0.5\), and \(P(A \cup B) = 0.8\), find \(P(A|B)\).
1. Find \(P(A \cap B)\): Use \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\).
\(0.8 = 0.6 + 0.5 - P(A \cap B) \implies P(A \cap B) = 1.1 - 0.8 = 0.3\).
2. Find Conditional: \(P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{0.3}{0.5} = 0.6\).
*(Note: Because \(P(A|B) = P(A)\), events A and B are mathematically independent!)*
SECTION 3: RANDOM VARIABLES & TRANSFORMATIONS
CG50 Tip: Binomial Distributions
To calculate binomial probabilities, go to MENU 2 (Stat) \(\rightarrow\) DIST (F5) \(\rightarrow\) BINOMIAL (F5). Use Bpd for an exact exact number of successes (\(P(X=x)\)) and Bcd for cumulative inequalities (\(P(X \le x)\)).
Discrete Random Variables & Binomial Distribution (SL 4.7, 4.8)
1. Expected Value (Mean): For a discrete distribution, \(E(X) = \sum x P(X=x)\).
2. Binomial Distribution \(X \sim B(n, p)\): Used when there are a fixed number of independent trials (\(n\)), two outcomes (success/fail), and a constant probability of success (\(p\)).
Mean: \(E(X) = np \quad \quad \textbf{Variance: } Var(X) = np(1-p)\).
Worked Examples: The Binomial Distribution
Example 1: Binomial Probabilities and Expected Value
A biased coin has a \(0.6\) probability of landing on heads. It is flipped \(20\) times.
(a) Find the probability of getting exactly \(14\) heads.
Let \(X \sim B(20, 0.6)\). We need \(P(X = 14)\).
Using GDC (Bpd): \(x=14, \text{Numtrial}=20, p=0.6 \implies P(X=14) \approx 0.124\).
(b) Find the expected number of heads and the variance.
\(E(X) = np = 20 \times 0.6 = 12\).
\(Var(X) = np(1-p) = 20 \times 0.6 \times 0.4 = 4.8\).
Linear Transformations of Random Variables (AHL 4.14)
HL students must be able to algebraically scale and shift random variables. If you multiply a random variable by \(a\) and add \(b\):
Expected Value (Mean): Scales and shifts exactly as you would expect.
\[E(aX + b) = aE(X) + b\]
Variance (Spread): Shifts (\(+b\)) do absolutely nothing to the spread of data. Multiplication scales the variance by the square of the factor.
\[Var(aX + b) = a^2 Var(X)\]
Worked Examples: Linear Transformations
Example 1: Transforming Mean and Variance
A factory produces bags of flour. The weight of a bag, \(X\), has an expected value \(E(X) = 500\) g and a variance \(Var(X) = 16\) g\(^2\). The factory changes the packaging process. The new weight \(Y\) is modelled by the transformation \(Y = 1.2X - 5\).
(a) Find the new expected weight, \(E(Y)\).
\(E(Y) = E(1.2X - 5) = 1.2E(X) - 5\).
\(E(Y) = 1.2(500) - 5 = 600 - 5 = 595\) g.
(b) Find the new variance and standard deviation of \(Y\).
\(Var(Y) = Var(1.2X - 5) = (1.2)^2 Var(X)\). (The \(-5\) is ignored for spread!)
\(Var(Y) = 1.44 \times 16 = 23.04\) g\(^2\).
The standard deviation is \(\sqrt{23.04} = 4.8\) g.
IB MATHEMATICS AI HL
UNIT 4: STATISTICS & PROBABILITY
Comprehensive Notes (Part 2 of 2)
ibblueComplete Syllabus Coverage
SL 4.4 & 4.10: Pearson’s \(r\) and Spearman’s Rank (\(r_s\)).
AHL 4.13: Non-Linear Regression, \(R^2\), and Sum of Square Residuals (\(SS_{res}\)).
SL 4.9 & AHL 4.17: Normal Distribution and the Poisson Distribution.
SL 4.11 & AHL 4.18: \(\chi^2\) Tests, t-Tests, Critical Regions, and \(p\)-values.
AHL 4.16 & 4.19: Confidence Intervals and Markov Chains (Transition Matrices).
ibmathrevision.com
SECTION 4: BIVARIATE DATA & REGRESSION
Correlation & Non-Linear Regression (SL 4.4, 4.10, AHL 4.13)
Pearson’s \(r\) (SL 4.4): Measures the strength of a linear relationship.
Spearman’s Rank \(r_s\) (SL 4.10): Measures monotonic (constantly increasing/decreasing) relationships. Evaluates the correlation of the ranks of the data.
\[r_s = 1 - \frac{6\sum d^2}{n(n^2 - 1)}\]
Sum of Square Residuals, \(SS_{res}\) (AHL 4.13): A residual is the vertical distance between an actual data point and the regression model. \(SS_{res}\) is the sum of the squares of all these errors. The best model will minimize the \(SS_{res}\) (Least Squares Regression).
Coefficient of Determination (\(R^2\)): Gives the proportion of variability accounted for by the chosen model. An \(R^2\) closer to \(1\) implies a highly accurate model.
Worked Examples: Regression Analysis
Example 1: Spearman’s Rank Calculations
Two judges rank 5 competitors (A to E). Judge 1 ranks them: 1, 2, 3, 4, 5. Judge 2 ranks them: 2, 1, 4, 3, 5. Find Spearman’s Rank manually.
1. Calculate differences squared (\(d^2\)):
A: \(1-2 = -1 \implies d^2 = 1\)
B: \(2-1 = 1 \implies d^2 = 1\)
C: \(3-4 = -1 \implies d^2 = 1\)
D: \(4-3 = 1 \implies d^2 = 1\)
E: \(5-5 = 0 \implies d^2 = 0\)
Total \(\sum d^2 = 4\).
2. Formula: \(r_s = 1 - \frac{6(4)}{5(25 - 1)} = 1 - \frac{24}{120} = 1 - 0.2 = 0.8\).
Example 2: Evaluating \(SS_{res}\)
A quadratic model is proposed for a dataset yielding an \(SS_{res}\) of 2.45. An exponential model is tested on the exact same dataset yielding an \(SS_{res}\) of 0.82. Which model is a better fit?
The exponential model is a better fit because its Sum of Square Residuals is much smaller, indicating the predicted curve passes much closer to the true data points.
SECTION 5: NORMAL, POISSON & INTERVALS
Continuous & Discrete Distributions (SL 4.9, AHL 4.17)
Normal Distribution \(X \sim N(\mu, \sigma^2)\): A continuous, symmetrical bell curve defined by mean \(\mu\) and standard deviation \(\sigma\). Find probabilities using the GDC (Norm CD or InvNorm).
Poisson Distribution \(X \sim Po(m)\) (AHL 4.17): Models the number of independent events occurring in a fixed interval of time or space at a uniform average rate (\(m\)).
Poisson Sums: If \(X \sim Po(m_1)\) and \(Y \sim Po(m_2)\) are independent, then their sum \(X+Y\) strictly follows \(Po(m_1 + m_2)\).
Worked Examples: Distributions
Example 1: Normal Probabilities
Bicycle stopping distances are modelled by \(N(6.76, 0.12^2)\) metres. Find the probability a randomly chosen bicycle stops in less than \(6.5\) m.
Using GDC (Norm CD): Lower = \(-1\times 10^{99}\), Upper = \(6.5\), \(\sigma=0.12\), \(\mu=6.76\).
\(P(X < 6.5) \approx 0.0151\).
Example 2: Poisson Distribution Sums
The number of emails received per hour follows \(X \sim Po(4)\). The number of texts follows \(Y \sim Po(6)\). Find the probability of receiving exactly \(12\) messages in total in one hour.
Let \(T = X + Y\). Therefore \(T \sim Po(4 + 6) \implies T \sim Po(10)\).
We need \(P(T = 12)\). Using GDC (Poisson PD): \(\lambda = 10\), \(x=12\).
\(P(T = 12) \approx 0.0948\).
Confidence Intervals for the Mean (AHL 4.16)
Used to estimate a population mean \(\mu\) from a sample mean \(\bar{x}\).
Always use your GDC: STAT \(\rightarrow\) INTR \(\rightarrow\) Z or t.
Use the Z-interval when the true population standard deviation \(\sigma\) is known.
Use the t-interval when \(\sigma\) is unknown, regardless of sample size (the GDC uses the sample standard deviation \(s_{n-1}\) as an unbiased estimate).
SECTION 6: HYPOTHESIS TESTS & MARKOV CHAINS
Hypothesis Testing (SL 4.11, AHL 4.18)
A hypothesis test compares a Null Hypothesis (\(H_0\), default state) against an Alternative (\(H_1\)).
If the calculated \(p\)-value is less than the significance level (e.g. \(0.05\)), we Reject \(H_0\).
If the Test Statistic is greater than the Critical Value, we fall into the critical region and Reject \(H_0\).
Types of Tests:
\(\chi^2\) Test for Independence: Tests if two categorical variables are linked.
\(\chi^2\) Goodness of Fit: Tests if data follows a specific mathematical distribution.
t-Test for Means: Tests if a sample mean significantly differs from a population mean.
Worked Examples: Hypothesis Conclusions
Example 1: Interpreting Test Output
A \(\chi^2\) test for independence evaluates gender and career choice at a \(5\%\) significance level. The GDC gives \(\chi^2 = 8.54\) and \(p = 0.0736\). The critical value is \(9.49\). State the conclusion.
Method 1 (\(p\)-value): Since \(p = 0.0736 > 0.05\), there is insufficient evidence to reject \(H_0\).
Method 2 (Critical Value): Since the test statistic \(8.54\) is less than the critical value \(9.49\), it is not in the critical region. Do not reject \(H_0\).
Markov Chains & Transition Matrices (AHL 4.19)
Markov chains model systems that transition between discrete states (e.g. Sunny vs Rainy) over time.
The state matrix after \(n\) transitions is \(s_n = T^n s_0\), where \(T\) is the transition matrix and \(s_0\) is the initial state matrix.
Steady State: A regular Markov chain eventually settles into a long-term equilibrium probability called the steady state, \(s\). At this point, further transitions do not change the probabilities:
\[Ts = s\]
Worked Examples: Markov Chains
Example 1: Setting up and finding the Steady State
Customers buy either Brand A or Brand B. If they buy A, the probability they buy A next week is \(0.8\). If they buy B, the probability they switch to A is \(0.3\).
1. Set up the Transition Matrix \(T\) (Columns = "From", Rows = "To"):
\(T = \begin{pmatrix} 0.8 & 0.3 \\ 0.2 & 0.7 \end{pmatrix}\) (Notice columns sum to 1).
2. Find the steady state algebraically:
Let \(s = \begin{pmatrix} a \\ b \end{pmatrix}\). We know \(Ts = s\) and \(a + b = 1 \implies b = 1 - a\).
\(\begin{pmatrix} 0.8 & 0.3 \\ 0.2 & 0.7 \end{pmatrix} \begin{pmatrix} a \\ 1-a \end{pmatrix} = \begin{pmatrix} a \\ 1-a \end{pmatrix}\).
Top row equation: \(0.8a + 0.3(1-a) = a\).
\(0.8a + 0.3 - 0.3a = a \implies 0.5a + 0.3 = a \implies 0.3 = 0.5a \implies a = 0.6\).
Since \(a = 0.6\), \(b = 0.4\). The long-term steady state is \(60\%\) Brand A and \(40\%\) Brand B.
5
Unit 5 · Calculus
HL AI revision notes
›
Unit 5 · Calculus
HL AI revision notes
IB MATHEMATICS AI HL
UNIT 5: CALCULUS
Comprehensive Notes (Part 1 of 2)
ibblueComplete Syllabus Coverage
SL 5.1 & 5.3: Limits, Gradients, and the Power Rule for polynomials.
SL 5.4: Equations of Tangents and Normals.
AHL 5.9: Derivatives of \(e^x, \ln x, \sin x, \cos x\), and rational powers.
AHL 5.9: The Chain, Product, and Quotient Rules.
SL 5.6, 5.7 & AHL 5.10: Optimization, Second Derivatives, and Points of Inflexion.
ibmathrevision.com
SECTION 1: DIFFERENTIATION FUNDAMENTALS
The Power Rule, Tangents & Normals (SL 5.1, 5.3, 5.4)
Calculus finds the instantaneous rate of change (gradient) of a curve.
The Power Rule: If \(f(x) = ax^n\), then the derivative is \(f'(x) = anx^{n-1}\).
Tangents: A line that touches the curve at a point. Its gradient \(m_T\) is exactly equal to \(f'(x)\) at that point.
Normals: A line perpendicular to the tangent. Its gradient is \(m_N = -\frac{1}{m_T}\).
Use \(y - y_1 = m(x - x_1)\) to find the linear equations for both!
Worked Examples: Tangents and Normals
Example 1: Using the Power Rule
Find the derivative of \(f(x) = 4x^3 - \frac{2}{x^2} + 5x\).
First, rewrite with negative exponents: \(f(x) = 4x^3 - 2x^{-2} + 5x^1\).
Apply the power rule: \(f'(x) = 12x^2 - (-2)(2)x^{-3} + 5 = 12x^2 + \frac{4}{x^3} + 5\).
Example 2: Equation of a Normal Line
Find the equation of the normal to the curve \(y = x^2 - 4x\) at the point where \(x = 3\).
1. Find the \(y\)-coordinate: \(y = (3)^2 - 4(3) = 9 - 12 = -3\). Point is \((3, -3)\).
2. Find the tangent gradient (\(m_T\)): \(f'(x) = 2x - 4\). At \(x = 3\), \(m_T = 2(3) - 4 = 2\).
3. Find the normal gradient (\(m_N\)): \(m_N = -\frac{1}{2}\).
4. Equation: \(y - (-3) = -\frac{1}{2}(x - 3) \implies y + 3 = -0.5x + 1.5 \implies y = -0.5x - 1.5\).
SECTION 2: ADVANCED RULES (AHL 5.9)
Chain, Product & Quotient Rules (AHL 5.9)
At HL, you must differentiate composite, multiplied, and divided functions.
1. Chain Rule (Function inside a function): \(\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}\).
2. Product Rule (Two functions multiplied): \((uv)' = u'v + uv'\).
3. Quotient Rule (Two functions divided): \(\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}\).
Standard Derivatives: \((\sin x)' = \cos x\), \((\cos x)' = -\sin x\), \((e^x)' = e^x\), \((\ln x)' = \frac{1}{x}\).
Worked Examples: Advanced Rules
Example 1: The Chain Rule
Differentiate \(y = \cos(x^3 + 2x)\).
Let \(u = x^3 + 2x \implies u' = 3x^2 + 2\).
The derivative of \(\cos(u)\) is \(-\sin(u)\).
Using Chain Rule: \(y' = -(3x^2 + 2)\sin(x^3 + 2x)\).
Example 2: The Product Rule
Differentiate \(f(x) = x^2 e^{3x}\).
Let \(u = x^2 \implies u' = 2x\).
Let \(v = e^{3x} \implies v' = 3e^{3x}\) (chain rule required here!).
Product Rule: \(f'(x) = u'v + uv' = (2x)(e^{3x}) + (x^2)(3e^{3x}) = e^{3x}(2x + 3x^2)\).
Example 3: The Quotient Rule
Differentiate \(g(x) = \frac{\ln x}{x}\).
Let \(u = \ln x \implies u' = \frac{1}{x}\).
Let \(v = x \implies v' = 1\).
Quotient Rule: \(g'(x) = \frac{u'v - uv'}{v^2} = \frac{(\frac{1}{x})(x) - (\ln x)(1)}{x^2} = \frac{1 - \ln x}{x^2}\).
SECTION 3: OPTIMIZATION & CONCAVITY
CG50 Tip: Finding Max/Min Graphically
To check your algebraic optimization, go to MENU 5 (Graph), plot the function, and press F5 (G-Solv). Press F2 (MAX) or F3 (MIN) to instantly verify the exact coordinates of the turning points!
Optimization & The Second Derivative (SL 5.6, AHL 5.10)
1. Turning Points (SL 5.6): Local maximums and minimums occur when the gradient is strictly zero: \(f'(x) = 0\).
2. The Second Derivative (AHL 5.10): \(f''(x)\) measures the rate of change of the gradient, defining the curve’s concavity.
If \(f''(x) > 0\), the curve is concave up (\(\cup\)), meaning a turning point is a Minimum.
If \(f''(x) < 0\), the curve is concave down (\(\cap\)), meaning a turning point is a Maximum.
3. Point of Inflexion: Occurs where the concavity changes, requiring \(f''(x) = 0\) (and a confirmed sign change either side).
Worked Examples: Optimization & Concavity
Example 1: Classifying Turning Points
Given \(f(x) = 2x^3 - 9x^2 + 12x\), find the coordinates of the turning points and classify them using the second derivative test.
1. Set first derivative to zero: \(f'(x) = 6x^2 - 18x + 12 = 0\).
Divide by 6: \(x^2 - 3x + 2 = 0 \implies (x-1)(x-2) = 0\).
Turning points are at \(x = 1\) and \(x = 2\).
2. Find \(y\)-coordinates: \(f(1) = 2 - 9 + 12 = 5 \implies (1, 5)\).
\(f(2) = 16 - 36 + 24 = 4 \implies (2, 4)\).
3. Find second derivative: \(f''(x) = 12x - 18\).
4. Classify:
At \(x=1\), \(f''(1) = 12 - 18 = -6\). Since \(f''(x) < 0\), \((1, 5)\) is a Local Maximum.
At \(x=2\), \(f''(2) = 24 - 18 = 6\). Since \(f''(x) > 0\), \((2, 4)\) is a Local Minimum.
Example 2: Finding Points of Inflexion
Find the coordinates of the point of inflexion for \(f(x)\) from Example 1.
1. Set second derivative to zero: \(f''(x) = 12x - 18 = 0\).
\(12x = 18 \implies x = 1.5\).
2. Find \(y\)-coordinate: \(f(1.5) = 2(1.5)^3 - 9(1.5)^2 + 12(1.5) = 4.5\).
The point of inflexion is at \((1.5, 4.5)\).
IB MATHEMATICS AI HL
UNIT 5: CALCULUS
Comprehensive Notes (Part 2 of 2)
ibblueComplete Syllabus Coverage
SL 5.5, 5.8 & AHL 5.11: Definite Integrals, Area, Substitution, and the Trapezoidal Rule.
AHL 5.13: Kinematics (Displacement, Velocity, Acceleration, and Total Distance).
AHL 5.14 - 5.18: Differential Equations (Separation of Variables, Integrating Factors, Euler’s Method, and Phase Portraits).
AHL 5.19: Maclaurin Series Expansions.
ibmathrevision.com
SECTION 4: INTEGRATION & AREA
Integration Rules, Area & Substitution (SL 5.5, AHL 5.11)
Integration is the reverse process of differentiation. The arbitrary constant \(+C\) must be included for indefinite integrals.
Standard Rules: \(\int x^n dx = \frac{x^{n+1}}{n+1} + C\). \(\int e^x dx = e^x + C\). \(\int \frac{1}{x} dx = \ln|x| + C\).
Area: The definite integral \(\int_a^b f(x) dx\) calculates the area bounded by the curve and the \(x\)-axis. Area between two curves is \(\int_a^b (\text{Upper} - \text{Lower}) dx\).
Integration by Substitution: Used when a function and its derivative are both present. Let \(u\) equal the "inner" function.
Worked Examples: Integration
Example 1: Definite Integrals & Area
Find the exact area enclosed by the curve \(y = 3x^2 - 2\) and the \(x\)-axis between \(x=1\) and \(x=3\).
Area \(= \int_1^3 (3x^2 - 2) dx\).
Find the antiderivative: \([x^3 - 2x]_1^3\).
Evaluate at bounds: \(( (3)^3 - 2(3) ) - ( (1)^3 - 2(1) ) = (27 - 6) - (1 - 2) = 21 - (-1) = 22\).
Example 2: Integration by Substitution
Evaluate the indefinite integral \(\int 2x e^{x^2} dx\).
Let \(u = x^2\). Then \(\frac{du}{dx} = 2x \implies dx = \frac{du}{2x}\).
Substitute \(u\) and \(dx\): \(\int 2x e^u \frac{du}{2x}\).
The \(2x\) terms cancel: \(\int e^u du = e^u + C\).
Substitute back for \(x\): \(e^{x^2} + C\).
SECTION 5: KINEMATICS (AHL 5.13)
Displacement, Velocity & Acceleration (AHL 5.13)
Calculus links the three kinematic vectors:
To move down the chain (Differentiate): \(v = \frac{ds}{dt}\) and \(a = \frac{dv}{dt}\).
To move up the chain (Integrate): \(v = \int a dt\) and \(s = \int v dt\).
Total Distance Travelled: Evaluated as \(\int_{t_1}^{t_2} |v(t)| dt\). Absolute value brackets are essential because an object may change direction (where \(v(t) = 0\)).
Worked Examples: Kinematics
Example 1: Integrating Acceleration
A particle starts from rest (\(v=0, t=0\)). Its acceleration is \(a(t) = 6t\). Find its velocity \(v(t)\).
\(v(t) = \int 6t dt = \frac{6t^2}{2} + C = 3t^2 + C\).
Use initial condition \(v(0) = 0 \implies 0 = 3(0)^2 + C \implies C = 0\).
Velocity is \(v(t) = 3t^2\).
Example 2: Total Distance Travelled (With Direction Change)
A particle has velocity \(v(t) = 2t - 4\). Find the total distance travelled from \(t=0\) to \(t=4\).
The particle stops when \(v(t) = 0 \implies 2t - 4 = 0 \implies t = 2\).
We must split the integral: Distance \(= |\int_0^2 (2t - 4) dt| + |\int_2^4 (2t - 4) dt|\).
\(s(t) = [t^2 - 4t]\).
\(s(0) = 0\). \(s(2) = 4 - 8 = -4\). \(s(4) = 16 - 16 = 0\).
Distance \(= |-4 - 0| + |0 - (-4)| = 4 + 4 = 8\) metres.
SECTION 6: DIFFERENTIAL EQUATIONS (AHL 5.14 - 5.18)
Differential Equations & Integrating Factors (AHL 5.15)
1. Separation of Variables: Get all \(y\)’s and \(dy\) on one side, and \(x\)’s and \(dx\) on the other, then integrate both sides.
2. Integrating Factor (IF): Used for linear DEs in the form \(\frac{dy}{dx} + P(x)y = Q(x)\).
The Integrating Factor is \(I(x) = e^{\int P(x) dx}\). Multiply the entire equation by this factor to collapse the left hand side into a single product-rule derivative.
Worked Examples: Solving DEs
Example 1: Separation of Variables
Solve \(\frac{dy}{dx} = 2xy\) given \(y(0) = 3\).
Separate: \(\frac{1}{y} dy = 2x dx\).
Integrate: \(\int \frac{1}{y} dy = \int 2x dx \implies \ln|y| = x^2 + C\).
Convert to exponential: \(y = e^{x^2 + C} = A e^{x^2}\).
Use initial condition \(y(0) = 3 \implies 3 = A e^0 \implies A = 3\).
Solution: \(y = 3e^{x^2}\).
Example 2: Euler’s Method (AHL 5.16)
Given \(\frac{dy}{dx} = x + y\), \(y(0) = 1\), use Euler’s method with step \(h=0.1\) to find \(y(0.1)\).
Formula: \(y_1 = y_0 + h \times f(x_0, y_0)\).
\(y_1 = 1 + 0.1 \times (0 + 1) = 1 + 0.1 = 1.1\).
SECTION 7: MACLAURIN SERIES (AHL 5.19)
Maclaurin Series Expansions (AHL 5.19) A Maclaurin series approximates any function as an infinite polynomial centered at \(x=0\). \[f(x) = f(0) + x f'(0) + \frac{x^2}{2!} f''(0) + \frac{x^3}{3!} f'''(0) + \dots\] HL students must generate these manually, or construct them by substituting into the standard expansions (for \(e^x, \sin x, \cos x, \ln(1+x)\)) given in the formula booklet.
Worked Examples: Maclaurin Series
Example 1: Manual Generation
Find the first three non-zero terms of the Maclaurin series for \(f(x) = e^{2x}\).
\(f(x) = e^{2x} \implies f(0) = 1\).
\(f'(x) = 2e^{2x} \implies f'(0) = 2\).
\(f''(x) = 4e^{2x} \implies f''(0) = 4\).
Substitute into formula: \(f(x) = 1 + x(2) + \frac{x^2}{2}(4) = 1 + 2x + 2x^2\).
Example 2: Substitution Method
The formula booklet gives \(\sin x \approx x - \frac{x^3}{3!} + \dots\)
Find the series for \(\sin(x^2)\).
Substitute \(x^2\) for \(x\): \(\sin(x^2) \approx (x^2) - \frac{(x^2)^3}{6} = x^2 - \frac{x^6}{6}\).