Skip to content

Maths Demo (III) ​

S5 Inequalities ​

Compound Inequality ​

Solve

    1. x>1x>1 and x>2x>2

    2. x>1x>1 or x>2x>2

    1. x>1x>1 and x<2x<2

    2. x>1x>1 or x<2x<2

    1. x<1x<1 and x>2x>2

    2. x<1x<1 or x>2x>2

Solution
  1. figure

    1. x>2x>2

    2. x>1x>1

  2. figure

    1. 1<x<21<x<2

    2. all real values

  3. figure

    1. no solution

    2. x<1x<1 or x>2x>2

Quadratic Inequality ​

Solve

    1. x2−6x+8>0x^{2}-6x+8>0

    2. x2−6x+8≤0x^{2}-6x+8\le 0

    1. x2+x+1>0x^{2}+x+1>0

    2. x2+x+1≤0x^{2}+x+1\le 0

    1. x2−4x+4>0x^{2}-4x+4>0

    2. x2−4x+4≤0x^{2}-4x+4\le 0

Solution

Sketch the graph by knowing the xx-int and direction of opening

  1. figure

    1. x<2x<2 or x>4x>4

    2. 2≤x≤42\le x\le 4

  2. figure

    1. all real values

    2. no solution

  3. figure

    1. all real values except 2

    2. x=2x=2

S5 Linear Programming ​

Optimization Problem ​

A worker makes xx chairs and yy tables a day.

Wood RequiredTime RequiredProfit Made
Chair2 units1 hour$10
Table3 units1 hour$20

The worker has 24 units of wood and works for at most 10 hours a day.
Find the maximum possible profit.

Method 1: Parallel Line Shifting

