Translation

Thursday, 18 September 2014

Masha Hamid Has a Question on Logarithm

Mashal Hamid mashalhamid.xx@gmail.com

8:08 PM (3 hours ago)
to me
Inline images 1

Hello Mr.Tan 

I was wandering if you could give me the solution to this question 16 from past year paper on logarithmic functions and indices, that i found on your blog, as I am having troubles with part (c) .
I would really appreciate it. 

Thanks. 
---------------------------------------------------------------------------------------------------------------------

Hello Mashal,

My proposed solution to part (c) is as follows:

Use the given f(x) = 2xlogx3 – 5logx9 – x + 5 to factorise into:
                     f(x) = (x – 5)(alogx3 – b),
then the values of a and of b should be obvious as follows:

f(x) = 2xlogx3 – 5logx9 – x + 5
       = 2xlogx3 – 5logx32 – x + 5
       = 2xlogx3 – 10logx3 – x + 5
       = (2xlogx3 – x) – (10logx3 + 5)        ~ rearrange to factorise
       = x(2logx3 – 1) – 5(2logx3 - 1)
       = (x – 5)(2logx3 – 1)
      [≡(x – 5)(alogx3 – b)]
Hence, a = 2 and b = 1.

Hope the above helps. Have a good day!

J
-------------------------------------------------------------------------------------------------------------------------

Mashal Hamid

Sep 19 (2 days ago)
to me
Yes, thank you so much, sir.

Tuesday, 8 July 2014

Brain Teaser 7: Line of Symmetry, Maxima (or, Minima) Of Quadratic Function in Terms Of a, b and c

The Brain Teaser: For quadratic function y = ax2 + bx + c, show that ax2 + bx + c ≡ a(x – s)2 + m, where x = s = - (b/2a) is its line of symmetry; m = c - (b2/4a) is its maxima (or minima, if a > 0)

Any quadratic function graph has a line of symmetry x = s and its maxima (or, minima whichever is applicable) lies at the point of intersection of the graph and its line of symmetry.

In other words, if you substitute x = s into y = ax2 + bx + c, you would get the value of maxima or minima i.e. m. Hence, if you know the value of the line of symmetry of a quadratic function, you can use it to calculate its maxima or minima in lieu of completing the square method or the dy/dx method. 

But what is the value of s in terms of a, b and c? And, what is m in terms of a, b and c? This, in essence, is what this Brain Teaser 7 is all about!

In a week or so, I will post the working in getting ax2 + bx + c ≡ a(x – s)2 + m, where:
1)       x = s = - (b/2a)  (Do you not see this line of symmetry inside the Quadratic Root Formula?)
2)      m = c - (b2/4a) 

Test these with y = (x + 2)(x – 3) = x2 – x – 6, where a = 1, b = -1 and c = -6 and
a    *   The line of symmetry x = s = - (b/2a) = - (-1/2) = ½; and
*   Minima (a = 1 > 0)m = c - (b2/4a) = -6 – (1/4x1) = -6 – ¼ = - 6.25

Have fun with maths!

---------------------------------------------------------

Simple proof:

If the quadratic function y = ax2 + bx + c is expressed as
                                       y = a(x – s)2 + m,

show that:

·        its line of symmetry is x = s = -b/2a
·        its minima (if a > 0) or maxima (if a < 0)
m = c – (b2/4a) = y when x = s = -b/2a

Solution:

            y = ax2 + bx + c
               = a[x2 + (b/a)x] + c
               = a[(x + b/2a)2 – (b/2a)2] + c
               = a(x + b/2a)2 - a(b/2a)2 + c
               = a(x + b/2a)2 + c – b2/4a

Thus, if y = a(x – s)2 + m,
              s = -b/2a, and
              m = c – (b2/4a)

Point of maxima or minima occurs when x = s (i.e. at its line of symmetry).

