jueves, 22 de julio de 2010
My country, Colombia. Watch it!
ITERATIVE METHODS FOR SOLVING SYSTEMS OF LINEAR EQUATIONS
Iterative method
In computational mathematics, an iterative method attempts to solve a problem (for example, finding the root of an equation or system of equations) by finding successive approximations to the solution starting from an initial guess. This approach is in contrast to direct methods, which attempt to solve the problem by a finite sequence of operations, and, in the absence of rounding errors, would deliver an exact solution (like solving a linear system of equations Ax = b by Gaussian elimination). Iterative methods are usually the only choice for nonlinear equations. However, iterative methods are often useful even for linear problems involving a large number of variables (sometimes of the order of millions), where direct methods would be prohibitively expensive (and in some cases impossible) even with the best available computing power.
*GAUSS-SEIDEL
*METHOD OF JACOBI
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2) internet-google.
(3)Enciclopedia libre wikipedia
miércoles, 21 de julio de 2010
LU decomposition
This type of factorization is useful for solving systems of equations.
Resume Gaussian elimination process applied to the matrix.
In linear algebra, the LU decomposition is a matrix decomposition which writes a matrix as the product of a lower triangular matrix and an upper triangular matrix. The product sometimes includes a permutation matrix as well. This decomposition is used in numerical analysis to solve systems of linear equations or calculate the determinant.
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2) internet-google.
(3)Enciclopedia libre wikipedia
martes, 20 de julio de 2010
METHODS FOR THE SOLUTION OF SYSTEMS OF EQUATIONS.
The matrix algebra is used to solve systems of linear equations. In fact it is used in various mathematical procedures as the solution of a set of nonlinear equations, interpolation, integration and differentiation which are reduced to a set of linear equations.
SIMPLE GAUSS
The method of Gauss to be the German mathematician Johann Carl Friedrich Gauss, is a generalization of the reduction method, which we use to eliminate an unknown quantity in the systems of two equations with two unknowns. It consists of the successive application of the method of reduction, using the criteria of equivalence of systems, to transform the augmented matrix with independent terms in a triangular matrix, so that each row (equation) have a mystery unless the immediately preceding . This provides a system, which we call step, such that the last equation has a single unknown, the last but two unknowns, the penultimate three unknowns, ..., and the first all unknowns.
The operations we can do this matrix to transform the initial system into an equivalent are:
• Multiply or divide a row by a nonzero real number.
• Add or subtract a row another row.
• Add a row another row multiplied by a nonzero number.
• Change the order of the rows.
• Change the order of the columns that correspond to the unknowns of the system taking into account the changes made at the time of writing the new equivalent.
• Delete rows that are proportional or linear combination of others.
• Delete rows zero (0 0 0 ... 0).
See the example in the following document..
GAUSS-JORDAN
This method is a variant of Gauss elimination method. The main difference with this is that when a mystery is removed from an equation in the Gauss-Jordan, this is eliminated in all equations of the system rather than being limited to the subsequent equations.
The method generates an identity matrix and therefore do not need the back substitution process. It should be noted that the method can present the same difficulties that the method of simple Gaussian elimination.
SPECIAL METHODS
Arrays are widely used in computing, ease and lightness to manipulate information. In this context, the best way to represent graph, and are widely used in the numerical calculation.
Attached is a presentation with an explanation and rationale of two methods empeciales:
• Thomas Method
• Cholesky Method
These two methods are easy to program in any programming language, Microsoft Excel is recommended.
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2) internet-google.
(3)Enciclopedia libre wikipedia
Basic concepts. Systems of equations
Before continuing our study of systems of equations is necessary to consider some concepts on determinants and matrices. Mathematical operations, etc.
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2) internet-google.
(3)Enciclopedia libre wikipedia
SYSTEMS OF LINEAR EQUATIONS
In mathematics and linear algebra, a system of linear equations, also known as linear system of equations or simply linear system is a set of linear equations over a field or a commutative ring. An example of linear system of equations is as follows:
The problem is to find the unknown values of the variables x1, x2 and x3 that satisfy the three equations.
SYSTEM TYPES
Systems of equations can be classified according to the number of solutions that may occur. According to that case may have the following cases:
• Incompatible system if it has no solution.
• System compatible if you have any solution in this case can also distinguish between:
-Determined when compatible system has a finite number of solutions.
-Compatible system supports indefinite when an infinite set of solutions.
Staying well classification:
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2) internet-google.
(3)Enciclopedia libre wikipedia
viernes, 16 de julio de 2010
CALCULATION OF MULTIPLE ROOTS AND COMPLEX ROOTS
CALCULATION OF MULTIPLE ROOTS AND COMPLEX ROOTS
When there are complex roots closed methods can not be used as the criterion for defining the range is the sign change does not apply to complex values.
For this reason, special methods have been developed to find real and complex roots of polynomials.
• MULLER'S METHOD
• THE BAIRSTOW METHOD
*MULLER METHOD:
The secant method obtains an approximation of the root leading a straight line to the axis X with two values of the function. Muller's method is similar, but building a parabola with three points.
The method consists of obtaining the coefficients of the parabola through the three points. These coefficients are used in the quadratic formula to get the value where the parabola intersects the X axis, ie the estimated result.
Once you know the approximate coefficients found through the root of the quadratic equation where:
Having to solve the quadratic to find the new result leaves open the possibility that complex roots can be calculated, where i = root of -1.
As a general rule is to choose the root whose discriminant D1 or D2
is the largest since this ensures that the new root is closest to the initial values proposed
*Bairstow Method
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2)http://www.concepcionabraira.info/wp/?p=305
(3) internet-google.
(4)Enciclopedia libre wikipedia
PPTX ESTATE PRESENTATION EQUATIONS
The following document is in Spanish because of its extension
METHODS USED FOR THE CALCULATION OF ROOTS OF EQUATIONS
METHODS USED FOR THE CALCULATION OF ROOTS OF EQUATIONS
Graphical Methods
Closed methods
Open methods
Graphical Method:
Is to plot the function and see where it crosses the x-axis This item, which represents the value of X for which f (x) = 0 provides an initial approximation of the root.
• If in an interval [a.b] closed marks
f (a) * f (b)> 0 then we have: there are no roots or is an even number of them.
• If in an interval [a.b] closed marks
f (a) * f (b) <0>
Closed methods: bisection, false position.
*Bisection method:
The purpose of the method is to divide an interval always half in successive iterations to investigate the change of sign.
Suppose we want to solve the equation f (x) = 0 (where f is continuous. Given two points a and b such that f (a) f (b) have opposite signs, we know from Bolzano's theorem that f must have at least a root in the interval [a, b]. The bisection method divides the interval into two, using a third point c = (a + b) / 2.
At this time, there are two possibilities: f (a) f (c ), or f (c) and f (b) have opposite signs. The bisection algorithm is applied to the subinterval where the sign change occurs.
The bisection method is less efficient than Newton's method, but is much safer to ensure convergence.
Convergence is guaranteed if f (a) f (b) have opposite signs.
1. Is to find an interval (a, b) to ensure that the function root.
2. Find the midpoint of the interval, taking the point of bisection (c) as a proxy for the desired root.
3. It then identifies which of the two intervals is the root. Choose between (a, c) and (c, b), a range in which the function changes sign.
4. We review the stopping criterion. The process is repeated n times, until the bisection point (c) practically coincides with the exact value of the root.
*FALSE POSITION METHOD
It is practically the same method but has a bisection difference.
Instead of using a point intersection method is used on a line with the axis x. Then using similar triangles we have:
The algorithm is getting on at every step a smaller interval that includes a root of the function f
OPEN METHOD: FIXED POINT, NEWTON RAPHSON, SECANT.
*FIXED POINT METHOD
This method is based on obtained from the equation f (x) = 0 an equivalent equation of the form g (x) = x whose solution becomes a fixed point of ge iterating from an initial value until it reaches.
This method is applied to solve equations of the form
x = g (x)
If the equation is f (x) = 0 then can be solved for x or else add x on both sides of the equation to put it in an appropriate manner.
For example: x2-2x+3=0 is fixed for X=x2+3/2
*NEWTON RAPHSON METHOD
The Newton-Raphson method is an open, in the sense that their global convergence is not guaranteed. The only way to achieve convergence is to select an initial value close enough to the desired root. Thus, we must start the iteration with a value reasonably close to zero (called the starting point or assumption).
The relative proximity of the starting point to the root of much depends on the nature of the function itself, if it shows multiple points of inflection or large earrings in the vicinity of the root, then the probability that the algorithm diverges increase, which requires selecting an assumed value close to the root.
Once this is done, the method linearizes the function by the tangent line at that assumption. The abscissa at the origin of this line will be, according to the method, a better approximation of the root as the previous value.
Will successive iterations until the method has converged sufficiently.
STEPS
1. Taking F (x) = 0 calculate the derivative of the function symbolically.
2. Choose an initial value, xi.
3. Find Xi +1 through Newton-Raphson formula.
4. Calculate% Ea.
5. Ea ≤% If% Then we report the results of the root, otherwise make the calculated +1 xi xi is the new and return to step 3.
SECANT METHOD
In numerical analysis of the secant method is a method for finding the zeros of a function in an iterative fashion.
It is a variation of Newton-Raphson method where instead of calculating the derivative of the function at the point of study, bearing in mind the definition of derivative, the slope is close to the line that connects the function evaluated at the point of study and the point from the previous iteration. This method is especially relevant when the computational cost of deriving the function of study and evaluate is too high, so Newton's method is not attractive.
REFERENCES:
(1)NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(2)http://www.concepcionabraira.info/wp/?p=305
(3) internet-google.
(4)Enciclopedia libre wikipedia
viernes, 7 de mayo de 2010
ROOTS OF EQUATIONS
The purpose of calculating the roots of an equation to determine the values of x for which holds:
f (x) = 0 (1)
The determination of the roots of an equation is one of the oldest problems in mathematics and there have been many efforts in this regard. Its importance is that if we can determine the roots of an equation we can also determine the maximum and minimum eigenvalues of matrices, solving systems of linear differential equations, etc ...
Most of the methods used to calculate the roots of an equation are iterative and are based on models of successive approximations. These methods work as follows:
As a first approximation to the value of the root, we determine a better approximation by applying a particular rule of calculation and so on until it is determined the value of the root with the desired degree of approximation.
• GRAPHICS METHODS: is to plot the function and see where it crosses the x-axis This item, which represents the value of x for which f (x) = 0, provides an initial approximation of the root.
• OPEN METHODS: based on formulas that require only one value of x for a couple of them but do not necessarily contain the root. As such sometimes diverge or move away from the root as it grows the number of iterations. However, when the open methods in general do converge faster than methods that use ranges.
Calculation of multiple roots.
A multiple root corresponds to a point where a function is tangential to the x axis For example, two resulting from repeated roots
f (x) = (x-3) (x-1) (x-1) or (2)
Multiplying terms f (x) = x3-5x2 +7 x-3 (3)
The equation has a double root because a value of x cancels two terms of equation (2).
REFERENCES: NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
NUMERICAL APPROACH
When using a number in a calculation, there must be assurance that can be used with confidence. The significant figures (or significant digits) represent the use of a level of uncertainty under certain approximations. The concept of significant figures has been developed to formally designate the reliability of a numerical value. The number of significant figures is the number of digits plus one estimated digit that can be used with confidence.
The concept of significant figures has two important implications in the study of numerical methods.
1. The numerical methods obtain approximate results. Therefore it should develop criteria to specify how accurate are the results, with significant figures, we can say that the approach is acceptable if it is correct to four significant figures.
2. Certain quantities such as ℮ and Π represent specific numbers, you can not exactly express a number as they tend to infinity. The concept of significant figures is very important in the definition of accuracy and precision.
PRECISION
Refers to the number of significant figures representing a number or extension in the repeated readings of an instrument that measures some physical property.
ACCURACY
It refers to the approach of a number or measure the true value is supposed to represent.
DEFINITIONS OF ERROR
The numerical errors are generated with the use of approximations for representing mathematical operations. These include truncation errors resulting from about exact mathematical procedure and the rounding errors that result from about exact numbers
.
For both types of errors the relationship between the exact result and the approximate or true is given by:
Approximate value = true value + error
ROUNDING ERROR
Occur because the computers just to hold a finite number of significant figures in a calculation. Computers perform this function in different ways. For example if you only saved seven significant figures computers can store and use π as π = 3.141592, omitting the remaining terms and generating a rounding error.
Truncation error
Are those that result when using an approximation rather than an exact mathematical procedure. For example, the approximate speed of a parachutist falling through the differential equation of the form:
dv / (dt) ≈ Δv / Dt = (v (t (i +1))-v (ti)) / (t (i +1) - t (i))
It introduces a truncation error in the numerical solution of differential equation because only approximates the true value of the derivative.
REFERENCES: NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
MATHEMATICAL MODEL
Can be defined generally as a formulation or equation expressing the fundamental characteristics of a system or physical process in mathematical terms. The models are classified from simple algebraic relationships to large, complicated systems of differential equations.
Mathematical modeling, besides being an activity that fits into applications of mathematics and provides a link between these and other scientific and technical areas within the scope of the investigation, has also emerged as a powerful educational tool.
Imagen tomada: dcb.fi-c.unam.mx/users/gustavorb/MN.html
The implementation of a mathematical model is the way it uses science and technology to approach reality and solve problems. As a result, mathematical objects are necessary to understand the technological and scientific concepts through constructions and results. Mathematical models provide a framework in which are interrelated concepts of different sciences and in this sense, modeling appears as an important tool to teach math and science. Moreover, the use of models can help reinforce basic science concepts, enriching the learning. (1)
START MAKING YOUR PARTY:
Identification of variables causing the change in the system
Establishment of reasonable assumptions about a model system for mental, verbal and graphic
CHARACTERISTICS OF A MODEL
1. Describes a natural process or system
2. Represents a simplification and an idealization of reality
3. Leads to reproducible results
SIMULATED ENVIRONMENTS
What is really a numerical method of simulation?
Is trying to represent a physical phenomenon based on a small portion of the total being analyzed.
Its purpose is to simulate actual conditions scale, today facilmento is achieved with computer graphics.
The following video shows how automated are the oil rigs. Computer Graphing
DARCY'S LAW
Darcy's Law describes, based on laboratory experiments the characteristics of the flow of fluid through a porous medium.
The simplest formulation of the law (for linear systems) can be considered almost "intuitive": The flow of a fluid flowing through a porous medium depends linearly:
The geometrical properties of the system: Area (A) and length (L).
The fluid characteristics: Mainly its viscosity (μ).
The flow conditions: Differential Pressure (DP) between the edges of the system.
This makes it almost "obvious" that, equality of the other system variables, the flow rate (Q) flowing through a porous medium grows directly with the applied pressure difference and the available flow area and decreases when increases the length and fluid viscosity.
Analytically this dependence is expressed by the following formula:
Q = K . A . DP / (µ . L)
Where the constant that links the two terms in the equation is known as the permeability of the porous medium and is a property of that environment.
In today's laboratories have equipment similar to that used DARCY and designated permeameter.
(3)
REFERENCES: NUMERICAL METHODS FOR ENGINEERS WITH PERSONAL COMPUTER APPLICATIONS. STEVEN C. Chapra / Raymond P. CANALE
(1) http://www.concepcionabraira.info/wp/?p=305
(2),(3) internet-google.