IB Maths AI notes › Functions › Cheat sheet

Functions cheat sheet

BOOKLET given in the examLEARN you must remember it · Each block links to its lesson.

Functions

IB MATHS AI · HL
pastpaperprep.com/revision-notes

2.1Straight-line equations

m=y2−y1x2−x1m = \frac{y_{2} - y_{1}}{x_{2} - x_{1}}BOOKLET
y=mx+c;ax+by+d=0;y−y1=m(x−x1)y = mx + c; \quad ax + by + d = 0; \quad y - y_{1} = m(x - x_{1})BOOKLET
For ax+by+d=0ax + by + d = 0 with b≠0b \neq 0, the gradient is −ab-\frac{a}{b}. Make yy the subject to see it.LEARN
Horizontal lines are y=cy = c, with m=0m = 0. Vertical lines are x=hx = h: the gradient is undefined, so they have no y=mx+cy = mx + c form.LEARN
yy-intercept: put x=0x = 0. xx-intercept: put y=0y = 0. In a linear model the gradient is a rate (units of yy per unit of xx) and the yy-intercept is the value when x=0x = 0.LEARN
Two non-vertical lines are parallel (or the same line) if m1=m2m_{1} = m_{2}, and perpendicular if m1×m2=−1m_{1} \times m_{2} = -1: flip the gradient and change its sign. A horizontal and a vertical line are perpendicular.LEARN
Real slopes: gradient == vertical rise ÷\div horizontal distance, not the length along the slope. A p%p\% gradient means m=p100m = \frac{p}{100}.LEARN

2.2Function concepts, domain and range

A function gives exactly one output f(x)f(x) for each input xx in its domain.LEARN
Domain: the inputs allowed. A square root needs its inside ≥0\ge 0, a denominator can't be 00, and in a model the context limits the inputs too.LEARN
Range: the outputs over the domain, written with f(x)f(x) or yy. Read it from the graph, checking end points, turning points and any value the graph only approaches, which is not included.LEARN
For a one-to-one ff, f−1f^{-1} undoes ff: if f(a)=bf(a) = b, then f−1(b)=af^{-1}(b) = a. Its graph is the reflection of y=f(x)y = f(x) in y=xy = x. f−1(x)f^{-1}(x) is not 1f(x)\frac{1}{f(x)}.LEARN
Only a one-to-one function has an inverse. The domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff.LEARN
For a one-to-one ff and a value kk in its range, solving f(x)=kf(x) = k gives x=f−1(k)x = f^{-1}(k).LEARN

2.3Graphs of functions

(a,b)(a, b) is on the graph of y=f(x)y = f(x) exactly when aa is in the domain and f(a)=bf(a) = b.LEARN
y-intercept: (0,f(0))x-intercepts: solve f(x)=0y\text{-intercept: } (0, f(0)) \qquad x\text{-intercepts: solve } f(x) = 0LEARN
Sketch: the right shape, key features labelled, not to scale. Draw: accurate, to the grid's scale, joined smoothly.LEARN
Label the axes (with units), intercepts, turning points, end points (filled dot if included, open circle if not) and asymptotes (dashed, with equations).LEARN
GDC: set the window from the domain, find key points to 3 s.f., then copy the shape and labels onto paper.LEARN
(f+g)(x)=f(x)+g(x)(f−g)(x)=f(x)−g(x)(f + g)(x) = f(x) + g(x) \qquad (f - g)(x) = f(x) - g(x)LEARN
The graphs of ff and gg meet where f(x)−g(x)=0f(x) - g(x) = 0. Where f(x)−g(x)>0f(x) - g(x) > 0, ff's graph is above gg's.LEARN

2.4Key features of graphs

y-intercept: (0, f(0))x-intercepts: (a, 0) where f(a)=0y\text{-intercept: } (0,\ f(0)) \qquad x\text{-intercepts: } (a,\ 0) \text{ where } f(a) = 0LEARN
Zeros of ff: the solutions of f(x)=0f(x) = 0, the xx-coordinates of the x-intercepts. In a model, reject any outside the domain.LEARN
For a graph with no breaks on a≤x≤ba \le x \le b, the greatest and least values are among the local maximum and minimum values, f(a)f(a) and f(b)f(b): compare them all.LEARN
A parabola with zeros pp and qq has axis of symmetry x=p+q2x = \frac{p + q}{2}, and its vertex lies on it.LEARN
Vertical asymptote x=ax = a: f(x)f(x) increases or decreases without limit as xx gets close to aa. Horizontal asymptote y=by = b: f(x)f(x) gets closer and closer to bb as x→∞x \to \infty or x→−∞x \to -\infty. Write each as an equation.LEARN
Intersections of y=f(x)y = f(x) and y=g(x)y = g(x): solve f(x)=g(x)f(x) = g(x) with the GDC's intersect tool on every crossing, then find each yy from the unrounded xx.LEARN

