COMPLEX ANALYSIS: Maple Worksheets, 2001
(c) John H. Mathews Russell W. Howell
mathews@fullerton.edu howell@westmont.edu

Complimentary software to accompany the textbook:

COMPLEX ANALYSIS: for Mathematics & Engineering, 4th Ed, 2001, ISBN: 0-7637-1425-9
Jones and Bartlett Publishers, Inc., 40 Tall Pine Drive, Sudbury, MA 01776
Tele. (800) 832-0034; FAX: (508) 443-8000, E-mail: mkt@jbpub.com, http://www.jbpub.com/


CHAPTER 6 COMPLEX INTEGRATION

Section 6.2 Contours and Contour Integrals

In Section 6.1 we learned how to evaluate integrals of the form int(f(t),t = a .. b) , where f was complex-valued and [a, b] was an interval on the real axis (so that t was real, with t*epsilon [a, b] ). In this section we shall define and evaluate integrals of the form int(f(z),z = C .. ` `) , where f is complex-valued and C is a contour in the plane (so that z is complex, with z*epsilon*C ). Our main result is Theorem 6.1, which will show how to transform the latter type of integral into the kind we investigated in Section 6.1.

 

We will use concepts first introduced in Section 1.6. Recall that to represent a curve C in the plane we use the parametric notation

 

`C: ` z(t) = x(t)+i*y(t) , for a `` <= `` t `` <= `` b ,

 

where x(t) and y(t) are continuous functions. We will place a few more restrictions on the type of curve that we will be studying. The following discussion will lead to the concept of a contour, which is a type of curve that is adequate for the study of integration.

 

 

Recall that C is simple if it does not cross itself, which means z(t[1]) <> z(t[2]) whenever t[1] <> t[2] . A curve C with the property that z(a) = z(b) is a closed curve . If z(a) = z(b) is the only point of intersection, then we say that C is a simple closed curve . As the parameter t increases from the value a to the value b , the point z(t) starts at the initial point z(a) , moves along the curve C , and ends up at the terminal point z(b) . If C is simple, then z(t) moves continuously from z(a) to z(b) as t increases, and the curve is given an orientation , which we indicate by drawing arrows along the curve.

 

 

The complex-valued function z(t) = x(t)+i*y(t) is said to be differentiable on [a, b] if both x(t) and y(t) are differentiable for a `` <= `` t `` <= `` b.

 

Here we require the one-sided derivatives of x(t) and y(t) to exist at the endpoints of the interval. As we saw in Section 6.1, the derivative `z'` is

 

`C:` `z'(t)` = `x'(t)`+i*`y'(t)` for a `` <= `` t `` <= `` b.

 

The curve C is said to be smooth if `z'` is continuous and nonzero on the interval. If C is a smooth curve, then C has a nonzero tangent vector at each point `z'(t)` , which is given by the vector `z'(t)` .

 

 

 

The opposite curve -C traces out the same set of points in the plane but in the reverse order, and it has the parametrization

 

`-C:` z[2](t) = x(-t)+i*y(-t) , for -b `` <= `` t `` <= `` -a .

 

A curve C that is constructed by joining finitely many smooth curves end to end is called a contour . Let C[1], C[2], `...`, C[n] denote n smooth curves such that the terminal point of the curve C[k] coincides with the initial point of C[k+1] for `k = ` 1, 2, `...`, n-1 . We express the contour C by the equation

 

C = C[1]+C[2]+`...`+C[n]

 

A synonym for contour is path .

 


Example 6.5, Page 208. Let us find a parameterization of the polygonal path C from -1+i to 3-i
consisting of the three line segments:
Segment 1 from
-1+i to -1 ,
Segment 2 from
-1 to 1+i ,
Segment 3 from
1+i to 3-i .

> t:='t':x0:='x0':x1:='x1':y0:='y0':y1:='y1':z:='z':Z:='Z':Z1:='Z1':
z0 := - 1 + I:
z1 := - 1:
x0 := Re(z0): y0 := Im(z0): x1 := Re(z1): y1 := Im(z1):
Z1 := t -> x0 + (x1-x0)*t + I*(y0 + (y1-y0)*t):
`Find the segment from -1+i to -1.`;
z[0] = Z1(0),` and `,z[1] = Z1(1);
Z[1](t) = Z1(t);