Constraints: {2x+3y≤24x+y≤10x, y are non-negative integers\left\{ \begin{aligned} &2x+3y\le 24 \\ &x+y\le 10 \\ &x,\ y \text{ are non-negative integers} \end{aligned} \right.

figure

The profit P=10x+20yP=10x+20y.

Draw the line P=60P=60, i.e. 10x+20y=6010x+20y=60 ← you can choose any number other than 60

figure

By shifting the line, we find that the max of PP is attained at (0,8)(0, 8)

∴     max profit=10(0)+20(8)=$160\begin{aligned} \text{max profit} &= 10(0)+20(8) \\ &= \$160 \end{aligned}

Method 2: Checking Vertices

Constraints: {2x+3y≤24x+y≤10x, y are non-negative integers\left\{ \begin{aligned} &2x+3y\le 24 \\ &x+y\le 10 \\ &x,\ y \text{ are non-negative integers} \end{aligned} \right.

figure

The profit P=10x+20yP=10x+20y.

There are 4 vertices:

At (0,0)(0, 0), P=10(0)+20(0)=$0\begin{aligned} P &= 10(0)+20(0) \\ &= \$0 \end{aligned}

At (0,8)(0, 8), P=10(0)+20(8)=$160\begin{aligned} P &= 10(0)+20(8) \\ &= \$160 \end{aligned}

At (6,4)(6, 4), P=10(6)+20(4)=$140\begin{aligned} P &= 10(6)+20(4) \\ &= \$140 \end{aligned}

At (10,0)(10, 0), P=10(10)+20(0)=$100\begin{aligned} P &= 10(10)+20(0) \\ &= \$100 \end{aligned}

∴     max profit =$160=\$160

S5 Solving Triangles ​

Height of a Solvable Triangle ​

Find the height hh of this triangle.

figure

Method 1: By Area (倒積求高)

By Heron’s formula, its area = 14.69693846

∴     12(7)(h)=14.69693846h=4.20\begin{aligned} \dfrac{1}{2}(7)(h) &= 14.69693846 \\ h &= 4.20 \end{aligned}

Method 2: By Angle

By Cosine law, θ=44.4153086°θ=44.4153086°

∴     sin⁡θ=h6h=4.20\begin{aligned} \sinθ &= \dfrac{h}{6} \\ h &= 4.20 \end{aligned} ← consider the right-angled Δ on the right

In-radius of a Triangle ​

Find the in-radius of this triangle.

figure

Solution

The in-radius is the radius rr of the in-circle.

figure

By Heron’s formula, area of △ABC=14.69693846\triangle ABC=14.69693846

We can cut △ABC\triangle ABC into △AOB\triangle AOB, △BOC\triangle BOC and △COA\triangle COA, whose heights are all rr.

∴     12(5)(r)+12(7)(r)+12(6)(r)=14.69693846r=1.63\begin{aligned} \dfrac{1}{2}(5)(r)+\dfrac{1}{2}(7)(r)+\dfrac{1}{2}(6)(r) &= 14.69693846 \\ r &= 1.63 \end{aligned}

Solve a Trapezium ​

Find the area of this trapezium.

figure

Solution

Add point EE on CDCD such that ADAD // BEBE

BE=AD=4DE=AB=5CE=12−5=7\begin{aligned} BE &= AD \\ &= 4 \\ DE &= AB \\ &= 5 \\ CE &= 12-5 \\ &= 7 \end{aligned}

figure

By finding the height of △BCE\triangle BCE, h=3.421868448h=3.421868448

∴     Area=(5+12)h2=29.1\begin{aligned} \text{Area} &= \dfrac{(5+12)h}{2} \\ &= 29.1 \end{aligned}

Area of a Circle Segment ​

The radius of the circle is 4 and AB=6AB=6. Find the area of the shaded segment ABAB.

figure

Solution

Solve △ABC\triangle ABC, θ=97.18075578θ=97.18075578 and area =7.937253933=7.937253933

area of sector ABC=πr2×θ360°=13.56899326\begin{aligned} \text{area of sector } ABC &= π r^{2}\times\dfrac{θ}{360°} \\ &= 13.56899326 \end{aligned}

∴     area of shaded segment=13.56899326−7.937253933=5.63\begin{aligned} \text{area of shaded segment} &= 13.56899326-7.937253933 \\ &= 5.63 \end{aligned}

figure

S5 3D Geometry ​

Height of a Symmetrical Tetrahedron ​

Consider a tetrahedron with AC=BC=35AC=BC=35 cm, VA=VB=29VA=VB=29 cm, VC=15VC=15 cm and AB=42AB=42 cm. Find the height OVOV.

figure

Solution

Let MM be the mid-pt of ABAB.

Note that the tetrahedron is symmetrical about the plane VMCVMC.

figure

By finding the height of △VAB\triangle VAB, VM=20VM=20 cm

By finding the height of △CAB\triangle CAB, CM=28CM=28 cm

By finding the height of △VMC\triangle VMC, OV=10.3OV=10.3 cm

S5 Locus ​

Equation of a Perpendicular Bisector ​

Given A(1,3)A(1, 3) and B(5,1)B(5, 1). Find the equation of the perpendicular bisector of ABAB.

Method 1: By Mid-pt and Slope

LL passes through ABAB’s mid-pt and is perpendicular to ABAB.

figure

MM = ABAB’s mid-pt = (1+52,3+12)\left(\dfrac{1+5}{2},\dfrac{3+1}{2}\right) = (3,2)(3, 2)

∵     L⊥ABL\perp AB

∴     mL×mAB=−1mL×1−35−1=−1mL=2\begin{aligned} m_{L}\times m_{AB} &= -1 \\ m_{L}\times\dfrac{1-3}{5-1} &= -1 \\ m_{L} &= 2 \end{aligned}

∴     y−2x−3=2y=2x−4\begin{aligned} \dfrac{y-2}{x-3} &= 2 \\ y &= 2x-4 \end{aligned}

Method 2: By Equidistant

Any point P(x,y)P(x, y) on the perpendicular bisector is equidistant from AA and BB.

figure

PA=PB(x−1)2+(y−3)2=(x−5)2+(y−1)2(x−1)2+(y−3)2=(x−5)2+(y−1)2x2−2x+1+y2−6y+9=x2−10x+25+y2−2y+1−2x−6y+10=−10x−2y+26y=2x−4\begin{aligned} PA &= PB \\ \sqrt{(x-1)^{2}+(y-3)^{2}} &= \sqrt{(x-5)^{2}+(y-1)^{2}} \\ (x-1)^{2}+(y-3)^{2} &= (x-5)^{2}+(y-1)^{2} \\ x^{2}-2x+1+y^{2}-6y+9 &= x^{2}-10x+25+y^{2}-2y+1 \\ -2x-6y+10 &= -10x-2y+26 \\ y &= 2x-4 \end{aligned}

Equation of a Parabolic Locus ​

PP is a moving point such that it is equidistant from A(2,3)A(2, 3) and the line LL: y=1y=1. Find the equation of the locus ΓΓ of PP.

figure

Solution

Let P=(x,y)P=(x, y)

PA=distance from P to L(x−2)2+(y−3)2=y−1(x−2)2+(y−3)2=(y−1)2x2−4x+4+y2−6y+9=y2−2y+1x2−4x+12=4yy=14x2−x+3\begin{aligned} PA &= \text{distance from } P \text{ to } L \\ \sqrt{(x-2)^{2}+(y-3)^{2}} &= y-1 \\ (x-2)^{2}+(y-3)^{2} &= (y-1)^{2} \\ x^{2}-4x+4+y^{2}-6y+9 &= y^{2}-2y+1 \\ x^{2}-4x+12 &= 4y \\ y &= \dfrac{1}{4}x^{2}-x+3 \end{aligned}

S5 Equation of Circle ​

Determine whether a Point is Inside / Outside a Circle ​

Determine whether A(3,4)A(3, 4) is inside, on or outside the circle (x−1)2+(y−2)2=4(x-1)^{2}+(y-2)^{2}=4.

Solution

Compare AGAG with rr

  • AG<rAG<r → inside
  • AG=rAG=r → on
  • AG>rAG>r → outside

The centre of the circle is G(1,2)G(1, 2).

The radius rr of the circle is 4=2\sqrt{4}=2.

distance AG=(3−1)2+(4−2)2=2.83>r\begin{aligned} AG &= \sqrt{(3-1)^{2}+(4-2)^{2}} \\ &= 2.83 \\ &> r \end{aligned}

∴     AA is outside the circle

figure

Determine whether a Circle Cuts the x-axis / y-axis ​

Determine whether the circle (x−2)2+(y−4)2=9(x-2)^{2}+(y-4)^{2}=9 cuts the xx-axis and the yy-axis respectively.

Method 1: Compare with Radius

centre G=(2,4)G=(2, 4)
radius r=9=3\begin{aligned} \text{radius } r &= \sqrt{9} \\ &= 3 \end{aligned}
distance from GG to xx-axis =4>r=4>r → the circle does not cut the xx-axis
distance from GG to yy-axis =2<r=2<r → the circle cut the yy-axis

figure

Method 2: Try to Find Intercepts

Find xx-int by putting y=0y=0:

(x−2)2+(0−4)2=9x2−4x+11=0\begin{aligned} (x-2)^{2}+(0-4)^{2} &= 9 \\ x^{2}-4x+11 &= 0 \end{aligned}

No real root

∴     There are no xx-int, so the circle does not cut the xx-axis

Find yy-int by putting x=0x=0:

(0−2)2+(y−4)2=9y2−8y+11=0y=1.76 or 6.24\begin{aligned} (0-2)^{2}+(y-4)^{2} &= 9 \\ y^{2}-8y+11 &= 0 \\ y &= 1.76 \text{ or } 6.24 \end{aligned}

∴     There are 2 yy-int, so the circle cuts the yy-axis

Equation of a Circle Through 3 Given Points (三點共圓) ​

Find the equation of the circle which passes through A(0,0)A(0, 0), B(−2,6)B(-2, 6) and C(8,−4)C(8, -4).

Method 1: By Perpendicular Bisector of Chord

Find the perpendicular bisector of ABAB and ACAC: ← step omitted

{⊥ bisector of AB:y=13x+103...(1)⊥ bisector of AC:y=2x−10...(2)\left\{ \begin{aligned} \perp \text{ bisector of } AB&: y=\dfrac{1}{3}x+\dfrac{10}{3} && ...(1) \\ \perp \text{ bisector of } AC&: y=2x-10 && ...(2) \end{aligned} \right.

Solving (1) and (2), centre G=(8,6)G=(8, 6) ← GG is the intersection of (1) and (2)

radius=GA=(8−0)2+(6−0)2=10\begin{aligned} \text{radius} &= GA \\ &= \sqrt{(8-0)^{2}+(6-0)^{2}} \\ &= 10 \end{aligned}

∴     The equation is (x−8)2+(y−6)2=100(x-8)^{2}+(y-6)^{2}=100

figure

Method 2: By Substituting Points

Only use this method when one of the points is (0, 0)

Let the equation be x2+y2+Dx+Ey+F=0x^{2}+y^{2}+Dx+Ey+F=0

Put A(0,0)A(0, 0) into the equation:

02+02+D(0)+E(0)+F=0F=0\begin{aligned} 0^{2}+0^{2}+D(0)+E(0)+F &= 0 \\ F &= 0 \end{aligned}

∴     The equation is x2+y2+Dx+Ey=0x^{2}+y^{2}+Dx+Ey=0

Put B(−2,6)B(-2, 6) and C(8,−4)C(8, -4) into the equation:

{(−2)2+62+D(−2)+E(6)=082+(−4)2+D(8)+E(−4)=0→{−2D+6E=−408D−4E=−80→{D=−16E=−12\left\{ \begin{aligned} (-2)^{2}+6^{2}+D(-2)+E(6) &= 0 \\ 8^{2}+(-4)^{2}+D(8)+E(-4) &= 0 \end{aligned} \right. \to \left\{ \begin{aligned} -2D+6E &= -40 \\ 8D-4E &= -80 \end{aligned} \right. \to \left\{ \begin{aligned} D &= -16 \\ E &= -12 \end{aligned} \right.

∴     The equation is x2+y2−16x−12y=0x^{2}+y^{2}-16x-12y=0

Equation of Tangent to a Circle at a Given Point ​

P(3,4)P(3, 4) is a point on the circle (x−5)2+(y−3)2=5(x-5)^{2}+(y-3)^{2}=5. Find the equation of the tangent LL to the circle at PP.

Solution

centre G=(5,3)G=(5, 3)

Note that PG⊥LPG\perp L:

mL×mPG=−1mL×4−33−5=−1mL=2\begin{aligned} m_{L}\times m_{PG} &= -1 \\ m_{L}\times\dfrac{4-3}{3-5} &= -1 \\ m_{L} &= 2 \end{aligned}

LL passes through PP with slope 2

y−4x−3=2y=2x−2\begin{aligned} \dfrac{y-4}{x-3} &= 2 \\ y &= 2x-2 \end{aligned}

figure

Equation of Tangent to a Circle with a Given Slope ​

Consider the circle (x−5)2+(y−3)2=5(x-5)^{2}+(y-3)^{2}=5. A straight line LL with slope 2 is tangent to the circle. Find the equation of LL.

Method 1: By Discriminant

Let LL: y=2x+ky=2x+k

Put LL into the circle:

(x−5)2+(2x+k−3)2=5⋮← a lot of expanding and simplifying5x2+(4k−22)x+(k2−6k+29)=0← made into the form ax2+bx+c=0\begin{aligned} (x-5)^{2}+(2x+k-3)^{2} &= 5 \\ &\vdots && \color{red}{\leftarrow \text{ a lot of expanding and simplifying}} \\ 5x^{2}+(4k-22)x+(k^{2}-6k+29) &= 0 && \color{red}{\leftarrow \text{ made into the form } ax^{2}+bx+c=0} \end{aligned}

LL cuts the circle at 1 point only:

Δ=0(4k−22)2−4(5)(k2−6k+29)=0⋮← a lot of expanding and simplifyingk2+14k+24=0k=−2 or −12\begin{aligned} Δ &= 0 \\ (4k-22)^{2}-4(5)(k^{2}-6k+29) &= 0 \\ &\vdots && \color{red}{\leftarrow \text{ a lot of expanding and simplifying}} \\ k^{2}+14k+24 &= 0 \\ k &= -2 \text{ or } -12 \end{aligned}

∴     LL: y=2x−2y=2x-2 or y=2x−12y=2x-12

figure

Method 2: By Point-Line Distance Formula (out of syl.)

The distance dd between a point (X,Y)(X, Y) and a straight line ax+by+c=0ax+by+c=0 is given by:

d2=[aX+bY+c]2a2+b2d^{2}=\dfrac{[aX+bY+c]^{2}}{a^{2}+b^{2}}

we have centre G=(5,3)G=(5, 3) and radius r=5r=\sqrt{5}

Let LL: y=2x+ky=2x+k → 2x−y+k=02x-y+k=0

Note that the distance from GG to LL is rr:

52=[2(5)−3+k]222+(−1)225=(7+k)20=k2+14k+24k=−2 or −12\begin{aligned} \sqrt{5}^{2} &= \dfrac{[2(5)-3+k]^{2}}{2^{2}+(-1)^{2}} \\ 25 &= (7+k)^{2} \\ 0 &= k^{2}+14k+24 \\ k &= -2 \text{ or } -12 \end{aligned}

∴     LL: y=2x−2y=2x-2 or y=2x−12y=2x-12

figure

S5 Dispersion ​

Inter-quartile Range ​

Find the inter-quartile range for

  1. 2 7 9 11 13 14 17 23

  2. 1 4 10 11 12 18 19 23 28

Solution
  1. First find Q1Q_{1} and Q3Q_{3}.

    The median cuts the data into two equal halves.

    Q1Q_{1} = median of the lower half =8=8

    Q3Q_{3} = median of the upper half =15.5=15.5

    ∴     IQR=Q3−Q1=7.5\begin{aligned} IQR &= Q_{3}-Q_{1} \\ &= 7.5 \end{aligned}

  2. Q1Q_{1} = median of the lower half =7=7 ← 留意lower half同upper half都不包括median自己!

    Q3Q_{3} = median of the upper half =21=21

    ∴     IQR=Q3−Q1=14\begin{aligned} IQR &= Q_{3}-Q_{1} \\ &= 14 \end{aligned}

Find Mean and SD from a Pair of z-scores ​

In a test, students A and B get 40 marks and 70 marks respectively. Their standard scores are −1 and 2 respectively.

Find the mean and standard deviation of the marks of the whole class.

Solution

{40−xˉσ=−170−xˉσ=2→{40−xˉ=−σ70−xˉ=2σ→{xˉ−σ=40xˉ+2σ=70\left\{ \begin{aligned} \dfrac{40-\bar{x}}{σ} &= -1 \\ \dfrac{70-\bar{x}}{σ} &= 2 \end{aligned} \right. \to \left\{ \begin{aligned} 40-\bar{x} &= -σ \\ 70-\bar{x} &= 2σ \end{aligned} \right. \to \left\{ \begin{aligned} \bar{x}-σ &= 40 \\ \bar{x}+2σ &= 70 \end{aligned} \right.

∴     xˉ=50\bar{x}=50 and σ=10σ=10 ← by calculator program

S5 Counting ​

Method of Bundling ​

3 boys and 7 girls form a queue. If the 3 boys must stand together, how many ways are there?

Solution

綑綁法

Treat the 3 boys as 1 object first. Together with the 7 girls, there are 8 objects now.

Step 1: Order 8 objects (7 girls and 1 box of boys)

Step 2: Order the 3 boys within the box

∴     8!×3!=2419208!\times 3!=241920

Method of Insertion ​

3 boys and 7 girls form a queue. If no boy can stand next to another boy, how many ways are there?

Solution

插空法

Step 1: Order the 7 girls

Step 2: There are 8 spaces among the queue of girls. Choose 3 spaces from them to put in the boys.

Step 3: Order the 3 boys into the spaces

∴     7!×C38×3!=16934407!\times C_{3}^{8}\times 3!=1693440

Successive Selection ​

There are 10 students. To form a committee with 1 chairperson, 2 vice-chairpersons and 3 members, how many ways are there?

Solution

Step 1: Select 1 chairperson from 10 students

Step 2: Select 2 vice-chairpersons from the remaining 9 students

Step 3: Select 3 members from the remaining 7 students

∴     C110×C29×C37=12600C_{1}^{10}\times C_{2}^{9}\times C_{3}^{7}=12600

Count the Diagonals in a Polygon ​

Consider a regular hexagonal (6 sides). How many diagonals are there?

‘diagonal’ is a straight line connecting any two non-adjacent vertices.

Solution

figure

If we connect any two vertices by a line, there will be C26=15C_{2}^{6}=15 lines. 任揀兩點都可以連出一條線

However, 6 of those lines are the 6 sides. 其中6條係本身六邊形的邊

∴     There are 15−6=915-6=9 diagonals