Pages

Sunday, January 26, 2014

Probability and Statistics

Probability and Statistics is one of the main branch of mathematics. It deals with population and chance. In statistics we read about stats of different kinds their arrangement, collection, classification, analysis and interpretation. In probability we deal with the study of chances and their ways. Probability mainly consists of permutations and combinations. There are many uses of probability in statistics. Let us have a look at what we study in probability and statistics.

Statistics has two different meanings. One is the data and other is a discipline. The data is facts and figures which we come across different conditions in our life and discipline refers to the collection, analysis and interpretation of those data. In the beginning of the study of statistics we deal with its different types of distributions. Then we deal with measures of central tendency. They are mean, median and mode. After it we deal with measures of dispersion. They are range, mean deviation and standard deviation. This study gives us a broad view of the data. The mean is the value which is the most probable when the whole data is taken into account. Median tells us about the middle, quartile, decile and percentile. Mode tells us which value occurs the most. The measure of dispersion tells us about the trend of the data, how much it is away with respect to the mean and the square of the mean. Then we deal with skewness and kurtosis. A measure of skewness would tell us how far the frequency curve of the given frequency distribution deviates from a symmetric one. On the other hand, a measure of kurtosis gives us some information about the degree of flatness (or peakedness) of the frequency curve. Then we deal with how one type of data is related to other type of data. Such study is dealt in correlation and regression. These things deals with statistics. To study more in statistics we need knowledge of probability.

In probability we deal with Random Experiment, sample space, event and algebra of events. Then we deal with probability of discrete sample space. After it we study about probability distributions. These are Bernoulli, Binomial, Multinomial, Hypergeometric, Geometric, Poisson and Negative Binomial. These are standard probability distributions. Then we deal with univariate distributions. After it we deal with standard continuous distributions. They are Normal, Gamma or Exponential, Beta Distributions. Then we deal with bivariate distributions. Then comes functions of random variables chi-square distribution, t-distribution and F-distribution. Then we end the topic by studying the methods used in factories.

Saturday, January 25, 2014

Complex numbers and its origin

When we hear of complex numbers, one thing comes to our mind and it is something complex. One thing I would like to tell that complex numbers are not as complex as it seems to be. Even Euler wanted it to be taught in schools. It is a combination of symbols, idea and presentation. the evolution of complex numbers is attributed to the equation x2 + 1 = 0. As we can see from the above equation that the square of a number is negative. And we know that the square of any integer cannot be negative. To solve such type of equations we use imaginary numbers. The basic of imaginary numbers is √-1. We represent it by i. One of the most interesting thing in the complex numbers is the product of two complex number i. i×i = √-1 × √-1 is not 1 as can be thought. The reasoning of the above is √-1 × √-1 = √(-1×-1) = √1 = 1. But we must keep in mind that now the number can not be thought as per the rules of real algebra. Any negative number n under the root sign can not be thought as a combination of a number, sign and a root. But it is to be interpreted as a sign i√n. Where the number n denotes the magnitude of the negative number. So the new reasoning is i×i = i2 = -1.

A complete imaginary number consists of real as well as imaginary parts.But one thing which comes to our mind is what is the representation of these numbers. To show such kind of numbers we use Argand plane or complex plane. A complex number has two parts the real part and the imaginary part. The real part is denoted on the real axis and imaginary part is denoted on the imaginary axis. The real part is equivalent to the x-axis and the imaginary part is equivalent to the y-axis of the Cartesian Coordinates.

Euler established a relationship between e, i, cos θ and sin θ. He found that they form a definition and it is
e = cos θ + i sin θ
Much of the mathematics of complex numbers is result of identity. We find that e = cos θ + i sin θhas no simple proof but as we expand e we find that its representation is like this
e = 1 + iθ + i2θ2 + i3θ3 + i4θ4 + ...
= 1 + iθ − θ2 − iθ3 + θ4 + ...
= (1 − θ2 + θ4 ...) + i(θ − θ3 + ...)
We know that (1 − θ2 + θ4 ...) is expansion of cos θ and (θ − θ3 + ...) is the expansion of sin θ
= cos θ + i sin θ

Similarly by induction we can prove that (cos nθ + i sin nθ) = (cos θ + i sin θ)n.

There are many such results which form the basis of complex numbers. But the origin of complex numbers if the result of deep knowledge of mathematics as it takes ideas from different fields.

Saturday, January 18, 2014

