Exponentials and Logarithms

I hope you appreciate that this module is called "scientific" when in fact it should be called "basic" if not "elementary". Well, nobody is perfect, including me. I don't know a thing about organized sports or celebrities outside of science, for example. So I will explain exponentials and logarithms to you as you would explain the basics of baseball to me.
I will move from extremely elementary math to heavier stuff. Challenge yourself a bit and see how far you get.
 
  Powers of Ten
If you need to deal with large numbers like the American deficit (around 14 trillion $ or 14.000.000.000.000 $), the numbers of time your kids asked "why" (3,5 gazillion), or the number of atoms in a sword (around 10.000.000.000.000.000.000.000.000), it gets tiresome to keep track of all the zeros. Not to mention that you are prone to make mistakes.
So mankind first invented exponential notation just as a simple way for abbreviating large numbers. Just write the number of zeros as "exponent" on the number ten by putting it up behind the 10 in a smaller font. 100 = 102 , 100.000 = 105.
You just as well might interpret the exponent as the number of times you multiply the base 10 with itself. 103 = 10 · 10 · 10 = 1000. It's easy. The numbers above, for example, convert to:
  • American deficit: around 14 trillion $ or 14 · 1012 = 1,4 · 1013.
  • Number of time your kids asked "why": 3,5 gazillion = 10©.
  • Number of atoms in a sword: around 1025.
So far, so easy. We have invented a simple way for abbreviating the writing of large numbers.
Surprise! It turns out that the exponential notation is far more powerful than you could have imagined in your wildest dreams. Let's look at the first and still fairly simple properties of exponential notations:
1. It is also a great way to express very small numbers. A small number SN can always be written as 1 divided by a large number LN, SN = 1/LN. The SN 0,0000001 can be written as 0,0000001 = 1/10.000.000 = 1/107 = 107.
That's right: write the exponential with a minus sign and now you count the zeros again but in the denominator of a fraction. Of course, you now loose the simple-minded interpretation of the meaning of the exponent, but so what.
2. It is actually a great way to express any number. All we need to realize is that we have 1 = 100. Any number now can be written as a · 10x Let's look at examples:
  • 3,14 = 3,14 · 100.
  • 31.400 = 3,14 · 104.
  • 0,000314 = 3,14 · 10–4.
3. Next, we discover that we have a good (but not yet great) way to multiply any two numbers like a · 10x times b · 10y. The product is simply ab · 10x + y.
That was great! Tricky and time consuming multiplications have now been replaced by one easy multiplication and a simple addition.
Nowadays computers do all that for you - and replacing a multiplication by an addition is actually the first step towards the way they really do it.
Before I come to the great way for doing multiplications, I just mention that we also have covered division now. If you want to divide A by B you just as well could multiply A by 1/B. What you get then is a · 10x/(b · 10y) = (a/b) · 10x – y.
Now let's go on to a bit more tricky stuff. The motivation is that we do not like to multiply or divide the a's and b's. Well, we might not like it but computers can't even do it. All they can do is to add two numbers, provided they are 0 or 1.
So let's enlarge the concept of exponentials and allow any number as exponent, not just integers.
In other words: we consider expressions like 101,5, 10, 10p, and in particularly 10i with i being the unit of imaginary numbers, defined as i2 = –1.
That's a bit mind boggling because the "counting the zeros" recipe now fails completely. The advantage of this slightly strange generalization is that we can now express any (positive) imaginable number y - large, small, integer, fraction, irrational, transcendent, imaginary, complex, whatever - by y = 10x with x being a number from the list above.
If we want a negative number we simply write y = –10x.
Hoppla, all of a sudden we have a functional relationship with x as variable: y(x) = 10x.
No sweat. If we have some known x, we can calculate the value of y(x). For example we have y(x = 2) = 102 = 100, y(x = –2) = 10–2 = 1/102 = 1/100 = 0,01.
Fine, but what about x = 1,3? Don't worry - be happy. There is a well-defined algorithm to compute y for all exponentials. Just look at the graph of the function y(x) = 10x below to find the answer, or trust your pocket calculator that will do it for you
     
Funktion
The function y = 10x plotted out
     
Now suppose you have a number like 3,14 and you would like to know what x would produce that number if taken as the exponent of 10?
In other words you have y(x) = 10x = 3,14 and you want to solve that equation for x.
Well, you can't. You need to invent logarithms first. Then the solution becomes x = lg 3,74 and the "lg" stands for "logarithm to the base of 10".
You probably don't know how to compute that? Don't worry, you probably don't know either how to compute x = sin 3,74 or x = (3,74)2,3. Nowadays you don't have to know how to do this kind of math because even the smallest and most stupid pocket calculator with some mathematical functions will know all of that. That's why we invented them in the first place. They just make life so much easier. Even if you do know how to do the jobs above, it is boring and tedious work.
     
  Powers of Whatever