At x = s = -b/2a, maximum or minimum value of y is as follows:
     y =  ax2 + bx + c
        = a(-b/2a)2 + b(-b/2a) + c
        = b2/4a – b2/2a + c
        = b2/4a – 2b2/4a + c
        = c – (2b2/4a - b2/4a)

        = c – (b2/4a) = m,   as in the expression y = a(x – s)2 + m         …(Shown)

Tuesday, 10 June 2014

Trigo Question: Edexcel 4PMO, 2012 May 17 Paper 1 Question 7 – Q and A

Question 7:                              cos(A +B) = cosA cosB – sinA sinB

a)      Express cos(2x + 45o) in the form M cos2x + N sin2x, where M and N are constants, giving the exact value of M and the exact value of N.                       (2)

b)      Solve, for 0o ≤ x ≤ 180o, the equation cos2x –sin2x = 1                                    (5)


The maximum value of cos2x –sin2x is k.

c)      Find the exact value of k.                                                                                  (2)

d)      Find the smallest positive value of x for which a maximum occurs.                      (3)

My Proposed Solutions

a)      Use:                 cos(A +B) = cosA cosB – sinA sinB
Therefore:         cos(2x + 45o) = cos2x cos45o – sin2x sin45o
[Use:                cos45o = 1/√2 = sin45o (trigo of convenient angle 45o)]
Therefore:         cos(2x + 45o) = (1/√2) cos2x – (1/√2) sin2x
                                                = (1/√2) cos2x + (-1/√2) sin2x
                                                ≡ M cos2x + N sin2x
Where, M = 1/√2 and N = -1/√2                                             (Answer)

b)      For 0o ≤ x ≤ 180o, solve cos2x –sin2x = 1.

cos2x –sin2x = 1
            x 1/√2:             (1/√2) cos2x – (1/√2) sin2x = 1/√2
Therefore:         cos(2x + 45o) = 1/√2
Imply:               (2x + 45o) = cos-1 (1/√2) (= Reference Angle 45o)
[Principle Angle Domain: 0o ≤ x ≤ 180o implies 45o ≤ (2x + 45o) ≤ 360o + 45o]
Therefore:         (2x + 45o) is in 1st qdrant (qd), 4th qd and 1st qd 1st co-terminal
1st qd:               2x + 45o = 45o;            2x = 0o;            x = 0o   (Answers)
4th qd:              2x + 45o = 360o -  45o; 2x = 270o;       x = 135o
5th qd:               2x + 45o = 360o +  45o; 2x = 360o;       x = 180o

c)      Max. value of cos2x – sin2x = k

x 1/√2:             (1/√2) cos2x – (1/√2) sin2x = k/√2
Imply:               cos(2x + 45o) = k/√2
Therefore:         k = (√2) cos(2x + 45o)
k maximum, when cos(2x + 45o) = 1; and, max. k = (√2)(1) = √2 (Answer)

d)      For principle angle domain: 45o ≤ (2x + 45o) ≤ 360o + 45o,
the maximum value occurs when cos(2x + 45o) = 1 = cos 360o.
(cos0o = 1 too but 0o  is outside the domain)
Therefore:         (2x + 45o) = 360o;        2x = 315o;        x = 157.5o        (Answer)

-----------------------------------------------------------------------------------------------------
Good luck to Ms Kim and J Min!

Friday, 6 June 2014

Solve 9 sin2 Ө – 9 sin Ө = 11

Last night at Mont Kiara, the above question was forwarded to me to solve.

Anyway, you will note from my proposed solutions below that different domains for Ө will mean different answers. 

For examples:

* For 0 ≤ Ө ≤ π radians, no value of Ө can satisfy the equation: 9 sin2 Ө – 9 sin Ө = 11;

* For 0 ≤ Ө ≤ 2π radians, two values Ө satisfy the equation

My Proposed Solutions
                                  9 sin2 Ө – 9 sin Ө = 11
-11:                   9 sin2 Ө – 9 sin Ө – 11 = 0
                        (compare: ax2 + bx + c = 0)