2.5Modelling with functions

Linear model f(x)=mx+cf(x) = mx + c: mm is the rate of change and c=f(0)c = f(0) the starting value. A piecewise model uses one rule on each interval.LEARN
f(x)=ax2+bx+c  ⇒  axis of symmetry is x=−b2af(x) = ax^{2} + bx + c \;\Rightarrow\; \text{axis of symmetry is } x = -\frac{b}{2a}BOOKLET
Quadratic ax2+bx+cax^{2} + bx + c, a≠0a \ne 0: yy-intercept (0,c)(0, c); the vertex is a maximum if a<0a < 0, a minimum if a>0a > 0. Reject zeros the context rules out.LEARN
For k≠0k \ne 0, kax+cka^{x} + c and ka−x+cka^{-x} + c (with a>0a > 0, a≠1a \ne 1) and kerx+ck\mathrm{e}^{rx} + c (with r≠0r \ne 0) have the horizontal asymptote y=cy = c, and f(0)=k+cf(0) = k + c.LEARN
y=axny = ax^{n} with a≠0a \ne 0 and nn an integer: n>0n > 0 is direct variation (through the origin); n<0n < 0 is inverse variation, with the yy-axis as a vertical asymptote.LEARN
Cubic ax3+bx2+cx+dax^{3} + bx^{2} + cx + d, a≠0a \ne 0: at most two turning points and three zeros; yy-intercept (0,d)(0, d).LEARN
asin⁡(bx)+da\sin(bx) + d or acos⁡(bx)+da\cos(bx) + d, with b>0b > 0 and bxbx in degrees: amplitude ∣a∣=max−min2|a| = \frac{\text{max} - \text{min}}{2}, period 360∘b\frac{360^{\circ}}{b}, principal axis y=d=max+min2y = d = \frac{\text{max} + \text{min}}{2}.LEARN

2.6Fitting and testing models

Modelling process: choose a model type, fit its parameters, test it against data and context, then use it. If the test fails, change the model or its domain.LEARN
For equal steps in xx: equal differences in yy suggest a linear model; equal ratios suggest an exponential model.LEARN
Parameters: an initial condition (t=0t = 0) gives one equation, and each known point gives another. A quadratic through three points with different xx-values gives three linear equations in aa, bb, cc: solve them on the GDC.LEARN
A reasonable domain starts where the situation starts, stops where the model stops making sense (such as a height reaching 00), and uses whole numbers for counts.LEARN
Test a model: compare it with data (percentage error ε=∣vA−vEvE∣×100%\varepsilon = \left|\frac{v_{A} - v_{E}}{v_{E}}\right| \times 100\%, with vAv_{A} the model value and vEv_{E} the actual value) and check its graph's features, such as asymptotes and maxima, against the context.LEARN
Interpolation predicts inside the data range; extrapolation predicts outside it and is less reliable, because the trend may not continue.LEARN

2.7 ◆Composite and inverse functions

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))LEARN
In (f∘g)(x)(f \circ g)(x), the function next to xx acts first: do gg, then ff. The output of gg must lie in the domain of ff.LEARN
In context, (f∘g)(x)(f \circ g)(x) means “do the step gg models, then the step ff models”. Swapping the order usually changes the result.LEARN
(f∘f−1)(x)=x for x in the domain of f−1(f−1∘f)(x)=x for x in the domain of f(f \circ f^{-1})(x) = x \text{ for } x \text{ in the domain of } f^{-1} \qquad (f^{-1} \circ f)(x) = x \text{ for } x \text{ in the domain of } fLEARN
To find f−1(x)f^{-1}(x) for a one-to-one ff: write y=f(x)y = f(x), swap xx and yy, then make yy the subject. The domain of f−1f^{-1} is the range of ff.LEARN
A function has an inverse only if it is one-to-one. A quadratic becomes one-to-one when its domain is restricted to one side of its vertex (h,k)(h, k): x≥hx \ge h or x≤hx \le h.LEARN
When rearranging gives ± \pm\sqrt{\ }, the restricted domain of ff (the range of f−1f^{-1}) decides the sign.LEARN

2.8 ◆Transformations of graphs

