SlideShare a Scribd company logo
PROBABILITY AND RANDOM PROCESS
Random Variables
A random variable is a function that assigns a real number X(s) to every elements s in
S, where S is the sample space corresponding to a random experiment.
Random variables
Discrete Random Variables Continuous Random variables
Dr. S. Kalyani PRP 2
Discrete Random variable:
If X is a random variable which can take a finite number or countably infinite
number of values, X is called a Discrete Random variable.
Eg:
1. The marks obtained by the student in an exam.
2. Number of students absent for a particular class.
Continuous Random variable:
If X is a random variable which can take all values in an interval, then is called
a Continuous Random variable.
Eg:
The length of time during which a vacuum tube installed in a circuit functions is
a continuous RV.
Dr. S. Kalyani PRP 3
Probability Mass Function (or) Probability Function:
If X is a discrete RV with distinct values x1 x2 x3 ,… xn…
then P ( X = xi) = pi, then the function p(x) is called the
Probability Mass Function.
Where p(i = 1, 2, 3, …) satisfy the following conditions:
1. for all i, and
2.
0,
pi
1
i
i
p 

Dr. S. Kalyani PRP 4
PROBABILITY DENSITY FUNCTION FOR CONTINUOUS CASE:
If X is a continuous r.v., then f(x) is defined the probability density
function of X.
Provided f(x) satisfies the following conditions,
1.
2.
3.
( ) 0
f x 
( ) 1
f x dx




( ) ( )
b
a
P a x b f x dx
   
Dr. S. Kalyani PRP 5
CUMULATIVE DISTRIBUTION FUNCTION OF C.R.V.:
The cumulative distribution function of a continuous r.v. X is
( ) ( ) ( ) ,
x
F x P X x f x dx for x

       

CUMULATIVE DISTRIBUTION FUNCTION OF D.R.V.:
The cumulative distribution function F(x) of a discrete r.v. X with
probability distribution p(x) is given by
( ) ( ) ( )
i
i
X x
F x P X x p x for x

      

6
Dr. S. Kalyani PRP
Dr. S. Kalyani PRP 7
Relationship between probability density function and distribution function
𝑖) 𝑓 𝑥 =
𝑑
𝑑𝑥
𝐹 𝑥
𝑖𝑖) 𝐹 𝑥 =
−∞
𝑥
𝑓 𝑥 𝑑𝑥
PROBLEM 1:
The number of telephone calls received in an office during lunch time has the
following probability function given below
No. of calls 0 1 2 3 4 5 6
Probability
p(x)
0.05 0.2 0.25 0.2 0.15 0.1 0.05
i) Verify that it is really a probability function.
ii) Find the probability that there will be 3 or more calls.
iii)Find the probability that there will be odd number of calls.
Dr. S. Kalyani PRP 8
ii) Let X denote the no. of telephone calls
P(X>=3) = P(X=3) + P(X=4) + P(X=5) +P(X=6)
= 0.2 + 0.15 + 0.1 + 0.05
= 0.5
iii) Let X denote the no. of telephone calls
P(X is odd) = P(X=1) + P(X=3) + P(X=5)
= 0.2 + 0.2 + 0.1
= 0.5
i) Probability function p(x) follows 2 properties
i) all probability values lies between 0 and 1
ii) total probability value is 1.
In the given data all probability values are between 0 and 1
And 0.05+0.2+0.25+0.15+0.1+0.05 = 1
So it is a probability function.
Solution:
Dr. S. Kalyani PRP 9
PROBLEM 2:
A r. v. X has the following probability functions
X 0 1 2 3 4 5 6 7
p(x) 0 k 2k 2k 3k k2 2k2 7k2 + k
Find (i) value of k
(ii) P(1.5 < X < 4.5 / X > 2)
(iii) if P(X ≤ a) > ½, find the minimum value of a.
Dr. S. Kalyani PRP 10
Solution:
7
0
2
( ) . . . ( ) 1
10 9 1
(10 1)( 1) 0
1
, 1
10
( ) cannot be negative,
1 is neglected.
1
10
x
i w k t p x
k k
k k
k
p x
k
k


  
   
  
 
 