where:                   a = 9, b = -9 and c = -11
therefore, roots:     [α = (-b + √(b2 – 4ac))/2a; or β = (-b - √(b2 – 4ac))/2a]
imply:          sin Ө = -(-9) - √(-9)2 – 4(9)(-11))/(2x9) = - 0.713351648; or,
                    sin Ө = -(-9) + √(-9)2 – 4(9)(-11))/(2x9) =  1.713351648;

For 0 ≤ Ө ≤ 2π radians:
                    sin Ө = - 0.713351648 implies Ө in 3rd or 4th quadrants
                          Ө = π + sin-1 (0.713351648) or 2π - sin-1 (0.713351648)
                          Ө = 3.935861836 (3rd Qd) or 5.488916105 (4th Qd)
                          Ө = 3.94 or 5.49 rad (both to 3 sf)

But for 0 ≤ Ө ≤ π radians (1st and 2nd quadrants):
                    For all values of Ө, sin Ө must be +ve.
                    Therefore, sin Ө ≠ - 0.713351648.

Also for all values of Ө in any quadrant, sin Ө ≠ 1.713351648 because 1 ≥  sin Ө ≥ -1.

So remember: If you want to solve a trigonometric equation, you must know or be given the domain because the answers depend on the domain for Ө! In fact, Q 10(e) of Edexcel Further Pure Maths (4PMO) Yr 2013 May Paper 1 amply demonstrates this!!


Tuesday, 3 June 2014

Brain Teaser 6: Differentiate y = Ae^2x + Be^-x, where x ≥ 0,…

A curve has equation y = Ae2x + Be-x, where x ≥ 0. At the point where x = 0, y = 50 and dy/dx = -20.

i)             Show that A = 10 and find the value of B.                                             (5)
ii)           Using the values of A and B found in part (i), find the coordinates of the stationary point of the curve.                                                                 (4)
{My additional question: Express the exact values of the coordinates of this stationary point as     (C ln 2, D(2)(2/3) ) and show that C = 1/3 and D = 30)
iii)          Determine the nature of the stationary point, giving a reason for your answer.     (2)

-------------------------------------------------------------------------------------------------------
In an earlier post, I have shown that eln 2 = 2, 10lg 3 = 3 and generally b^logb x = x. My additional question in part (ii) may require the use of this knowledge in order to get the exact value of the y-coordinate of the stationary point mentioned therein.

(Background to this Q: In the course of preparing a student to sit for her IGCSE Cambridge Add-Maths 0606 next Tuesday (10/06/2014), I came across the above Q as one of the past-year questions on "Calculus". After teaching her how to get the answers, I additionally asked her to get the exact values of the coordinates of the stationary point instead of just (0.231, 47.6). Thus, I have added an additional question to part (ii). :) )

-------------------------------------------------------------------------------------------------------
Answers:
i)                    A = 10; B = 40
ii)                   Stationary point = (0.231, 47.6) [or, ((1/3)ln 2, 30(2)(2/3)); C = 1/3: D=30]
iii)                 d2y/dx2 = 40e2x + 40e-x = +ve for all values of x – thus, minimum point.


Working leading to the answers will be posted in a week or so (please see below on "My Proposed Solutions"). You may post yours by way of comments if this question is of interest to you too. J

(Posted on 3/06/2014 from PJ SS2 Starbucks)

--------------------------------------------------------------------------------------------------------
My Proposed Solutions:

(i)             Given :    y = Ae2x + Be-x, where x ≥ 0
              At x = 0, y = 50 and dy/dx = -20

At x = 0, y = 50, therefore:          50 = Aeo + Beo
                                                   50 = A + B          ~~~ Eqn (1)
At x = 0, dy/dx = -20, therefore:  dy/dx = 2Ae2x – Be-x
                                                   -20  =  2Ae2(0) – Be-(0)
                                                   -20 = 2A – B      ~~~ Eqn (2)
Eqn (1) + Eqn (2):                       3A = 30,          hence, A = 10 (Shown)
Use Eqn (1):                               50 = 10 + B,    hence, B = 40 (Answer)