`Find the segment from  -1+i  to  -1.`

z[0] = -1+I, `  and  `, z[1] = -1

Z[1](t) = -1+I*(1-t)

> t:='t':x0:='x0':x1:='x1':y0:='y0':y1:='y1':z:='z':Z:='Z':Z2:='Z2':
z0 := - 1:
z1 := 1 + I:
x0 := Re(z0): y0 := Im(z0): x1 := Re(z1): y1 := Im(z1):
Z2 := t -> x0 + (x1-x0)*t + I*(y0 + (y1-y0)*t):
`Find the segment from -1 to 1+i.`;
z[0] = Z2(0),` and `,z[0] = Z2(1);
Z[2](t) = Z2(t);

`Find the segment from  -1  to  1+i.`

z[0] = -1, `  and  `, z[0] = 1+I

Z[2](t) = -1+2*t+I*t

> t:='t':x0:='x0':x1:='x1':y0:='y0':y1:='y1':z:='z':Z:='Z':Z3:='Z3':
z0 := 1 + I:
z1 := 3 - I:
x0 := Re(z0): y0 := Im(z0): x1 := Re(z1): y1 := Im(z1):
Z3 := t -> x0 + (x1-x0)*t + I*(y0 + (y1-y0)*t):
`Find the segment from 1+i to 3-i.`;
z[0] = Z3(0),` and `,z[1] = Z3(1);
z[3](t) = Z3(t);

`Find the segment from  1+i  to  3-i.`

z[0] = 1+I, `  and  `, z[1] = 3-I

z[3](t) = 1+2*t+I*(1-2*t)

 

 

We are now ready to define the integral of a complex function along a contour C in the plane with initial point A and terminal point B . Our approach is to mimic what is done in calculus. We create a partition P = {A = z[0], z[1], z[2], `...`, z[n] = B} of points that proceed along C from A and B and form the differences Delta*z[k] = z[k]-z[k-1] for `k = ` 1, 2, `...`, n-1 . Between each pair of partition points z[k-1] and z[k] we select a point c[k] on C , where the function f evaluated.

 

 

Definition 6.2: Complex integral of f(z)

 

int(f(z),z = C .. ` `) = Limit(` `,n = infinity) Sum(f(c[k])*Delta*z[k],k = 1 .. n) ,

 

provided the limit exists in the sense previously discussed.

 


Example 6.6, Page 209. Use a Riemann sum to construct an approximation for the contour
integral
int(exp(z),z = C .. `.`) where C is a the line segment joining the point a = 0 to b = 2+i*pi/4 .

> a:='a':b:='b':C:='C':f:='f':F:='F':n:='n':z:='z':Z:='Z':
F := z -> exp(z):
`f(z) ` = F(z);
a := 0:
b := 2 + I*Pi/4:
n := 8:
`a ` = a, ` b ` = b, ` n ` = n;
dz := (b-a)/8:
Z := k -> a + k*dz:
c := k -> simplify((Z(k-1)+Z(k))/2):
Sum(f(c[k])*Delta*z[k]) = Sum(F(c(k))*dz);

`f(z) ` = exp(z)

`a ` = 0, `    b ` = 2+1/4*I*Pi, `    n ` = 8