Dr. S. Kalyani PRP 11
7
3
( ) (1.5 4.5 / 2)
( )
( / )
( )
[(1.5 4.5) ( 2)]
(1.5 4.5 / 2)
( 2)
( 3) ( 4)
( )
5
5
10
=
7 7
10
r
ii P X x
P A B
P A B
P B
P X X
P X X
P X
P X P X
P X r

  


   
   

  




Dr. S. Kalyani PRP 12
0 1 2 3 4 5
( ) By trials,
( 0) 0
1
( 1)
10
3
( 2)
10
5
( 3)
10
8
( 4)
10
1
the minimum value of 'a' satisfying the condition ( ) 4
2
iii
P X
P X
P X
P X
P X
P X a is
 
 
 
 
 
  
X 0 1 2 3 4 5 6 7
p(x) 0 1/10 2/10 2/10 3/10 1/100 2/100 17/100
Dr. S. Kalyani PRP 13
PROBLEM 3
A random Variable X has the following probability distribution.
Find
(i) the value of k
(ii) Evaluate P[X<2] and P[-2<X<2]
(iii)Find the cumulative Distribution of X.
x -2 -1 0 1 2 3
p(x) 0.1 k 0.2 2k 0.3 3k
Dr. S. Kalyani PRP 14
Solution:
Dr. S. Kalyani PRP 15
6
0
( ) . . . ( ) 1
6 0.6 1
6 0.4
1
15
x
i w k t p x
k
k
k


  
 
 

 
     
   
2 2 1
0 1
1 2
0.1 0.2
15 15
3 1
0.3
15 2
ii
P X P X P X
P X P X
      
   
   
  
Dr. S. Kalyani PRP 16
Dr. S. Kalyani PRP 17
( )
[ ]
[ ] [ ] [ ]
2 2
1 0 1
1 2
0.2
15 15
3
= 0.2
15
2
5
ii
P X
P X P X P X
- < <
= = - + = + =
= + +
+
=
(iii) The Cumulative Distribution of X:
X F(x) = P(X ≤ x)
-2 F(-2)=P(X≤-2)=P(X=-2)=0.1=1/10
-1 F(-1)=P(X≤-1)=F(-2)+P(-1)=1/10+k=1/10+1/15=0.17
0 F(0)=P(X≤0)=F(-1)+P(0)=1/6+2/10=1/6+1/5=0.37
1 F(1)=P(X≤1)=F(0)+P(1)=11/30+2/15=15/30=1/2
2 F(2)=P(X≤2)=F(1)+P(2)=1/2+3/10=(5+3)/10=8/10=4/5
3 F(3)=P(X≤3)=F(2)+P(3)=4/5+3/15=(12+3)/15=1
Dr. S. Kalyani PRP 18
Dr. S. Kalyani PRP 19
Problem
If the random variable X takes the values 1,2,3 and 4 such that
2P(X=1) = 3P(X=2) = P(X=3) = 5P(X=4), find the probability distribution and
cumulative distribution function.
Let P(X=3) = k
So P(X=1) = k/2
P(X=2) = k/3
P(X=4) = k/5
By property, 𝑘 +
𝑘
2
+
𝑘
3
+
𝑘
5
= 1
So 𝑘 =
30
61
X 1 2 3 4
P(X) 15/61 10/61 30/61 6/61
Dr. S. Kalyani PRP 20
F(X)= 1
𝑥
𝑝(𝑋)
When X < 1 , F(X) = 0
X 1 2 3 4
F(X) 15/61 25/61 55/61 61/61 = 1
Problem 3:
The diameter, say X of an electric cable, is assumed to be a continuous r.v.
with p.d.f. :
f(x) = 6x(1-x), 0 ≤ x ≤ 1
(i) Check that the above is a p.d.f.
(ii) Compute P(X ≤ ½ / ⅓ ≤ X ≤ ⅔)
(iii) Determine the number k such that P(X< k) = P(X > k)
(iv) Find the cumulative distribution function.
Dr. S. Kalyani PRP 21
Solution:
1 1
0 0
1
2 3
0
( )
( ) 6 (1 )
6
2 3
1
i
f x dx x x dx
x x
 
 
 
 
 

 
Dr. S. Kalyani PRP 22
1
2
1
3
2
3
1
3
( )
1 1
( )
1 1 2 3 2
( | )
1 2
2 3 3 ( )
3 3
6 (1 )
=
6 (1 )
11
11
54
13 26
27
ii
P X
P X X
P X
x x dx
x x dx
 
   
 


 


