Mean, Variance and Standard Deviation
Last Updated :
28 Dec, 2024
Mean, Variance and Standard Deviation are fundamental concepts in statistics and engineering mathematics, essential for analyzing and interpreting data. These measures provide insights into data’s central tendency, dispersion, and spread, which are crucial for making informed decisions in various engineering fields.
This article explores the definitions, formulas, and applications of mean, variance, and standard deviation in engineering.

What is Mean?
The mean, also known as the average, is a measure of the central tendency of a dataset. It is calculated by summing up all the values in the dataset and dividing them by the number of values.
For a dataset with n values x1, x2, x3, ……., xn the mean Ξ is given by:
Ξ = 
Mean Example
For the dataset {4,8,6,5,3,7}:
Ξ=4+8+6+5+3+7 / 6 = 33/6 = 5.5
What is Variance?
Variance measures the dispersion of a dataset, indicating how much the values differ from the mean. It is the average of the squared differences from the mean.
For a dataset with n values x1, x2, x3, ……., xn the mean Ï2 is given by:
Ï2 = 
Variance Example
For the dataset {4,8,6,5,3,7} with mean = 5.5
Ï2 = (4 – 5.5)2 + (8 – 5.5)2 + (6â5.5)2 + (5â5.5)2 + (3â5.5)2 + (7- 5.5)2 / 6
Ï2 = 17.5/6 = 2.92
Standard Deviation
Standard deviation is the square root of the variance, providing a measure of the spread of the dataset in the same units as the data.
For a dataset with n values x1, x2, x3, ……., xn the mean Ï is given by:
Ï =
= 
Standard Deviation Example
For the dataset {4,8,6,5,3,7} , with variance Ï2 = 2.92
Ï = 1.71
Solved Examples
1. Consider the data set: 4, 8, 6, 5, 3, 9.
Step 1: Calculate the Mean
- Add up all the numbers: 4 + 8 + 6 + 5 + 3 + 9 = 35.
- Divide by the number of values (6): 35 / 6 = 5.83.
- So, the mean is 5.83.
Step 2: Calculate the Variance
Subtract the mean from each number, square the result, and find the average:
- (4 – 5.83)Âē + (8 – 5.83)Âē + (6 – 5.83)Âē + (5 – 5.83)Âē + (3 – 5.83)Âē + (9 – 5.83)Âē
- = 3.35 + 4.68 + 0.03 + 0.69 + 8.00 + 10.03 = 26.78.
- Then, divide by 6: 26.78 / 6 = 4.80.
- So, the variance is 4.80.
Step 3: Calculate the Standard Deviation
- Take the square root of the variance: â4.80 = 2.19.
- So, the standard deviation is 2.19.
2. Consider the dataset: 2, 4, 6, 8, 10.
Step 1: Calculate the Mean
- Add up all the numbers: 2 + 4 + 6 + 8 + 10 = 30.
- Divide by the number of values (5): 30 / 5 = 6.
- So, the mean is 6.
Step 2: Calculate the Variance
- Subtract the mean from each number, square the result, and find the average:(2â6)2+(4â6)2+(6â6)2+(8â6)2+(10â6)2=(â4)2+(â2)2+02+22+42=16+4+0+4+16=40.
- Then, divide by the number of values (5): 40 / 5 = 8.
- So, the variance is 8.
Step 3: Calculate the Standard Deviation
- Take the square root of the variance: â8 â 2.83.
- So, the standard deviation is approximately 2.83.
3. Consider the dataset: 3, 7, 7, 19, 24.
Step 1: Calculate the Mean
- Add up all the numbers: 3 + 7 + 7 + 19 + 24 = 60.
- Divide by the number of values (5): 60 / 5 = 12.
- So, the mean is 12.
Step 2: Calculate the Variance
- Subtract the mean from each number, square the result, and find the average:(3â12)2+(7â12)2+(7â12)2+(19â12)2+(24â12)2=(â9)2+(â5)2+(â5)2+72+122=81+25+25+49+144=324.
- Then, divide by the number of values (5): 324 / 5 = 64.8.
- So, the variance is 64.8.
Step 3: Calculate the Standard Deviation
- Take the square root of the variance: â64.8 â 8.05.
- So, the standard deviation is approximately 8.05.
4. Consider the dataset: 5, 10, 15, 20, 25.
Step 1: Calculate the Mean
- Add up all the numbers: 5 + 10 + 15 + 20 + 25 = 75.
- Divide by the number of values (5): 75 / 5 = 15.
- So, the mean is 15.
Step 2: Calculate the Variance
- Subtract the mean from each number, square the result, and find the average:(5â15)2+(10â15)2+(15â15)2+(20â15)2+(25â15)2=(â10)2+(â5)2+02+52+102=100+25+0+25+100=250.
- Then, divide by the number of values (5): 250 / 5 = 50.
- So, the variance is 50.
Step 3: Calculate the Standard Deviation
- Take the square root of the variance: â50 â 7.07.
- So, the standard deviation is approximately 7.07.
5. Consider the dataset: 11, 13, 15, 17, 19.
Step 1: Calculate the Mean
- Add up all the numbers: 11 + 13 + 15 + 17 + 19 = 75.
- Divide by the number of values (5): 75 / 5 = 15.
- So, the mean is 15.
Step 2: Calculate the Variance
- Subtract the mean from each number, square the result, and find the average:(11â15)2+(13â15)2+(15â15)2+(17â15)2+(19â15)2=(â4)2+(â2)2+02+22+42=16+4+0+4+16=40.
- Then, divide by the number of values (5): 40 / 5 = 8.
- So, the variance is 8.
Step 3: Calculate the Standard Deviation
- Take the square root of the variance: â8 â 2.83.
- So, the standard deviation is approximately 2.83.
Unsolved Problems
- Find the mean, variance, and standard deviation for the dataset: 10, 15, 20, 25, 30.
- Calculate the mean, variance, and standard deviation for: 5, 10, 15, 20, 25.
- Determine the mean, variance, and standard deviation for: 4, 6, 8, 10, 12, 14.
- Find the mean, variance, and standard deviation for the dataset: 1, 4, 9, 16, 25.
- Calculate the mean, variance, and standard deviation for: 3, 6, 9, 12, 15.
- Determine the mean, variance, and standard deviation for: 8, 16, 24, 32, 40.
- Find the mean, variance, and standard deviation for the dataset: 2, 4, 6, 8, 10, 12.
- Calculate the mean, variance, and standard deviation for: 11, 22, 33, 44, 55.
- Determine the mean, variance, and standard deviation for: 7, 14, 21, 28, 35.
- Find the mean, variance, and standard deviation for the dataset: 13, 26, 39, 52, 65.
Related Articles:
Below questions have been asked in previous year GATE exams
https://www.geeksforgeeks.org/gate-gate-cs-2012-question-64/
Applications in Engineering
1. Quality Control
In manufacturing and quality control, these measures help monitor and maintain product quality by analyzing variations in production processes.
2. Signal Processing
In signal processing, mean, variance, and standard deviation are used to analyze noise and signal strength, helping to improve the accuracy of signal transmission and reception.
3. Reliability Engineering
In reliability engineering, these measures are used to predict the lifespan and failure rates of components and systems, aiding in the design of more reliable products.
4. Financial Engineering
In financial engineering, mean, variance, and standard deviation are used to analyze investment risks and returns, helping to make better investment decisions.
5. Civil Engineering
In civil engineering, these statistical measures are used to analyze data from material tests, environmental studies, and structural performance, ensuring safety and compliance with standards.
Summary
Mean, variance, and standard deviation are key statistical measures that provide insights into the central tendency, dispersion, and spread of a dataset. These concepts are crucial in various fields, including engineering, finance, and data analysis, helping to understand and interpret data effectively.
Mean, Variance and Standard Deviation – FAQs
What is the Difference Between Standard Deviation and Variance?
Standard deviation and variance both measure the spread of data points in a dataset relative to the mean. The key difference is that variance measures the average of the squared deviations from the mean, while standard deviation is the square root of the variance, providing a measure of spread in the same units as the data.
How Do You Calculate Mean, Variance, and Standard Deviation?
- Mean: Add all the numbers together and divide by the count of numbers.
- Variance: Calculate the mean, subtract the mean from each number, square the result, sum these squared results, and divide by the count of numbers minus one.
- Standard Deviation: Take the square root of the variance.
Why Are Mean, Variance, and Standard Deviation Important?
These statistical measures are crucial for understanding the distribution of data. The mean provides a central value, while variance and standard deviation give insights into the data’s variability or spread, indicating the consistency or volatility of the dataset.
Can Variance and Standard Deviation Be Negative?
No, variance and standard deviation cannot be negative. Variance is calculated as the average of the squared differences from the Mean, resulting in a non-negative value. Since standard deviation is the square root of variance, it also cannot be negative.
How Does Outliers Affect Mean, Variance, and Standard Deviation?
Outliers can significantly affect the mean by pulling it towards the outlier value, thus not accurately reflecting the dataset’s central tendency. Variance and standard deviation are also affected as they will increase, indicating a higher spread of data due to the outlier(s).
Similar Reads
Engineering Mathematics Tutorials
Engineering mathematics is a vital component of the engineering discipline, offering the analytical tools and techniques necessary for solving complex problems across various fields. Whether you're designing a bridge, optimizing a manufacturing process, or developing algorithms for computer systems,
3 min read
Matrix and Determinants
Matrices
Matrix is a rectangular array of numbers, symbols, points, or characters each belonging to a specific row and column. A matrix is identified by its order which is given in the form of rows âĻŊ and columns. The numbers, symbols, points, or characters present inside a matrix are called the elements of a
15+ min read
Different Operations on Matrices
For an introduction to matrices, you can refer to the following article: Matrix Introduction In this article, we will discuss the following operations on matrices and their properties: Matrices AdditionMatrices SubtractionMatrices MultiplicationMatrices Addition: The addition of two matrices A m*n a
11 min read
Representation of Relation in Graphs and Matrices
Understanding how to represent relations in graphs and matrices is fundamental in engineering mathematics. These representations are not only crucial for theoretical understanding but also have significant practical applications in various fields of engineering, computer science, and data analysis.
8 min read
Determinant of Matrix with Solved Examples
Determinant of a matrix is a special number that can be calculated for a square matrix (a matrix with the same number of rows and columns). It is a function that gives the unique output (real number) for every input value of the square matrix. The determinant of the matrix is considered the scaling
15+ min read
Properties of Determinants
Properties of Determinants are the properties that are required to solve various problems in Matrices. There are various properties of the determinant that are based on the elements, rows, and columns of the determinant. These properties help us to easily find the value of the determinant. Suppose w
11 min read
Row Echelon Form
A matrix is in Row Echelon form if it has the following properties: Any row consisting entirely of zeros occurs at the bottom of the matrix.For each row that does not contain entirely zeros, the first non-zero entry is 1 (called a leading 1).For two successive (non-zero) rows, the leading 1 in the h
4 min read
Eigenvalues and Eigenvectors
Eigenvectors are the directions that remain unchanged during a transformation, even if they get longer or shorter. Eigenvalues are the numbers that indicate how much something stretches or shrinks during that transformation. These ideas are important in many areas of math and engineering, including
15+ min read
System of Linear Equations
In mathematics, a system of linear equations consists of two or more linear equations that share the same variables. These systems often arise in real-world applications, such as engineering, physics, economics, and more, where relationships between variables need to be analyzed. Understanding how t
9 min read
Matrix Diagonalization
Prerequisite: Eigenvalues  and eigenvectors Let A and B be two matrices of order n. B can be considered similar to A if there exists an invertible matrix P such that B=P^{-1} A P  This is known as Matrix Similarity Transformation. Diagonalization of a matrix is defined as the process of reducing any
5 min read
LU Decomposition
LU decomposition of a matrix is the factorization of a given square matrix into two triangular matrices, one upper triangular matrix and one lower triangular matrix, such that the product of these two matrices gives the original matrix. It was introduced by Alan Turing in 1948, who also created the
7 min read
Finding Inverse of a Square Matrix using Cayley Hamilton Theorem in MATLAB
Matrix is the set of numbers arranged in rows & columns in order to form a Rectangular array. Here, those numbers are called the entries or elements of that matrix. A Rectangular array of (m*n) numbers in the form of 'm' horizontal lines (rows) & 'n' vertical lines (called columns), is calle
4 min read
Sequence and Series
Binomial Theorem
Binomial Theorem is a theorem that is used to find the expansion of algebraic identity (ax + by)n. We can easily find the expansion of (x + y)2, (x + y)3, and others but finding the expansion of (x + y)21 is a tedious task and this task can easily be achieved using the Binomial Theorem or Binomial E
15+ min read
Sequences and Series
A sequence is an ordered list of numbers following a specific rule. Each number in a sequence is called a "term." The order in which terms are arranged is crucial, as each term has a specific position, often denoted as anâ, where n indicates the position in the sequence. For example: 2, 5, 8, 11, 14
7 min read
Finding nth term of any Polynomial Sequence
Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is a multitude of ways to do this, In this article, we discuss an algorithmic approach which will give the correct answer for any polynomial expression. Note that this method fai
4 min read
Mathematics | Sequence, Series and Summations
Sequences, series, and summations are fundamental concepts of mathematical analysis and it has practical applications in science, engineering, and finance. Table of Content What is Sequence?Theorems on SequencesProperties of SequencesWhat is Series?Properties of SeriesTheorems on SeriesSummation Def
8 min read
Calculus
Limits in Calculus
Limits are used in calculus to define differential, continuity, and integrals, and they are defined as the approaching value of the function with the input approaching to ascertain value. Let's say we have a function f(x) = x2. In the graph given below, notice that as xâĒ0, f(x) also tends to become
11 min read
Indeterminate Forms
Assume a function [Tex]F(x)=\frac{f(x)}{g(x)}[/Tex] which is undefined at x=a but it may approach a limit as x approaches a. The process of determining such a limit is known as evaluation of indeterminate forms. The L' Hospital Rule helps in the evaluation of indeterminate forms. According to this r
3 min read
Limits, Continuity and Differentiability
Limits, Continuity, and Differentiability are fundamental concepts in calculus, essential for analyzing and understanding the behavior of functions. These concepts are crucial for solving real-world problems in physics, engineering, and economics. Table of Content LimitsKey Characteristics of Limits
10 min read
Cauchy's Mean Value Theorem
Cauchy's Mean Value theorem provides a relation between the change of two functions over a fixed interval with their derivative. Cauchy Mean Value Theorem is a special case of Lagrange Mean Value Theorem. Cauchy's Mean Value theorem is also called the Extended Mean Value Theorem or the Second Mean V
8 min read
Lagrange's Mean Value Theorem
Lagrange's Mean Value Theorem (LMVT) is a fundamental result in differential calculus, providing a formalized way to understand the behavior of differentiable functions. This theorem generalizes Rolle's Theorem and has significant applications in various fields of engineering, physics, and applied m
9 min read
Rolle's Mean Value Theorem
Rolle's theorem one of the core theorem of calculus states that, for a differentiable function that attains equal values at two distinct points then it must have at least one fixed point somewhere between them where the first derivative of the function is zero. Rolle's Theorem and the Mean Value The
8 min read
Taylor Series
Taylor Series is the series which is used to find the value of a function. It is the series of polynomials or any function and it contains the sum of infinite terms. Each successive term in the Taylor series expansion has a larger exponent or a higher degree term than the preceding term. We take the
10 min read
Maclaurin series
Prerequisite - Taylor theorem and Taylor series We know that formula for expansion of Taylor series is written as: [Tex]f(x)=f(a)+\sum_{n=1}^{\infty}\frac{f^n(a)}{n!}(x-a)^n[/Tex] Now if we put a=0 in this formula we will get the formula for expansion of Maclaurin series. T hus Maclaurin series expa
2 min read
Euler's Formula
Euler's formula holds a prominent place in the field of mathematics. It aids in establishing the essential link between trigonometric functions and complex exponential functions. It is a crucial formula used for solving complicated exponential functions. It is also known as Euler's identity. It has
5 min read
Chain Rule: Theorem, Formula and Solved Examples
Chain Rule is a way to find the derivative of composite functions. It is one of the basic rules used in mathematics for solving differential problems. It helps us to find the derivative of composite functions such as (3x2 + 1)4, (sin 4x), e3x, (ln x)2, and others. Only the derivatives of composite f
9 min read
Inverse functions and composition of functions
Inverse Functions - In mathematics a function, a, is said to be an inverse of another, b, if given the output of b a returns the input value given to b. Additionally, this must hold true for every element in the domain co-domain(range) of b. In other words, assuming x and y are constants, if b(x) =
3 min read
Definite Integral | Definition, Formula & How to Calculate
A definite integral is an integral that calculates a fixed value for the area under a curve between two specified limits. The resulting value represents the sum of all infinitesimal quantities within these boundaries. i.e. if we integrate any function within a fixed interval it is called a Definite
9 min read
Mathematics | Indefinite Integrals
Antiderivative - Definition :A function ∅(x) is called the antiderivative (or an integral) of a function f(x) of ∅(x)' = f(x). Example : x4/4 is an antiderivative of x3 because (x4/4)' = x3. In general, if ∅(x) is antiderivative of a function f(x) and C is a constant.Then, {∅
4 min read
Application of Derivative - Maxima and Minima | Mathematics
The Concept of derivative can be used to find the maximum and minimum value of the given function. We know that information about and gradient or slope can be derived from the derivative of a function. We try to find a point which has zero gradients then locate maximum and minimum value near it. It
3 min read
Summation Formula
In mathematics, the summation is the basic addition of a sequence of any numbers, called addends or summands; the result is their sum or total. In Mathematics numbers, functions, vectors, matrices, polynomials, and, in general, elements of any mathematical object can be associated with an operation
6 min read
Statistics and Numerical Methods
Mean, Variance and Standard Deviation
Mean, Variance and Standard Deviation are fundamental concepts in statistics and engineering mathematics, essential for analyzing and interpreting data. These measures provide insights into data's central tendency, dispersion, and spread, which are crucial for making informed decisions in various en
8 min read
Mathematics - Law of Total Probability
Probability theory is the branch of mathematics concerned with the analysis of random events. It provides a framework for quantifying uncertainty, predicting outcomes, and understanding random phenomena. In probability theory, an event is any outcome or set of outcomes from a random experiment, and
13 min read
Probability Distribution - Function, Formula, Table
A probability distribution describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment. While a frequency distribution shows how often outcomes occur in a sample or
15+ min read
Bayes' Theorem
Bayes' Theorem is used to determine the conditional probability of an event. It is used to find the probability of an event, based on prior knowledge of conditions that might be related to that event. Bayes' Theorem and Conditional ProbabilityBayes theorem (also known as the Bayes Rule or Bayes Law)
11 min read
Conditional Probability
Conditional probability is one type of probability in which the possibility of an event depends upon the existence of a previous event. Conditional probability is the likelihood of an outcome occurring based on a previous outcome in similar circumstances. In probability notation, this is denoted as
15+ min read
Probability Distribution
Mathematics | Probability Distributions Set 1 (Uniform Distribution)
Prerequisite - Random Variable In probability theory and statistics, a probability distribution is a mathematical function that can be thought of as providing the probabilities of occurrence of different possible outcomes in an experiment. For instance, if the random variable X is used to denote the
4 min read
Mathematics | Probability Distributions Set 2 (Exponential Distribution)
The previous article covered the basics of Probability Distributions and talked about the Uniform Probability Distribution. This article covers the Exponential Probability Distribution which is also a Continuous distribution just like Uniform Distribution. Introduction - Suppose we are posed with th
5 min read
Mathematics | Probability Distributions Set 3 (Normal Distribution)
The previous two articles introduced two Continuous Distributions: Uniform and Exponential. This article covers the Normal Probability Distribution, also a Continuous distribution, which is by far the most widely used model for continuous measurement. Introduction - Whenever a random experiment is r
5 min read
Mathematics | Probability Distributions Set 4 (Binomial Distribution)
The previous articles talked about some of the Continuous Probability Distributions. This article covers one of the distributions which are not continuous but discrete, namely the Binomial Distribution. Introduction - To understand the Binomial distribution, we must first understand what a Bernoulli
5 min read
Mathematics | Probability Distributions Set 5 (Poisson Distribution)
The previous article covered the Binomial Distribution. This article talks about another Discrete Probability Distribution, the Poisson Distribution. Introduction -Suppose an event can occur several times within a given unit of time. When the total number of occurrences of the event is unknown, we c
4 min read
Covariance and Correlation
Covariance and correlation are the two key concepts in Statistics that help us analyze the relationship between two variables. Covariance measures how two variables change together, indicating whether they move in the same or opposite directions. In this article, we will learn about the differences
6 min read
Engineering Math Practice Problems