Sum(f(c[k])*Delta*z[k]) = Sum(exp(1/4*k+1/32*I*k*Pi...

> RS := sum(F(c(k))*dz, k=1..8):
`The Riemann sum is:`;
Sum(f(c[k])*Delta*z[k],k=1..8) = RS;
`The Riemann sum is:`;
Sum(f(c[k])*Delta*z[k],k=1..8) = evalf(RS);

`The Riemann sum is:`

Sum(f(c[k])*Delta*z[k],k = 1 .. 8) = exp(1/8+1/64*I...
Sum(f(c[k])*Delta*z[k],k = 1 .. 8) = exp(1/8+1/64*I...
Sum(f(c[k])*Delta*z[k],k = 1 .. 8) = exp(1/8+1/64*I...

`The Riemann sum is:`

Sum(f(c[k])*Delta*z[k],k = 1 .. 8) = 4.226201669+5....

 

 

Theorem 6.1 Suppose f(z) is a continuous complex-valued function defined on a set containing the contour C .

Let z(t) be any parameterization of C for a `` <= `` t `` <= `` b . Then

 

int(f(z),z = C .. ` `) = int(f(z(t))*`z ' (t)`,t = ... .

 

Example 6.7, Page 212. Evaluate the contour integral int(exp(z),z = C .. `.`)
where
C is a the line segment joining the point a = 0 to b = 2+i*pi/4 .

> f:='f': F:='F': g:='g': t:='t': T:='T': z:='z': z1:='z1':
f := z -> exp(z):
F := t -> exp((2 + I*Pi/4)*t):
`f(z) ` = f(z);
a := 0:
b := 2 + I*Pi/4:
`a ` = a, ` b ` = b;
z := t -> a + (b - a)*t:
`C: z(t) ` = z(t);
`f(z(t)) = `,F(t) = evalc(F(t));
z1 := t -> subs(T=t,diff(z(T), T)):
Int(f(z),z=C..``) = Int(F(t)*diff(z(t),t),t=0..1);
`The anti-derivative is:`;
g := t -> subs(T=t,int(F(T)*z1(T), T)):
`g(t) ` = g(t);
g1 := g(1):
g0 := g(0):
`g(1) ` = g1, ` g(0) ` = g0;
`g(1) - g(0) ` = g1 - g0;
Int(f(z),z=C..``) = g1 - g0;
Int(f(z),z=C..``) = evalc(g1 - g0);
Int(f(z),z=C..``) = evalf(g1 - g0);

`f(z) ` = exp(z)

`a ` = 0, `    b ` = 2+1/4*I*Pi

`C:  z(t) ` = (2+1/4*I*Pi)*t

`f(z(t)) =  `, exp((2+1/4*I*Pi)*t) = exp(2*t)*cos(1...

Int(exp(z),z = C .. ``) = Int(exp((2+1/4*I*Pi)*t)*(...

`The anti-derivative is:`

`g(t)  ` = exp((2+1/4*I*Pi)*t)

`g(1)  ` = exp(2+1/4*I*Pi), `  g(0)  ` = 1

`g(1) - g(0)  ` = exp(2+1/4*I*Pi)-1

Int(exp(z),z = C .. ``) = exp(2+1/4*I*Pi)-1

Int(exp(z),z = C .. ``) = 1/2*exp(2)*sqrt(2)-1+1/2*...

Int(exp(z),z = C .. ``) = 4.224851674+5.224851675*I...

 

An alternate method is to use the integral of the real and imaginary parts of f(z) .
WARNING. Because
`z'(t)` is a constant for this example, we took it outside the integral!
Also, this computation is very memory intensive !

> f:='f': F:='F': g:='g': t:='t': T:='T': u:='u': v:='v': z:='z':
f := z -> exp(z):
u := t -> exp(2*t)*cos(1/4*t*Pi):
v := t -> exp(2*t)*sin(1/4*t*Pi):
`f(z) ` = f(z);
a := 0:
b := 2 + I*Pi/4:
`a ` = a, ` b ` = b;
z := t -> a + (b - a)*t:
`C: z(t) ` = z(t);
`f(z(t)) = `,f(z(t)) = u(t) + I*v(t);
z1 := diff(z(t), t):
Int(f(z),z=C..``) = Int((u(t)+I*v(t))*diff(z(t),t),t=0..1);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(u(T), T)))*z1 +
I*simplify(subs(T=t,int(v(T), T)))*z1:
`g(t) ` = g(t); ` `;
g1 := simplify(g(1)):
g0 := simplify(g(0)):
`g(1) ` = g1,` and `,
`g(0) ` = g0;
`g(1) - g(0) ` = expand(g1 - g0); ` `;
Int(f(z),z=C..``) = expand(g1 - g0);
Int(f(z),z=C..``) = evalf(g1 - g0);

`f(z) ` = exp(z)

`a ` = 0, `    b ` = 2+1/4*I*Pi

`C:  z(t) ` = (2+1/4*I*Pi)*t

`f(z(t)) =  `, exp((2+1/4*I*Pi)*t) = exp(2*t)*cos(1...

Int(exp(z),z = C .. ``) = Int((exp(2*t)*cos(1/4*t*P...

`The anti-derivative is:`

`g(t)  ` = 4*exp(2*t)*(8*cos(1/4*t*Pi)+Pi*sin(1/4*t...

` `

`g(1)  ` = (1/2+1/2*I)*exp(2)*sqrt(2), `  and  `, `...

`g(1) - g(0)  ` = 1/2*exp(2)*sqrt(2)+1/2*I*exp(2)*s...

` `

Int(exp(z),z = C .. ``) = 1/2*exp(2)*sqrt(2)+1/2*I*...

Int(exp(z),z = C .. ``) = 4.224851675+5.224851675*I...

 

Example 6.8, Page 212. Evaluate the contour integral int(1/(z-2),z = C .. `.`) dz
where
C is a the upper semicircle with radius 1 centered at x = 2 .

> dz :='dz':f:='f':F:='F':g:='g':t:='t':T:='T':z:='z':Z:='Z':z1:='z1':
f := z -> 1/(z - 2):
`f(z) ` = f(z);
z := t -> 2 + exp(I*t):
`C: z(t) ` = z(t);
`f(z(t)) ` = f(z(t));
z1 := t -> subs(T=t,diff(z(T), T)):
`dz = z '(t) dt ` = z1(t), `dt`;
Int(f(z),z=C..``) = Int(f(z(t))*diff(z(t),t),t=0..2*pi);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(f(z(T))*z1(T), T))):
`g(t) ` = g(t);
g1 := g(2*Pi):
g0 := g(0):
`g(2*Pi) - g(0) ` = expand(g1 - g0);
Int(f(z),z=C..``) = expand(g1 - g0);

`f(z) ` = 1/(z-2)

`C:  z(t) ` = 2+exp(I*t)

`f(z(t)) ` = 1/exp(I*t)

`dz = z '(t) dt ` = I*exp(I*t), dt

Int(1/(z-2),z = C .. ``) = Int(I,t = 0 .. 2*pi)

`The anti-derivative is:`

`g(t)  ` = I*t

`g(2*Pi) - g(0)  ` = 2*I*Pi

Int(1/(z-2),z = C .. ``) = 2*I*Pi

 

 

Example 6.9, Page 214. Evaluate the contour integrals of f(z) = z over a line segment and portion of a parabola.
(a) Use the straight line connecting the points -1-i and 3+i .

 

> dz :='dz':f:='f':F:='F':g:='g':t:='t':T:='T':z:='z':Z:='Z':z1:='z1':
f := z -> z:
`f(z) ` = f(z);
z := t -> 2*t + 1 + I*t:
`C: z(t) ` = z(t);
`f(z(t)) ` = f(z(t));
z1 := t -> subs(T=t,diff(z(T), T)):
`dz = z '(t) dt ` = z1(t), `dt`;
Int(f(z),z=C..``) = Int(f(z(t))*z1(t),t=-1..1);
Int(f(z),z=C..``) = Int(evalc(f(z(t))*z1(t)),t=-1..1);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(f(z(T))*z1(T), T))):
`g(t) ` = evalc(g(t));
g1 := g(1):
g0 := g(-1):
`g(1) - g(-1) ` = expand(g1 - g0);
Int(f(z),z=C..``) = expand(g1 - g0);

`f(z) ` = z

`C:  z(t) ` = 2*t+1+I*t

`f(z(t)) ` = 2*t+1+I*t

`dz = z '(t) dt ` = 2+I, dt

Int(z,z = C .. ``) = Int((2+I)*(2*t+1+I*t),t = -1 ....

Int(z,z = C .. ``) = Int(3*t+2+I*(4*t+1),t = -1 .. ...

`The anti-derivative is:`

`g(t)  ` = 3/2*t^2+2*t+I*(2*t^2+t)

`g(1) - g(-1)  ` = 4+2*I

Int(z,z = C .. ``) = 4+2*I

 

(b) Use the portion of a parabola connecting the points -1-i and 3+i .

 

> dz :='dz':f:='f':F:='F':g:='g':t:='t':T:='T':z:='z':Z:='Z':z1:='z1':
f := z -> z:
`f(z) ` = f(z);
z := t -> t^2 + 2*t + I*t:
`C: z(t) ` = z(t);
`f(z(t)) ` = f(z(t));
z1 := t -> subs(T=t,diff(z(T), T)):
`dz = z '(t) dt ` = z1(t), `dt`;
Int(f(z),z=C..``) = Int(f(z(t))*z1(t),t=-1..1);
Int(f(z),z=C..``) = Int(evalc(f(z(t))*z1(t)),t=-1..1);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(f(z(T))*z1(T), T))):
`g(t) ` = evalc(g(t));
g1 := g(1):
g0 := g(-1):
`g(1) - g(-1) ` = expand(g1 - g0);
Int(f(z),z=C..``) = expand(g1 - g0);

`f(z) ` = z

`C:  z(t) ` = t^2+2*t+I*t

`f(z(t)) ` = t^2+2*t+I*t

`dz = z '(t) dt ` = 2*t+2+I, dt

Int(z,z = C .. ``) = Int((t^2+2*t+I*t)*(2*t+2+I),t ...

Int(z,z = C .. ``) = Int(2*t^3+6*t^2+3*t+I*(3*t^2+4...

`The anti-derivative is:`

`g(t)  ` = 1/2*t^4+2*t^3+3/2*t^2+I*(t^3+2*t^2)

`g(1) - g(-1)  ` = 4+2*I

Int(z,z = C .. ``) = 4+2*I

 

Which is the same as the value for the other path.


Example 6.*, Similar to the above example, but using conjugate(z) .
Evaluate the contour integrals of
f(z) = conjugate(z) over a line segment and portion of a parabola.
(a) Use the straight line connecting the points -1-i and 3+i .

> dz :='dz':f:='f':F:='F':g:='g':t:='t':T:='T':z:='z':Z:='Z':z1:='z1':
f := z -> conjugate(z):
`f(z) ` = f(z);
z := t -> 2*t + 1 + I*t:
`C: z(t) ` = z(t);
`f(z(t)) ` = evalc(f(z(t)));
z1 := t -> subs(T=t,diff(z(T), T)):
`dz = z '(t) dt ` = z1(t), `dt`;
Int(f(z),z=C..``) = Int(f(z(t))*z1(t),t=-1..1);
Int(f(z),z=C..``) = Int(evalc(f(z(t))*z1(t)),t=-1..1);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(evalc(f(z(T))*z1(T)), T))):
`g(t) ` = evalc(g(t));
g1 := g(1):
g0 := g(-1):
`g(1) - g(-1) ` = expand(g1 - g0);
Int(f(z),z=C..``) = expand(g1 - g0);

`f(z) ` = conjugate(z)

`C:  z(t) ` = 2*t+1+I*t

`f(z(t)) ` = 1+2*t-I*t

`dz = z '(t) dt ` = 2+I, dt

Int(conjugate(z),z = C .. ``) = Int((2+I)*(1+conjug...

Int(conjugate(z),z = C .. ``) = Int(2+I+5*t,t = -1 ...

`The anti-derivative is:`

`g(t)  ` = 2*t+I*t+5/2*t^2

`g(1) - g(-1)  ` = 4+2*I

Int(conjugate(z),z = C .. ``) = 4+2*I

 

(b) Use the portion of a parabola connecting the points -1-i and 3+i .

> dz :='dz':f:='f':F:='F':g:='g':t:='t':T:='T':z:='z':Z:='Z':z1:='z1':
f := z -> conjugate(z):
`f(z) ` = f(z);
z := t -> t^2 + 2*t + I*t:
`C: z(t) ` = z(t);
`f(z(t)) ` = evalc(f(z(t)));
z1 := t -> subs(T=t,diff(z(T), T)):
`dz = z '(t) dt ` = z1(t), `dt`;
Int(f(z),z=C..``) = Int(f(z(t))*z1(t),t=-1..1);
Int(f(z),z=C..``) = Int(expand(evalc(f(z(t))*z1(t))),t=-1..1);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(evalc(f(z(T))*z1(T)), T))):
`g(t) ` = evalc(g(t));
g1 := g(1):
g0 := g(-1):
`g(1) - g(-1) ` = expand(g1 - g0);
Int(f(z),z=C..``) = expand(g1 - g0);

`f(z) ` = conjugate(z)

`C:  z(t) ` = t^2+2*t+I*t

`f(z(t)) ` = t^2+2*t-I*t

`dz = z '(t) dt ` = 2*t+2+I, dt

Int(conjugate(z),z = C .. ``) = Int(conjugate(t^2+2...

Int(conjugate(z),z = C .. ``) = Int(2*t^3+6*t^2+5*t...

`The anti-derivative is:`

`g(t)  ` = 1/2*t^4+2*t^3+5/2*t^2-1/3*I*t^3

`g(1) - g(-1)  ` = 4-2/3*I

Int(conjugate(z),z = C .. ``) = 4-2/3*I

 

Which is different from the value for the other path.


Example 6.10, Page 215.
(a) Show that int(conjugate(z),z = C[1] .. `.`) = -i*pi , where C[1] is the semicircular path from -1 to 1 in the upper half plane.
(b) Show that int(conjugate(z),z = C[2] .. `.`) = -4*i , where C[2] is the polygonal path from -1 to -1+i to 1+i to 1 .

(a) Use the semicircular path from -1 to 1 in the upper half plane.

> dz :='dz':f:='f':F:='F':g:='g':t:='t':T:='T':z:='z':Z:='Z':z1:='z1':
f := z -> conjugate(z):
`f(z) ` = f(z);
z := t -> - cos(t) + I*sin(t):
`C: z(t) ` = z(t);
`f(z(t)) ` = evalc(f(z(t)));
z1 := t -> subs(T=t,diff(z(T), T)):
`dz = z '(t) dt ` = z1(t), `dt`;
Int(f(z),z=C..``) = Int(f(z(t))*z1(t),t=0..pi);
Int(f(z),z=C..``) = Int(expand(evalc(f(z(t))*z1(t))),t=0..pi);
`The anti-derivative is:`;
g := t -> simplify(subs(T=t,int(evalc(f(z(T))*z1(T)), T))):
`g(t) ` = evalc(g(t));
g1 := g(Pi):
g0 := g(0):
`g(Pi) - g(0) ` = expand(g1 - g0);
Int(f(z),z=C..``) = expand(g1 - g0);

`f(z) ` = conjugate(z)

`C:  z(t) ` = -cos(t)+I*sin(t)

`f(z(t)) ` = -cos(t)-I*sin(t)

`dz = z '(t) dt ` = sin(t)+I*cos(t), dt

Int(conjugate(z),z = C .. ``) = Int(conjugate(-cos(...

Int(conjugate(z),z = C .. ``) = Int(-I*sin(t)^2-I*c...

`The anti-derivative is:`

`g(t)  ` = -I*t

`g(Pi) - g(0)  ` = -I*Pi

Int(conjugate(z),z = C .. ``) = -I*Pi

 

(b) Show that int(conjugate(z),z = C[2] .. `.`) = -4*i , where C[2] is the polygonal path from -1 to -1+i to 1+i to 1 .

Find a parameterization of the polygonal path
C[2] from -1 to 1 consisting of the three line segments:
Segment 1 from
-1 to -1+i ,
Segment 2 from
-1+i to 1+i ,
Segment 3 from
1+i to 1 .

> t:='t':x0:='x0':x1:='x1':y0:='y0':y1:='y1':z:='z':
z0:='z0':z1:='z1':Z1:='Z1':Z2:='Z2':Z3:='Z3':
z0 := - 1:
z1 := - 1 + I:
x0 := Re(z0): y0 := Im(z0): x1 := Re(z1): y1 := Im(z1):
Z1 := x0 + (x1-x0)*t + I*(y0 + (y1-y0)*t):
z0 := - 1 + I:
z1 := 1 + I:
x0 := Re(z0): y0 := Im(z0): x1 := Re(z1): y1 := Im(z1):
Z2 := x0 + (x1-x0)*t + I*(y0 + (y1-y0)*t):
z0 := 1 + I:
z1 := 1:
x0 := Re(z0): y0 := Im(z0): x1 := Re(z1): y1 := Im(z1):
Z3 := x0 + (x1-x0)*t + I*(y0 + (y1-y0)*t):
C[1], ` is given by `,z[1](t) = Z1;
C[2], ` is given by `, z[2](t) = Z2;
C[3], ` is given by `, z[3](t) = Z3; ` `;

C[1], ` is given by  `, z[1](t) = -1+I*t

C[2], ` is given by  `, z[2](t) = 2*t-1+I

C[3], ` is given by  `, z[3](t) = 1+I*(1-t)

` `

> f:='f': F:='F': g:='g': t:='t': z:='z':
f := z -> conjugate(z):
F(z[1](t)) = evalc(f(Z1)),` and `,
diff(z[1](t),t) = evalc(diff(Z1,t));
w1 := evalc(f(Z1)*diff(Z1,t)):
F(z[1](t))*diff(z[1](t),t) = w1; ` `;
F(z[2](t)) = evalc(f(Z2)),` and `,
diff(z[2](t),t) = evalc(diff(Z2,t));
w2 := evalc(f(Z2)*diff(Z2,t)):
F(z[2](t))*diff(z[2](t),t) = w2; ` `;
F(z[3](t)) = evalc(f(Z3)),` and `,
diff(z[3](t),t) = evalc(diff(Z3,t));
w3 := evalc(f(Z3)*diff(Z3,t)):
F(z[3](t))*diff(z[3](t),t) = w3; ` `;

F(z[1](t)) = -1-I*t, `  and  `, diff(z[1](t),t) = I...

F(z[1](t))*diff(z[1](t),t) = t-I

` `

F(z[2](t)) = -1-I+2*t, `  and  `, diff(z[2](t),t) =...

F(z[2](t))*diff(z[2](t),t) = -2-2*I+4*t

` `

F(z[3](t)) = 1+I*(-1+t), `  and  `, diff(z[3](t),t)...

F(z[3](t))*diff(z[3](t),t) = -1-I+t

` `

> s1 := int(w1,t):
Int(F(z[1](t))*diff(z[1](t),t),t) = s1;
s2 := int(w2,t):
Int(F(z[2](t))*diff(z[2](t),t),t) = s2;
s3 := int(w3,t):
Int(F(z[3](t))*diff(z[3](t),t),t) = s3;
s := int(w1,t) + int(w2,t) +int(w3,t):
Int(F(z(t))*diff(z(t),t),t) = s;

Int(F(z[1](t))*diff(z[1](t),t),t) = 1/2*t^2-I*t

Int(F(z[2](t))*diff(z[2](t),t),t) = (-2-2*I)*t+2*t^...

Int(F(z[3](t))*diff(z[3](t),t),t) = (-1-I)*t+1/2*t^...

Int(F(z(t))*diff(z(t),t),t) = 3*t^2-(3+4*I)*t

> z1:='z1': z2:='z2': z3:='z3':
S1 := Int(w1,t=0..1): s1 := int(w1,t=0..1):
Int(F(z[1](t))*diff(z[1](t),t),t=0..1),` = `, S1 = s1;
S2 := Int(w2,t=0..1): s2 := int(w2,t=0..1):
Int(F(z[2](t))*diff(z[2](t),t),t=0..1),` = `, S2 = s2;
S3 := Int(w3,t=0..1): s3 := int(w3,t=0..1):
Int(F(z[3](t))*diff(z[3](t),t),t=0..1),` = `, S3 = s3;
S := Int(w1+w2+w3,t=0..1):
s := int(w1,t=0..1) + int(w2,t=0..1) + int(w3,t=0..1):
Int(F(z(t))*diff(z(t),t),t=0..1),` = `, S = s;
Int(f(z),z=C..``) = s;

Int(F(z[1](t))*diff(z[1](t),t),t = 0 .. 1), ` = `, ...

Int(F(z[2](t))*diff(z[2](t),t),t = 0 .. 1), ` = `, ...

Int(F(z[3](t))*diff(z[3](t),t),t = 0 .. 1), ` = `, ...

Int(F(z(t))*diff(z(t),t),t = 0 .. 1), ` = `, Int(6*...

Int(conjugate(z),z = C .. ``) = -4*I

Which is different from the value for the other path.

 

 

We now give a few important inequalities relating to complex integrals.

 

 

Theorem 6.2 (Integral triangle inequality)

 

If f(t) = u(t)+i*v(t) is a continuous function of the real parameter t , then

 

abs(int(f(t),t = a .. b)) `` <= `` int(abs(f(t)),t = a .. b) .

 

Theorem 6.3 (ML inequality)

 

If f(z) = u(x,y)+i*v(x,y) is a continuous function on the contour C , then

 

abs(int(f(z),z = C .. ` `)) `` <= `` M*L ,

 

where L is the length of the contour C and M is an upper bound for the modulus abs(f(z)) on C , that is abs(f(z)) <= M for all z*epsilon*C .

 

End of Section 6.2.