Dr. S. Kalyani PRP 23
1
0
2 3 2 3
3 2
( )
( ) ( )
6 (1 ) 6 (1 )
3 2 3(1 ) 2(1 )
4 6 1 0
1 1 3
,
2 2
1
The only possible value of k in the given range is .
2
1
2
k
k
iii
We have P X k P X k
x x dx x x dx
k k k k
k k
k
k
  
   
     
   

 
 
 
Dr. S. Kalyani PRP 24
Dr. S. Kalyani PRP 25
𝑖𝑣) 𝐹 𝑥 =
−∞
𝑥
𝑓 𝑥 𝑑𝑥
𝐹 𝑥 =
0
𝑥
6𝑥 1 − 𝑥 𝑑𝑥
=
0
𝑥
(6𝑥 − 6𝑥2
)𝑑𝑥
= 6
𝑥2
2
− 6
𝑥3
3 0
𝑥
𝐹(𝑥) = 3𝑥2
− 2𝑥3 is the cumulative distribution function
Dr. S. Kalyani PRP 26
Problem
The distribution function of a random variable X is given by 𝐹 𝑋 = 1 − 1 + 𝑥 𝑒−𝑥
, 𝑥 ≥ 0
Find the density function.
Solution:
We know that 𝑓 𝑥 =
𝑑
𝑑𝑥
𝐹 𝑥
=
𝑑
𝑑𝑥
{1 − 𝑒−𝑥 − 𝑥𝑒−𝑥}
= 0 − −𝑒−𝑥
− (−𝑥𝑒−𝑥
+ 𝑒−𝑥
)
= 𝑒−𝑥
+ 𝑥𝑒−𝑥
− 𝑒−𝑥
= 𝑥𝑒−𝑥, 𝑥 ≥ 0. is the density function

More Related Content

What's hot

Chain Rule
Chain RuleChain Rule
Chain Rule
Nishant Patel
 
Data Science - Part XI - Text Analytics
Data Science - Part XI - Text AnalyticsData Science - Part XI - Text Analytics
Data Science - Part XI - Text Analytics
Derek Kane
 
Evaluating classification algorithms
Evaluating classification algorithmsEvaluating classification algorithms
Evaluating classification algorithms
Utkarsh Sharma
 
12. Random Forest
12. Random Forest12. Random Forest
12. Random Forest
FAO
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
IIUM
 
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaSupervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Edureka!
 
Lecture 6 expert systems
Lecture 6   expert systemsLecture 6   expert systems
Lecture 6 expert systems
Vajira Thambawita
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3
DigiGurukul
 
Computational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesComputational Complexity: Complexity Classes
Computational Complexity: Complexity Classes
Antonis Antonopoulos
 
Fuzzy arithmetic
Fuzzy arithmeticFuzzy arithmetic
Fuzzy arithmetic
Mohit Chimankar
 
BFS
BFSBFS
A petri-net
A petri-netA petri-net
A petri-net
Omar Al-Sabek
 
Algorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph AlgorithmsAlgorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph Algorithms
Mohamed Loey
 
Machine learning
Machine learningMachine learning
Machine learning
LawyerAiman1
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
Megha Sharma
 
Learning occam razor
Learning occam razorLearning occam razor
Learning occam razor
Minakshi Atre
 
Lecture 2d point,curve,text,line clipping
Lecture   2d point,curve,text,line clippingLecture   2d point,curve,text,line clipping
Lecture 2d point,curve,text,line clippingavelraj
 
