WELCOME TO

# THE INDUSTRIAL WIKI

RESEARCH CONTENT IN GREATER DETAIL
Talk Page

# HIGHER CONCEPTS OF MATHEMATICS

Print
Email
Save
Social

### Calculus

Many practical problems can be solved using arithmetic and algebra; however, many other practical problems involve quantities that cannot be adequately described using numbers which have fixed values.

 3.1 The Matrix 4.2 The Mean 4.3 Variability 4.5 Probability

### Dynamic Systems

Arithmetic involves numbers that have fixed values. Algebra involves both literal and arithmetic numbers. Although the literal numbers in algebraic problems can change value from one calculation to the next, they also have fixed values in a given calculation. When a weight is dropped and allowed to fall freely, its velocity changes continually. The electric current in an alternating current circuit changes continually. Both of these quantities have a different value at successive instants of time. Physical systems that involve quantities that change continually are called dynamic systems. The solution of problems involving dynamic systems often involves mathematical techniques different from those described in arithmetic and algebra. Calculus involves all the same mathematical techniques involved in arithmetic and algebra, such as addition, subtraction, multiplication, division, equations, and functions, but it also involves several other techniques. These techniques are not difficult to understand because they can be developed using familiar physical systems, but they do involve new ideas and terminology.

There are many dynamic systems encountered in industrial facility work. The startup of a steam plant and a power change on a turbine generator involve quantities which change continually. An analysis of these dynamic systems involves calculus. Although the operation of an industrial facility does not require a detailed understanding of calculus, it is most helpful to understand certain of the basic ideas and terminology involved. These ideas and terminology are encountered frequently, and a brief introduction to the basic ideas and terminology of the mathematics of dynamic systems is discussed in this chapter.

### Differentials and Derivatives

One of the most commonly encountered applications of the mathematics of dynamic systems involves the relationship between position and time for a moving object. Figure 1 represents an object moving in a straight line from position P1 to position P2. The distance to P1 from a fixed reference point, point 0, along the line of travel is represented by S1; the distance to P2 from point 0 by S2.

Figure 1 Motion Between Two Points

If the time recorded by a clock, when the object is at position P1 is t1, and if the time when the object is at position P2 is t2, then the average velocity of the object between points P1 and P2 equals the distance traveled, divided by the elapsed time.

If positions P1 and P2 are close together, the distance traveled and the elapsed time are small. The symbol ÃƒÅ½Ã¢â‚¬Â, the Greek letter delta, is used to denote changes in quantities. Thus, the average velocity when positions P1 and P2 are close together is often written using deltas.

Although the average velocity is often an important quantity, in many cases it is necessary to know the velocity at a given instant of time. This velocity, called the instantaneous velocity, is not the same as the average velocity, unless the velocity is not changing with time.

Using the graph of displacement, S, versus time, t, in Figure 2, we will try to describe the concept of the derivative.

Figure 2 Displacement Versus Time

Using equation 5-1 we find the average velocity from S1 to S2 is . If we connect the points S1 and S2 by a straight line we see it does not accurately reflect the slope of the curved line through all the points between S1 and S2. Similarly, if we look at the average velocity between time t2 and t3 (a smaller period of time), we see the straight line connecting S2 and S3 more closely follows the curved line. Assuming the time between t3 and t4 is less than between t2 and t3, the straight line connecting S3 and S4 very closely approximates the curved line between S3 and S4.

The symbols ds and dt are not products of d and s, or of d and t, as in algebra. Each represents a single quantity. They are pronounced "dee-ess" and "dee-tee," respectively. These expressions and the quantities they represent are called differentials. Thus, ds is the differential of s and dt is the differential of t. These expressions represent incremental changes, where ds represents an incremental change in distance s, and dt represents an incremental change in time t.

The combined expression ds/dt is called a derivative; it is the derivative of s with respect to t. It is read as "dee-ess dee-tee." dz/dx is the derivative of z with respect to x; it is read as "dee-zee dee-ex." In simplest terms, a derivative expresses the rate of change of one quantity with respect to another. Thus, ds/dt is the rate of change of distance with respect to time. Referring to figure 2, the derivative ds/dt is the instantaneous velocity at any chosen point along the curve. This value of instantaneous velocity is numerically equal to the slope of the curve at that chosen point.

While the equation for instantaneous velocity, V = ds/dt, may seem like a complicated expression, it is a familiar relationship. Instantaneous velocity is precisely the value given by the speedometer of a moving car. Thus, the speedometer gives the value of the rate of change of distance with respect to time; it gives the derivative of s with respect to t; i.e. it gives the value of ds/dt.

