User:Chela5808/My sandbox Sam4

From WikiEducator
Jump to: navigation, search
Before Styling Sample 1 Sample 2 Sample 3 Sample 4 Sample 5 Sample 6
After Styling Sample 1 Sample 2 Sample 3 Sample 4 Sample 5 Sample 6


CONVERTING SAMPLE 4 CONTENT TO WE FORMAT

Semi-automated procedure using apps: AdobeAcrobat, OpenOFFice and NotePad, avoiding usage of sam4.tex file:

STEP 1. Using app. Adobe Acrobat 8 Pro Version 8.1.3

  • Open file "sam4.pdf"
  • Export file to HTML3.2
  • File generated is "sam4.htm"

STEP 2. Using app. OppenOffice.org Writer/Web Version 3.0.0

  • Open file "sam4.htm"
  • Export file to MediaWiki(.txt)
  • File generated is "sam4.txt"

STEP 3. Using app. Notepad -Windox XP SP2

  • Open file "sam4.txt"
  • Selected all, copy to clipboard

STEP 4. In WikiEducator

  • Generate new page User:Chela5808/My sandbox Sam4
  • Paste-Save
  • Output below


Comments:

  • Conversion time from Step 1 to Step 4: 15 min.
  • Further text styling by hand is required
  • Further [math]\mathrm{L\!\!^{{}_{\scriptstyle A}} \!\!\!\!\!\;\; T\!_{\displaystyle E} \! X} \,[/math] styling by hand is required ( tags <math></math> )
  • Images must be uploaded via "Upload file"




OUTPUT (Before any styling by hand)

Created from PDF via Acrobat SaveAsXMLMapping table version: 28-February-2003Example

As an example of how things go, you can look at the function

z = f (x, y)= x 2 − 2xy − 3y 2

and find the two first derivatives, one for each of the two variables. Thus

∂f ∂f

=2x − 2y, = −2x − 6y.

∂x y ∂y x

It’s easy; all you have to do is differentiate with respect to one variable, treating the other just as if it were a constant. And with only two independent variables you can even drop the subscripts, which only mean “the other one”. That’s what we’ll do from now on.

Now try some of the Exercises at the end of the Chapter. Towards the end of Section 2.3, in talking about functions of only one variable, we were able to define ‘higher’ derivatives by differentiating the ‘first’ derivative to get ‘second’ and ‘third’ derivatives: d2f/dx2 and d3f/dx3, etc.; and we can do the same for functions of more than one variable. Thus, if z = f (x, y) we can find first derivatives, such as (∂f /∂x) in (??), and then go on to get

� ���� � � ���� �
∂2f ∂∂f ∂2f ∂∂f

= , (6)

∂x2 ∂x ∂x , ∂x∂y = ∂x ∂y

and so on. We have to take care with the order of the differentiations: usually, in

∂2f
∂x∂y ,

the operation nearest the function f is the one you do first – but some books use the opposite rule, so watch out!. The rule used here is close to the one in which the operators D x, D y are used. The second derivative we’re talking about can be written in this way as D x D y f , which is simpler and clearer. And, just as with functions of one variable, we can make things even easier: the notations for first derivatives are

∂f ∂f

= D x f = f x, = D y f = f y , (7)

∂x ∂y

while for the second derivatives we have

� ���� �

∂2f ∂∂f

= = D x D x f = f xx (8)

∂x2 ∂x ∂x

and ��

∂2f = D x D y f = f xy . (9)

∂x∂y

(Notice that we don’t need to put primes on the derivatives, one each time we differentiate, because the subscripts on f x ,fxy , in (??) and (??), tell us which differentiations we’ve

14

done and how many.) The older books use the full notation, on the left in these equations, which goes back to Leibnitz and the early days of the Calculus, but we’ll often use the simpler forms shown on the right. So be sure you know about them all.

You can see what the derivatives mean, with the help of Fig.24, which shows what happens when x → x +dx and y → y +dy.

File:Sam4 img 0.jpgC D BA: z = f (x, y)

B: z = f (x +dx, y)

C: z = f (x +dx, y +dy)

D: z = f (x, y +dy)

Figure 24 Example. Let’s find some second derivatives for a function of the third degree.

2 23

z = f (x, y)= x 3 +4xy − 6xy − 2y. Differentiating, we get first derivatives

2 22

(∂f /∂x)=3x 2 +8xy − 6y, (∂f /∂y)=4x − 12xy − 6y, and differentiating again we find four second derivatives:


� ∂2f � � ∂2f
∂x2 = 6x + 8y, ∂x∂y = 8x − 12y,
� ∂2f � ∂2f �
∂y∂x = 8x − 12y, ∂y2 = −12x − 12y.

Note that in the ‘mixed’ derivatives, where you differentiated once with respect to x and once with respect to y, the results came out to be exactly the same: it didn’t matter which one you did first. This is true for all the functions we have called “well behaved” (meaning there is a unique value of the dependent variable z for every choice of the independent variables, the function is continuous and smooth, and so on).

Figure 24 shows four neighbouring points A,B,C,D on the surface: they are vertically above the corners of the rectangle at the bottom of the picture, which lies in the horizontal xy-plane. The broken lines indicate a plane passing through A, parallel to the base, so you can see the slopes of the edges of the sloping face. Thus, the slopes of AB and AD are

∂f

slopeAB == D x f = f x (x, y),

∂x

∂f

slopeAD == D y f = f y (x, y).

∂y

15

Here the forms on the right show also the variables for Point A where the derivatives are evaluated. The slope of side BC, at Point B will be

∂f

slopeBC == D y f = f y (x +dx, y).

∂y

Notice that this is the slope in the y direction, where only x is changing, but it is evaluated using the variables for Point B. Why do

16