lunes, 23 de junio de 2014

Interview of a civil engineer

Interview of a civil engineer

First of all, thanks for your time, I know that you don’t have much time so I appreciate this a lot.

1.     What’s your name?
My name is Pedro González.

2.      Why you decided to study Civil engineering?
It is a career that requires effort and dedication, but one of my passions is building, so it wasn´t an effort as big as it could be.

3.      Could you define the Civil Engineering?
Engineering that uses: knowledge of calculus, mechanics, hydraulics and chemistry to develop the design, construction and maintenance of infrastructure deployed in the environment, including roads, railways, bridges…

4.      Have you study a master? Related to?
Yes, I have studied a master of International Business Administration in Boston.

5.      What characteristics or skills define a civil engineer?
Extensive knowledge in the administration of mechanics, algebra and also hydraulics, it depends in the project you are involved.

6.     Have you ever used algebra in your life?
We don't usually think that we use algebra, but in our lifes we use more than we know.

7.      Is the workplace a civil engineer turned their expectations?
Not yet.

8.      What contributions to society gives a civil engineer?
Create roads, building, bridges and dams.

9.      Would you have been interested in some other career? Why?
I am always looking to expand my knowledge and be more prepared for everything.

domingo, 22 de junio de 2014

Algebra applications in Cryptography


Today governments use sophisticated methods of coding and decoding messages. One type of code, which is extremely difficult to break, makes use of a large matrix to encode a message. The receiver of the message decodes it using the inverse of the matrix. This first matrix is called the encoding matrix and its inverse is called the decoding matrix.

Example Let the message be:

PREPARE TO NEGOTIATE

and the encoding matrix be



We assign a number for each letter of the alphabet. For simplicity, let us associate each letter with its position in the alphabet: A is 1, B is 2, and so on. Also, we assign the number 27 (remember we have only 26 letters in the alphabet) to a space between two words. Thus the message becomes:


Since we are using a 3 by 3 matrix, we break the enumerated message above into a sequence of 3 by 1 vectors:



Note that it was necessary to add a space at the end of the message to complete the last vector. We now encode the message by multiplying each of the above vectors by the encoding matrix. This can be done by writing the above vectors as columns of a matrix and perform the matrix multiplication of that matrix with the encoding matrix as follows:




which gives the matrix



The columns of this matrix give the encoded message. The message is transmitted in the following linear form



To decode the message, the receiver writes this string as a sequence of 3 by 1 column matrices and repeats the technique using the inverse of the encoding matrix. The inverse of this encoding matrix, the decoding matrix, is:



(make sure that you compute it yourself). Thus, to decode the message, perform the matrix multiplication


and get the matrix



The columns of this matrix, written in linear form, give the original message:





Algebra video post


Webpage to practice some algebra exercises

This is not a really posts that I'm used to upload, but it is also from the algebra subject.

Enjoy the quizz and try to increase your algebra knowledge.



Lineal algebra applications in economics


Application to Leontief input-output model:

Introduction In order to understand and be able to manipulate the economy of a country or a region, one needs to come up with a certain model based on the various sectors of this economy. The Leontief model is an attempt in this direction. Based on the assumption that each industry in the economy has two types of demands: external demand (from outside the system) and internal demand (demand placed on one industry by another in the same system), the Leontief model represents the economy as a system of linear equations. The Leontief model was invented in the 30’s by Professor Wassily Leontief (picture above) who developed an economic model of the United States economy by dividing it into 500 economic sectors. On October 18, 1973, Professor Leontief was awarded the Nobel Prize in economy for his effort.

1)      The Leontief closed Model Consider an economy consisting of n interdependent industries (or sectors) S1,…,SnThat means that each industry consumes some of the goods produced by the other industries, including itself (for example, a power-generating plant uses some of its own power for production). We say that such an economy is closed if it satisfies its own needs; that is, no goods leave or enter the system. Letmij be the number of units produced by industry Si and necessary to produce one unit of industry Sj. If pk is  the production level of industry Sk, then mij pj represents the number of units produced by industry Si and consumed by industry Sj . Then the total number of units produced by industry Sis given by:

p1mi1+p2mi2+…+pnmin.
  
In order to have a balanced economy, the total production of each industry must be equal to its total consumption. This gives the linear system:

 

  



If







then the above system can be written as AP=P, where




is called the input-output matrix.

We are then looking for a vector P satisfying AP=P and with nonnegative components, at least one of which is positive.

Example  Suppose that the economy of a certain region depends on three industries: service, electricity and oil production. Monitoring the operations of these three industries over a period of one year, we were able to come up with the following observations:
1.      To produce 1 unit worth of service, the service industry must consume 0.3 units of its own production, 0.3 units of electricity and 0.3 units of oil to run its operations.
2.      To produce 1 unit of electricity, the power-generating plant must buy 0.4 units of service, 0.1 units of its own production, and 0.5 units of oil.
3.      Finally, the oil production company requires 0.3 units of service, 0.6 units of electricity and 0.2 units of its own production to produce 1 unit of oil. 

Find the production level of each of these industries in order to satisfy the external and the internal demands assuming that the above model is closed, that is, no goods leave or enter the system.

Solution Consider the following variables:
1.      p1= production level for the service industry
2.      p2= production level for the power-generating plant (electricity)
3.      p3= production level for the oil production company

Since the model is closed, the total consumption of each industry must equal its total production. This gives the following linear system:
  

