Mathematics for chemistry/Differentiation

From testwiki
Jump to navigation Jump to search

Previous chapter - Mathematics_for_chemistry/Trigonometry

Free Web Based Material from HEFCE

There is a DVD on differentiation here[1].

The Basic Polynomial

The most basic kind if differentiation is: f(x)=xn f'(x)=nxn1 There are two simple rules:

i) The derivative of a function times a constant is just the same constant times the derivative.

ii) The derivative of a sum of functions is just the sum of the two derivatives.

To get higher derivatives such as the second derivative keep applying the same rules.

One of the big uses of differentiation is to find the stationary points of functions, the maxima and minima. If the function is smooth, (unlike a saw-tooth), these are easily located by solving equations where the first derivative is zero.

The Chain Rule

dydx=dydw.dwdx This is best illustrated by example: find dydx given y=(x4+1)9 Let y=u9 and u=x4+1.

Now dydu=9u8 and dudx=4x3

So using the chain rule we have 9(x4+1)8.4x3=36x3(x4+1)8


Differentiating a Product

d(u.v)dx=vdudx+udvdx

Notice when differentiating a product one generates two terms. (Terms are mathematical expression connected by a plus or minus.) An important point is that terms which represent physical quantities must have the same units and dimensions or must be pure dimensionless numbers. You cannot add 3 oranges to 2 pears to get 5 orangopears. Integration by parts also generates an extra term each time it is applied.

Differentiating a Quotient

You use this to differentiate tan.

ddx(uv)=vdudxudvdxv2

Problems

Differentiate with respect to x: 3x2x(1+x)(1x)

Notice we have (a2b2). 4x73x2

(3x+2)2+ex

8x612x

x(x+3)2

x2(3x(2+x)(2x))

Evaluate the inner brackets first.

Evaluate ddz(ezz9183z2)

ddc(c5)

ddω(1ω1ω21ω3)

ddϕ(eϕ(1ϕ2+32ϕ2))

ddr(e5r(ar3+br6+cr9))

a, b and c are constants. Differentiate wrt r. 3re3r

ddx(x6ex)

Answers

3x2+6x1

28x66x

ex+18x+12

48x56x

3x2+12x+9

4x3+9x28x

ez+z82+6z3

52c3/2or52c3

1ω2+2ω3+3ω4

eϕ+2ϕ33ϕ

5e5r+3ar4+6br7+9cr10

e3r(39r)

x5ex(x+6)

Harder Differentiation, Optional

Differentiate wrt x: x4(x+9)5

5x2(x27x+9)5

Differentiate wrt r: (r2+3r1)3e4r

Differentiate wrt ω: 1ω4(ω23ω19)

eωω4

Evaluate ddz(e4z(z12))

ddϕ(ϕ2e2ϕ(11ϕ2))

Using Differentiation to Check Turning Points

dy/dx is the tangent or gradient. At a minimum dy/dx is zero. This is also true at a maximum or an inflexion point. The second gradient gives us the nature of the point. If d2y/dx2 is positive the turning point is a minimum and if it is negative a maximum. Most of the time we are interested in minima except in transition state theory.

If you plot the equation of y=x3 you will see that at x=0 there is a third kind of point, an inflexion point, where both dy/dx and d2y/dx2 are zero.

y=f(x)dydx=f'(x)d2ydx2=f'(x)


Plot x3+x26x between -4 and +3, in units of 1. (It will speed things up if you factorise it first. Then you will see there are 3 places where f(x)=0 so you only need calculate 5 points.) By factorising you can see that this equation has 3 roots. Find the 2 turning points. (Differentiate once and find the roots of the quadratic equation using x=b. This gives the position of the 2 turning points either side of zero. As the equation is only in x3 it has 3 roots and 2 maxima / minima at the most therefore we have solved everything. Differentiate your quadratic again to get d2ydx2. Notice that the turning point to the left of zero is a maximum i.e. d2ydx2=ve and the other is a minimum i.e. d2ydx2=+ve.

What is the solution and the turning point of y=x3.

Solve x3x=0, by factorisation.

(The 3 roots are -3,0 and +2. dydx=f'(x)=3x2+2x6

Solutions are 1/3(191) and 1/3(19+1) i.e. -1.7863 and 1.1196. d2ydx2=f'(x)=6x+2

There are 3 coincident solutions at x=0, d2ydx2=0, at 0 so this is an inflexion point.

The roots are 0, 1 and -1.

Next chapter - Mathematics_for_chemistry/Integration Template:BookCat