• Tidak ada hasil yang ditemukan

Review Questions

Dalam dokumen Maths for Physics (Halaman 132-137)

Question 1:

Findfx,fy andfz if

f =zcos(y) +x

Answer:

fx= 1 fy=−zsin(y)

fz= cos(y)

Question 2:

Findfx if

f =xsin(xy) Answer:

fx= sin(xy) +xycos(xy)

Question 3:

Findfxx,fyy andfxy if

f =xsin(y) +yx2

Answer:

fxx= 2y fyy =−xsin(y) fxy = cos(y) + 2x

Question 4:

Find ∂z

∂x if the equation

yz−ln(z) =x+y definesz as a function ofxandy.

Hint: You will need to use implicit partial differentiation in this question. Refer to the section on implicit differentiation in the previous chapter if you need to.

Answer:

∂z

∂x = z yz−1

Question 5:

Using the chain rule, find ∂z

∂t if z= 2xy−y2 x=t2+ 1, y=t2−1 and express the result in terms oft.

Medium Questions Question 6:

Find∇f if

f = y2+ sin(z) e−x Answer:

∇f =− y2+ sin(z)

e−x~i+ 2ye−x~j+e−xcos(z)~k

Question 7:

Let

f(x, y, z) =x2z+yz3

Find the directional derivative off at the point (1,3,2) in the direction to the point (2,1,3).

Answer:

Duf(1,3,2) = 25

√6

Question 8:

Calculate div ~F if

F~ = (x2y,−xze2y, x2y2)

Answer:

div ~F = 2xy−2xze2y

Question 9:

Calculate curl ~F if

F~ = (xyz, x2cos(z), exy)

Answer:

curl ~F = (xexy+x2sin(z))~i−(yexy−xy)~j+ (2xcos(z)−xz)~k

Question 10:

Find∇2f if

f = 3x3y2z3 Answer:

2f = 18xy2z3+ 6x3z3+ 18x3y2z

Hard Questions

Question 11:

Using the chain rule, find ∂w

∂t if w=exyz

x=ts, y=s2, z=t−s

Hint: You may wish to calculate all the partial derivatives you will need and substitute them into the formula for the chain rule.

Question 12:

By considering the function

f =x2yz+exyz show thatdiv(∇f) =∇2f.

Question 13:

Recall the relations between Cartesian coordinates and polar coordinates:

x=rcos(θ) andy=rsin(θ) Findrx andθx.

Hint: Use implicit partial differentiation on two formulaer2=x2+y2 and tan(θ) =x y. Answer:

rx= cos(θ) θx=−sin(θ)

r

Question 14:

Considerf g(x, y), h(x, y)

, wherex=x(t) andy=y(t, s). Findftandfs. Hint: You will need to use the chain rule multiple times.

Answer:

ft= ∂f

∂g

∂g

∂x dx dt +∂g

∂y

∂y

∂t

! +∂f

∂h

∂h

∂x dx

dt +∂h

∂y

∂y

∂t

!

fs= ∂f

∂g

∂g

∂y

∂y

∂s+∂f

∂h

∂h

∂y

∂y

∂s

Question 15:

Use Lagrange multipliers to find the maximum and minimum values of the function

f(x, y) =x2y subject to the constraint

g(x, y) =x2+y2−3 = 0

Answer:

fmin=−2 and fmax= 2

8 Integration

8.1 Introduction to Integration

Integration is the opposite of differentiation so it helps us find the answer to the question:

‘Suppose we have dy

dx = 2xthen what isy?’

From the previous section we know the answer isy=x2+C, whereCis a constant. So we say that the integralof 2xisx2+C.

Note: We have an infinite number of solutions to the above question as the constant C could be any number!

Graphically, we know that differentiation gives us the gradient of a curve. Integration, on the other hand, finds the area beneath a curve.

y

a b x

Suppose we wish to find the area under the curve between thexvaluesaandbin the graph above. Then we could find an approximate answer by creating the dashed rectangles above and adding their areas.

Now, we can see this does not give a perfect answer, however the smaller the width of the rectangles the smaller the error in our answer would be.

So if we could use rectangles of an infinitely small width we would find an answer with no error. This is what integration does. It creates an infinite number of rectangles under the curve all with an infinitely small width and sums their area to find the total area under the curve.

−2. −1. 1.

−2.

−1.

1.

2

0

This means that if we are integrating to find the area shaded in blue above, we will need to separate our calculation into two parts: one to calculate the area under the x-axis and one to calculate the area above thex-axis. We would then have to add up the modulus of our two areas to get the total positive area.

Notation

We use the fact that the integral of 2xisx2+Cto help introduce the following notation for integration.

If we want to integrate 2xwe write this as:

Z

2x dx=x2+C or Z

dx2x=x2+C

ˆ The Z

tells us we need to integrate.

ˆ The dx tells use to integrate with respect to x. So we could write Z

2z dz =z2+C but in this case we have integrated with respect toz.

ˆ We call Z

2x dx=x2+C the integral.

ˆ We call the expression that we are integrating the integrand. So in this case the integrand is 2x.

Another notation which we can use is the following:

If we have the functionf(x) then we write the integral of this asF(x). So iff(x) = 2xthenF(x) =x2+C.

Integration finds the area under the curve. So if we want to find the area between two points on the x-axis, sayaandb, we use the following notation:

Z b a

f(x)dx

This tell us we want to find the integral of f(x) and then use that information to find the area under the curve between aandb. We callaand b the ‘limits’ of this integral. We find the area by using the formula below:

Z b

a

f(x)dx=F(b)−F(a) Note: This is explained in detail in the section on definite integrals.

ˆ When we are given limits then we have a definite integral.

ˆ When we are not given limits then we have an indefinite integral.

Rules for Integrals

Integration is alinearoperation. This means that:

1. We can split up a sum into separate integrals. For example Z

(x3+ 2x+ 7)dx = Z

x3dx+ Z

2x dx+ Z

7dx. Note that each of these integrals will result in a constant, however since these are all arbitrary numbers, we can combine them into a single constantC.

2. We can take constants out of the integral. For example Z

6x4dx = 6 Z

x4dx. Note that the

8.2 Standard Integrals

Dalam dokumen Maths for Physics (Halaman 132-137)