Skip to content

M1: Algebra and Calculus

Inequalities

Linear Inequalities

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.

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

Quadratic Inequalities

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 x25x+60x^2 - 5x + 6 \leq 0.

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

2x32 \leq x \leq 3

Rational Inequalities

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 x1x+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).

Absolute Value

Definition

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

Properties

ab=ab|ab| = |a| \cdot |b| a+ba+b(triangle inequality)|a + b| \leq |a| + |b| \quad \text{(triangle inequality)} abab|a - b| \geq ||a| - |b||

Solving Absolute Value Equations

x3=5    x3=5 or x3=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

Solving Absolute Value Inequalities

xa<b    ab<x<a+b(b>0)|x - a| < b \implies a - b < x < a + b \quad (b > 0) xa>b    x<ab or x>a+b(b>0)|x - a| > b \implies x < a - b \text{ or } x > a + b \quad (b > 0)

Absolute Value in the Coordinate Plane

xa+yb=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).

Functions: Advanced Topics

Domain and Range

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)=4x2f(x) = \sqrt{4 - x^2}.

Domain: 4x20    x24    2x24 - x^2 \geq 0 \implies x^2 \leq 4 \implies -2 \leq x \leq 2.

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

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

Composite Functions

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) in general.

Inverse Functions

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

f(f1(x))=xandf1(f(x))=xf(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x

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

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

y(x1)=2x+3y(x - 1) = 2x + 3 xyy=2x+3xy - y = 2x + 3 x(y2)=y+3x(y - 2) = y + 3 x=y+3y2x = \frac{y + 3}{y - 2}

Therefore, f1(x)=x+3x2f^{-1}(x) = \frac{x + 3}{x - 2}, domain x2x \neq 2.

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+4acb24af(x) = a\left(x + \frac{b}{2a}\right)^2 + \frac{4ac - b^2}{4a}

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

Sequences and Series: Advanced

Arithmetic Sequences

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

Geometric Sequences

an=a1rn1a_n = a_1 r^{n-1} Sn=a1(1rn)1r(r1)S_n = \frac{a_1(1 - r^n)}{1 - r} \quad (r \neq 1)

Sum to Infinity

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

S=a11rS_\infty = \frac{a_1}{1 - r}

Sigma Notation

r=1narr1=a(1rn)1r\sum_{r=1}^{n} ar^{r-1} = \frac{a(1 - r^n)}{1 - r}

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

S=3114=334=4S_\infty = \frac{3}{1 - \frac{1}{4}} = \frac{3}{\frac{3}{4}} = 4

Method of Differences

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)=1r1r+1\frac{1}{r(r+1)} = \frac{1}{r} - \frac{1}{r+1}

r=1n1r(r+1)=(112)+(1213)++(1n1n+1)=11n+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}

Limits

Intuitive Notion

limxaf(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.

Limit Laws

limxa[f(x)±g(x)]=limxaf(x)±limxag(x)\lim_{x \to a} [f(x) \pm g(x)] = \lim_{x \to a} f(x) \pm \lim_{x \to a} g(x) limxa[f(x)g(x)]=limxaf(x)limxag(x)\lim_{x \to a} [f(x) \cdot g(x)] = \lim_{x \to a} f(x) \cdot \lim_{x \to a} g(x) limxaf(x)g(x)=limxaf(x)limxag(x)(provided limg(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{)}

Key Limits

limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1 limx01cosxx=0\lim_{x \to 0} \frac{1 - \cos x}{x} = 0 limn(1+1n)n=e\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = e

Limits at Infinity

limx1xk=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:

limx3x2+2x15x2x+3=limx3+2x1x251x+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}

Differentiation: Advanced

Rules of Differentiation

  • Power rule: ddx(xn)=nxn1\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}

Implicit Differentiation

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}

Second Derivative

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)

Stationary Points

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: Advanced

Techniques

  • 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+1dx\int 2x\sqrt{x^2 + 1} \, dx. Let u=x2+1u = x^2 + 1, du=2xdxdu = 2x \, dx.

udu=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: udv=uvvdu\int u \, dv = uv - \int v \, du

Example: xexdx\int x e^x \, dx. Let u=xu = x, dv=exdxdv = e^x \, dx. Then du=dxdu = dx, v=exv = e^x.

xexdx=xexexdx=xexex+C=(x1)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

Definite Integration

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 Under Curves

  • Area between a curve and the x-axis: A=abf(x)dxA = \int_a^b |f(x)| \, dx
  • Area between two curves: A=abf(x)g(x)dxA = \int_a^b |f(x) - g(x)| \, dx

Volumes of Revolution

  • Rotation about the x-axis: V=πab[f(x)]2dxV = \pi \int_a^b [f(x)]^2 \, dx
  • Rotation about the y-axis: V=πcd[f(y)]2dyV = \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)2dx=π04xdx=π[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

Differential Equations

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.

ydy=xdxy \, dy = x \, dx ydy=xdx\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

Common Pitfalls

  • 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)