Skip to content

M1: Algebra and Calculus

Solving linear inequalities follows the same principles as solving linear equations, with one critical difference: multiplying or dividing both sides by a negative number reverses the inequality sign.

3x−7<2x+53x - 7 < 2x + 5 x<12x < 12

To solve ax2+bx+c>0ax^2 + bx + c > 0 (or <0< 0, ≥0\geq 0, ≤0\leq 0):

  1. Find the roots of the equation ax2+bx+c=0ax^2 + bx + c = 0
  2. Determine the sign of the quadratic in each region defined by the roots
  3. Select the regions satisfying the inequality

Example: Solve x2−5x+6≤0x^2 - 5x + 6 \leq 0.

Factorising: (x−2)(x−3)≤0(x-2)(x-3) \leq 0. The parabola opens upward (positive x2x^2 coefficient). The expression is non-positive between the roots:

2≤x≤32 \leq x \leq 3

For inequalities involving rational expressions, bring all terms to one side and combine into a single fraction. Find the critical values (zeros and undefined points), then test each region.

Example: Solve x−1x+2>0\frac{x-1}{x+2} > 0.

Critical values: x=1x = 1 and x=−2x = -2.

Testing intervals:

  • x<−2x < -2: Both numerator and denominator negative — ratio is positive
  • −2<x<1-2 < x < 1: Numerator negative, denominator positive — ratio is negative
  • x>1x > 1: Both positive — ratio is positive

Solution: x<−2x < -2 or x>1x > 1, i.e., x∈(−∞,−2)∪(1,∞)x \in (-\infty, -2) \cup (1, \infty).

∣x∣={xif x≥0−xif x<0|x| = \begin{cases} x & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases}

∣ab∣=∣a∣⋅∣b∣|ab| = |a| \cdot |b| ∣a+b∣≤∣a∣+∣b∣(triangle inequality)|a + b| \leq |a| + |b| \quad \text{(triangle inequality)}

∣a−b∣≥∣∣a∣−∣b∣∣|a - b| \geq ||a| - |b||∣x−3∣=5  ⟹  x−3=5 or x−3=−5  ⟹  x=8 or x=−2|x - 3| = 5 \implies x - 3 = 5 \text{ or } x - 3 = -5 \implies x = 8 \text{ or } x = -2∣x−a∣<b  ⟹  a−b<x<a+b(b>0)|x - a| < b \implies a - b < x < a + b \quad (b > 0) ∣x−a∣>b  ⟹  x<a−b or x>a+b(b>0)|x - a| > b \implies x < a - b \text{ or } x > a + b \quad (b > 0)

∣x−a∣+∣y−b∣=c|x - a| + |y - b| = c defines a diamond (rotated square) centred at (a,b)(a, b).

∣x∣+∣y∣=4|x| + |y| = 4 defines a diamond with vertices at (±4,0)(\pm 4, 0) and (0,±4)(0, \pm 4).

The domain of a function is the set of all valid inputs; the range is the set of all outputs.

Example: Find the domain and range of f(x)=4−x2f(x) = \sqrt{4 - x^2}.

Domain: 4−x2≥0  ⟹  x2≤4  ⟹  −2≤x≤24 - x^2 \geq 0 \implies x^2 \leq 4 \implies -2 \leq x \leq 2.

Range: Since x2≥0x^2 \geq 0, we have 4−x2≤4=2\sqrt{4 - x^2} \leq \sqrt{4} = 2 and 0≤f(x)0 \leq f(x).

Therefore, range is 0≤f(x)≤20 \leq f(x) \leq 2, i.e., [0,2][0, 2].

Given f(x)f(x) and g(x)g(x), the composite function fg(x)=f(g(x))fg(x) = f(g(x)).

Example: If f(x)=2x+1f(x) = 2x + 1 and g(x)=x2g(x) = x^2, then:

fg(x)=f(g(x))=f(x2)=2x2+1fg(x) = f(g(x)) = f(x^2) = 2x^2 + 1 gf(x)=g(f(x))=g(2x+1)=(2x+1)2=4x2+4x+1gf(x) = g(f(x)) = g(2x + 1) = (2x + 1)^2 = 4x^2 + 4x + 1

Note that fg(x)≠gf(x)fg(x) \neq gf(x) except when ff and gg commute.

A function ff has an inverse f−1f^{-1} if and only if ff is one-to-one (bijective).