Solution of Quadratic by graph

The solution of a quadratic equation, cubic equation is possible with graph. I have found a method by which we can find the solution of a quadratic, cubic, etc, equations with the help of graph when one of the solution is known. The solution consists of finding a equation which relates the roots of the equation. It is very easy to find such a solution. Although the equation consists of only two roots but when we examine the roots then we can find all the roots of the equation. We will find the expression for quadratic equation in this post and discuss cubic equation in the next post. The method goes like this.

  1. Let the equation be ax2 + bx + c = 0
  2. Take two roots of the equation. Let it be x1 and x2.
  3. Form one equation with one root.
    ax12 + bx1 + c = 0 ---(i)
    Form one more equation with other root.
    ax22 + bx2 + c = 0 ---(ii)
  4. Subtract (ii) from (i) and solve it
    (ax12 − ax22) + (bx1 − bx2) + c − c = 0
    a(x12 − x22) + b(x1 − x2) = 0
    (x1 − x2)[a(x1 + x2) + b] = 0
    Suppose both the roots are different, then
    [a(x1 + x2) + b] = 0
    (x1 + x2) = −b/a
  5. You will get a relation in the roots.
  6. Plot the relation on a graph by taking x1 to be y and x2 to be x.
    The relation becomes y = −x − (b/a)
Graphic Solution of two quadratic expressions y = x2 + 5x + 6 and y = x2 − 5x + 6 and their respective relation equation between roots are given. The roots can be found by checking where the quadratic graph cuts the x-axis.



The two straight lines gives the solution of the equations x2 + 5x + c1 = 0 and
x2 − 5x + c2 = 0. If we know one root of the equation then we can find the other root by looking at the point's corresponding coordinate point where one coordinate is equal. For example as one roots of x2 + 5x + 6 = 0 is 2 so the corresponding point on the curve taking x = 2 is (2,3) so the other root is 3. We can also find the roots by looking at the point (a,b) where the area formed by the rectangle between x-axis, y-axis, x = a and y = b have area equal to the constant term. The condition for the roots for a particular equation is that the roots has product equal to c/a, where c is the constant term and a is coefficient of x2.

Friday, January 17, 2014

Solution of a Cubic by graph

As we have seen in the post 'Solution of Quadratic by Graph' we can represent solution of a quadratic equation. Similarly we can represent solution of a cubic equation also by graph. The method is the same we represent a relation between two roots. The relation gives us a graph which has solution as the value of x coordinate and the corresponding y coordinate. In the case of cubic we get an ellipse. Let us first find the relation between two roots of a cubic equation.
  1. Let the equation be ax3 + bx2 + cx + d = 0
  2. Take two roots of the equation. Let it be x1 and x2.
  3. Form one equation with one root.
    ax13 + bx12 + cx1 + d = 0 ---(i)
    Form one more equation with other root.
    ax23 + bx22 + cx2 + d = 0 ---(i)
  4. Subtract (ii) from (i) and solve it
    (ax13 − ax23) + (bx12 − bx22) + (cx1 − cx2) + d − d = 0
    a(x13 − x23) + b(x12 − x22) + c(x1 − x2) = 0
    (x1 − x2)[a(x12 + x22 + x1x2) + b(x1 + x2) + c] = 0
    Suppose both the roots are different, then
    [ax12 + ax22 + ax1x2 + bx1 + bx2 + c] = 0
    [ax12 + ax1x2 + bx1 + ax22 + bx2 + c] = 0
    [ax12 + x1(ax2 + b) + (ax22 + bx2 + c)] = 0
    solving in x1 we get,
    x1 = (1/2a)( − (ax2 + b)±√((ax2 + b)2 − 4a(ax22 + bx2 + c)))
    x1 = (1/2a)( − (ax2 + b)±√(−3a2x22 − 2abx2 + b2 − 4ac))
  5. You will get a relation in the roots.
  6. Plot the relation on a graph by taking x1 to be y and x2 to be x.
    The relation becomes y = (1/2a)( − (ax + b)±√( − 3a2x2 − 2abx + b2 − 4ac))
    Divide the relation into two parts one with + sign and other with − sign. Plot them.

Solution of the cubic equation in the above graph is 1,2 and 3. As we can see from the graph that the solution exist where the line x=1 or x=2 or x=3 cuts the curve. When we look at the line x = 1, then we find that the line cuts the curve at y=2 and y=3. Similarly we see that the curve is cut by the line x=2 at y=1 and y=3. So is the case with x=3, where y=1 and y=2. So the solutions of the equation is the points satisfying the condition that the product of the roots is equal to the negative of the constant term divided by coefficient of x3.