The ideas of differentials and derivatives are fundamental to the application of mathematics to dynamic systems. They are used not only to express relationships among distance traveled, elapsed time and velocity, but also to express relationships among many different physical quantities. One of the most important parts of understanding these ideas is having a physical interpretation of their meaning. For example, when a relationship is written using a differential or a derivative, the physical meaning in terms of incremental changes or rates of change should be readily understood.

When expressions are written using deltas, they can be understood in terms of changes. Thus, the expression ÃƒÅ½Ã¢â‚¬ÂT, where T is the symbol for temperature, represents a change in temperature. As previously discussed, a lower case delta, d, is used to represent very small changes. Thus, dT represents a very small change in temperature. The fractional change in a physical quantity is the change divided by the value of the quantity. Thus, dT is an incremental change in temperature, and dT/T is a fractional change in temperature. When expressions are written as derivatives, they can be understood in terms of rates of change. Thus, dT/dt is the rate of change of temperature with respect to time.

Examples:

1. Interpret the expression ÃƒÅ½Ã¢â‚¬ÂV /V, and write it in terms of adifferential. ÃƒÅ½Ã¢â‚¬ÂV /V expresses the fractional change of velocity.It is the change in velocity divided by the velocity. It can bewritten as a differential when ÃƒÅ½Ã¢â‚¬ÂV is taken as an incrementalchange.
2. Give the physical interpretation of the following equation relatingthe work W done when a force F moves a body through adistance x.
• This equation includes the differentials dW and dx which can be interpreted in terms of incremental changes. The incremental amount of work done equals the force applied multiplied by theincremental distance moved.
3. Give the physical interpretation of the following equation relatingthe force, F, applied to an object, its mass m, its instantaneousvelocity v and time t.
• This equation includes the derivative dv/dt; the derivative of the velocity with respect to time. It is the rate of change of velocity with respect to time. The force applied to an object equals the mass of the object multiplied by the rate of change of velocity withrespect to time.
4. Give the physical interpretation of the following equation relatingthe acceleration a, the velocity v, and the time t.

This equation includes the derivative dv/dt; the derivative of the velocity with respect to time. It is a rate of change. The acceleration equals the rate of change of velocity with respect to time.

### Graphical Understanding of Derivatives

A function expresses a relationship between two or more variables. For example, the distance traveled by a moving body is a function of the bodys velocity and the elapsed time. When a functional relationship is presented in graphical form, an important understanding of the meaning of derivatives can be developed.

Figure 3 is a graph of the distance traveled by an object as a function of the elapsed time. The functional relationship shown is given by the following equation:

Figure 3 Graph of Distance vs. Time

The instantaneous velocity v, which is the velocity at a given instant of time, equals the derivative of the distance traveled with respect to time, ds/dt. It is the rate of change of s with respect to t.

The value of the derivative ds/dt for the case plotted in Figure 3 can be understood by considering small changes in the two variables s and t.

The values of (s + Δs) and s in terms of (t + Δt) and t, using Equation 5-4 can now be substituted into this expression. At time t, s = 40t; at time t + Δt, s + Δs = 40(t + Δt).

The value of the derivative ds/dt in the case plotted in Figure 4 is a constant. It equals 40 ft/s. In the discussion of graphing, the slope of a straight line on a graph was defined as the change in y, Δy, divided by the change in x, Δx. The slope of the line in Figure 3 is Δs/Δt which, in this case, is the value of the derivative ds/dt. Thus, derivatives of functions can be interpreted in terms of the slope of the graphical plot of the function. Since the velocity equals the derivative of the distance s with respect to time t, ds/dt, and since this derivative equals the slope of the plot of distance versus time, the velocity can be visualized as the slope of the graphical plot of distance versus time.

For the case shown in Figure 3, the velocity is constant. In this case the velocity is not constant. The functional relationship shown is given by the following equation:

The instantaneous velocity again equals the value of the derivative ds/dt. This value is changing with time. However, the instantaneous velocity at any specified time can be determined. First, small changes in s and t are considered.

The values of (s + Δs) and s in terms of (t + Δt) and t using Equation 5-5, can then be substituted into this expression. At time t, s = 10t2; at time t + Δt, s + Δs = 10(t + Δt)2. The value of (t + Δt)2 equals t2 + 2t(Δt) + (Δt)2; however, for incremental values of Δt, the term (Δt)2 is so small, it can be neglected. Thus, (t + Δt)2 = t2 + 2t(Δt).

The value of the derivative ds/dt in the case plotted in Figure 4 equals 20t. Thus, at time t = 1 s, the instantaneous velocity equals 20 ft/s; at time t = 2 s, the velocity equals 40 ft/s, and so on.

When the graph of a function is not a straight line, the slope of the plot is different at different points. The slope of a curve at any point is defined as the slope of a line drawn tangent to the curve at that point. Figure 4 shows a line drawn tangent to a curve. A tangent line is a line that touches the curve at only one point. The line AB is tangent to the curve y = f(x) at point P.

