HKDSE Maths Formula Sheet

Every key formula from the HKDSE Mathematics Compulsory Part, grouped by topic. Open a topic for full notes, worked examples and practice questions.

Geometry & Trigonometry

Equations of Straight Lines

Slope formulam = (y₂ − y₁) / (x₂ − x₁)
Point-slope formy − y₁ = m(x − x₁)
Two-point form(y − y₁) / (x − x₁) = (y₂ − y₁) / (x₂ − x₁)
Slope-intercept formy = mx + c
Intercept formx/a + y/b = 1 (x-intercept a, y-intercept b)
General formAx + By + C = 0: slope −A/B, y-intercept −C/B, x-intercept −C/A
Parallel / perpendicularm₁ = m₂ / m₁ × m₂ = −1
Distance from a point to a line|Ax₀ + By₀ + C| / √(A² + B²)
Full notes & examples →

Basic Properties of Circles

1. Chords & Arcs• Perpendicular line from center to a chord bisects the chord.
• Equal chords are equidistant from the center.
2. Angles & Arcs• Angle at the center is twice the angle at the circumference.
• Angles subtended by the same arc are equal.
• Angle in a semicircle is 90°.
3. Cyclic Quads• Opposite angles of a cyclic quadrilateral add up to 180°.
• Exterior angle of a cyclic quad equals the interior opposite angle.
4. Tangent Basics• A tangent is perpendicular to the radius at the point of contact.
• Tangents drawn from an external point are equal in length.
5. Alternate SegmentThe angle between a tangent and a chord equals the angle subtended by the chord in the alternate segment.
Full notes & examples →

Centres of Triangles

1. CentroidMedians
Divides each median in a ratio of 2:1 (from vertex to base).
2. IncentreAngle Bisectors
Equidistant from all three sides. Center of the inscribed circle.
3. CircumcentrePerpendicular Bisectors
Equidistant from all three vertices. Center of the circumscribed circle.
4. OrthocentreAltitudes
The lines meet at right angles to the opposite sides.
Full notes & examples →

Equations of Circles

Standard form(x − h)² + (y − k)² = r² — centre (h, k), radius r
General formx² + y² + Dx + Ey + F = 0
Centre formula(−D/2, −E/2)
Radius formular = √((D/2)² + (E/2)² − F) = ½√(D² + E² − 4F)
Diameter formEndpoints (x₁, y₁), (x₂, y₂): (x − x₁)(x − x₂) + (y − y₁)(y − y₂) = 0
Tangent testDistance from centre to line = r (less than r: 2 intersection points; greater: none)
Full notes & examples →

Locus

Distance formulaPA = √((x − x₁)² + (y − y₁)²) — write every condition with it, then square both sides
Equidistant from A and BPA = PB ⟹ perpendicular bisector of AB
Fixed distance r from C(h, k)(x − h)² + (y − k)² = r² (a circle)
Fixed distance d from a line Ax + By + C = 0|Ax + By + C| / √(A² + B²) = d (a pair of parallel lines)
Distance from a point to a lined = |Ax₀ + By₀ + C| / √(A² + B²)
Equidistant from two intersecting lines|A₁x + B₁y + C₁| / √(A₁² + B₁²) = |A₂x + B₂y + C₂| / √(A₂² + B₂²) (a pair of angle bisectors)
Full notes & examples →

More about Trigonometry

Sine rulea / sin A = b / sin B = c / sin C
Cosine rule (side)a² = b² + c² − 2bc cos A
Cosine rule (angle)cos A = (b² + c² − a²) / (2bc)
Area of a triangle½ab sin C; Heron's formula √(s(s − a)(s − b)(s − c)), s = (a + b + c)/2
Identitiessin²θ + cos²θ = 1, tan θ = sin θ / cos θ
Obtuse anglessin(180° − θ) = sin θ, cos(180° − θ) = −cos θ
BearingsTrue bearing: clockwise from north, e.g. 030°; compass bearing: e.g. N30°E
Full notes & examples →

3D Trigonometry

3D Pythagoras (cuboid diagonal)d = √(a² + b² + c²)
Angle between a line and a planetan θ = height above the plane ÷ length of the projection
Angle between two planesThe angle between two lines, one in each plane, both perpendicular to the line of intersection at the same point
Projection of a line segmentprojection = L cos θ
Sine rulea / sin A = b / sin B = c / sin C
Cosine rulea² = b² + c² − 2bc cos A
Area of a triangle½ab sin C
Full notes & examples →