If you paid attention, you noticed that in the example above I already sneaked in the next generalization. You do not need to take 10 as the base for putting an exponent to. You can take any number.
If your exponent is an integer, it is directly clear what to do. The exponent tells you how often to multiply the base with itself. 3,743 = 3,74 · 3,74 · 3,74 = .... If the exponent is not an integer, you just have the situation I discussed above - just a bit modified..
Now the mind should boggle a bit. We have discovered an infinity of possibilities to express any given number y by exponents: y = xa The base of our exponential description can be any number x you care to think of; all you need to do is find the proper exponent a that gives the y you are looking for.
Infinitely many possibilities are not as cool as it sounds. Just a few close (girl) friends are better than infinitely many on facebook, for example. We must ask ourselves if some bases are better than others? Two obvious cases and one not-so-obvious case come to mind:
  1. Base x = 10. That brings us back to where we started from. We like that base because we count in a system with 10 digits. Actually, we expressed numbers as sums of potencies of 10 all along - even if you may not have been aware of this. The number 1.234, for example, simply means 1 · 103 + 2 · 102 + 3 · 101 + 4 · 100, or 19 = 1 · 101 + 9 · 100. For any number y you have y = 10x and x = lg y for the inverse relation.
    There is nothing particular special about the "10 system", except that you are going to invent it almost automatically if you are a counting species with 10 fingers.
  2. If you are a species like computers that can only count to two (or computer scientists who can't count at all without hardware) you use only two digits for counting: 0 and 1. You have 2 as the base of your counting system. 19 = 1 · 24 + 0 · 23 + 1 · 21 + 1 · 20 or 1011. We have y = 2x and x = ld y for the inverse relation; "ld" is the abbreviation for "logarithm dualis" or "logarithm to the base 2".
  3. If you are a scientist or otherwise smart, you use the base x = e, sometimes known as Euler's number, with e » 2,718281828....
    We have y = ex and x = ln y for the inverse relation. The abbreviation "ln" stands for "natural logarithm", giving a hint that the base e is the most natural base to choose for doing exponentials.
Why is e so prominent as a base for exponentials, and for about everything else in mathematical science? If you don't know this, I feel sorry for you. You have missed a lot in your life. I can't make up for this unfortunate turn of your biography in just a few lines. I thus will only give you a tiny taste treat.
1. Pretty much all major equations describing the universe and what's going on on your planet are so-called differential equations. Typically, you want to determine an unknown function y(x), but all you know is how that function and its derivatives relate to each other. For example, your differential equation might be d2y/dx2 = A · y. In words: the second derivative of the function y to be determined is equal to the function itself times some constant A. You can grasp that it would be helpful to know a function y(x) that is the same as its derivative, or dy(x)/dx = y(x).
There is one such function: y(x) = ex (also written as y(x) = exp(x))
Now you know why "exponentials" figure extremely prominently in science. They come up more or less automatically as soon as you tackle problems; here is an example involving beer.
2. A lot of what is going on in the world at large contains waves or oscillating things. If you activate this link, you can learn that in some way everything involves waves or oscillating things. Then you need to describe something like this wave  in equations.
OK - you know that y = sin x will do the job. True enough - but trigonometric functions are difficult to deal with. That's why we turn them into exponentials, using one of the most remarkable equations of all of math:
     
eix   =  cos x + i · sin x Euler equation
         
eip + 1  =    0    Euler identity
     
The Euler equation tells you how to move from sinus and cosine functions to the far more simpler exponentials. The prize to pay is that you now must work with complex numbers c of the form c = c' + ic'' with i = imaginary unit, typically but slightly wrongly called "square root of minus -1". Correct it is: i2 = –1. And no, it is not the same.
This is not a real problem, however, because not only are calculations with complex numbers often far easier than with straight numbers, many problems (including pretty much all of quantum theory) are simply not solvable without complex numbers.
The Euler identity results when you take x = p. It is a remarkable relation because it relates the five most important numbers in math, from which all others can be derived: One (1) and Zero (0), the base for all natural numbers; i, the base for imaginary numbers; and the irrational and transcend numbers p and e that "somehow" encode the deeper working of the universe and thus come up all the time.
     
  Graphs and Equations
Here are graphs of the most important exponential functions. Don't use them to get numerical values since they are a bit qualitative concerning details.
If you want the ln curves, just exchange y and x.
     
Exponentials
Graphs of the 4 most important exponential functions
     
Here are a few of the more important equations
     
ex  =  1
e– x
  (ex)y  =  ex · y   ln (x · y)  =  ln x  +  ln y
                 
ex · ey  =  e x + y   (e x)1/y  =  ex /y ln x
y
 =  ln x  –  ln y
                     
ex
ey
 =  ex – y   eln x  =  x ln xy  =  y · ln x
     
Here are the two most astonishing relations, proving that the word "natural " with respect to the number e and its logarithm is apt:
     
y(x)  =  e x    dy(x)
dx
 =  ex 
             
y(x)  =  ln x   dy(x)
dx
 =  1
x
 
     
If you wonder how one actually calculates numbers, here are the relations. If you want to calculate the numerical value of e, just take x = 1.
If this is your first encounter with infinite series, you have missed a lot of the wonders of math.
     
ex  =  1  +  x
1!
 +   x2
2!
 +  x3
3!
 + .. 

ln (1 + x)  =  x  –   x2
2
 +  x3
3
 –   x4
4
 + ..    

ln (1 – x)  =   –   æ
è
x  +  x2
2
 +  x3
3
 +   x4
4
 + ..   ö
ø
     


With frame With frame as PDF

go to 5.2.2 Defects that Get Around

go to Beer

go to Numbers and Concentration

go to 5.2.1 The Gang of Four

go to Isotopes

go to The Second Law and Computer Science

go to Science of Uniaxial Deformation

go to Waves

go to Entropy

go to Hardware Around the Making of Metals and Their Proper Names

go to Making Vacancies

© H. Föll (Iron, Steel and Swords script)