A First Course in Electrical and Computer Engineering by Louis Scharf - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Chapter 2The Functions e^x and e^jΘ

2.1The Functions e^x and e^jθ: Introduction*

This module is part of the collection, A First Course in Electrical and Computer Engineering. The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Notes to Teachers and Students

It is essential to write out, term-by-term, every sequence and sum in this chapter. This demystifies the seemingly mysterious notation. The example on compound interest shows the value of limiting arguments in everyday life and gives ex some real meaning. The function e, covered in the section "The Function of e and the Unit Circle and "Numerical Experiment (Approximating e, must be understood by all students before proceeding to "Phasors" . The Euler and De Moivre identities provide every tool that students need to derive trigonometric formulas. The properties of roots of unity are invaluable for the study of phasors in "Phasors" .

The MATLAB programs in this chapter are used to illustrate sequences and series and to explore approximations to sin θ and cos θ . The numerical experiment in "Numerical Experiment (Approximating e illustrates, geometrically and algebraically, how approximations to e converge.

“Second-Order Differential and Difference Equations” is a little demanding for freshmen, but we give it a once-over-lightly to illustrate the power of quadratic equations and the functions ex and e. This section also gives a sneak preview of more advanced courses in circuits and systems.

Introduction

It is probably not too strong a statement to say that the function ex is the most important function in engineering and applied science. In this chapter we study the function ex and extend its definition to the function e. This study clarifies our definition of e from "Complex Numbers" and leads us to an investigation of sequences and series. We use the function e to derive the Euler and De Moivre identities and to produce a number of important trigonometric identities. We define the complex roots of unity and study their partial sums. The results of this chapter will be used in "Phasors" when we study the phasor representation of sinusoidal signals.

2.2The Functions e^x and e^jθ: The Function e^x*

This module is part of the collection, A First Course in Electrical and Computer Engineering. The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Many of you know the number e as the base of the natural logarithm, which has the value 2.718281828459045. . . . What you may not know is that this number is actually defined as the limit of a sequence of approximating numbers. That is,

(2.1)
_autogen-svg2png-0001.png
(2.2)
_autogen-svg2png-0002.png

This means, simply, that the sequence of numbers _autogen-svg2png-0003.png, . . . , gets arbitrarily close to 2.718281828459045. . . . But why should such a sequence of numbers be so important? In the next several paragraphs we answer this question.

Exercise 1.

(MATLAB) Write a MATLAB program to evaluate the expression _autogen-svg2png-0004.png for n=1,2,4,8,16,32,64 to show that fne for large n.

Derivatives and the Number e. The number _autogen-svg2png-0009.png arises in the study of derivatives in the following way. Consider the function

(2.3)
_autogen-svg2png-0010.png

and ask yourself when the derivative of f(x) equals f(x). The function f(x) is plotted in Figure 2.1 for a>1. The slope of the function at point x is

(2.4)
_autogen-svg2png-0016.png
Figure 2.1
The Function f(x)=ax

If there is a special value for a such that

(2.5)
_autogen-svg2png-0018.png

then _autogen-svg2png-0019.png would equal f(x). We call this value of a the special (or exceptional) number e and write

(2.6)
_autogen-svg2png-0023.png

The number e would then be e=f(1). Let's write our condition that _autogen-svg2png-0026.png converges to 1 as

(2.7)
_autogen-svg2png-0027.png

or as

(2.8)e≅(1+Δx)1/Δx.

Our definition of _autogen-svg2png-0029.png amounts to defining _autogen-svg2png-0030.png and allowing n→∞ in order to make Δx→0. With this definition for e, it is clear that the function ex is defined to be (e)x :

(2.9)
_autogen-svg2png-0036.png

By letting _autogen-svg2png-0037.png we can write this definition in the more familiar form

(2.10)
_autogen-svg2png-0038.png

This is our fundamental definition for the function ex. When evaluated at x=1, it produces the definition of e given in Equation 2.1.

The derivative of ex is, of course,

(2.11)
_autogen-svg2png-0043.png

This means that Taylor's theorem[3] may be used to find another characterization for ex :

(2.12)
_autogen-svg2png-0045.png

When this series expansion for ex is evaluated at x=1, it produces the following series for e:

(2.13)
_autogen-svg2png-0049.png

In this formula, n! is the product n(n–1)(n–2)⋯( 2 ) 1 . Read n! as " n factorial.”

Exercise 2.

(MATLAB) Write a MATLAB program to evaluate the sum

(2.14)
_autogen-svg2png-0054.png

for N=1,2,4,8,16,32,64 to show that SNe for large N . Compare S64 with f64 from Exercise 1.. Which approximation do you prefer?

Compound Interest and the Function _autogen-svg2png-0060.png. There is an example from your everyday life that shows even more dramatically how the function ex arises. Suppose you invest V0 dollars in a savings account that offers 100 x % annual interest. (When x=0.01, this is 1%; when x=0.10, this is 10% interest.) If interest is compounded only once per year, you have the simple interest formula for V1, the value of your savings account after 1 compound (in this case, 1 year):

V1=(1+x)V0. This result is illustrated in the block diagram of Figure 2.2(a). In this diagram, your input fortune V0 is processed by the “interest block” to produce your output fortune V1. If interest is compounded monthly, then the annual interest is divided into 12 equal parts and applied 12 times. The compounding formula for V12, the value of your savings after 12 compounds (also 1 year) is

(2.15)
_autogen-svg2png-0068.png

This result is illustrated in Figure 2.2b. Can you read the block diagram? The general formula for the value of an account that is compounded n times per year is

(2.16)
_autogen-svg2png-0069.png

Vn is the value of your account after n compounds in a year, when the annual interest rate is 100x%.

(a)
(b)
Figure 2.2
Block Diagram for Interest Computations; (a) Simple Annual Interest, and (b) Monthly Compounding
Exercise 3.

Verify in Equation 2.16 that a recursion is at work that terminates at Vn. That is, show that _autogen-svg2png-0073.png for i=0,1,...,n–1 produces the result _autogen-svg2png-0075.png.

Bankers have discovered the (apparent) appeal of infinite, or continuous, compounding:

(2.17)
_autogen-svg2png-0076.png

We know that this is just

(2.18)V=exV0.

So, when deciding between 100x1 % interest compounded daily and 100x2% interest compounded continuously, we need only compare

(2.19)
_autogen-svg2png-0080.png

We suggest that daily compounding is about as good as continuous compounding. What do you think? How about monthly compounding?

Exercise 4.

(MATLAB) Write a MATLAB program to compute and plot simple interest, monthly interest, daily interest, and continuous interest versus interest rate 100x. Use the curves to develop a strategy for saving money.

2.3The Functions e^x and e^jθ: The Function e^jθ and the Unit Circle*

This module is part of the collection, A First Course in Electrical and Computer Engineering. The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Let's try to extend our definitions of the function ex to the argument x = j Θ . Then e is the function

(2.20)
_autogen-svg2png-0004.png

The complex number _autogen-svg2png-0005.png is illustrated in Figure 2.3. The radius to the point _autogen-svg2png-0006.png is _autogen-svg2png-0007.png and the angle is _autogen-svg2png-0008.png This means that the nth power of _autogen-svg2png-0010.png has radius _autogen-svg2png-0011.png and angle _autogen-svg2png-0012.png (Recall our study of powers of z.) Therefore the complex number _autogen-svg2png-0014.png may be written as

(2.21)
_autogen-svg2png-0015.png

For n large, _autogen-svg2png-0017.png, and _autogen-svg2png-0018.png. Therefore _autogen-svg2png-0019.png is approximately

(2.22)
_autogen-svg2png-0020.png

_autogen-svg2png-0021.png( cosθ+j sin θ).

This finding is consistent with our previous definition of