The input-output matrix is

 

and the above system can be written as (A-I)P=0. Note that this homogeneous system has infinitely many solutions (and consequently a nontrivial solution) since each column in the coefficient matrix sums to 1.   The augmented matrix of this homogeneous system is


which can be reduced to


To solve the system, we let p3=t (a parameter), then the general solution is


and as we mentioned above, the values of the variables in this system must be nonnegative in order for the model to make sense; in other words, t≥0.  Taking t=100 for example would give the solution 


2)      The Leontief open Model The first Leontief model treats the case where no goods leave or enter the economy, but in reality this does not happen very often. Usually, a certain economy has to satisfy an outside demand,  for example, from bodies like the government agencies. In this case, let di be the demand from the ith outside industry, piand mij be as in the closed model above, then


for each i. This gives the following linear system (written in a matrix form):



where P  and are as above and







is the demand vector.

One way to solve this linear system is


Of course, we require here that the matrix I-A be invertible, which might not be always the case. If, in addition, (I-A)-1 has nonnegative entries, then the components of the vector P are nonnegative and therefore they are acceptable as solutions for this model. We say in this case that the matrix A is productive.

Example Consider an open economy with three industries: coal-mining operation, electricity-generating plant and an auto-manufacturing plant. To produce $1 of coal, the mining operation must purchase $0.1 of its own production, $0.30 of electricity and $0.1 worth of automobile for its transportation. To produce $1 of electricity, it takes $0.25 of coal, $0.4 of electricity and $0.15 of automobile. Finally, to produce $1 worth of automobile, the auto-manufacturing plant must purchase $0.2 of coal, $0.5 of electricity and consume $0.1 of automobile. Assume also that during a period of one week, the economy has an exterior demand of  $50,000 worth of coal, $75,000 worth of electricity, and $125,000 worth of autos. Find the production level of each of the three industries in that period of one week in order to exactly satisfy both the internal and the external demands.

Solution The input-output matrix of this economy is


and the demand vector is

  
By equation (*) above,

  

where
  




  
Using the Gaussian-elimination technique (or the formula B-1=(1/det(B))adj(B)), we find that

  
which gives


So, the total output of the coal-mining operation must be $229921.59, the total output for the electricity-generating plant is $437795.27 and the total output for the auto-manufacturing plant is $237401.57.





What is Algebra and its history

What is Algebra?

Algebra (from Arabic al-jebr meaning "reunion of broken parts") is one of the broad parts of mathematics, together with number theory, geometry and analysis.  As such, it includes everything from elementary equation solving to the study of abstractions such as groupsrings, and fields. The more basic parts of algebra are called elementary algebra, the more abstract parts are called abstract algebra or modern algebra. Elementary algebra is essential for any study of mathematics, science, or engineering, as well as such applications as medicine and economics. Abstract algebra is a major area in advanced mathematics, studied primarily by professional mathematicians. Much early work in algebra, as the origin of its name suggests, was done in the Near East, by such mathematicians as Omar Khayyam (1050-1123).


History of Algebra in Europe after 1500.

At the beginning of this period, zero had been accepted as a number and irrationals were used freely although people still worried about whether they were really numbers. Negative numbers were known but were not fully accepted. Complex numbers were as yet unimagined. Full acceptance of all components of our familiar number system did not come until the 19th century. Algebra in 1500 was still largely rhetorical. Renaissance mathematics was to be characterized by the rise of algebra.

In the 16th century there were great advances in technique, notably the solution of the cubic and quartic equations - achievements called by Boyer "perhaps the greatest contribution to algebra since the Babylonians learned to solve quadratic equations almost four millennia earlier." Publication of these results in 1545 in the Ars Magna by Cardano (who did not discover them) is often taken to mark the beginning of the modern period in mathematics. Cardano was the best algebraist of his age, but his algebra was still rhetorical. Subsequent efforts to solve polynomial equations of degrees higher than four by methods similar to those used for the quadratic, cubic, and quartic are comparable to the efforts of the ancient Greeks to solve the three classical construction problems: they led to much good mathematics but only to a negative outcome.
There were also at this time many important improvements in symbolism which made possible a science of algebra as opposed to the collection of isolated techniques ("bag of tricks") that had been the content of algebra up to this point.

The landmark advance in symbolism was made by Viète (French, 1540-1603) who used letters to represent known constants (parameters). This advance freed algebra from the consideration of particular equations and thus allowed a great increase in generality and opened the possibility for studying the relationship between the coefficients of an equation an the roots of the equation ("theory of equations"). Viète's algebra was still syncopated rather than completely symbolic. Symbolic algebra reached full maturity with the publication of Descartes' La Géométrie in 1637. This work also gave the world the wonderfully fruitful marriage of algebra and geometry that we know today as analytic geometry (developed independently by Fermat and Descartes).

"By the end of the 17th century the deliberate use of symbolism - as opposed to incidental and accidental use - and the awareness of the power and generality it confers [had] entered mathematics." But logical foundations for algebra comparable to those provided in geometry by Euclid were nonexistent.



New algebra posts

Welcome to the blog of Luis Ramírez Cortés, a student of Mechanical Engineering in the Universidad Europea de Madrid.

This blog has other post from the subject of Communication Skills, but the posts that are going to be created from now to the 30 of June of 2014 are going to be related to the subject of Algebra.


Thanks to all of my readers and I wish you will enjoy the algebra posts.