Concept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithmConcept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithm
swapnac12
 
Gaussian process in machine learning
Gaussian process in machine learningGaussian process in machine learning
Gaussian process in machine learning
VARUN KUMAR
 

What's hot (20)

Chain Rule
Chain RuleChain Rule
Chain Rule
 
Data Science - Part XI - Text Analytics
Data Science - Part XI - Text AnalyticsData Science - Part XI - Text Analytics
Data Science - Part XI - Text Analytics
 
Evaluating classification algorithms
Evaluating classification algorithmsEvaluating classification algorithms
Evaluating classification algorithms
 
Temporal data mining
Temporal data miningTemporal data mining
Temporal data mining
 
12. Random Forest
12. Random Forest12. Random Forest
12. Random Forest
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaSupervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
 
Lecture 6 expert systems
Lecture 6   expert systemsLecture 6   expert systems
Lecture 6 expert systems
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3
 
Computational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesComputational Complexity: Complexity Classes
Computational Complexity: Complexity Classes
 
Fuzzy arithmetic
Fuzzy arithmeticFuzzy arithmetic
Fuzzy arithmetic
 
BFS
BFSBFS
BFS
 
A petri-net
A petri-netA petri-net
A petri-net
 
Algorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph AlgorithmsAlgorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph Algorithms
 
Machine learning
Machine learningMachine learning
Machine learning
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
Learning occam razor
Learning occam razorLearning occam razor
Learning occam razor
 
Lecture 2d point,curve,text,line clipping
Lecture   2d point,curve,text,line clippingLecture   2d point,curve,text,line clipping
Lecture 2d point,curve,text,line clipping
 
Concept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithmConcept learning and candidate elimination algorithm
Concept learning and candidate elimination algorithm
 
Gaussian process in machine learning
Gaussian process in machine learningGaussian process in machine learning
Gaussian process in machine learning
 

Similar to Random variables.pptx

15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
vedantsk1
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
shahzadebaujiti
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
CarlosLazo45
 
Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficientSanjay Singh
 
Discrete Distribution.pptx
Discrete Distribution.pptxDiscrete Distribution.pptx
Discrete Distribution.pptx
Ravindra Nath Shukla
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
allyn joy calcaben
 
Derivatives
DerivativesDerivatives
Derivatives
Nisarg Amin
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritSelvin Hadi
 
Rough K Means - Numerical Example
Rough K Means - Numerical ExampleRough K Means - Numerical Example
Rough K Means - Numerical Example
Dr.E.N.Sathishkumar
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
MuhannadSaleh
 
El6303 solu 3 f15 1
El6303 solu 3 f15  1 El6303 solu 3 f15  1
El6303 solu 3 f15 1
Sreekaanth Ganesan
 
Use of quantifiers
Use of quantifiersUse of quantifiers
Use of quantifiers
Lakshmi R
 
CALCULUS 2.pptx
CALCULUS 2.pptxCALCULUS 2.pptx
CALCULUS 2.pptx
ShienaMaeIndac
 
Discussion about random variable ad its characterization
Discussion about random variable ad its characterizationDiscussion about random variable ad its characterization
Discussion about random variable ad its characterization
Geeta Arora
 
Probability-1.pptx
Probability-1.pptxProbability-1.pptx
Probability-1.pptx
MuskanKhan320706
 
Rosser's theorem
Rosser's theoremRosser's theorem
Rosser's theorem
Wathna
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
VARUN KUMAR
 
Normal probability distribution
Normal probability distributionNormal probability distribution
Normal probability distribution
Nadeem Uddin
 
Chapter 4 Special Discrete Distribution.pptx
Chapter 4 Special Discrete Distribution.pptxChapter 4 Special Discrete Distribution.pptx
Chapter 4 Special Discrete Distribution.pptx
amopro5198
 
Fin500J_topic10_Probability_2010_0000000
Fin500J_topic10_Probability_2010_0000000Fin500J_topic10_Probability_2010_0000000
Fin500J_topic10_Probability_2010_0000000
Tushar Chaudhari
 