Figure 4: Slope of a Curve

The tangent line has the slope of the curve dy/dx, where, Θ is the angle between the tangent line AB and a line parallel to the x-axis. But, tan Θ also equals Δy/Δx for the tangent line AB, and Δy/Δx is the slope of the line. Thus, the slope of a curve at any point equals the slope of the line drawn tangent to the curve at that point. This slope, in turn, equals the derivative of y with respect to x, dy/dx, evaluated at the same point.

These applications suggest that a derivative can be visualized as the slope of a graphical plot.

A derivative represents the rate of change of one quantity with respect to another. When the relationship between these two quantities is presented in graphical form, this rate of change equals the slope of the resulting plot.

The mathematics of dynamic systems involves many different operations with the derivatives of functions. In practice, derivatives of functions are not determined by plotting the functions and finding the slopes of tangent lines. Although this approach could be used, techniques have been developed that permit derivatives of functions to be determined directly based on the form of the functions. For example, the derivative of the function f(x) = c, where c is a constant, is zero.

The graph of a constant function is a horizontal line, and the slope of a horizontal line is zero.

The derivative of the function f(x) = ax + c (compare to slope m from general form of linear equation, y = mx + b), where a and c are constants, is a. The graph of such a function is a straight line having a slope equal to a.

The derivative of the function f(x) = axn, where a and n are constants, is naxn-1.

The derivative of the function f(x) = aebx, where a and b are constants and e is the base of natural logarithms, is abebx.

These general techniques for finding the derivatives of functions are important for those who perform detailed mathematical calculations for dynamic systems. For example, the designers of an industrial facility systems need an understanding of these techniques, because these techniques are not encountered in the day-to-day operation of the facility. As a result, the operators of these facilities should understand what derivatives are in terms of a rate of change and a slope of a graph, but they will not normally be required to find the derivatives of functions.

The notation d[f(x)]/dx is the common way to indicate the derivative of a function. In some applications, the notation f(x) is used. In other applications, the so-called dot notation is used to indicate the derivative of a function with respect to time. For example, the derivative of the amount of heat transferred, Q, with respect to time, dQ/dt, is often written as Q.

It is also of interest to note that many detailed calculations for dynamic systems involve not only one derivative of a function, but several successive derivatives. The second derivative of a function is the derivative of its derivative; the third derivative is the derivative of the second derivative, and so on. For example, velocity is the first derivative of distance traveled with respect to time, v = ds/dt; acceleration is the derivative of velocity with respect to time, a = dv/dt. Thus, acceleration is the second derivative of distance traveled with respect to time. This is written as d2s/dt2. The notation d2[f(x)]/dx2 is the common way to indicate the second derivative of a function. In some applications, the notation f(x) is used. The notation for third, fourth, and higher order derivatives follows this same format. Dot notation can also be used for higher order derivatives with respect to time. Two dots indicates the second derivative, three dots the third derivative, and so on.

### Application of Derivatives to Physical Systems

There are many different problems involving dynamic physical systems that are most readily solved using derivatives. One of the best illustrations of the application of derivatives are problems involving related rates of change. When two quantities are related by some known physical relationship, their rates of change with respect to a third quantity are also related. For example, the area of a circle is related to its radius by the formula A-ÃƒÂÃ¢â€šÂ¬r2 If for some reason the size of a circle is changing in time, the rate of change of its area, with respect to time for example, is also related to the rate of change of its radius with respect to time. Although these applications involve finding the derivative of function, they illustrate why derivatives are needed to solve certain problems involving dynamic systems.

Example 1:

A stone is dropped into a quiet lake, and waves move in circles outward from the location of the splash at a constant velocity of 0.5 feet per second. Determine the rate at which the area of the circle is increasing when the radius is 4 feet.

Solution:

Using the formula for the area of a circle, A=ÃƒÂÃ¢â€šÂ¬r2 take the derivative of both sides of this equation with respect to time t.

But, dr/dt is the velocity of the circle moving outward which equals 0.5 ft/s and dA /dt is the rate at which the area is increasing, which is the quantity to be determined. Set r equal to 4 feet, substitute the known values into the equation, and solve for dA /dt.

Thus, at a radius of 4 feet, the area is increasing at a rate of 12.6 square feet per second.

Example 2:

A ladder 26 feet long is leaning against a wall. The ladder starts to move such that the bottom end moves away from the wall at a constant velocity of 2 feet per second. What is the downward velocity of the top end of the ladder when the bottom end is 10 feet from the wall?

Solution:

Start with the Pythagorean Theorem for a right triangle: a2 = c2 - b2