(ii)           Since,                 A = 10 and b = 40
therefore:            dy/dx = 2Ae2x – Be-x = 20e2x – 40e-x
At stationary pt, dy/dx = 0
therefore:            0 = 20e2x – 40e-x
x (ex):                  0 = 20e2x(ex) – 40e-x(ex)
                           0 = 20e3x – 40eo
                           0 = 20e3x – 40
                           e3x = 40/20 = 2
ln both sides:       3x = ln 2.         Therefore,        x = (1/3)(ln 2) ~~ exact value
                                                                           x = 0.231 (3 sf) ~~ (Answer)
Put x = (1/3)(ln 2) into:   y = 10e2x + 40e-x
therefore,                        y = 10e2(1/3)(ln 2) + 40e-(1/3)(ln 2)
                                       y = 10e(ln 2^(2/3)) + 40e (ln 2^(-1/3))
[Use ln ex = x:                 y = 10(2(2/3)) + 40(2(-1/3))]
All in terms of 2(2/3):        y = 10(2(2/3)) + 40(2(-1/3))(2/2)
                                       y = 10(2(2/3)) + [40(2(-1/3))(2)]÷2
                                       y = 10(2(2/3)) + [40(2(1-(1/3)))] ÷2
                                       y = 10(2(2/3)) + 20(2(2/3)) = 30(2(2/3))      ~~ exact value
                                       y = 47.6 (to 3 sf)               ~~ (Answer)                                       

(iii)          d2y/dx2 = 40e2x + 40e-x = +ve value for all x ≥ 0
So, stationary pt is minimum.                                ~~ (Answer)


Please drop your comments if you have any view to express on the above. Have fun!

(Posted on 18/06/2014 from PJ SS2 Starbucks)

Monday, 5 May 2014

Brain Teaser 5: Number Sequence

A sequence of numbers U1, U2,…, Un,…is given by the formula
       Un = 3(2/3)n – 1 where n is a positive integer.

a)      Find the value of U1, U2 and U3
b)      Show that sigma or summation of Un (for n = 1 to 15) = -9.014 to 4 significant figures
c)      Prove that U(n + 1) = 2(2/3)n – 1

Was at Dataran Sunway (Kota D’sara) Starbucks with Angela and this Q cropped up and we solved it pretty fast! What about you?

If before I put up the answers in a week or so, you are the 1st to post the correct answers by way of comments (with brief intro of yourself), then you win a Starbucks drink from me J.

Have fun with maths!

----------------------------------------------------------------------------------

From Borders' Starbucks @ The Curve, 17/5/2014 (Sat, 1.10pm):


My Proposed Solutions 

a)      To find the value of U1, U2 and U3 – This is straight forward!

For U1, put n = 1 into Un = 3(2/3)n – 1      
Therefore,                   U1 = 3(2/3)1 – 1 = 2 - 1
                                    U1 = 1                            (Answer)

For U2, put n = 2 into Un = 3(2/3)n – 1
Therefore,                   U2 = 3(2/3)2 – 1 = 4/3 - 1
                                    U2 = 1/3                        (Answer)

For U3, put n = 3 into Un = 3(2/3)n – 1
Therefore,                   U3 = 3(2/3)3 – 1 = 8/9 - 1
                                    U3 = -1/9                      (Answer)

b)      To show that sigma or summation of Un (from n = 1 to 15) = -9.014 to 4 significant figures

If you use conventional approach, you will discover:
No common difference: U2 – U1 ≠ U3 - U2 (-2/3 ≠ - 4/9)
No common ratio: U2/U1 ≠ U3/U2 (1/3 ≠ - 1/3)

However, when you take a good look at Un = 3(2/3)n – 1,
You will see that:     Un = Geometric Term – 1…(GT = ar(n-1) = (a/r)rn)
Therefore,                 Un = 3(2/3)n – 1  ≡ (a/r)(rn) – 1
Hence,                          r = 2/3
                                  a/r = 3 or, a = 3r = 3(2/3) = 2