Similar to Random variables.pptx (20)

15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
 
Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficient
 
Discrete Distribution.pptx
Discrete Distribution.pptxDiscrete Distribution.pptx
Discrete Distribution.pptx
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Derivatives
DerivativesDerivatives
Derivatives
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
 
Rough K Means - Numerical Example
Rough K Means - Numerical ExampleRough K Means - Numerical Example
Rough K Means - Numerical Example
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
 
El6303 solu 3 f15 1
El6303 solu 3 f15  1 El6303 solu 3 f15  1
El6303 solu 3 f15 1
 
Use of quantifiers
Use of quantifiersUse of quantifiers
Use of quantifiers
 
CALCULUS 2.pptx
CALCULUS 2.pptxCALCULUS 2.pptx
CALCULUS 2.pptx
 
Discussion about random variable ad its characterization
Discussion about random variable ad its characterizationDiscussion about random variable ad its characterization
Discussion about random variable ad its characterization
 
Probability-1.pptx
Probability-1.pptxProbability-1.pptx
Probability-1.pptx
 
Rosser's theorem
Rosser's theoremRosser's theorem
Rosser's theorem
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
 
Normal probability distribution
Normal probability distributionNormal probability distribution
Normal probability distribution
 
Chapter 4 Special Discrete Distribution.pptx
Chapter 4 Special Discrete Distribution.pptxChapter 4 Special Discrete Distribution.pptx
Chapter 4 Special Discrete Distribution.pptx
 
Fin500J_topic10_Probability_2010_0000000
Fin500J_topic10_Probability_2010_0000000Fin500J_topic10_Probability_2010_0000000
Fin500J_topic10_Probability_2010_0000000
 

Recently uploaded

Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 

Recently uploaded (20)

Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 