Take the derivative of both sides of this equation with respect to time t. The c, representing the length of the ladder, is a constant.

But, db/dt is the velocity at which the bottom end of the ladder is moving away from the wall, equal to 2 ft/s, and da/dt is the downward velocity of the top end of the ladder along the wall, which is the quantity to be determined. Set b equal to 10 feet, substitute the known values into the equation, and solve for a.

Thus, when the bottom of the ladder is 10 feet from the wall and moving at 2ft/sec., the top of the ladder is moving downward at 0.833 ft/s. (The negative sign indicates the downward direction.)

### Integrals and Summations in Physical Systems

Differentials and derivatives arose in physical systems when small changes in one quantity were considered. For example, the relationship between position and time for a moving object led to the definition of the instantaneous velocity, as the derivative of the distance traveled with respect to time, ds/dt. In many physical systems, rates of change are measured directly. Solving problems, when this is the case, involves another aspect of the mathematics of dynamic systems; namely integral and summations.

At any given instant of time, the velocity of the object can be determined by referring to Figure 5 However, if the distance traveled in a certain interval of time is to be determined, some new techniques must be used. Consider the velocity versus time curve of Figure 5. Let's consider the velocity changes between times tA and tB. The first approach is to divide the time interval into three short intervals (Δt , and to 1,Δt2,Δt3) assume that the velocity is constant during each of these intervals. During time interval Δt1, the velocity is assumed constant at an average velocity v1; during the interval Δt2, the velocity is assumed constant at an average velocity v2; during time interval Δt3, the velocity is assumed constant at an average velocity v3. Then the total distance traveled is approximately the sum of the products of the velocity and the elapsed time over each of the three intervals. Equation 5-10 approximates the distance traveled during the time interval from ta to tb and represents the approximate area under the velocity curve during this same time interval.

Figure 5 Graph of Velocity vs. Time

This type of expression is called a summation. A summation indicates the sum of a series of similar quantities. The upper case Greek letter Sigma, Σ, is used to indicate a summation.

Generalized subscripts are used to simplify writing summations. For example, the summation given in Equation 5-10 would be written in the following manner:

The number below the summation sign indicates the value of i in the first term of the summation; the number above the summation sign indicates the value of i in the last term of the summation.

The summation that results from dividing the time interval into three smaller intervals, as shown in Figure 5, only approximates the distance traveled. However, if the time interval is divided into incremental intervals, an exact answer can be obtained. When this is done, the distance traveled would be written as a summation with an indefinite number of terms.

This expression defines an integral. The symbol for an integral is an elongated "s". Using an integral, Equation 5-12 would be written in the following manner:

This expression is read as S equals the integral of v dt from t = tA to t = tB. The numbers below and above the integral sign are the limits of the integral. The limits of an integral indicate the values at which the summation process, indicated by the integral, begins and ends.

As with differentials and derivatives, one of the most important parts of understanding integrals is having a physical interpretation of their meaning. For example, when a relationship is written as an integral, the physical meaning, in terms of a summation, should be readily understood. In the previous example, the distance traveled between tA and tB was approximated by equation

5-10. Equation 5-13 represents the exact distance traveled and also represents the exact area under the curve on figure 6 between tA and tB.

Example:

Give the physical interpretation of the following equation relating the work, W, done when a force, F, moves a body from position x1 to x2.

The physical meaning of this equation can be stated in terms of a summation. The total amount of work done equals the integral of F dx from x = x1 to x = x2. This can be visualized as taking the product of the instantaneous force, F, and the incremental change in position dx at each point between x1 and x2, and summing all of these products.

### Graphical Understanding of Integral

As with derivatives, when a functional relationship is presented in graphical form, an important understanding of the meaning of integral can be developed.

Figure 6 is a plot of the instantaneous velocity, v, of an object as a function of elapsed time, t. The functional relationship shown is given by the following equation:

The distance traveled, s, between times tA and tB equals the integral of the velocity, v, with respect to time between the limits tA and tB.

The value of this integral can be determined for the case plotted in Figure 6 by noting that the velocity is increasing linearly. Thus, the average velocity for the time interval between tA and tB is the arithmetic average of the velocity at tA and the velocity at tB. At time tA, v = 6tA; at time tB, v = 6tB. Thus, the average velocity for the time interval between tA and tB is which equals 3(tA + tB). Using this average velocity, the total distance traveled in the time interval between tA and tB is the product of the elapsed time tB - tA and the average velocity 3(tA + tB).

Figure 6 Graph of Velocity vs. Time

Equation 5-16 is also the value of the integral of the velocity, v, with respect to time, t, between the limits tA -tB for the case plotted in Figure 6.