Therefore, sigma or summation of Un = a(1-rn)/(1-r) – n
Hence, sigma or summation first 15  Un terms (from n=1 to 15)
                                 =  a(1-rn)/(1-r) – n
Where,                  a = 2 (1st of the GT – pl see above)
                              r = 2/3 (common ratio of the geometric sequence)
                             n = 15
Hence, sigma or summation first 15  Un terms (from n=1 to 15)
                              =  a(1-rn)/(1-r) – n
                              = 2(1 – (2/3)15)/(1 – 2/3) – 15
                              = 2(0.997716341)/(1/3) – 15
                              = 6(0.997716341) – 15
                              = 5.98629805 -15
                              = - 9.01370195
                              = - 9.014 (to 4 sf) (Shown)

c)      To prove that U(n + 1) = 2(2/3)n – 1

Put n = (n+1) into Un = 3(2/3)n – 1
Therefore,             U(n + 1) = 3(2/3)(n + 1) – 1
                              U(n + 1) = 3(2/3)n(2/3)1 – 1…Law of Index: b(m + n) = bm x bn

                              U(n + 1) = 2(2/3)n – 1 (Shown)

No one wins a Starbucks drink from me...ok, got to meet up with Karina of Garden Intl School later...

Thursday, 1 May 2014

Brain Teaser 4: Find the centre and the radius of the circle with the equation x2 + y2 – 4x – 6y – 12 = 0 (or, x2 + y2 = ax + by + c, generally)

If you are given the centre of a circle as (a, b) and the radius as r (directly or indirectly), you can easily use Pythagoras Theorem to derive its equation as follows:

(x – a)2 + (y – b)2 = r2

If you are given equation of a circle not in the above format but in already simplified form, say
x2 + y2 – 4x – 6y – 12 = 0, would you be able to find:

1) its centre (a, b); and 
2) its radius, r?

Answer for Brain Teaser 4 will be out in a week or so. Let you try first.

Have fun with maths!

Notes:
All brain teasers in this blog are questions given to students to try and they took longer than usual to come up with solutions, and in some instances, even after 15 minutes, the student(s) just could not solve them.

----------------------------------------------------------------------

My Proposed Solution

Use: Completing-the-Square (CTS) Method:

Since, the eqn of the circle given is:  x2 + y2 – 4x – 6y – 12 = 0
Rearrange eqn for CTS:                   (x2 – 4x) + (y2 – 6y) = 12
Now, do CTS:                                  (x – 4/2)2 + (y – 6/2)2 = 12 + (-4/2)2 +  (-6/2)2
Simplify:                                          (x – 2)2 + (y – 3)2 = 25
(x – a)2 + (y – b)2 = r2 format:          (x – 2)2 + (y – 3)2 = 52

(Since equation of a circle with radius r and centre (a, b) on Cartesian plane can be expressed by using Pythagoras Theorem as:   (x – a)2 + (y – b)2 = r2 

Therefore: centre is (2, 3) and radius is 5 units.



Sunday, 27 April 2014

Brain Teaser 3: Solve sin(3 – z) = 0.8 for 0 < z < π radians.

I have gone through this question with my students. You should try it too. You may post your answer by way of comments to this post with brief intro of yourself.

Either I or one of my students will put up the answer in a week or so. Have fun with brain teasers of this blog! :)

(Acknowledgment: The above question was taken from IGCSE Cambridge Maths 0606, Yr 2012 .... Q 9(b))

----------------------------------------------------------------

My Proposed Solution:

For 0 < z < π rad, solve sin(3 – z) = 0.8

Get domain for (3 – z):
Since 0 < z < π rad, … x (-1) to get -z, reverse inequality sign
Therefore, 0 > -z > -π rad
+ 3:           3 > (3 – z) > 3 – π
                 3 > (3 – z) > 0.142…domain for principal angle obtained

Since, sin(3 – z) = 0.8,  and sin-1(0.8) = 0.9272…(> 0.142)
therefore, (3 – z) is in 1st quadrant (qd) or 2nd qd:

1st qd:      3 – z = sin-1(0.8)
                     z = 3 - sin-1(0.8) = 2.072704782
                     z = 2.07 (to 3 sf) (Answer)

2nd qd:     3 – z = π - sin-1(0.8) (< 3)
                      z = 3 - π + sin-1(0.8) = 0.7857…

                      z = 0.786 (to 3 sf) (Answer)


Monday, 21 April 2014

Brain Teaser 2: Find the value of e^x, where x = 4 + ln 2

If you can solve the above, you should be able to solve these too (without using calculator):

Find the value of:
(a) 3x, where x = 4 + log3 2. (My question)
(b) 2z, where z = 5 + log2 3  (IGCSE Cambridge Add-Maths 0606, Yr 2010/Summer/p22, Q10(b))

I will post their answers in a week or so. Meanwhile, you may post your answers by way of comments to this post. Have fun with maths!

------------------------------------------------------------------------------------------------
29.04.2014


My Proposed Solutions to These Questions:

Find the value of:
 (Lead Question): ex, where x = 4 + ln 2
(a) 3x, where x = 4 + log3 2. (My question)
(b) 2z, where z = 5 + log2 3  (IGCSE Cambridge Add-Maths 0606, Yr 2010/Summer/p22, Q10(b))
---------------------------------------------------------------------------------

For the lead question:

Since            x = 4 + ln 2,
therefore:     ex = e(4 + ln 2) = e4 x eln 2 ..............Law of index: b(m + n) = bm x bn

Now:           let y = eln 2
ln both sides: ln y = ln 2
therefore:          y = 2 = eln 2 (Hence, remember: eln a = a; 10lg b = b; etc.)

Hence, ex = e(4 + ln 2) = e4 x eln 2 = 2e4 (Answer)
---------------------------------------------------------------------------------

(a)    Since           x = 4 + log3 2
therefore: 3x = 3^(4 + log3 2) = 34 x 3^log3 2 = 34 x 2 (see above)
                  3x = 81 x 2 = 162 (Answer)

(b)   Since         z = 5 + log2 3
therefore:  2z = 2^(5 + log2 3) = 25 x 2^log23 = 25 x 3
                2z   = 32 x 3 = 96 (Answer)
---------------------------------------------------------------------------------

So, remember:

·        eln a = a
·        10lg b = b
·        b^logb c = c

Have fun with maths!

--------------------------------------------------------------------------------
(1.5.2014)

Brain Teaser 2B (requires slightly more skill than Brain Teaser 2)

Find the exact value of:

1) 3x , where x = 2 + log9 3

2) 2y , where y = 3 + log8 2

-------------------------------------------------------------------------------

Wednesday, 2 April 2014

Brain Teaser 1: Trigonometric Inequality

"For 0o ≤ x ≤ 180o, find to 3 significant figures the range of values of x for: 5 sin x > cos x."

In an earlier post, I have blogged about "A Negative Number Without The Negative Sign". In that post, I blogged about log x which is -ve but is not showing the -ve sign (log x, where 0 < x < 1). And, at the end of that post, I invited readers to think about other type(s) of -ve numbers without the -ve signs.

Have you thought about it? That depends on whether you are 'passionate' about that question, right? Any way, let me continue: Trigonometric ratios are, among others, such numbers: -ve numbers which may not show -ve signs.

Depending on the quadrants that the angles fall into, trigonometric ratios can be +ve or -ve. For examples:

  • In the 1st quadrant (qd), ALL trigo ratios are +ve; ---------All        ~ Add
  • In the 2nd qd, only sines (and thus, cosec) are +ve; --------Sine      ~ Sugar
  • In the 3rd qd, only tangents (and thus, cot) are +ve; and ---Tangent ~ To
  • In the 4th qd, only cosines (and, sec) are +ve --------------Cosine  ~ Coffee 
  • My mnemonic for students to remember the above: Add Sugar To Coffee (since this post is written from TTDI Starbucks, :))