y=f(x−a)+b  :  translation by (ab), so a units right and b units upy = f(x - a) + b \;:\; \text{translation by } \begin{pmatrix} a \\ b \end{pmatrix} \text{, so } a \text{ units right and } b \text{ units up}LEARN
y=−f(x)  :  reflection in the x-axisy=f(−x)  :  reflection in the y-axisy = -f(x) \;:\; \text{reflection in the } x\text{-axis} \qquad y = f(-x) \;:\; \text{reflection in the } y\text{-axis}LEARN
y=pf(x), p>0  :  vertical stretch, scale factor py=f(qx), q>0  :  horizontal stretch, scale factor 1qy = pf(x),\ p > 0 \;:\; \text{vertical stretch, scale factor } p \qquad y = f(qx),\ q > 0 \;:\; \text{horizontal stretch, scale factor } \tfrac{1}{q}LEARN
Outside the bracket acts on yy as it looks. Inside acts on xx the opposite way: x−ax - a moves right, and qxqx divides xx-coordinates by qq.LEARN
A vertical stretch y=pf(x)y = pf(x) keeps the xx-axis invariant; a horizontal stretch y=f(qx)y = f(qx) keeps the yy-axis invariant.LEARN
For y=pf(x)+by = pf(x) + b with p>0p > 0: stretch first, then translate by (0b)\begin{pmatrix} 0 \\ b \end{pmatrix}. Horizontal and vertical changes can be done in either order relative to each other.LEARN
Image of (x0,y0)(x_{0}, y_{0}) on y=pf(qx−c)+by = pf(qx - c) + b, with q≠0q \ne 0: solve qx−c=x0qx - c = x_{0} for xx; the new yy is py0+bpy_{0} + b.LEARN
Asymptotes, turning points and the ends of the domain move with the graph. In a model, say what each transformation means.LEARN

2.9 ◆Further function models

Exponential decay N0e−ktN_{0}\mathrm{e}^{-kt} with N0>0N_{0} > 0 and k>0k > 0: half-life =ln⁡2k= \frac{\ln 2}{k}, the same whatever the starting amount. After nn half-lives, (12)n\left(\tfrac{1}{2}\right)^{n} of it is left.LEARN
f(x)=a+bln⁡xf(x) = a + b\ln x with x>0x > 0 and b≠0b \neq 0: a=f(1)a = f(1), and multiplying xx by mm adds bln⁡mb\ln m. No value at x=0x = 0 and no horizontal asymptote.LEARN
f(x)=asin⁡(b(x−c))+df(x) = a\sin(b(x - c)) + d with b>0b > 0 and the angle in radians (assumed unless a degree sign is shown): amplitude ∣a∣|a|, period 2πb\frac{2\pi}{b}, principal axis y=dy = d, phase shift cc (to the right if c>0c > 0).LEARN
f(x)=L1+Ce−kx, L,k,C>0f(x) = \frac{L}{1 + C\mathrm{e}^{-kx}},\ L, k, C > 0BOOKLET
Logistic L1+Ce−kx\frac{L}{1 + C\mathrm{e}^{-kx}} with L,C,k>0L, C, k > 0: value at x=0x = 0 is L1+C\frac{L}{1 + C}; carrying capacity LL, the horizontal asymptote y=Ly = L, approached but never reached.LEARN
A piecewise model is continuous at a joining point x=px = p when both rules give the same value at pp: substitute pp into each rule, set them equal and solve for the parameter.LEARN

2.10 ◆Logarithmic scales and linearizing data

On a log⁡10\log_{10} scale, equal steps are equal factors. A point a fraction pp of the way from 10a10^{a} to 10a+110^{a+1} shows 10a+p10^{a+p}.LEARN
With a log vertical axis and time across, a straight line means a constant percentage rate of change (growth if it rises, decay if it falls), and a steeper rising line means faster percentage growth.LEARN
If y=kaxy = ka^{x} with k,a>0k, a > 0, then ln⁡y=(ln⁡a)x+ln⁡k\ln y = (\ln a)x + \ln k: straight on a semi-log graph, with a=egradienta = \mathrm{e}^{\text{gradient}} and k=einterceptk = \mathrm{e}^{\text{intercept}}.LEARN
If y=kxny = kx^{n} with k>0k > 0 and x>0x > 0, then ln⁡y=nln⁡x+ln⁡k\ln y = n\ln x + \ln k: straight on a log-log graph, with n=n = gradient and k=einterceptk = \mathrm{e}^{\text{intercept}}.LEARN
With log⁡10\log_{10} in place of ln⁡\ln, undo the logs with powers of 1010: k=10interceptk = 10^{\text{intercept}}, and a=10gradienta = 10^{\text{gradient}} for an exponential model.LEARN
To choose between exponential and power models for positive data, find rr for ln⁡y\ln y against xx and for ln⁡y\ln y against ln⁡x\ln x. Choose the one with ∣r∣|r| closer to 11, and say so.LEARN
Keep the GDC's full gradient and intercept until you have undone the logs. Round only the final parameters and predictions.LEARN

