iLabs Shunya

Shunya / Maths Explainers

Shunya · Maths lab

Maths explainers

Six ideas that are easier to see than to read. Watch a fraction turn into a repeating decimal, drag a complex number around the Argand plane, count possibilities with a tree and Pascal's triangle, grow an arithmetic or geometric series, fill in a Venn diagram, and solve a linear programming problem by sliding a line across a feasible region.

The maths behind it

What each explainer covers

Number systems — a fraction turned into a decimal by long division (and why it terminates or repeats), a repeating decimal turned back into a fraction, √n squeezed between decimals on the number line, and the square-root spiral. Classes 9 and 10.
Complex numbers — a draggable z on the Argand plane with its conjugate, modulus and argument; sum and difference as a parallelogram; product and quotient as a turn and a stretch; nth roots and powers (De Moivre). Class 11.
Counting — the multiplication principle as a tree you can follow, permutations and combinations listed out, Pascal's triangle and the binomial coefficients, and the arrangements of the letters of a word. Class 11.
Sequences & series — arithmetic progressions with draggable terms and bars for the sum, geometric progressions with partial sums closing in on the sum to infinity, AM ≥ GM ≥ HM on a semicircle, and the standard sums and Fibonacci numbers. Classes 10 and 11.
Sets & Venn diagrams — two and three sets by counts (inclusion–exclusion, impossible numbers flagged) and by typed elements (union, intersection, difference, complement, subsets, De Morgan). Class 11.
Linear programming — type an objective and up to six constraints, see the feasible region and its corner points, slide the objective line to the best corner, and meet unbounded, infeasible and many-optima cases. Class 12.

Part of Shunya. See the syllabus map for the chapters these explainers map to. Complex numbers and counting can be checked against the Function & Graph Explorer and the Statistics & Probability lab.

Formulas used in this lab

Number systems Class 9

A rational number
pq,p,q integers, q0\dfrac{p}{q},\qquad p, q \text{ integers},\ q \ne 0
Terminating decimal
q=2m5n  pq terminatesq = 2^m \cdot 5^n \ \Rightarrow\ \dfrac{p}{q} \text{ terminates}
Repeating decimal to a fraction
0.ab=ab99,0.a=a90.\overline{ab} = \dfrac{ab}{99},\qquad 0.\overline{a} = \dfrac{a}{9}
Rationalising
1a+bc=abca2b2c\dfrac{1}{a + b\sqrt{c}} = \dfrac{a - b\sqrt{c}}{a^2 - b^2 c}
Laws of surds
ab=ab,(a+b)(ab)=ab\sqrt{a}\sqrt{b} = \sqrt{ab},\qquad (\sqrt{a} + \sqrt{b})(\sqrt{a} - \sqrt{b}) = a - b

Arithmetic progressions Class 10

nth term
an=a+(n1)da_n = a + (n - 1)d
Sum of n terms
Sn=n2[2a+(n1)d]S_n = \dfrac{n}{2}\,[2a + (n - 1)d]
Sum from the last term l
Sn=n2(a+l)S_n = \dfrac{n}{2}\,(a + l)
A term from the sums
an=SnSn1a_n = S_n - S_{n-1}
Three numbers in AP
2b=a+c2b = a + c

Complex numbers Class 11

The imaginary unit
i2=1,i4=1i^2 = -1,\qquad i^4 = 1
Modulus and conjugate
z=a2+b2,zzˉ=z2|z| = \sqrt{a^2 + b^2},\qquad z\bar{z} = |z|^2
Polar form
z=r(cosθ+isinθ),r=zz = r(\cos\theta + i\sin\theta),\qquad r = |z|
Product and quotient
z1z2=z1z2,arg(z1z2)=argz1+argz2|z_1z_2| = |z_1||z_2|,\qquad \arg(z_1z_2) = \arg z_1 + \arg z_2
Quotient by the conjugate
z1z2=z1z2ˉz22\dfrac{z_1}{z_2} = \dfrac{z_1\bar{z_2}}{|z_2|^2}
Triangle inequality
z1+z2z1+z2|z_1 + z_2| \le |z_1| + |z_2|

Roots of complex numbers Class 11

