General mathematics
General mathematics
A random variable is the numerical quantity, which is the quantity is assigned to the result or
outcome of the probability or an experiment of an event. The numerical quantity is capitalize
letter as we use to present a random variables.
Probability in field of mathematics that deals with chance or prediction of an event. Experiment
is an activity in which the result cannot be predicted with certainly. Outcomes is the result of an
experiment. The sample space for a given experiment is a set S that contains all possible
outcomes of the experiment.
Example : Suppose two coin are tossed. Let Z be the random variables representing the number
of tails that occur. Find the values of the random variable Z.
Step 1: find the sample space of the tossed coins. And the probability getting a tails.
Sample space = { HH,HT,TH,TT} = 4 H (head), T(tail)
Step 2: count the number of tails in each outcomes that is assigned for each possible outcomes.
Where:
n(number of findings) = number of all outcomes that your going to find, such as head or tail, etc..
n(sample space) = number of all possible outcomes or chance that predicted.
Example 2: A peso coin is tossed.
Step 1: find the sample space.
Sample space = (head, tail)
N(sample space) = 2
Step 2: the probability of getting a head. Using the formula.
n ( head ) 1
P ( head )= =
n( sample space) 2
Example 3: if two coin are tossed. If X is the random variable for the number of head.
Step 1: list the sample space of the tossed coins.
Sample space = {HH,HT,TH,TT}= 4
STEP 2: construct the probability distribution of the value of heads X. That is assigned for each
possible outcomes of each number.
Number of 0 1 2
head X
Probability ¼ ½ ¼
P(X)
Number of head 0 1 2
X
Probability P(X) ¼ ½ ¼
Lesson 3: finding the Mean and the Variance of a Discrete Probability Distribution
To find the mean (μ) or the expected value E(X) of the random variable by its probability and
add the product
Formula: μ= E(X)= ∑[X • P(X)]
Where:
μ = mean
X = value of the random variable
P(X) = is the probability value of the random variable
Example 6: find the mean of the discrete random variable X with the following probability
distribution.
Value of head P(X)
X
2 ¼
1 ½
0 ¼
Value of X P(X)
2 ¼
1 ½
0 1/4
Solution:
Step 1: multiply the value of X by its corresponding probability value of P (X).
Value P(X) X•
of X P(X)
2 ¼ ½
1 ½ ½
0 ¼ 0
Step 2: find the mean or the expected value of the probability distribution by getting the sum of
the value under the column X • P(X).
μ= E(X)= ∑[X • P(X)]
=½+½+0
=1
Thus, the value of the mean or the expected value of the probability distribution is equal to 1.
Step 3: square each of the value of the random variable and multiply by the corresponding
probability value of (X² • P(X )].
X P(X) X² X² •
P(X)
2 ¼ 2² 1
1 ½ 1² ½
0 ¼ 0 0
Step 4: find the Variance and standard deviation using the two formulas.
σ² = ∑[X² • P(X)] – μ²
= ( 1+ ½ + 0) – 1²
=½
= 0.5
The standard deviation is computed by getting the square root of the variance.
σ = √0.5
= 0.707
Thus, the variance deviation is 0.5 and the standard deviation is 0.707.
Lesson 4: Applied Problems Involving the Mean and the Variance of a Discrete Probability
Distribution
The mean of a discrete random variable can be thought of as “anticipated “ value. It is the
average to be the result when a random experiment is continually repeated. It is the sum of the
possible outcomes of the experiment multiplied by their corresponding probabilities. To find the
mean (μ) or the expected value E(X) of the random variable by its probability and add the
product
The variance of a discrete random variable is by finding each deviation from its expected value
and square it, then multiply it by its probability and add the products, to get the value of the
variance deviation. The mean of a discrete random variable also known the expected value of a
random variable is denoted as E(X) and it is computed using the formula.
To find the standard deviation σ of a probability distribution, square the root of the value of the
variance σ² to get the value of the standard deviation. The mean of a discrete random variable
also known the expected value of a random variable is denoted as E(X).
Formulas:
μ= E (X) = ∑[X • P(X)] = mean or expected value
μ= ∑[X • P(X)] = mean
E (X) = ∑[X • P(X)] = expected value
σ² = ∑[X² • P(X)] – μ² = Variance deviation of a random variable
σ = √∑[X² • P(X)] – μ² = Standard deviation of a random variable
Example 8: the random variable X, representing the number of nuts in a chocolate bar has the
following probability distribution. Compute the variance and the Standard Deviation of a
random variable.
Step 1: first find the mean of the probability distribution. Using a scientific calculator.
μ= ∑[X • P(X)]
= 1/10 + 3/5 + 9/10 + 4/5 + 1/2
= 2.9
Step 2: find the Variance and standard deviation of a random variable using the formula.
σ² = ∑[X² • P(X)] – μ²
= 1/10 + 3/5 + 9/10 + 4/5 + ½ – (2.9)²
= 1.29
Therefore, to get the standard deviation is computed by getting the square root of the variance.
σ = √∑[X² • P(X)] – μ²
= √1/10 + 3/5 + 9/10 + 4/5 + ½ – (2.9)²
= √ 1.29
= 1.135
Thus, the value of the variance deviation of a random variable is 1.29 and the standard deviation
is 1.135.
Example 9: the probabilities that a market inspector will discover violations of the public health
code in a public market are given in the following table.