f(f−1(x))=xandf−1(f(x))=xf(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x

Example: If f(x)=2x+3x−1f(x) = \frac{2x + 3}{x - 1}, find f−1(x)f^{-1}(x).

Let y=2x+3x−1y = \frac{2x + 3}{x - 1}. Solving for xx:

y(x−1)=2x+3y(x - 1) = 2x + 3 xy−y=2x+3xy - y = 2x + 3 x(y−2)=y+3x(y - 2) = y + 3 x=y+3y−2x = \frac{y + 3}{y - 2}

Therefore, f−1(x)=x+3x−2f^{-1}(x) = \frac{x + 3}{x - 2}, domain x≠2x \neq 2.

Quadratic Functions and Completing the Square

Section titled “Quadratic Functions and Completing the Square”

Writing f(x)=ax2+bx+cf(x) = ax^2 + bx + c in vertex form by completing the square:

f(x)=a(x+b2a)2+4ac−b24af(x) = a\left(x + \frac{b}{2a}\right)^2 + \frac{4ac - b^2}{4a}

The vertex is at (−b2a,4ac−b24a)\left(-\frac{b}{2a}, \frac{4ac - b^2}{4a}\right).

an=a1+(n−1)da_n = a_1 + (n-1)d Sn=n2(a1+an)=n2(2a1+(n−1)d)S_n = \frac{n}{2}(a_1 + a_n) = \frac{n}{2}(2a_1 + (n-1)d)

an=a1rn−1a_n = a_1 r^{n-1} Sn=a1(1−rn)1−r(r≠1)S_n = \frac{a_1(1 - r^n)}{1 - r} \quad (r \neq 1)

For a convergent geometric series (i.e., ∣r∣<1|r| < 1):

S∞=a11−rS_\infty = \frac{a_1}{1 - r}∑r=1narr−1=a(1−rn)1−r\sum_{r=1}^{n} ar^{r-1} = \frac{a(1 - r^n)}{1 - r}

Example: Evaluate ∑r=1∞3(14)r−1\sum_{r=1}^{\infty} 3\left(\frac{1}{4}\right)^{r-1}.

S∞=31−14=334=4S_\infty = \frac{3}{1 - \frac{1}{4}} = \frac{3}{\frac{3}{4}} = 4

For certain sequences, the sum can be found using the method of differences.

Example: Find ∑r=1nr(r+1)\sum_{r=1}^{n} r(r+1).

Note that r(r+1)=r2+rr(r+1) = r^2 + r, so:

∑r=1nr(r+1)=∑r=1nr2+∑r=1nr=n(n+1)(2n+1)6+n(n+1)2\sum_{r=1}^{n} r(r+1) = \sum_{r=1}^{n} r^2 + \sum_{r=1}^{n} r = \frac{n(n+1)(2n+1)}{6} + \frac{n(n+1)}{2} =n(n+1)6(2n+1+3)=n(n+1)(n+2)3= \frac{n(n+1)}{6}(2n + 1 + 3) = \frac{n(n+1)(n+2)}{3}

Alternatively, using the method of differences:

1r(r+1)=1r−1r+1\frac{1}{r(r+1)} = \frac{1}{r} - \frac{1}{r+1} ∑r=1n1r(r+1)=(1−12)+(12−13)+⋯+(1n−1n+1)=1−1n+1=nn+1\sum_{r=1}^{n} \frac{1}{r(r+1)} = \left(1 - \frac{1}{2}\right) + \left(\frac{1}{2} - \frac{1}{3}\right) + \cdots + \left(\frac{1}{n} - \frac{1}{n+1}\right) = 1 - \frac{1}{n+1} = \frac{n}{n+1}lim⁡x→af(x)=L\lim_{x \to a} f(x) = L

means that f(x)f(x) gets arbitrarily close to LL as xx gets arbitrarily close to aa.

lim⁡x→a[f(x)±g(x)]=lim⁡x→af(x)±lim⁡x→ag(x)\lim_{x \to a} [f(x) \pm g(x)] = \lim_{x \to a} f(x) \pm \lim_{x \to a} g(x) lim⁡x→a[f(x)⋅g(x)]=lim⁡x→af(x)⋅lim⁡x→ag(x)\lim_{x \to a} [f(x) \cdot g(x)] = \lim_{x \to a} f(x) \cdot \lim_{x \to a} g(x) lim⁡x→af(x)g(x)=lim⁡x→af(x)lim⁡x→ag(x)(provided lim⁡g(x)≠0)\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{\lim_{x \to a} f(x)}{\lim_{x \to a} g(x)} \quad \text{(provided } \lim g(x) \neq 0\text{)}

lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1 lim⁡x→01−cos⁡xx=0\lim_{x \to 0} \frac{1 - \cos x}{x} = 0

lim⁡n→∞(1+1n)n=e\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = elim⁡x→∞1xk=0(k>0)\lim_{x \to \infty} \frac{1}{x^k} = 0 \quad (k > 0)

For rational functions, divide numerator and denominator by the highest power of xx:

lim⁡x→∞3x2+2x−15x2−x+3=lim⁡x→∞3+2x−1x25−1x+3x2=35\lim_{x \to \infty} \frac{3x^2 + 2x - 1}{5x^2 - x + 3} = \lim_{x \to \infty} \frac{3 + \frac{2}{x} - \frac{1}{x^2}}{5 - \frac{1}{x} + \frac{3}{x^2}} = \frac{3}{5}
  • Power rule: ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}
  • Chain rule: ddx[f(g(x))]=f"(g(x))⋅g′(x)\frac{d}{dx}[f(g(x))] = f"(g(x)) \cdot g'(x)
  • Product rule: ddx[f(x)⋅g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x) \cdot g(x)] = f'(x)g(x) + f(x)g'(x)
  • Quotient rule: ddx[f(x)g(x)]=f′(x)g(x)−f(x)g′(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}

