For log(m x 10^n) you get (by one of the properties of logs --> google that if you don't know them) log(m) + log(10^n). By another property of logs that equals log(m) + n*log(10) and log(10) = 1 so you have log(m) + n.
First let me point out that m can never be negative since you can't take the log of a negative number.
So there are 4 things that can go down at this point.
1. We have everything positive [ex. log(3 x 10^3)].
2. We have n < 0 [ex. log(8.5 x 10^-15)].
3. We have the entire log negative [ex. -log(4 x 10^-7)].
4. We have only the log negative [ex. -log(1.95 x 10^6)].
It's important to know what happens with log(m) in all of these cases. Since the original expression contains 10 to some power, it's pointless to have m outside the range of [1, 10). Note that I do not include 10 in this range. If m were < 1 then you could multiply that by some power of 10 to make it within the range of [1, 10) and subsequently divide the exponential by the same power of 10 --> ex. 0.001 x 10^4. You can rewrite this by multiplying 0.001 by 1000 and dividing 10^4 by 1000 to get 1 x 10^1. If m were > or = 10 then you could divide that by some power of 10 to make it within the range of [1, 10) and subsequently multiply the exponential by the same power of 10 --> ex. 634.23 x 10^-14. You can divide 634.23 by 100 and multiply 10^-14 by 100 to get 6.3423 x 10^-12.
Anyhow, you should ALWAYS have m in that range. Since log(x) essentially answers the question '10 to what power equals x?' and since x is between 1 and 10, log(x) must be between 0 and 1 (not including 1). What happens when log(x) = 1/2? Well, log(x) = 1/2 means x = 10^(1/2) = sqrt(10) ~ 3.2. So log(3.2) ~ 1/2. That means 3.2 is a good judge of what log(m) will be. If m < 3.2 then log(m) < 1/2. If m > 3.2 then log(m) > 1/2.
Finally note how 3.2 is much less than halfway between 1 and 10 (midpoint = 5.5). Use that fact to judge approximate values. log(6.5) is about halfway between 3.2 and 10 so it's GREATER than 0.75 (halfway between 1/2 and 1) in the same way that log(5.5) is greater than 1/2 even though it's halfway between 1 and 10. In simpler terms, log(x) tends to increase slower as x increases.
Okay so...
1. All positive. We have log(m) + n. If m > 3.2 then the answer will be closer to n+1. If m < 3.2 then the answer will be closer to n.
Ex: log(7 * 10^8) = log(7) + 8 ~ 0.8 + 8 ~ 8.8. Actual answer 8.845.
2. Log positive, n negative. We have log(m) - n. If m > 3.2 then the answer will be closer to -n + 1. If m < 3.2 then the answer will be closer to -n.
Ex: log(3.2 * 10^-16) = log(3.2) - 16. Remember that log(3.2) ~ 0.5. So this is approximately 0.5 - 16 = -15.5. Actual answer -15.495.
3. All negative. So we start with -log(m x 10^-n) = -log(m) - log(10^-n) = -log(m) + nlog(10) = -log(m) + n. This is just case #2 * (-1). If m > 3.2 then the answer will be closer to n - 1. If m < 3.2 then the answer will be closer to n.
*NOTE that this is the most common case for pH problems!! That's why they always say the answer is between n-1 and n!!*
Ex: -log(2.45 * 10^-8) = -log(2.45) + 8 ~ -0.4 + 8 ~ 7.6. Actual answer 7.611.
4. Only log negative. This is just the negative of case #1. So we have -log(m) - n. If m > 3.2 then the answer will be closer to -n-1. If m < 3.2 then the answer will be closer to -n.
Ex: -log(9.8 * 10^10) = -log(9.8) - 10 ~ -1 - 10 ~ -11. Actual answer -10.991.
Hope this helps. I got bored from studying