Mathematics for chemistry/The Basics

From testwiki
Jump to navigation Jump to search

Previous chapter - Mathematics_for_chemistry

Numbers

Real numbers come in several varieties and forms, integer / decimal, rational / irrational. Integers are used for counting indivisable objects but they can also be directed, e.g. -4 or zero. Decimals can always be expressed as fractions e.g. 4.673 = 4673/1000. Numbers like π and 2 are irrational.

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

The Properties of Graphs

The most basic relationship between two variables x and y is a straight line, a linear relationship. y=mx+c The variable m is the gradient and c is a constant which gives the intercept.

The equations can be more complex than this including higher powers of x such as y=ax2+bx+c This is called a quadratic equation and it follows a shape called a parabola. High powers of x can occur giving cubic, quartic and quintic equations etc. In general as you go to higher powers the line mapping the variables wiggles more, often cutting the x-axis several times.

Practice

Plot x21 between -3 and +2 in units of 1.

Plot x2+3x between -4 and +1 in units of 1.

Plot 2x35x212x between -5 and +4 in units of 1.

The Quadratic Formula

For the solutions of: ax2+bx+c There is a formula: x=b±(b24ac)2a (Notice the line over the square root has the same priority as a bracket. Of course we all know by now that a+b is not equal to a+b but errors of priority are among the commonest algebra errors in practice.) There is a formula for a cubic equation but it is rather complicated. Cubic and higher equations occur often in chemistry but if they do not factorise they are usually solved by computer.


Solve:

2x214x+9

1.56(x2+3.67x+0.014)

Notice the scope or range of the bracket.

2z214z+9

2x24x+2

45.1(1.2[A]257.9[A]+4.193)

Notice here our variable is a concentration not the ubiquitous x.

Surds

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 these surds are in the trig functions of the important symmetrical angles, e.g. sin60=32 and so they appear all the time in mathematical expressions to do with 3 dimensional space.

Partial Fractions

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, wheras by splitting it up into a sum, a sum of standard integrals is obtained. This is the principal chemical application of partial fractions.

Here follows an example:

x2(x+1)(x1)=A(x1)+B(x+1)(x+1)(x1)=A(x+1)+B(x1)

In the above x2must=A(x1)+B(x+1) since the denominators are equal.

So we set x first to +1 giving 1=2B. Therefore B = -1/2.

If we set x=1 instead 3=2A, therefore A=3/2.

So x2(x+1)(x1)=32(x+1)12(x1)


We can reverse this process by putting a common denominator in.

32(x+1)12(x1)=3(x1)(x+1)2(x+1)(x1)

The numerator is 2x4, so it becomes: (x2)(x+1)(x1) 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 f(x)=0, and where denominators go to zero giving infinities.

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

A(EEa)2

The variable is the energy E, so this function is small everywhere, except near Ea. Near Ea 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:

3x2x22x4=3x2(x+1)(x2)=Ax+1+Bx2

so

32x=A(x2)+B(x1)

let x = 2 then 3 = B

let x = 1 then 3/2 = -A

therefore the expression becomes

3x232(x+1)

Later you will have learned these integrate to simple ln expressions.

Partial Fractions - problems

(1)3x21(2)4x2x2+2x (3)4(2x+1)(x3)(4)7x+6x2+3x+2 (5)x+12x26x+4

Partial Fractions - answers

(1)32(x1)32(x+1)(2)5(x+2)1x (3)47(x3)87(2x+1)(4)8x+21x+1 (5)32(x2)22(x1)

Polynomial Division

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

Divide out 3x24x61+x


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

So our equation becomes: 3x7+11+x This can be easily differentiated, and integrated. If this is differentiated with the quotient formula it is considerably harder to reduce to the the same form. The same procedure can be applied to partial fractions.

Substitutions and Expansions

You can see the value of changing the variable here:


(J(J+1)ϵ)3+2(J(J+1)ϵ)+1(J(J+1)ϵ)29(J(J+1)ϵ)22(J(J+1)ϵ)+1(J(J+1)ϵ)2+9

This simplifies to :

X3+2X+1X29X22X+1X2+9

Where

X=J(J+1)ϵ


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

Evaluating dydX gives:

    2           3                              2
 3 X  + 2     (X  + 2 X + 1) X   2 X - 2     (X  - 2 X + 1) X
 -------- - 2 ---------------- - ------- + 2 ----------------
   2                2     2        2               2     2
  X  - 9          (X  - 9)        X  + 9         (X  + 9)

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

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

Next chapter - Mathematics_for_chemistry/Units and dimensions Template:BookCat