Mathematics for Chemistry/Number theory

Numbers

edit
For more details on this topic, see Number Theory.

Real numbers come in several varieties and forms;

  • Natural numbers are integers that are greater than or equal to zero.
  • Integers are whole numbers used for counting indivisible objects, together with negative equivalents and zero, e.g. 42, -7, 0
  • Rational numbers can always be expressed as fractions, e.g. 4.673 = 4673/1000.
  • Irrational numbers, unlike rational numbers, cannot be expressed as a fraction or as a definite decimal, e.g.   and  

It is also worth noting that the imaginary unit and therefore complex numbers are used in chemistry, especially when dealing with equations concerning waves.

Surds

edit

The origin of surds goes back to the Greek philosophers. It is relatively simple to prove that the square root of 2 cannot be a ratio of two integers, no matter how large the integers may become. In a rather Pythonesque incident the inventor of this proof was put to death for heresy by the other philosophers because they could not believe such a pure number as the root of 2 could have this impure property.

(The original use of quadratic equations is very old, Babylon many centuries BC.) This was to allocate land to farmers in the same quantity as traditionally held after the great floods on the Tigris and Euphrates had reshaped the fields. The mathematical technology became used for the same purpose in the Nile delta.

When you do trigonometry later you will see that surds are in the trigonometric functions of the important symmetrical angles, e.g.   and so they appear frequently in mathematical expressions regarding 3 dimensional space.

Notation

edit

The notation used for recording numbers in chemistry is the same as for other scientific disciplines, and appropriately called scientific notation, or standard form. It is a way of writing both very large and very small numbers in a shortened form compared to decimal notation. An example of a number written in scientific notation is

 

with   being a coefficient termed the significand or the mantissa, and   being an integer exponent. When written in decimal notation, the number becomes

 .

Numbers written in scientific notation are usually normalised, such that only one digit precedes the decimal point. This is to make order of magnitude comparisons easier, by simply comparing the exponents of two numbers written in scientific notation, but also to minimise transcription errors, as the decimal point has an assumed position after the first digit. In computing and on calculators, it is common for the   ("times ten to the power of") to be replaced with "E" (capital e). It is important not to confuse this "E" with the mathematical constant e.

Engineering notation is a special restriction of scientific notation where the exponent must be divisible by three. Therefore, engineering notation is not normalised, but can easily use SI prefixes for magnitude.

Remember that in SI, numbers do not have commas between the thousands, instead there are spaces, e.g.  , (an integer) or  . Commas are used as decimal points in many countries.

Exponents

edit

Consider a number  , where   is the base and   is the exponent. This is generally read as “  to the  ” or “  to the power of  ”. If   then it is common to say “  squared”, and if   then “  cubed”. Comparing powers (exponentiation) to multiplication for positive integer values of n  , it can be demonstrated that

 , i.e. four lots of   added together

 , i.e.   multiplied by itself four times.

For  , the result is simply  . For   the result is  .

  can be reduced to multiplication like this if   is an integer:  

Order of operations

edit

When an expression contains different operations, they must be evaluated in a certain order. Exponents are evaluated first. Then, multiplication and division are evaluated from left to right. Last, addition and subtraction are evaluated left to right. Parentheses or brackets take precedence over all operations. Anything within parentheses must be calculated first. A common acronym used to remember the order of operations is PEMDAS, for "Parentheses, Exponents, Multiplication, Division, Addition, Subtraction". Another way to remember this acronym is "Please Excuse My Dear Aunt Sally".

Keep in mind that negation is usually considered multiplication. So in the case of  , the exponent would be evaluated first, then negated, resulting in a negative number.

Take note of this example:

 

If evaluated incorrectly (left-to-right, with no order of operations), the result would be 16. Three plus five gives eight, times two is 16. The correct answer should be 13. Five times two gives ten, plus three gives 13. This is because multiplication is solved before addition.

Partial fractions

edit

Partial fractions are used in a few derivations in thermodynamics and they are good for practicing algebra and factorisation.

It is possible to express quotients in more than one way. Of practical use is that they can be collected into one term or generated as several terms by the method of partial fractions. Integration of a complex single term quotient is often difficult, whereas by splitting it up into a sum, a sum of standard integrals is obtained. This is the principal chemical application of partial fractions.

An example is

 

In the above   must equal   since the denominators are equal. So we set   first to +1 giving  . Therefore B = -1/2. If we set   instead  , therefore  . So

 

We can reverse this process by use of a common denominator.

 

The numerator is  , so it becomes

 

which is what we started from.

So we can generate a single term by multiplying by the denominators to create a common denominator and then add up the numerator to simplify. A typical application might be to convert a term to partial fractions, do some calculus on the terms, and then regather into one quotient for display purposes. In a factorised single quotient it will be easier to see where numerators go to zero, giving solutions to  , and where denominators go to zero giving infinities.

A typical example of a meaningful infinity in chemistry might be an expression such as

 

The variable is the energy E, so this function is small everywhere, except near  . Near   a resonance occurs and the expression becomes infinite when the two energies are precisely the same. A molecule which can be electronically excited by light has several of these resonances.

Here is another example. If we had to integrate the following expression we would first convert to partial fractions:

 

so

 

let   then  

let   then  

therefore the expression becomes

 

Later you will learn that these expressions integrate to give simple expressions in terms of the natural logarithm.

Problems

edit

 

 

 

Answers

edit

 

 

 

Polynomial division

edit

This is related to partial fractions in that its principal use is to facilitate integration.

Divide out

 

like this


               3x  - 7
             -----------------
      x + 1  ) 3x2  -4x   -6
               3x2  +3x
               ---------
                0   -7x   -6
                    -7x   -7
                    --------
                           1

So our equation becomes  

This can be easily differentiated, and integrated. If this is differentiated with the quotient formula it is considerably harder to reduce to the same form. The same procedure can be applied to partial fractions.

Substitutions and expansions

edit

You can see the value of changing the variable by simplifying

 

to

 

where

 

This is an example of simplification. It would actually be possible to differentiate this with respect to either   or   using only the techniques you have been shown. The algebraic manipulation involves differentiation of a quotient and the chain rule.

Evaluating   gives

 

Expanding this out to the  s and  s would look ridiculous.

Substitutions like this are continually made for the purpose of having new, simpler expressions, to which the rules of calculus or identities are applied.