When yy is defined implicitly as a function of xx, differentiate both sides with respect to xx and solve for dydx\frac{dy}{dx}.

Example: Find dydx\frac{dy}{dx} given x2+y2=25x^2 + y^2 = 25.

2x+2ydydx=02x + 2y\frac{dy}{dx} = 0 dydx=−xy\frac{dy}{dx} = -\frac{x}{y}

Example: A spherical balloon is being inflated. Find the rate of change of the radius when the radius is 5 cm, given that air is being pumped in at 100π100\pi cm3^3/s.

Volume: V=43πr3V = \frac{4}{3}\pi r^3.

dVdt=4πr2drdt\frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt} 100π=4π(25)drdt100\pi = 4\pi(25)\frac{dr}{dt}

drdt=100π100π=1 cm/s\frac{dr}{dt} = \frac{100\pi}{100\pi} = 1 \text{ cm/s}

The second derivative d2ydx2\frac{d^2y}{dx^2} represents the rate of change of the gradient. It is used to determine concavity:

  • d2ydx2>0\frac{d^2y}{dx^2} > 0: Concave upward (minimum)
  • d2ydx2<0\frac{d^2y}{dx^2} < 0: Concave downward (maximum)

To find and classify stationary points:

  1. Find dydx\frac{dy}{dx} and set it to zero
  2. Solve for xx to find the xx-coordinates of stationary points
  3. Find d2ydx2\frac{d^2y}{dx^2} and substitute the xx-values
  4. If d2ydx2>0\frac{d^2y}{dx^2} > 0: minimum; if <0< 0: maximum; if =0= 0: test fails (use first derivative test or higher derivatives)
  • Integration by substitution: For integrals of the form ∫f(g(x))⋅g′(x) dx\int f(g(x)) \cdot g'(x) \, dx, let u=g(x)u = g(x)

Example: ∫2xx2+1 dx\int 2x\sqrt{x^2 + 1} \, dx. Let u=x2+1u = x^2 + 1, du=2x dxdu = 2x \, dx.

∫u du=23u3/2+C=23(x2+1)3/2+C\int \sqrt{u} \, du = \frac{2}{3}u^{3/2} + C = \frac{2}{3}(x^2 + 1)^{3/2} + C
  • Integration by parts: ∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du

Example: ∫xex dx\int x e^x \, dx. Let u=xu = x, dv=ex dxdv = e^x \, dx. Then du=dxdu = dx, v=exv = e^x.

∫xex dx=xex−∫ex dx=xex−ex+C=(x−1)ex+C\int x e^x \, dx = x e^x - \int e^x \, dx = x e^x - e^x + C = (x - 1)e^x + C∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x) \, dx = \left[F(x)\right]_a^b = F(b) - F(a)
  • Area between a curve and the x-axis: A=∫ab∣f(x)∣ dxA = \int_a^b |f(x)| \, dx
  • Area between two curves: A=∫ab∣f(x)−g(x)∣ dxA = \int_a^b |f(x) - g(x)| \, dx
  • Rotation about the x-axis: V=π∫ab[f(x)]2 dxV = \pi \int_a^b [f(x)]^2 \, dx
  • Rotation about the y-axis: V=π∫cd[f(y)]2 dyV = \pi \int_c^d [f(y)]^2 \, dy

Example: Find the volume when the region bounded by y=xy = \sqrt{x}, x=4x = 4, and y=0y = 0 is rotated about the x-axis.

V=π∫04(x)2 dx=π∫04x dx=π[x22]04=8πV = \pi \int_0^4 (\sqrt{x})^2 \, dx = \pi \int_0^4 x \, dx = \pi \left[\frac{x^2}{2}\right]_0^4 = 8\pi

A first-order separable differential equation has the form:

dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y)

Separating variables: dyg(y)=f(x) dx\frac{dy}{g(y)} = f(x) \, dx.

Integrate both sides and solve for yy.

Example: Solve dydx=xy\frac{dy}{dx} = \frac{x}{y}, given y=2y = 2 when x=1x = 1.

y dy=x dxy \, dy = x \, dx ∫y dy=∫x dx\int y \, dy = \int x \, dx y22=x22+C\frac{y^2}{2} = \frac{x^2}{2} + C

Using y=2y = 2 when x=1x = 1: 2=12+C2 = \frac{1}{2} + C, so C=32C = \frac{3}{2}.

y2=x2+3y^2 = x^2 + 3
  • Forgetting to reverse the inequality sign when multiplying or dividing by a negative number
  • Incorrectly finding the domain of composite functions
  • Confusing fg(x)fg(x) notation
  • Forgetting to add +C+C for indefinite integrals
  • Not checking whether d2ydx2=0\frac{d^2y}{dx^2} = 0 requires a first derivative test
  • Errors in substitution for integration by substitution (forgetting to change the limits for definite integrals or to convert dxdx to dudu)

Mathematical thinking is about abstraction and pattern recognition. Numbers, shapes, and equations are tools for modelling reality - from calculating interest to predicting weather. The beauty of mathematics is that once a pattern is discovered, it can be applied universally. This connects algebra, geometry, and calculus into a coherent framework for understanding quantity, space, and change.