User Tools

Site Tools


howto:hambasics:sections:mathbasics

This is an old revision of the document!


Metric Prefix

A metric prefix is a unit prefix that precedes a basic unit of measure to indicate a multiple or fraction of the unit.

In the previous section, we saw that Mhz means a million Hertz. Here's a list of the most common ones:

Name Symbol Base 10 Decimal
Tera T 1012 1 000 000 000 000
Giga G 109 1 000 000 000
Mega M 106 1 000 000
Kilo k 103 1 000
hecto h 102 100
deca da 101 10
1001
deci d 10-1 0.1
centi c 10-2 0.01
milli m 10-3 0.001
micro μ 10-6 0.000 001
nano n 10-9 0.000 000 001
pico p 10-12 0.000 000 000 001

The decibel

A decibel (dB) is a way of saying how many times bigger (or smaller) something is compared to something else. For example, let's use the faintest sound that the human ear can detect as the basis. A normal conversation would be a million times louder, and a jack hammer would be a hundred billion times louder. To represent these vast differences in numbers, we use a logarithmic scale based on powers of 10.

Here's the idea. Start with representing numbers by exponents of 10:

Number Base 10 Exponent
1 =100 0
10 =101 1
100 =102 2
1000 =103 3
10 000 =104 4
100 000 =105 5
1 000 000 =106 6

For now, let's call the exponent a “bel” (not decibel yet). For example:

  • Instead of saying that a sound is 1000 times louder, we could say that it's 3 bels louder, and
  • Instead of saying that it's 10,000 times louder, we could say that it's 4 bels louder.

So the bel is just the number of zeros after the 1. But what if the number doesn't start with 1. For example: what if it's 5000 times louder?

  • Since 5000 is between 1000 and 10,000, it might be tempting to say that it would 3.5 bels louder (midway between 3 and 4), but let's check to see if it works: 103.5 = 3162, which is between 1000 and 10,000, but not 5000.
  • By trial and error, you might get pretty close: 103.7 = 5011... so 5000 times louder is roughly 3.7 bels.
  • But a faster way of finding the exponent of a base 10 number is to use the Log button on your calculator: \$\log(5000) \approx 3.699\$1)

But in the same way that milli means a thousandth, and centi means a hundredth (think millimetre and centimetre), a deci means a tenth. So 1 bel contains 10 decibels (like 1 metre contains 10 decimetres, 100 centimetres, or 1000 millimetres).

So another way of saying 3.7 bels is to say 37 decibels, or 37 dB. So here's our table again with a few common “in between” numbers:

Number Base 10 Exponent (bels) decibels (dB)
1 100 0 0
2 100.3 0.3 3
4 100.6 0.6 6
10 101 1 10
100 102 2 20
1000 103 3 30
10 000 104 4 40
100 000 105 5 50
1 000 000 106 6 60

In addition to being more convenient to represent big numbers, decibels also allow us to multiply big (or small) numbers more easily by adding the dB instead. For example, take 100 x 1000 = 100,000. Notice how the exponents add here: 102 x 103 = 105 . So 100 x 1000 is the same as saying 20 dB + 30 dB = 50 dB. That is, adding the dB representation of numbers, is the same as multiplying those numbers. Here's Dave explaining this in more details:

Alternative Formulation

If you like formulas, what I did above was define the dB implicitly as:

\$$ \text{ratio} = 10^{\left(\frac{\text{dB}}{10} \right)} \$$

For example, a ratio of 1000 is equivalent to 30 dB because:

\$$ 1000 = 10^{\left(\frac{\text{30}}{10} \right)} \$$

But what you'll often find in books is the following explicit definition:

\$$ \text{dB} = 10\log\left(\text{ratio}\right) \$$

I personally prefer the implicit definition because I find it easier to picture the dB in terms of powers of 10, where as I can't really picture the log function that well. But these two formulations are equivalent, so use the one you like most.2)

dBm

A related measurement is the dBm. While the decibel (dB) is a ratio between two quantities (saying “20 dB” is the same as saying “100 times more”), the dBm is a ratio between one quantity and 1 mW. That is, it's a measures of how much stronger (or weaker) the power of something is compared to 1 milliwatt.

For example, a typical fibre optic light signal to a house for internet has a light level of -15 dBm (or 0.03 mW)

\$$-15 \text{ dBm} = 10^{-1.5} \text{ mW} \approx 0.03 \text{ mW} \$$

1)
Depending on your calculator, you might have to type it in this order 5000Log
2)
These two definitions are the same because the log function is the inverse of the power function. That is, it helps us find the exponent when we know the other quantities. Mathematically, it is defined such that if \$a = 10^b\$, then \$b = \log(a) \$
howto/hambasics/sections/mathbasics.1608238783.txt.gz · Last modified: 2020/12/17 12:59 by va7fi