3.8, δ and d notations for changes: Large changes: We use the Greek symbol
3.8, δ and d notations for changes: Large changes: We use the Greek symbol
3.8, δ and d notations for changes: Large changes: We use the Greek symbol
Calculus I
Dr Paul May
Youll be familiar with this from Chemistry, where, for example, the enthalpy change of a reaction is given by H = H2 H1. (ii) Small changes: We use the Greek symbol , delta, to mean a small change in the value of a variable. So if x changes from a value of x1, to a new slightly different value, x2, then we say x = x2 x1 or x 2 = x 1 + x
(iii) Infinitely small changes: In calculus, we often take the idea of a small change to its limit - an infinitely small change, and give this the symbol, d. So if x changes by an infinitely small amount from a value of x1 to x2, then we say dx = x2 x1 or x2 = x1 + dx
For the last example, if you were given the values of the volume, V, the change in pressure, dp, the entropy S and the change in temperature, dT, you could work out a value for the change in Gibbs energy, dG. For example, the area of a circle is given by: A(r) = r2. If you had a circle of radius 10 m (with area 314.16 m2), and you increased the radius by 0.1 m, what would be the change in the area of the circle? Ans. If the area changes by an amount A when the radius changes by an amount r, then the change in area of the circle would be given by A = A2 A1 15
Chemistry 1S
Calculus I
Dr Paul May
Now lets do this again, algebraically. Expanding out the squared-bracket: A = {r2 + 2r.r + (r)2} - r2 A = r2 + 2r.r + (r)2 - r2 The r2s cancel, and we can then say that since r is small, (r)2 will be very small so small its almost zero, so as an approximation, we can ignore it. So now we have: A = 2r.r With numbers: A = 2 10 0.1 = 6.2832 m2 (Approximate answer, but almost the same as before)
The difference between the value from this approximate method and the true value came from the assumption that we can take (r)2 to be zero. The smaller r is, the more accurate this approximation becomes. Try repeating the 2 calculations with r = 10 m as before, but with r = 0.001 m. In fact, for an infinitely small change, d r, the two values would agree exactly. In this case: dA = 2r.dr or dA / dr = 2r This will be true for all circles, so it seems this fraction, dA/dr is telling us something important about the properties of a circlewell see what it actually means a bit later
16
Chemistry 1S
Calculus I
Dr Paul May
4. Basic differentiation
Differentiation is all about calculating the slope or gradient of a curve y(x), at a given point, x. The gradient is the
increase in y height moved = increase in x length moved
Think of road signs: a 1-in-10 hill means you travel 1 metre upwards for every 10 metres you travel along. So the gradient of a curve y(x) can be written as:
y y 2 y1 = x x 2 x1
gradient =
y
8 6 4 2 0 -2 -4 -6 -8 -10 -4 -2 0 2 4 6
y = mx + c y y y
2
x1 x
x2
For a straight line graph of equation y(x) = mx + c, the gradient is given simply by the value of m. Examples
17
Chemistry 1S
Calculus I
Dr Paul May
y = 3x + 6, y = 5x - 3, y = -2x + 1, y = 6 - 3x, y = 3104x 32000 y = 0.007x 0.001 or algebraically: y(x) = 7pqx + 35u
gradient = 7pq (if were told the values of p and q then we can calculate an absolute value for the gradient).
[Note in the first 6 examples above, we didnt bother to write y(x), since it was obvious that x was the variable. But in the last example it wasnt obvious, so it was written out explicitly].
y
8 6 4 2 0 -2 -4 -6 -8 -10 -12 -4 -3 -2 -1 0 1 2 3 4
y x
x
y = -2
(ii)
Chemistry 1S
Calculus I
Dr Paul May
(iii) (iv)
Draw the triangles (as in the diagram), or just calculate x and y. Calculate gradient from: gradient =
y x
Numerical Method: choose the points for which we have values, say, ( -2, -8) and (1,1), use these in the gradient equation. gradient = 1 ( 8) 9 y = = =3 x 1 ( 2 ) 3
Since the intercept is at y = -2, we know that the equation of this line must be y(x) = 3x - 2.
The gradient of the curve at point A is the same as that of the tangent at point A. So, all we need to do is construct the tangent and measure its gradient, y / x. Example Solution What is the gradient of y(x) = x2 - 4x - 1 when x = 4? Plot out the curve, then construct the tangent when x = 4 by eye, as best you can. Measure the gradient y / x by completing the triangle. [Hint: make the triangle as large as possible for accuracy].
19
Chemistry 1S
Calculus I
Dr Paul May
6 5 4 3 2 1 0 -1 -2 -3 -4 -5 -6 -2
y
tangent
x
y x
-1 0 1 2
y = x
=
dy . dx
dy dx
d f ( x) dx
lim x
x 0
ds , dt dE d
20
Chemistry 1S
Calculus I
Dr Paul May
d d
Note: this is the same type of fraction (d A/dr) that we met earlier for a circle (end of section 3.3), so you can see now that we were actually deriving its gradient, i.e. the magic formula for this special case.
To differentiate a polynomial function, multiply together the leading factor, a, and the exponent (power), n, then subtract one from the exponent. Examples 1. 2. 3. 4. 5. 6. 7. 8. 9. y = x2, y = 2x3,
dy = dx dy = dx du = dm d = d d = dx
dp = dq
dy = 2x dx
y = 9x27, u = 3m6, = 7 , =
x3 , 12
p = -5q2, y = 5, A = r2
dy = dx dA = dr
21