The cross-hatched area in Figure 6 is the area under the velocity curve between t = tA and t = tB. The value of this area can be computed by adding the area of the rectangle whose sides are tB - tA and the velocity at tA, which equals 6tA - tB, and the area of the triangle whose base is tB - tA and whose height is the difference between the velocity at tB and the velocity at tA, which equals 6tB - tA.

This is exactly equal to the value of the integral of the velocity with respect to time between the limits tA and tB. Since the distance traveled equals the integral of the velocity with respect to time, vdt, and since this integral equals the area under the curve of velocity versus time, the distance traveled can be visualized as the area under the curve of velocity versus time.

For the case shown in Figure 6, the velocity is increasing at a constant rate. When the plot of a function is not a straight line, the area under the curve is more difficult to determine. However, it can be shown that the integral of a function equals the area between the x-axis and the graphical plot of the function.

The mathematics of dynamic systems involves many different operations with the integral of functions. As with derivatives, in practice, the integral of functions are not determined by plotting the functions and measuring the area under the curves. Although this approach could be used, techniques have been developed which permit integral of functions to be determined directly based on the form of the functions. Actually, the technique for taking an integral is the reverse of taking a derivative. For example, the derivative of the function f(x) = ax + c, where a and c are constants, is a. The integral of the function f(x) = a, where a is a constant, is ax + c, where a and c are constants.

The integral of the function f(x) = axn, where a and n are constants, is , where c is another constant.

The integral of the function f(x) = aebx, where a and b are constants and e is the base of natural logarithms, is , where c is another constant.

As with the techniques for finding the derivatives of functions, these general techniques for finding the integral of functions are primarily important only to those who perform detailed mathematical calculations for dynamic systems. These techniques are not encountered in the day-to-day operation of an industrial facility. However, it is worthwhile to understand that taking an integral is the reverse of taking a derivative. It is important to understand what integral and derivatives are in terms of summations and areas under graphical plot, rates of change, and slopes of graphical plots.

### Imaginary and Complex Numbers

Imaginary and complex numbers are entirely different from any kind of number used up to this point. These numbers are generated when solving some quadratic and higher degree equations. Imaginary and complex numbers become important in the study of electricity; especially in the study of alternating current circuits.

Imaginary numbers result when a mathematical operation yields the square root of a negative number. For example, in solving the quadratic equation x2 + 25 = 0, the solution yields x2 = -25.

Thus, the roots of the equation are The square root of (-25) is called an imaginary number. Actually, any even root (i.e. square root, 4th root, 6th root, etc.) of a negative number is called an imaginary number. All other numbers are called real numbers. The name

"imaginary" may be somewhat misleading since imaginary numbers actually exist and can be used in mathematical operations. They can be added, subtracted, multiplied, and divided.

Example:

Combine the following imaginary numbers:

Solution:

Imaginary numbers are multiplied or divided by writing them using the imaginary unit i, and then multiplying or dividing them like algebraic terms. However, there are several basic relationships which must also be used to multiply or divide imaginary numbers.

Using these basic relationships, for example, equals (5i)(2i) which equals 10i2. But, i2 equals -1. Thus, 10i2 equals (10)(-1) which equals -10.

Any square root has two roots, i.e., a statement x2 = 25 is a quadratic and has roots

### Complex Numbers

Complex numbers are numbers which consist of a real part and an imaginary part. The solution of some quadratic and higher degree equations results in complex numbers. For example, the roots of the quadratic equation, x2 - 4x + 13 = 0, are complex numbers. Using the quadratic formula yields two complex numbers as roots.

The two roots are 2 + 3i and 2 - 3i; they are both complex numbers. 2 is the real part; +3i and - 3i are the imaginary parts. The general form of a complex number is a + bi, in which "a" represents the real part and "bi" represents the imaginary part.

Complex numbers are added, subtracted, multiplied, and divided like algebraic binomials. Thus, the sum of the two complex numbers, 7 + 5i and 2 + 3i is 9 + 8i, and 7 + 5i minus 2 + 3i, is 5 + 2i. Similarly, the product of 7 + 5i and 2 + 3i is 14 + 31i +15i2. But i2 equals -1. Thus, the product is 14 + 31i + 15(-1) which equals -1 + 31i.

Example 1:

Combine the following complex numbers:

Solution

Example 2:

Multiply the following complex numbers:

Solution:

Example 3:

Solution:

A difficulty occurs when dividing one complex number by another complex number. To get around this difficulty, one must eliminate the imaginary portion of the complex number from the denominator, when the division is written as a fraction. This is accomplished by multiplying the numerator and denominator by the conjugate form of the denominator. The conjugate of a complex number is that complex number written with the opposite sign for the imaginary part. For example, the conjugate of 4+5i is 4-5i.

This method is best demonstrated by example.