If you are trying to solve the above inequality algebraically, you can approach it quadrant by qaudrant. Dividing by cosine in the 2nd qd is dividing by a -ve number and, the inequality sign must be reversed!

However, you can also solve the above inequality by sketching the graphs of y = 5 sin x and y = cos x to identify y of the 1st graph that is above (>) the y of the 2nd graph, then use 5 sin x = cos x to find the root to determine bound of the range of values of x -- much in the same way as you would do for quadratic inequalities that are formed from the nature of the quadratic roots and the discriminant (2 equal roots means b2 – 4ac = 0; 2 unequal roots means b2 – 4ac > 0; or, no real roots means b2 – 4ac < 0).

Okay, you may compare your answer with mine by posting a comment to this post.

Have a productive day!                                               (My answer: 11.3o < x ≤ 180o)

Friday, 7 March 2014

A Negative Number Without the Negative Sign!

       What kind of negative number does not show -ve sign? And, why is it important for you to        recognise them when you see them - particularly in inequalities?         

        Now, you know that in an inequality, say, 
                                 2 < 3
         when you x or ÷ both sides of the inequality by a -ve number, say, by -1,

         it becomes:    -2 (sign) -3, and
         the inequality sign is the reverse of the earlier sign because:
      
                                -2 > -3
                          
                         This is basic O-Maths:
                          ---------
                          Thus, for SPM 2013 Modern Maths (1449/1) Paper 1 Q 24:
                          Q 24: Find the solution for (x - 6)/(-3) < 5

                          You can easily solve Q24 by multiplying both sides of the inequality by -3 
                          and, you reverse the inequality sign to finally get the answer x > -9 (Answer C)
                          ---------
                          
                          Now, in Add. Maths:
                          
                          You may come across inequality like this (in solving GP question):
                                              n log 0.25 > log 0.0005 
                                              for you to find the greatest integer value of n.
                                                  
                              To solve this Q, you must know that: log (0 < x < 1) = negative numbers, although they                             do not carry the -ve signs with them. Let me explain:

         For y = logb x:   When 0 < x < 1, y = logb x = -ve number. (pl see here. or use calculator to verify)
         Thus, all Add-Maths students must know this:

                               log (0 < x < 1) = negative numbers 
                              (even though the -ve sign is not shown)
                                
           Thus, log 0.00001, log 0.25, log (1/5), log 0.99999 (and the likes, where 0 < x < 1)
           are all -ve numbers! 
                   
           So, in the inequality:  n log 0.25 > log 0.0005,
                            
            when you divide both sides of the inequality by log 0.25, to isolate and find n;
            you have to reverse the > sign since log 0.25 is a negative number (-0.602059991),
            Thus,        n < log 0.0005/log 0.25
                            n < 5.482892142
            Therefore, the greatest integer value of n = 5 
            
     (This skill is tested in Q9(f) of Edexcel 4PMO 2013 Jan Paper 2 on "Series" (pl see below). So, all A-Maths students - SPM and IGCSE Cambridge alike - beware! You may face a logarithmic inequality question of the above nature in time to come if you have not already been tested this way! By the way, there are also other negative numbers without the negative signs - can you name some of them? :)) 
------------------------------------------------------------------------------------

Edexcel PMO 2013 Jan Paper 2 Q9

9) The third and fifth terms of a geometric series S are 48 and 768 respectively. Find
(a) the two possible values of the common ratio of S,          (3)
(b) the first term of S.                                                         (1)

Given that the sum of the first 5 terms of S is 615
(c) find the sum of the first 9 terms of S.                            (4)

Another geometric series T has the same first term as S. The common ratio of T is 1
where r is one of the values obtained in part (a). The nth term of T is tn.
Given that t2 > t3
(d) find the common ratio of T.                                    (1)

The sum of the first n terms of T is Tn
(e) Writing down all the numbers on your calculator display, find T9.      (2)

The sum to infinity of T is T
Given that T – Tn > 0.002
(f) find the greatest value of n.                                   (5)

-----------------------------------------------------------------------------