Monday, July 9, 2012

Sample Variance

Definition of sample variance:

In 1893 the famous statistician Karl Pearson gave the definition of standard deviation as a measure of dispersion and gave a method for its calculation. Of all measures of dispersion the standard deviation is most commonly used. To understand what is sample variance, let us first see what is sample standard deviation.
Standard deviation: The positive square root of the number, obtained by dividing the sum of the squares of deviations from mean of observations of given data, by the number of observations is called the standard deviation of the data. It is denoted by s. Thus if x ¯ is the mean of n observations x_i (i = 1,2,3,…n), then,
With this background let us now define sample variance:
It is convenient to calculate the standard deviation in two steps. In fact, the number obtained by dividing the sum of the squares of deviations from the mean of observations of the given data by the number of observations is called the variance of the data. The variance is denoted by s^2 or s^2. After calculating the variance, its positive square root gives the standard deviation s. Thus, based on the above sample variance definition, we can write the sample variance formula as follows:
Calculation of variance for ungrouped data:

Direct method: Calculate the mean x ¯ of observations x1, x2, x3, … , x_n. Find the deviation x_i - x ¯ for each x_i. Calculate the square (x_i - x ¯)^2 for each x_i. Find the sum ?(x_i - x ¯)^2. Divide ?(x_i - x ¯)^2 by n to get the variance s^2.

If the values of x_i are relatively small and the mean is a fraction or a lengthy decimal, then we have an alternative formula for variance as follows:


Because of the presence of x_i^2 in the alternate formula for variance, finding variance by this formula could be tedious when x_i^2 are relatively large. The first method is also time consuming if the mean is a fraction (and not an integer). Fortunately, the numbers to be handled can be made small and the fractional mean can be avoided in calculations, by taking deviations of x_i^2  from an appropriately chosen number A, called the assumed mean.

Thursday, July 5, 2012

Trigonometry is a branch of mathematics that deals with triangles, particularly those plane triangles in which one angle has 90 degrees (right triangles). Trigonometry deals with relationships between the sides and the angles of triangles and with the trigonometric functions, which describe those relationships.

Trigonometry has applications in both pure mathematics and in applied mathematics, where it is essential in many branches of science and technology. It is usually taught in secondary schools either as a separate course or as part of a precalculus course. Trigonometry is informally called "trig".

A branch of trigonometry, called spherical trigonometry, studies triangles on spheres, and is important in astronomy and navigation
Let's see one of the trigonometry examples
Question:-

solve for x

2 sin2x- sinx-1=0

Answer:-

We may use some trigonometry formulas to solve this.
Put sinx = z in the given equation ,you get

2z2-z-1 =0

2z2-2z+z-1=0

2z(z-1)+1(z-1)=0

(z-1)(2z+1)=0

either z-1=0 or 2z+1=0

so z=1 or z= -1/2

since z = sinx we get

sinx = 1 = sin π/2 or sinx = -1/2 = sin(π+π/6)

x= π/2 or x= π+π/6

so x= 90° or 210°