De Moivre's theorem
[r(cosθ+isinθ)]n=rn(cosnθ+isinnθ)[r(\cos\theta + i\sin\theta)]^n = r^n(\cos n\theta + i\sin n\theta)
The nth roots of z (k = 0, 1, …, n − 1): modulus and angle
r1/n,θ+2πknr^{1/n},\quad \dfrac{\theta + 2\pi k}{n}
Roots of unity
ω=e2πi/n,1+ω++ωn1=0\omega = e^{2\pi i/n},\qquad 1 + \omega + \dots + \omega^{n-1} = 0
Cube roots of unity
ω3=1,1+ω+ω2=0\omega^3 = 1,\qquad 1 + \omega + \omega^2 = 0

Counting Class 11

Multiplication principle
m×n×p waysm \times n \times p \text{ ways}
Permutations
nPr=n!(nr)!{}^nP_r = \dfrac{n!}{(n - r)!}
Combinations
nCr=n!r!(nr)!{}^nC_r = \dfrac{n!}{r!\,(n - r)!}
Link between them
nPr=nCrr!,nCr=nCnr{}^nP_r = {}^nC_r \cdot r!,\qquad {}^nC_r = {}^nC_{n-r}
Pascal's rule
nCr=n1Cr1+n1Cr{}^nC_r = {}^{n-1}C_{r-1} + {}^{n-1}C_r
Arrangements with repeats
n!p!q!r!\dfrac{n!}{p!\,q!\,r!}
In a circle
(n1)!(n - 1)!

Binomial theorem Class 11

Expansion
(a+b)n=r=0nnCranrbr(a + b)^n = \sum_{r=0}^{n} {}^nC_r\, a^{n-r}b^r
General term
Tr+1=nCranrbrT_{r+1} = {}^nC_r\, a^{n-r}b^r
Number of terms
n+1n + 1
Sum of the coefficients
nC0+nC1++nCn=2n{}^nC_0 + {}^nC_1 + \dots + {}^nC_n = 2^n
Alternating sum
nC0nC1+nC2=0{}^nC_0 - {}^nC_1 + {}^nC_2 - \dots = 0

Geometric progressions and means Class 11

nth term
an=arn1a_n = ar^{n-1}
Sum of n terms
Sn=a(1rn)1r,r1S_n = \dfrac{a(1 - r^n)}{1 - r},\qquad r \ne 1
Sum to infinity
S=a1r,r<1S_\infty = \dfrac{a}{1 - r},\qquad |r| \lt 1
The three means
AM=a+b2,GM=ab,HM=2aba+bAM = \dfrac{a + b}{2},\quad GM = \sqrt{ab},\quad HM = \dfrac{2ab}{a + b}
Order and link
AMGMHM,GM2=AMHMAM \ge GM \ge HM,\qquad GM^2 = AM \cdot HM

Standard sums Class 11

Natural numbers
1+2++n=n(n+1)21 + 2 + \dots + n = \dfrac{n(n + 1)}{2}
Squares
12+22++n2=n(n+1)(2n+1)61^2 + 2^2 + \dots + n^2 = \dfrac{n(n + 1)(2n + 1)}{6}
Cubes
13+23++n3=[n(n+1)2]21^3 + 2^3 + \dots + n^3 = \left[\dfrac{n(n + 1)}{2}\right]^2
Fibonacci numbers
Fn=Fn1+Fn2,F1++Fn=Fn+21F_n = F_{n-1} + F_{n-2},\qquad F_1 + \dots + F_n = F_{n+2} - 1

Sets Class 11

Two sets
AB=A+BAB|A \cup B| = |A| + |B| - |A \cap B|
Three sets
ABC=AAB+ABC|A \cup B \cup C| = \sum |A| - \sum |A \cap B| + |A \cap B \cap C|
De Morgan's laws
(AB)=AB,(AB)=AB(A \cup B)' = A' \cap B',\qquad (A \cap B)' = A' \cup B'
Difference and complement
AB=AB,A=UAA - B = A \cap B',\qquad A' = U - A
Number of subsets
P(A)=2n|P(A)| = 2^n

Linear programming Class 12

Objective function
Z=ax+byZ = ax + by
Constraints
a1x+b1yc1,a2x+b2yc2,x,y0a_1x + b_1y \le c_1,\quad a_2x + b_2y \ge c_2,\quad x, y \ge 0
Corner point theorem: the best Z is at
a corner point\text{a corner point}
Two optimal corners: the optimum is
the whole edge\text{the whole edge}
Unbounded region: check that
Z>M meets itZ \gt M \text{ meets it}