Example:

Solution:

### Matrices and Determinants

In the real world, many times the solution to a problem containing a large number of variables is required. In both physics and electrical circuit theory, many problems will be encountered which contain multiple simultaneous equations with multiple unknowns. These equations can be solved using the standard approach of eliminating the variables or by one of the other methods.

This can be difficult and time-consuming. To avoid this problem, and easily solve families of equations containing multiple unknowns, a type of math was developed called Matrix theory.

Once the terminology and basic manipulations of matrices are understood, matrices can be used to readily solve large complex systems of equations.

### The Matrix

We define a matrix as any rectangular array of numbers. Examples of matrices may be formed from the coefficients and constants of a system of linear equations: that is,

2x - 4y = 7
3x + y = 16

can be written as follows.

The numbers used in the matrix are called elements. In the example given, we have three columns and two rows of elements. The number of rows and columns are used to determine the dimensions of the matrix. In our example, the dimensions of the matrix are 2 x 3, having 2 rows and 3 columns of elements. In general, the dimensions of a matrix which have m rows and n columns is called an m x n matrix.

A matrix with only a single row or a single column is called either a row or a column matrix.

A matrix which has the same number of rows as columns is called a square matrix. Examples of matrices and their dimensions are as follows:

We will use capital letters to describe matrices. We will also include subscripts to give the dimensions.

Two matrices are said to be equal if, and only if, they have the same dimensions, and their corresponding elements are equal. The following are all equal matrices:

Matrices may only be added if they both have the same dimensions. To add two matrices, each element is added to its corresponding element. The sum matrix has the same dimensions as the two being added.

Example:

Add matrix A to matrix B.

Solution:

### Multiplication of a Scalar and a Matrix

When multiplying a matrix by a scalar (or number), we write "scalar K times matrix A." Each element of the matrix is multiplied by the scalar. By example:

### Multiplication of a Matrix by a Matrix

To multiply two matrices, the first matrix must have the same number of rows (m) as the second matrix has columns (n). In other words, m of the first matrix must equal n of the second matrix.

For example, a 2 x 1 matrix can be multiplied by a 1 x 2 matrix,

or a 2 x 2 matrix can be multiplied by a 2 x 2. If an m x n matrix is multiplied by an n x p matrix, then the resulting matrix is an m x p matrix. For example, if a 2 x 1 and a 1 x 2 are multiplied, the result will be a 2 x 2. If a 2 x 2 and a 2 x 2 are multiplied, the result will be a 2 x 2.

To multiply two matrices, the following pattern is used:

In general terms, a matrix C which is a product of two matrices, A and B, will have elements given by the following. cij = ai1b1j + aj2b2j + + + . . . + ainbnj where

i = ith row
j = jth column

Example:

Multiply the matrices A x B.

Solution:

It should be noted that the multiplication of matrices is not usually commutative.

### The Determinant

Square matrixes have a property called a determinant. When a determinant of a matrix is written, it is symbolized by vertical bars rather than brackets around the numbers. This differentiates the determinant from a matrix. The determinant of a matrix is the reduction of the matrix to a single scalar number. The determinant of a matrix is found by "expanding" the matrix. There are several methods of "expanding" a matrix and calculating its determinant. In this lesson, we will only look at a method called "expansion by minors."

Before a large matrix determinant can be calculated, we must learn how to calculate the determinant of a 2 x 2 matrix. By definition, the determinant of a 2 x 2 matrix is calculated as follows:

Example: Find the determinant of A.

Solution:

To expand a matrix larger than a 2 x 2 requires that it be simplified down to several 2 x 2 matrices, which can then be solved for their determinant. It is easiest to explain the process by example.

Given the 3 x 3 matrix:

Any single row or column is picked. In this example, column one is selected. The matrix will be expanded using the elements from the first column. Each of the elements in the selected column will be multiplied by its minor starting with the first element in the column (1). A line is then drawn through all the elements in the same row and column as 1. Since this is a 3 x 3 matrix, that leaves a minor or 2 x 2 determinant. This resulting 2 x 2 determinant is called the minor of the element in the first row first column.

The minor of element 4 is:

The minor of element 5 is:

Each element is given a sign based on its position in the original determinant.

The sign is positive (negative) if the sum of the row plus the column for the element is even

(odd). This pattern can be expanded or reduced to any size determinant. The positive and negative signs are just alternated.

Each minor is now multiplied by its signed element and the determinant of the resulting 2 x 2 calculated.

Determinant = (-9) + (-12) + 25 = 4

Example:

Find the determinant of the following 3 x 3 matrix, expanding about row 1.

Solution:

### Using Matrices to Solve System of Linear Equation