Functions & Graphs

Functions and Graphs

1. QuadraticVertex Form:
y = a(x − h)² + k
• Vertex: (h, k)
• Axis of Symmetry: x = h
• Y-intercept: Let x = 0
2. Exponentialy = aˣ
(where a > 0 and a ≠ 1)
• Passes through (0, 1).
• Horizontal Asymptote: y = 0
• Always positive (y > 0).
3. Logarithmicy = logₐ x
(where x > 0 and a ≠ 1)
• Passes through (1, 0).
• Vertical Asymptote: x = 0
• Domain: x > 0.
4. Graph Translations• Vertical: y = f(x) ± k
• Horizontal: y = f(x ∓ h)
5. Reflections & Stretches• Reflection:
−f(x) or f(−x)
• Stretch:
a · f(x) or f(kx)
Full notes & examples →

Exponential & Logarithmic Functions

1. Laws of Logarithms• Product: logₐ(xy) = logₐ x + logₐ y
• Quotient: logₐ(x/y) = logₐ x − logₐ y
• Power: logₐ(xⁿ) = n logₐ x
• Identity: logₐ a = 1 and logₐ 1 = 0
2. Change of Baselogₐ b = log_c b / log_c a = log b / log a
3. Exponential Equations• Same Base: aᶠ⁽ˣ⁾ = aᵍ⁽ˣ⁾ ⟹ f(x) = g(x)
• Different Base: Take log of both sides:
aˣ = b ⟹ x log a = log b ⟹ x = log b / log a
4. Logarithmic Equations1. Condense both sides: logₐ f(x) = logₐ g(x) ⟹ f(x) = g(x)
2. Convert to exponent: logₐ f(x) = y ⟹ f(x) = aʸ
5. Inverse Graphs• Exponential: y = aˣ (passes through (0, 1), asymptote y = 0)
• Logarithmic: y = logₐ x (passes through (1, 0), asymptote x = 0)
Full notes & examples →

More about Graphs of Functions

1. Graphical SolutionsTo solve f(x) = g(x) graphically:
1. Plot y = f(x) and y = g(x) on the same axes.
2. Find where the curves intersect.
2. Graphical InequalitiesTo solve f(x) > g(x) graphically:
Look for the intervals of x where the curve y = f(x) lies above y = g(x).
3. Absolute Value: y = |f(x)|Take the graph of y = f(x). Any portion below the x-axis (y < 0) is reflected upward to become positive. The parts already above the x-axis stay unchanged.
4. Absolute Value: y = f(|x|)Take the graph of y = f(x) for x ≥ 0 only (right side). Erase the entire left side (x < 0), then mirror the right side to the left.
5. Reciprocal AsymptotesFor a rational function like y = 1/(x − h) + k:
• Vertical Asymptote (VA): x = h
• Horizontal Asymptote (HA): y = k
Full notes & examples →

Algebra

Quadratic Equations in One Unknown

1. The DiscriminantΔ = b² − 4ac
• Δ > 0: 2 distinct real roots
• Δ = 0: 1 repeated real root
• Δ < 0: No real roots
2. Sum & Product of RootsFor ax² + bx + c = 0 with roots α, β:
• Sum (S): α + β = −b / a
• Product (P): αβ = c / a
3. Forming New EquationsTo form a quadratic equation with roots α′ and β′:
1. Calculate new Sum: S′ = α′ + β′
2. Calculate new Product: P′ = α′β′
3. Equation: x² − S′x + P′ = 0
4. Quadratic InequalitiesFor x² + bx + c ≥ 0 or ≤ 0 with roots r₁ < r₂:
• If ≥ 0: Outside range (x ≤ r₁ or x ≥ r₂)
• If ≤ 0: Inside range (r₁ ≤ x ≤ r₂)
Full notes & examples →

More about Polynomials

1. Remainder TheoremWhen f(x) is divided by ax − b, the remainder R is:
R = f(b/a)
2. Factor Theorem(ax − b) is a factor of f(x) if and only if:
f(b/a) = 0
3. Factorizing CubicsTo factorize Ax³ + Bx² + Cx + D:
1. Guess a root r such that f(r) = 0 (try ±1, ±2).
2. Divide f(x) by x − r to get a quadratic quotient.
3. Factorize the quadratic term further.
4. HCF & LCM1. Factorize every polynomial completely first.
• HCF: Product of the lowest powers of common factors.
• LCM: Product of the highest powers of all factors.
5. Solving EquationsTo solve f(x) = 0:
1. Factorize f(x) completely.
2. Set each factor to 0 and solve for x.
Full notes & examples →

