dr roger bennett [email protected] rm. 23 xtn. 8559 lecture 6

28
Dr Roger Bennett [email protected] Rm. 23 Xtn. 8559 Lecture 6

Upload: amelia-oconnor

Post on 28-Mar-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Dr Roger [email protected]

Rm. 23 Xtn. 8559

Lecture 6

Page 2: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• For functions of several variables• z=z(x,y), z is continuous function of

independent variables x and y. Here z is called an explicit function.

• This function can be represented as a surface in Cartesian coordinates.

Page 3: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• Imagine the surface intersects a planar surface parallel to the z-x plane which cuts the y-axis at y.

• The gradient of the line of intersection is given by the partial derivative of z with respect to x, and is defined as:-

x

yxzyxxz

x

z

x

zx

y

),(),(lim

0

Page 4: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• This is the same expression as for normal differentials but with y considered as a constant.

• It effectively gives the gradient in the x direction. A similar expression can be written for the y direction.

x

yxzyxxz

x

z

x

zx

y

),(),(lim

0

Page 5: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives - example

• Let z= x2+3xy +y3

x

yxzyxxz

x

z

x

zx

y

),(),(lim

0

32 )(3)(),( yxxyxxyxxz

322 )(32),( yxxyxxxxyxxz

Page 6: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives - example

• Ignoring terms second order in the limit x0

yxx

xyxx

x

z

x

zx

y

3232

lim0

32 )(32),( yxxyxxxyxxz 32 3),( yxyxyxz

Page 7: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• Differential form take the implicit function f(x, y, z) = 0, means x, y,and z are related and only two variables are independent so x = x(y,z)

• Similarly we can write y = y (x,z) and

dzz

xdy

y

xdx

yz

dzz

ydx

x

ydy

xz

Page 8: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• Substituting for dy

dzz

xdy

y

xdx

yz

dzz

ydx

x

ydy

xz

dzz

xdy

y

xdx

yz

dzz

x

z

y

y

xdx

x

y

y

xdx

yxzzz

Page 9: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• We can choose x and z to be independent variables so choosing dz = 0 is valid, dx can then be non-zero.

dzz

x

z

y

y

xdx

x

y

y

xdx

yxzzz

dxx

y

y

xdx

zz

zz

x

y

y

x

1

zz y

x

x

y

1

Reciprocal relation

Page 10: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives

• We can choose x and z to be independent variables so choosing dx = 0 is valid, dz can then be non-zero.

dzz

x

z

y

y

xdx

x

y

y

xdx

yxzzz

yxzz

x

z

y

y

x

0

xyzz

y

x

z

y

x

1 Cyclical relation

Page 11: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Partial Derivatives – Chain rule• Supposing variables x, y, z, are not independent

(so any two variables define the third) we can define the function = (x, y) and re-arrange to x = x(, y).

• Dividing by dz and hold constant.

dyy

xd

xdx

y

z

y

y

x

z

xChain Rule

Page 12: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Higher Partial Derivatives

• Repeated application allows the definition of higher derivatives.

yx

z

xx

z

2

2

yx

z

yxy

z

2

xy

z

xyx

z

2

Page 13: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Higher Partial Derivatives

• The order of differentiation does not matter as long as the derivatives are continuous.

yx

z

y

z

xx

z

yxy

z

xy

22

Page 14: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Pfaffian forms

• The differential equation

• In general the integral depends on the path of integration. In this case this is called an inexact differential.

• But the integral is path independent if it can be expressed as a single valued function f(x,y,z).

• df is then an exact differential.

ZdzYdyXdxdf

2

1

df

Page 15: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Pfaffian forms – exact differentials• If we write

• It follows from the double differentials that

• These are necessary and sufficient for the Pfaffian form to be an exact differential.

zyx

fX

,

zx

y

fY

,

yxz

fZ

,

zyzxx

Y

y

X

,,

xzxy y

Z

z

Y

,,

yxyz z

X

x

Z

,,

Page 16: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Dr Roger [email protected]

Rm. 23 Xtn. 8559

Lecture 7

Page 17: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Processes – functions of state

• The internal energy U of a system is a function of state. For a fluid (ideal gas) we could write U=U(P,T) or U=U(V,T).

Page 18: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Processes – functions of state

• The internal energy U of a system is a function of state. For a fluid (ideal gas) we could write U=U(P,T) or U=U(V,T).

• It is straightforward to imagine that in changing from state 1 to state 2 we can define U1 and U2 such that the difference in energies U=U2-U1 is the change of energy of the system.

Page 19: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Processes – functions of state

• The internal energy U of a system is a function of state. For a fluid (ideal gas) we could write U=U(P,T) or U=U(V,T).

• It is straightforward to imagine that in changing from state 1 to state 2 we can define U1 and U2 such that the difference in energies U=U2-U1 is the change of energy of the system.

• We cannot make the same argument for Work or Heat as you cannot define a quantity of either to be associated with a state. They are only defined during changes.

Page 20: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Processes – functions of state

• The internal energy U of a system is a function of state. For a fluid (ideal gas) we could write U=U(P,T) or U=U(V,T).

• It is straightforward to imagine that in changing from state 1 to state 2 we can define U1 and U2 such that the difference in energies U=U2-U1 is the change of energy of the system.

• We cannot make the same argument for Work or Heat as you cannot define a quantity of either to be associated with a state. They are only defined during changes.

• Work and heat flow are different forms of energy transfer.

Page 21: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Heat and Work

• The physical distinction between these two modes of energy transfer is:– Work deals with macroscopically

observable degrees of freedom.– Heat is energy transfer on the

microscopic scale via internal degrees of freedom of the system.

Page 22: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Heat and Work

• The physical distinction between these two modes of energy transfer is:– Work deals with macroscopically

observable degrees of freedom.– Heat is energy transfer on the

microscopic scale via internal degrees of freedom of the system.

• First Law of Thermodynamics dU = đW + đQ is always true as it is just conservation of energy – you just have to account for all possible heat and work processes.

Page 23: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Work

• First Law of Thermodynamics dU = đW + đQ is always true as it is just conservation of energy – you just have to account for all possible heat and work processes.– Stretching a wire (spring) đW = Fdx– Surface tension – bubble đW = dA– Charging a capacitor đW = EdZ

where E is the emf and Z stored charge.

Page 24: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Analysis of processes

• Quasistatic work– đW = -PdV

b

acquasistatiab PdVW )(

P

V

ab

Page 25: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Analysis of processes

• Isothermal Work (ideal gas)

P

V

a

b

b

a

b

acquasistatiIsothermalab V

dVnkTPdVW ,)(

a

bcquasistatiisothermalab V

VnkTW ln)( ,

Page 26: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Heat Transfer• Constant pressure heating

– đQ = dU - đW – đQ = dU + PdV

– đQ

• (đQ/T)P = CP specific heat capacity at constant pressure.

P

V

ab

dVV

UdT

T

UdU

TV

dVV

UPdT

T

U

TV

PTV

p T

V

V

UP

T

UC

Page 27: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Heat Transfer Ideal Gas Only• Cv = (đQ/T)v = (dU/T)v

• Cp = (đQ/T)p

• For ideal gas PV = (-1)U = NRT

0

TV

U

PTV

p T

V

V

UP

T

UC

P

NR

T

V

P

RCC Vp RCC Vp

Page 28: Dr Roger Bennett R.A.Bennett@Reading.ac.uk Rm. 23 Xtn. 8559 Lecture 6

Heat Transfer Ideal Gas Only• Cv = (đQ/T)v = (dU/T)v = 3/2 R

• Cp = (đQ/T)p

RCC Vp RC p 25