Matrices and their determinant can be used to solve a system of equations. This method becomes especially attractive when large numbers of unknowns are involved. But the method is still useful in solving algebraic equations containing two and three unknowns.

In part one of this chapter, it was shown that equations could be organized such that their coefficients could be written as a matrix.

ax + by = c
ex + fy = g

where:

x and y are variables
a, b, e, and f are the coefficients
c and g are constants

The equations can be rewritten in matrix form as follows:

To solve for each variable, the matrix containing the constants (c,g) is substituted in place of the column containing the coefficients of the variable that we want to solve for (a,e or b,f ). This new matrix is divided by the original coefficient matrix. This process is call "Cramers Rule."

Example:

Example:

Solve the following two equations:

x + 2y = 4
-x + 3y = 1

Solution:

solving each 2 x 2 for its determinant,

A 3 x 3 is solved by using the same logic, except each 3 x 3 must be expanded by minors to solve for the determinant.

Example:

Given the following three equations, solve for the three unknowns.

2x + 3y - z = 2
x - 2y + 2z = -10
3x + y - 2z = 1

Solution:

Expanding the top matrix for x using the elements in the bottom row gives:

Expanding the bottom matrix for x using the elements in the first column gives:

This gives:

y and z can be expanded using the same method.

y = 1
z = -3

### Statistics

In almost every aspect of an operators work, there is a necessity for making decisions resulting in some significant action. Many of these decisions are made through past experience with other similar situations. One might say the operator has developed a method of intuitive inference: unconsciously exercising some principles of probability in conjunction with statistical inference following from observation, and arriving at decisions which have a high chance of resulting in expected outcomes. In other words, statistics is a method or technique which will enable us to approach a problem of determining a course of action in a systematic manner in order to reach the desired results.

Mathematically, statistics is the collection of great masses of numerical information that is summarized and then analyzed for the purpose of making decisions; that is, the use of past information is used to predict future actions. In this chapter, we will look at some of the basic concepts and principles of statistics.

### Frequency Distribution

When groups of numbers are organized, or ordered by some method, and put into tabular or graphic form, the result will show the "frequency distribution" of the data.

Example:

A test was given and the following grades were received: the number of students receiving each grade is given in parentheses.

99(1), 98(2), 96(4), 92(7), 90(5), 88(13), 86(11), 83(7), 80(5), 78(4), 75(3), 60(1)

The data, as presented, is arranged in descending order and is referred to as an ordered array. But, as given, it is difficult to determine any trend or other information from the data. However, if the data is tabled and/or plotted some additional information may be obtained. When the data is ordered as shown, a frequency distribution can be seen that was not apparent in the previous list of grades.

In summary, one method of obtaining additional information from a set of data is to determine the frequency distribution of the data. The frequency distribution of any one data point is the number of times that value occurs in a set of data. As will be shown later in this chapter, this will help simplify the calculation of other statistically useful numbers from a given set of data.

### The Mean

One of the most common uses of statistics is the determination of the mean value of a set of measurements. The term "Mean" is the statistical word used to state the "average" value of a set of data. The mean is mathematically determined in the same way as the "average" of a group of numbers is determined.

The arithmetic mean of a set of N measurements, Xl, X2, X3, ..., XN is equal to the sum of the measurements divided by the number of data points, N. Mathematically, this is expressed by the following equation:

The symbol Sigma (Σ) is used to indicate summation, and i = 1 to n indicates that the values of xi from i = 1 to i = n are added. The sum is then divided by the number of terms added, n.

Example:

Determine the mean of the following numbers:

5, 7, 1, 3, 4

Solution:

Example:

Find the mean of 67, 88, 91, 83, 79, 81, 69, and 74.

Solution:

In many cases involving statistical analysis, literally hundreds or thousands of data points are involved. In such large groups of data, the frequency distribution can be plotted and the calculation of the mean can be simplified by multiplying each data point by its frequency distribution, rather than by summing each value. This is especially true when the number of discrete values is small, but the number of data points is large.

Therefore, in cases where there is a recurring number of data points, like taking the mean of a set of temperature readings, it is easier to multiply each reading by its frequency of occurrence

(frequency of distribution), then adding each of the multiple terms to find the mean. This is one application using the frequency distribution values of a given set of data.

Example:

573, 573, 574, 574, 574, 574, 575, 575, 575, 575, 575, 576, 576, 576, 578

Solution:

Determine the frequency of each reading.

Then calculate the mean,

### Variability

We have discussed the averages and the means of sets of values. While the mean is a useful tool in describing a characteristic of a set of numbers, sometimes it is valuable to obtain information about the mean. There is a second number that indicates how representative the mean is of the data. For example, in the group of numbers, 100, 5, 20, 2, the mean is 31.75. If these data points represent tank levels for four days, the use of the mean level, 31.75, to make a decision using tank usage could be misleading because none of the data points was close to the mean.