More about Equations

1. Linear-QuadraticMake y (or x) the subject of the linear equation and substitute it into the quadratic equation:
ax² + bx + c = 0
2. FractionalMultiply the entire equation by the LCM of the denominators to clear the fractions.
3. ExponentialLet u = aˣ to transform:
p(a²ˣ) + q(aˣ) + r = 0 ⟹ pu² + qu + r = 0
4. LogarithmicCondense log terms using laws first:
log M + log N = log(MN)
If log M = log N ⟹ M = N
5. TrigonometricLet u = sin θ (or cos θ) to transform:
pu² + qu + r = 0
Full notes & examples →

Inequalities & Linear Programming

1. Linear & Compound• General Form: ax > b
• AND: Overlapping region on a number line.
• OR: Combined union of both regions.
2. QuadraticFor x² + bx + c > 0 or < 0 with roots r₁ < r₂:
• If > 0: Outside range (x < r₁ or x > r₂)
• If < 0: Inside range (r₁ < x < r₂)
3. 2D Linear InequalitiesAx + By ≤ C or Ax + By > C
4. Feasible RegionThe overlapping shaded region formed by a system of multiple 2D linear inequalities.
5. Linear ProgrammingOptimize (maximize or minimize) the Objective Function:
P = ax + by
Full notes & examples →

Arithmetic & Geometric Sequences

1. Arithmetic (AP)General Term: Tₙ = a + (n − 1)d
(where a = 1st term, d = common diff.)
2. Geometric (GP)General Term: Tₙ = arⁿ⁻¹
(where a = 1st term, r = common ratio)
3. Sum to InfinityFormula: S∞ = a / (1 − r)
Full notes & examples →

Variations

1. Direct Variationy ∝ xⁿ
y = kxⁿ
2. Inverse Variationy ∝ 1/xⁿ
y = k/xⁿ ⟺ yxⁿ = k
3. Joint Variationy ∝ xᵐzⁿ
• Direct & Inverse combined:
y ∝ x/z²
y = kxᵐzⁿ
y = kx/z²
4. Partial Variation• Partly constant & partly varies directly:
y = const + dir. as x
• Linear-constant: y = k₁ + k₂x
• Two variables: y = k₁x + k₂z²
5. Percentage ChangeCompare ynew to yold after substituting changed values.
Full notes & examples →

Statistics & Probability

Measures of Dispersion

1. RangeRange = Maximum − Minimum
2. Interquartile Range (IQR)IQR = Q₃ − Q₁
(where Q₁ = lower quartile and Q₃ = upper quartile)
3. Standard Deviation (SD)SD (σ) = √(Variance)
4. Box-and-Whisker PlotVisualizes the 5-number summary:
Min, Q₁, Median, Q₃, Max
5. Data TransformationsIf each data point xᵢ → a · xᵢ + b:
• Mean / Med / Mode: Multiply by a, add b.
• Range / IQR / SD: Multiply by |a| (adding b has no effect!).
• Variance: Multiply by a².
Full notes & examples →

Permutations and Combinations

1. PermutationsP(n, r) = n! / (n − r)!
2. CombinationsC(n, r) = n! / [r!(n − r)!]
3. Neighbor Restrictions• Must sit together
• Cannot sit together
4. Selections with "At least"• At least one…
• At least two…
5. Circular Arrangements(n − 1)!
Full notes & examples →

More about Probability

1. Addition LawP(A ∪ B) = P(A) + P(B) − P(A ∩ B)
2. Conditional ProbabilityP(A | B) = P(A ∩ B) / P(B)
3. Independence of EventsA and B are independent if and only if:
P(A ∩ B) = P(A) × P(B)
(equivalently, P(A | B) = P(A))
4. Tree Diagrams (AP/GP)• Along branches (AND): Multiply.
• Across branches (OR): Add.
5. P&C ProbabilityP(Event) = Favorable C(n,r) or P(n,r) / Total C(n,r) or P(n,r)
Full notes & examples →
Know the formula but stuck on the question?
Solve it step by step with SketchMath AI