Similarly on the guidelines for the previous graph we find that the solution is 1,2 and 4.

When the graph is plotted then the roots of the family of curves ax3 + bx2 + cx + k = 0, where k is parameter is given by the curve which is like the ellipse. If one root is known to be α. Then other two roots can be found by looking at the points where the line x = α intersect the ellipse. By noting down the two values of y where the line x = α intersect we get the three roots. The two values of y and one value of x or two values of x and one value of y are the three roots of the curve.

Wednesday, January 8, 2014

Elementary Algebra

Elementary Algebra is based on unknown. Although number of value to be found or the number of solutions is known in advance by looking at the equations. These solutions are masked by the variables. A variable can take any value and the values which satisfy the equations are known as the solutions. A linear equation in one unknown has one solution. Similarly a linear equation in two variables has one solution if two equations are given,a linear equation in three unknowns also has one solution and is solvable if three equations are given in three unknowns. The set of equations which are used are called a system of equations. But a quadratic equation has two solutions and a cubic equation has three solutions. A variable raised to n power has n solutions.

Let us talk about what is taught in elementary algebra. We will talk as a whole that is what exist in elementary algebra from schools to colleges. The first thing to be taught is about sets. Set is the language of mathematics. This thing occurs in every branch of mathematics. The next thing is solution of linear equations, quadratic equations, cubic equations and quartic equations. The cubic equations are solved by Cardano's Method. The quartic equations are solved by Ferrari's or Descartes method. The next thing which comes under elementary algebra is complex numbers. The rise of complex numbers is attributed to the equation in which the square of a variable is equal to a negative number. Euler gave a definition by which he joined the complex number with trigonometry. It is worth to note it here.
e = cos θ + i sin θ

One consequence of this formula is e = −1
There is one more formula given by De Moivre and it is
(cos θ + i sin θ)n = cos nθ + i sin nθ

This formula is used in the expansion of cos θ and sin θ and it also ha many other uses.

The next thing we are taught is the system of equations. As described in the first paragraph it has solutions if a set of equations are given. The solution is possible under certain conditions and has a unique solution under a particular condition. The set of equations can have a unique solution or a dependent solution or no solution. The solution of linear systems can be found by Cramer's rule or by use of matrices. There is also matter related to inequalities. The inequalities known to the ancients (Inequality of the means, Triangle inequality), Less ancient inequalities (Cauchy-Schwarz inequality, Weierstrass’ inequalities, Tchebyshev’s inequalities).

Elementary algebra is taught from the beginning because it has vast applications in other fields. The expressions which we come across in elementary algebra takes shape of functions in calculus. The solution of quadratic, cubic and quartic equations are used to solve the maximum and minimum problems. The factor theorem taught also comes handy in calculus as well as statistics. Binomial theorem, multinomial theorem are used in statistics.

Every student will find it interesting if he finds instances where it is used in our life. I will try my best to bring those things come to life on this blog.

Sunday, January 5, 2014

Calculus

Calculus is an important branch of Mathematics. Calculus is studied in three parts. First part is single variable calculus, second part is multi-variable calculus and third part is differential calculus. In our daily life we come across problems which belong to single variable calculus or can be solved by methods applied by single variable calculus. But if we have to deal with complex problems we have to come across multi-variable calculus and differential equations. A little bit of differential equations is taught in single variable calculus because we come across simple differential equations in physics. For example to describe motion of springs and simple pendulum which is simple harmonic.

In single variable calculus topics covered are differentiation, integration, application of differentiation and application of integration. Application of differentiation is completely dependent upon differentiation. Similarly application of integration is dependent upon integration. Integration is reverse process of differentiation. But integration of all functions don't exist. So we have to study differentiation first to have a view of what can be integrated. Also integration requires practice. When we integrate a lot of problems we develop skills to integrate.

Differentiation is related to rate. Rate is found of something which changes. Now the change can be constant or variable. We come to know about change by finding the rate. Here differentiation comes in handy. We can find the rate if we can express a method by which we can check change in one variable w.r.t other variable. Relationship between two variables is known as a map. A class of mapping is known as functions. Calculus is full of functions.

Integration is related to sum. Integration can be used to find sum, area, etc.