Random variables.pptx

  • 2. Random Variables A random variable is a function that assigns a real number X(s) to every elements s in S, where S is the sample space corresponding to a random experiment. Random variables Discrete Random Variables Continuous Random variables Dr. S. Kalyani PRP 2
  • 3. Discrete Random variable: If X is a random variable which can take a finite number or countably infinite number of values, X is called a Discrete Random variable. Eg: 1. The marks obtained by the student in an exam. 2. Number of students absent for a particular class. Continuous Random variable: If X is a random variable which can take all values in an interval, then is called a Continuous Random variable. Eg: The length of time during which a vacuum tube installed in a circuit functions is a continuous RV. Dr. S. Kalyani PRP 3
  • 4. Probability Mass Function (or) Probability Function: If X is a discrete RV with distinct values x1 x2 x3 ,… xn… then P ( X = xi) = pi, then the function p(x) is called the Probability Mass Function. Where p(i = 1, 2, 3, …) satisfy the following conditions: 1. for all i, and 2. 0, pi 1 i i p   Dr. S. Kalyani PRP 4
  • 5. PROBABILITY DENSITY FUNCTION FOR CONTINUOUS CASE: If X is a continuous r.v., then f(x) is defined the probability density function of X. Provided f(x) satisfies the following conditions, 1. 2. 3. ( ) 0 f x  ( ) 1 f x dx     ( ) ( ) b a P a x b f x dx     Dr. S. Kalyani PRP 5
  • 6. CUMULATIVE DISTRIBUTION FUNCTION OF C.R.V.: The cumulative distribution function of a continuous r.v. X is ( ) ( ) ( ) , x F x P X x f x dx for x           CUMULATIVE DISTRIBUTION FUNCTION OF D.R.V.: The cumulative distribution function F(x) of a discrete r.v. X with probability distribution p(x) is given by ( ) ( ) ( ) i i X x F x P X x p x for x          6 Dr. S. Kalyani PRP
  • 7. Dr. S. Kalyani PRP 7 Relationship between probability density function and distribution function 𝑖) 𝑓 𝑥 = 𝑑 𝑑𝑥 𝐹 𝑥 𝑖𝑖) 𝐹 𝑥 = −∞ 𝑥 𝑓 𝑥 𝑑𝑥
  • 8. PROBLEM 1: The number of telephone calls received in an office during lunch time has the following probability function given below No. of calls 0 1 2 3 4 5 6 Probability p(x) 0.05 0.2 0.25 0.2 0.15 0.1 0.05 i) Verify that it is really a probability function. ii) Find the probability that there will be 3 or more calls. iii)Find the probability that there will be odd number of calls. Dr. S. Kalyani PRP 8
  • 9. ii) Let X denote the no. of telephone calls P(X>=3) = P(X=3) + P(X=4) + P(X=5) +P(X=6) = 0.2 + 0.15 + 0.1 + 0.05 = 0.5 iii) Let X denote the no. of telephone calls P(X is odd) = P(X=1) + P(X=3) + P(X=5) = 0.2 + 0.2 + 0.1 = 0.5 i) Probability function p(x) follows 2 properties i) all probability values lies between 0 and 1 ii) total probability value is 1. In the given data all probability values are between 0 and 1 And 0.05+0.2+0.25+0.15+0.1+0.05 = 1 So it is a probability function. Solution: Dr. S. Kalyani PRP 9
  • 10. PROBLEM 2: A r. v. X has the following probability functions X 0 1 2 3 4 5 6 7 p(x) 0 k 2k 2k 3k k2 2k2 7k2 + k Find (i) value of k (ii) P(1.5 < X < 4.5 / X > 2) (iii) if P(X ≤ a) > ½, find the minimum value of a. Dr. S. Kalyani PRP 10
  • 11. Solution: 7 0 2 ( ) . . . ( ) 1 10 9 1 (10 1)( 1) 0 1 , 1 10 ( ) cannot be negative, 1 is neglected. 1 10 x i w k t p x k k k k k p x k k                  Dr. S. Kalyani PRP 11
  • 12. 7 3 ( ) (1.5 4.5 / 2) ( ) ( / ) ( ) [(1.5 4.5) ( 2)] (1.5 4.5 / 2) ( 2) ( 3) ( 4) ( ) 5 5 10 = 7 7 10 r ii P X x P A B P A B P B P X X P X X P X P X P X P X r                       Dr. S. Kalyani PRP 12 0 1 2 3 4 5
  • 13. ( ) By trials, ( 0) 0 1 ( 1) 10 3 ( 2) 10 5 ( 3) 10 8 ( 4) 10 1 the minimum value of 'a' satisfying the condition ( ) 4 2 iii P X P X P X P X P X P X a is              X 0 1 2 3 4 5 6 7 p(x) 0 1/10 2/10 2/10 3/10 1/100 2/100 17/100 Dr. S. Kalyani PRP 13
  • 14. PROBLEM 3 A random Variable X has the following probability distribution. Find (i) the value of k (ii) Evaluate P[X<2] and P[-2<X<2] (iii)Find the cumulative Distribution of X. x -2 -1 0 1 2 3 p(x) 0.1 k 0.2 2k 0.3 3k Dr. S. Kalyani PRP 14
  • 15. Solution: Dr. S. Kalyani PRP 15 6 0 ( ) . . . ( ) 1 6 0.6 1 6 0.4 1 15 x i w k t p x k k k          
  • 16.             2 2 1 0 1 1 2 0.1 0.2 15 15 3 1 0.3 15 2 ii P X P X P X P X P X                   Dr. S. Kalyani PRP 16
  • 17. Dr. S. Kalyani PRP 17 ( ) [ ] [ ] [ ] [ ] 2 2 1 0 1 1 2 0.2 15 15 3 = 0.2 15 2 5 ii P X P X P X P X - < < = = - + = + = = + + + =
  • 18. (iii) The Cumulative Distribution of X: X F(x) = P(X ≤ x) -2 F(-2)=P(X≤-2)=P(X=-2)=0.1=1/10 -1 F(-1)=P(X≤-1)=F(-2)+P(-1)=1/10+k=1/10+1/15=0.17 0 F(0)=P(X≤0)=F(-1)+P(0)=1/6+2/10=1/6+1/5=0.37 1 F(1)=P(X≤1)=F(0)+P(1)=11/30+2/15=15/30=1/2 2 F(2)=P(X≤2)=F(1)+P(2)=1/2+3/10=(5+3)/10=8/10=4/5 3 F(3)=P(X≤3)=F(2)+P(3)=4/5+3/15=(12+3)/15=1 Dr. S. Kalyani PRP 18
  • 19. Dr. S. Kalyani PRP 19 Problem If the random variable X takes the values 1,2,3 and 4 such that 2P(X=1) = 3P(X=2) = P(X=3) = 5P(X=4), find the probability distribution and cumulative distribution function. Let P(X=3) = k So P(X=1) = k/2 P(X=2) = k/3 P(X=4) = k/5 By property, 𝑘 + 𝑘 2 + 𝑘 3 + 𝑘 5 = 1 So 𝑘 = 30 61
  • 20. X 1 2 3 4 P(X) 15/61 10/61 30/61 6/61 Dr. S. Kalyani PRP 20 F(X)= 1 𝑥 𝑝(𝑋) When X < 1 , F(X) = 0 X 1 2 3 4 F(X) 15/61 25/61 55/61 61/61 = 1
  • 21. Problem 3: The diameter, say X of an electric cable, is assumed to be a continuous r.v. with p.d.f. : f(x) = 6x(1-x), 0 ≤ x ≤ 1 (i) Check that the above is a p.d.f. (ii) Compute P(X ≤ ½ / ⅓ ≤ X ≤ ⅔) (iii) Determine the number k such that P(X< k) = P(X > k) (iv) Find the cumulative distribution function. Dr. S. Kalyani PRP 21
  • 22. Solution: 1 1 0 0 1 2 3 0 ( ) ( ) 6 (1 ) 6 2 3 1 i f x dx x x dx x x              Dr. S. Kalyani PRP 22
  • 23. 1 2 1 3 2 3 1 3 ( ) 1 1 ( ) 1 1 2 3 2 ( | ) 1 2 2 3 3 ( ) 3 3 6 (1 ) = 6 (1 ) 11 11 54 13 26 27 ii P X P X X P X x x dx x x dx               Dr. S. Kalyani PRP 23
  • 24. 1 0 2 3 2 3 3 2 ( ) ( ) ( ) 6 (1 ) 6 (1 ) 3 2 3(1 ) 2(1 ) 4 6 1 0 1 1 3 , 2 2 1 The only possible value of k in the given range is . 2 1 2 k k iii We have P X k P X k x x dx x x dx k k k k k k k k                         Dr. S. Kalyani PRP 24
  • 25. Dr. S. Kalyani PRP 25 𝑖𝑣) 𝐹 𝑥 = −∞ 𝑥 𝑓 𝑥 𝑑𝑥 𝐹 𝑥 = 0 𝑥 6𝑥 1 − 𝑥 𝑑𝑥 = 0 𝑥 (6𝑥 − 6𝑥2 )𝑑𝑥 = 6 𝑥2 2 − 6 𝑥3 3 0 𝑥 𝐹(𝑥) = 3𝑥2 − 2𝑥3 is the cumulative distribution function
  • 26. Dr. S. Kalyani PRP 26 Problem The distribution function of a random variable X is given by 𝐹 𝑋 = 1 − 1 + 𝑥 𝑒−𝑥 , 𝑥 ≥ 0 Find the density function. Solution: We know that 𝑓 𝑥 = 𝑑 𝑑𝑥 𝐹 𝑥 = 𝑑 𝑑𝑥 {1 − 𝑒−𝑥 − 𝑥𝑒−𝑥} = 0 − −𝑒−𝑥 − (−𝑥𝑒−𝑥 + 𝑒−𝑥 ) = 𝑒−𝑥 + 𝑥𝑒−𝑥 − 𝑒−𝑥 = 𝑥𝑒−𝑥, 𝑥 ≥ 0. is the density function