JUST THE MATHS SLIDES NUMBER 14.3 PARTIAL DIFFERENTIATION 3 - - PDF document

just the maths slides number 14 3 partial differentiation
SMART_READER_LITE
LIVE PREVIEW

JUST THE MATHS SLIDES NUMBER 14.3 PARTIAL DIFFERENTIATION 3 - - PDF document

JUST THE MATHS SLIDES NUMBER 14.3 PARTIAL DIFFERENTIATION 3 (Small increments and small errors) by A.J.Hobson 14.3.1 Functions of one independent variable - a recap 14.3.2 Functions of more than one independent variable 14.3.3 The


slide-1
SLIDE 1

“JUST THE MATHS” SLIDES NUMBER 14.3 PARTIAL DIFFERENTIATION 3 (Small increments and small errors) by A.J.Hobson

14.3.1 Functions of one independent variable - a recap 14.3.2 Functions of more than one independent variable 14.3.3 The logarithmic method

slide-2
SLIDE 2

UNIT 14.3 PARTIAL DIFFERENTIATION 3 SMALL INCREMENTS AND SMALL ERRORS 14.3.1 FUNCTIONS OF ONE INDEPENDENT VARIABLE - A RECAP If y = f(x), then (a) The increment, δy, in y, due to an increment of δx, in x is given (to the first order of approximation) by δy ≃ dy dxδx. (b) The error, δy, in y, due to an error of δx in x, is given (to the first order of approximation) by δy ≃ dy dxδx.

1

slide-3
SLIDE 3

14.3.2 FUNCTIONS OF MORE THAN ONE INDEPENDENT VARIABLE Let z = f(x, y), where x and y are independent variables. If x is subject to a small increment (or a small error)

  • f δx, while y remains constant, then the corrresponding

increment (or error) of δz in z will be given approximately by δz ≃ ∂z ∂xδx. Similarly, if y is subject to a small increment (or a small error) of δy, while x remains constant, then the corre- sponding increment (or error) of δz in z will be given approximately by δz ≃ ∂z ∂yδy.

2

slide-4
SLIDE 4

It can be shown that, for increments (or errors) in both x and y, δz ≃ ∂z ∂xδx + ∂z ∂yδy. Notes: (i) From “Taylor’s Theorem” f(x + δx, y + δy) = f(x, y) +

   ∂z

∂xδx + ∂z ∂yδy

   

+

   ∂2z

∂x2(δx)2 + 2 ∂2z ∂x∂yδxδy + ∂2z ∂y2(δy)2

    + . . .,

which shows that δz = f(x + δx, y + δy) − f(x, y) ≃ ∂z ∂xδx + ∂z ∂yδy, to the first order of approximation. (ii) The formula for a function of two independent vari- ables may be extended to functions of a greater number

  • f independent variables.

3

slide-5
SLIDE 5

For example, if w = F(x, y, z), then δw ≃ ∂w ∂xδx + ∂w ∂y δy + ∂w ∂z δz. EXAMPLES

  • 1. A rectangle has sides of length xcms. and ycms.

Calculate, approximately, in terms of x and y, the increment in the area, A, of the rectangle when x and y are subject to increments of δx and δy respectively. Solution The area, A, is given by A = xy, so that δA ≃ ∂A ∂xδx + ∂A ∂y δy = yδx + xδy.

4

slide-6
SLIDE 6

Note: The exact value of δA may be seen in the following diagram:

x δx y δy

The difference between the approximate value and the exact value is represented by the area of the small rectangle having sides δxcms. and δycms.

  • 2. In measuring a rectangular block of wood, the dimen-

sions were found to be 10cms., 12cms and 20cms. with a possible error of ±0.05cms. in each. Calculate, approximately, the greatest possible error in the surface area, S, of the block and the percentage error so caused.

5

slide-7
SLIDE 7

Solution First, denote the lengths of the edges of the block by x, y and z.

  • x

z y