Which method when

Line parallel or perpendicular to a given line → same gradient, or m1×m2=−1m_{1} \times m_{2} = -1, then y−y1=m(x−x1)y - y_{1} = m(x - x_{1}) through the given point; for vertical or horizontal lines use x=hx = h or y=cy = c (2.1)LEARN
Solve f(x)=kf(x) = k or f(x)=g(x)f(x) = g(x), or when are two quantities equal → write the equation down, graph both sides and use the GDC's intersection tool on every crossing; reject solutions outside the domain (2.2, 2.4)LEARN
Range, or greatest and least values on a domain → graph over that domain and compare the end values with every local maximum and minimum (GDC max/min tool); a value the graph only approaches is not included (2.2, 2.4)LEARN
Zeros, xx-intercepts, break-even, or when something runs out → solve f(x)=0f(x) = 0 with the GDC's zero tool or polynomial solver; reject zeros outside the domain (2.3, 2.4)LEARN
Long-term value, or a level the model approaches but never reaches → the horizontal asymptote, as an equation: y=cy = c for kax+cka^{x} + c with k≠0k \ne 0 and 0<a<10 < a < 1 (2.5)LEARN
yy is proportional, or inversely proportional, to a power of xx → y=axny = ax^{n} with nn from the words (inversely as the square: n=−2n = -2), never from whether the data rise or fall; one known pair gives aa (2.5)LEARN
Wave from a maximum, a minimum and the length of one cycle → ∣a∣=max⁡−min⁡2|a| = \frac{\max - \min}{2}, d=max⁡+min⁡2d = \frac{\max + \min}{2}, b=360∘periodb = \frac{360^{\circ}}{\text{period}} with b>0b > 0, and the GDC in degrees (2.5)LEARN
Which type of model? → for equal steps in xx, equal differences in yy suggest linear and equal ratios suggest exponential; a symmetric rise to a peak and fall suggests quadratic; a regular repeat suggests sinusoidal (2.6)LEARN
Parameters from given points → one equation per unknown parameter; for ax2+bx+cax^{2} + bx + c through three points with different xx-values, solve the three linear equations on the GDC (2.6)LEARN

◆Which method when

Find f−1(x)f^{-1}(x) (only a one-to-one ff has one) → write y=f(x)y = f(x), swap xx and yy, rearrange; the domain of f−1f^{-1} is the range of ff. For a quadratic, first restrict to one side of the vertex, and let that domain choose the sign of the square root (2.7)LEARN
Describe how y=f(x)y = f(x) becomes y=pf(qx−c)+by = pf(qx - c) + b, with p,q>0p, q > 0 → vertical stretch, scale factor pp, then translation bb units up; translation cc units right, then horizontal stretch, scale factor 1q\frac{1}{q}. Image of (x0,y0)(x_{0}, y_{0}): solve qx−c=x0qx - c = x_{0}, and y=py0+by = py_{0} + b (2.8)LEARN
Half-life of N0e−ktN_{0}\mathrm{e}^{-kt} with N0,k>0N_{0}, k > 0 → ln⁡2k\frac{\ln 2}{k}, the same from any starting amount; for any other level, solve N(t)=N(t) = that level on the GDC (2.9)LEARN
Restricted growth that levels off at a carrying capacity → logistic L1+Ce−kx\frac{L}{1 + C\mathrm{e}^{-kx}} with L,C,k>0L, C, k > 0: f(0)=L1+Cf(0) = \frac{L}{1 + C} gives CC, and one more point gives kk on the GDC (2.9)LEARN
Exponential or power model for positive data? → find rr for ln⁡y\ln y against xx and for ln⁡y\ln y against ln⁡x\ln x, and choose the one with ∣r∣|r| closer to 11; then y=kaxy = ka^{x} has a=egradienta = \mathrm{e}^{\text{gradient}}, y=kxny = kx^{n} has n=n = gradient, and both have k=einterceptk = \mathrm{e}^{\text{intercept}} (2.10)LEARN
Follows the IB Maths AI guide (first assessment 2021). Not affiliated with the IB.