This spread, or distance, of each data point from the mean is called the variance. The variance of each data point is calculated by:

The variance of each data point does not provide us with any useful information. But if the mean of the variances is calculated, a very useful number is determined. The mean variance is the average value of the variances of a set of data. The mean variance is calculated as follows:

The mean variance, or mean deviation, can be calculated and used to make judgments by providing information on the quality of the data. For example, if you were trying to decide whether to buy stock, and all you knew was that this months average price was \$10, and todays price is \$9, you might be tempted to buy some. But, if you also knew that the mean variance in the stocks price over the month was \$6, you would realize the stock had fluctuated widely during the month. Therefore, the stock represented a more risky purchase than just the average price indicated.

It can be seen that to make sound decisions using statistical data, it is important to analyze the data thoroughly before making any decisions.p

Example:

Calculate the variance and mean variance of the following set of hourly tank levels.

Assume the tank is a 100 gal. tank. Based on the mean and the mean variance, would you expect the tank to be able to accept a 40% (40 gal.) increase in level at any time?

Solution:

The mean is

[40(4)+38(3)+36+34(2)+30+28(3)]/14= 492/14 = 35.1]

The mean variance is:

From the tank mean of 35.1%, it can be seen that a 40% increase in level will statistically fit into the tank; 35.1 + 40 < 100%. But, the mean doesnt tell us if the level varies significantly over time. Knowing the mean variance is 4.12% provides the additional information. Knowing the mean variance also allows us to infer that the level at any given time (most likely) will not be greater than 35.1 + 4.12 = 39.1%; and 39.1 + 40 is still less than 100%. Therefore, it is a good assumption that, in the near future, a 40% level increase will be accepted by the tank without any spillage.

### Normal Distribution

The concept of a normal distribution curve is used frequently in statistics. In essence, a normal distribution curve results when a large number of random variables are observed in nature, and their values are plotted. While this "distribution" of values may take a variety of shapes, it is interesting to note that a very large number of occurrences observed in nature possess a frequency distribution which is approximately bell-shaped, or in the form of a normal distribution, as indicated in Figure 7.

Figure 7 Graph of a Normal Probability Distribution

The significance of a normal distribution existing in a series of measurements is two fold. First, it explains why such measurements tend to possess a normal distribution; and second, it provides a valid basis for statistical inference. Many estimators and decision makers that are used to make inferences about large numbers of data, are really sums or averages of those measurements.

When these measurements are taken, especially if a large number of them exist, confidence can be gained in the values, if these values form a bell-shaped curve when plotted on a distribution basis.

### Probability

If E1 is the number of heads, and E2 is the number of tails, E1/(E1 + E2) is an experimental determination of the probability of heads resulting when a coin is flipped.

By definition, the probability of an event must be greater than or equal to 0, and less than or equal to l. In addition, the sum of the probabilities of all outcomes over the entire "event" must add to equal l. For example, the probability of heads in a flip of a coin is 50%, the probability of tails is 50%. If we assume these are the only two possible outcomes, 50% + 50%, the two outcomes, equals 100%, or 1.

The concept of probability is used in statistics when considering the reliability of the data or the measuring device, or in the correctness of a decision. To have confidence in the values measured or decisions made, one must have an assurance that the probability is high of the measurement being true, or the decision being correct.

To calculate the probability of an event, the number of successes (s), and failures (f), must be determined. Once this is determined, the probability of the success can be calculated by:

where s + f = n = number of tries.

Example:

Using a die, what is the probability of rolling a three on the first try?

Solution:

First, determine the number of possible outcomes. In this case, there are 6 possible outcomes. From the stated problem, the roll is a success only if a 3 is rolled. There is only 1 success outcome and 5 failures. Therefore,

In calculating probability, the probability of a series of independent events equals the product of probability of the individual events.

Example:

Using a die, what is the probability of rolling two 3s in a row?

Solution:

From the previous example, there is a 1/6 chance of rolling a three on a single throw. Therefore, the chance of rolling two threes is:

1/6 x 1/6 = 1/36 one in 36 tries.

Example:

An elementary game is played by rolling a die and drawing a ball from a bag containing

3 white and 7 black balls. The player wins whenever he rolls a number less than 4 and draws a black ball. What is the probability of winning in the first attempt?

Solution:

There are 3 successful outcomes for rolling less than a 4, (i.e. 1,2,3). The probability of rolling a 3 or less is:

3/(3+3) = 3/6 = 1/2 or 50%.

The probability of drawing a black ball is:

7/(7+3) = 7/10.

Therefore, the probability of both events happening at the same time is:

7/10 x 1/2 = 7/20.