The surface area, S, is given by S = 2(xy + yz + zx), which has the value 1120cms2 when x = 10cms., y =

  • 12cms. and z = 20cms.

Also, δS ≃ ∂S ∂xδx + ∂S ∂y δy + ∂S ∂z δz, which gives δS ≃ 2(y + z)δx + 2(x + z)δy + 2(y + x)δz. On substituting x = 10, y = 12, z = 20, δx = ±0.05, δy = ±0.05 and δz = ±0.05, we obtain δS ≃ ±2(12+20)(0.05)±2(10+20)(0.05)±2(12+10)(0.05).

6

slide-8
SLIDE 8

The greatest error will occur when all the terms of the above expression have the same sign. Hence, the greatest error is given by δSmax ≃ ±8.4cms.2 This represents a percentage error of approximately ± 8.4 1120 × 100 = ±0.75

  • 3. If

w = x3z y4 , calculate, approximately, the percentage error in w when x is too small by 3%, y is too large by 1% and z is too large by 2%. Solution We have δw ≃ ∂w ∂xδx + ∂w ∂y δy + ∂w ∂z δz. That is, δw ≃ 3x2z y4 δx − 4x3z y5 δy + x3 y4δz, where δx = − 3x 100, δy = y 100 and δz = 2z 100.

7

slide-9
SLIDE 9

Thus, δw ≃ x3z y4

  − 9

100 − 4 100 + 2 100

   = −11w

100 . The percentage error in w is given approximately by δw w × 100 = −11. That is, w is too small by approximately 11%. 14.3.3 THE LOGARITHMIC METHOD For percentage errors or percentage increments, we may use logarithms if the right hand side of the formula in- volves a product, a quotient, or a combination of these two in which the independent variables are separated. A formula of this type would be, w = x3z y4 . The method is to take the natural logarithms of both sides

  • f the equation before considering any partial derivatives.

8

slide-10
SLIDE 10

GENERAL THEORY (two variables) Suppose that z = f(x, y). Then, ln z = ln f(x, y). If we let w = ln z, then w = ln f(x, y), giving δw ≃ ∂w ∂xδx + ∂w ∂y δy. That is, δw ≃ 1 f(x, y) ∂f ∂xδx+ 1 f(x, y) ∂f ∂yδy = 1 f(x, y)

   ∂f

∂xδx + ∂f ∂yδy

    .

In other words, δw ≃ 1 z

   ∂z

∂xδx + ∂z ∂yδy

    . 9

slide-11
SLIDE 11

Hence, δw ≃ δz z . CONCLUSION The fractional increment (or error) in z approximates to the actual increment (or error) in ln z. Multiplication by 100 will, of course, convert the frac- tional increment (or error) into a percentage. Note: The logarthmic method will apply equally well to a func- tion of more than two independent variables where it takes the form of a product, a quotient, or a combina- tion of these two. EXAMPLES

  • 1. If

w = x3z y4 , calculate, approximately, the percentage error in w when x is too small by 3%, y is too large by 1% and z is too large by 2%.

10

slide-12
SLIDE 12

Solution ln w = 3 ln x + ln z − 4 ln y, giving δw w ≃ 3δx x + δz z − 4δy y , where δx x = − 3 100, δy y = 1 100 and δz z = 2 100. Hence, δw w × 100 = −9 + 2 − 4 = −13. Thus, w is too small by approximately 11%, as before.

  • 2. In the formula

w =

  • x3

y , x is subjected to an increase of 2%. Calculate, approx- imately, the percentage change needed in y to ensure that w remains unchanged. Solution ln w = 1 2[3 ln x − ln y]. Hence,

11

slide-13
SLIDE 13

δw w ≃ 1 2

   3δx

x − δy y

    ,

where δx

x = 0.02

We require that δw = 0. Thus, 0 = 1 2

   0.06 − δy

y

    ,

giving δy y = 0.06 Hence, y must be approximately 6% too large.

12