11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
Maths (/maths/) > Math Article (/maths/articles/) > Probability Density Function (/maths/probability-density-function/)
Probability Density Function
In probability theory, a probability density function (PDF) is used to define the random variable’s
probability coming within a distinct range of values, as opposed to taking on any one value. The
function explains the probability density function of normal distribution and how mean and
deviation exists. The standard normal distribution (https://byjus.com/maths/standard-normal-
distribution/) is used to create a database or statistics, often used in science to represent the real-
valued variables whose distribution is unknown. The probability density function is explained here
in this article to clear the students’ concepts in terms of their definition, properties, formulas with
the help of example questions.
In this article, you will learn the probability density function definition, formula, properties,
applications and how to fins the probability density function for a given function along with
example.
What is the Probability Density Function?
The Probability Density Function(PDF) defines the probability function representing the density of a
continuous random variable lying between a specific range of values. In other words, the
probability density function produces the likelihood of values of the continuous random variable.
Sometimes it is also called a probability distribution (https://byjus.com/maths/probability-
distribution/) function or just a probability function. However, this function is stated in many other
sources as the function over a broad set of values. Often it is referred to as cumulative distribution
function or sometimes as probability mass function (https://byjus.com/maths/probability-mass-
function/)(PMF). However, the actual truth is PDF (probability density function ) is defined for
continuous random variables, whereas PMF (probability mass function) is defined for discrete
random variables.
https://byjus.com/maths/probability-density-function/ 1/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
Read more:
Cumulative Distribution Function (https://byjus.com/maths/cumulative-distribution-
function/)
Cumulative Frequency Distribution (https://byjus.com/maths/cumulative-frequency-
distribution/)
Normal distribution Formula (https://byjus.com/normal-distribution-formula/)
Continuous Integration (https://byjus.com/maths/continuous-integration/)
Random variable (https://byjus.com/maths/random-variable/)
Probability Density Function Formula
In the case of a continuous random variable, the probability taken by X on some given value x is
always 0. In this case, if we find P(X = x), it does not work. Instead of this, we must calculate the
probability of X lying in an interval (a, b). Now, we have to figure it for P(a< X< b), and we can
calculate this using the formula of PDF. The Probability density function formula is given as,
b
P(a < X < b) = ∫ f (x) dx
a
Or
b
P(a ≤ X ≤ b) = ∫ f (x) dx
a
This is because, when X is continuous, we can ignore the endpoints of intervals while finding
probabilities of continuous random variables. That means, for any constants a and b,
P(a ≤ X ≤ b) = P(a < X ≤ b) = P(a ≤ X < b) = P(a < X < b).
Probability Density Function Graph
The probability density function is defined as an integral of the density of the variable density over
a given range. It is denoted by f (x). This function is positive or non-negative at any point of the
graph, and the integral, more specifically the definite integral (https://byjus.com/maths/definite-
integral/) of PDF over the entire space is always equal to one. The graph of PDFs typically
resembles a bell curve, with the probability of the outcomes below the curve. The below figure
depicts the graph of a probability density function for a continuous random variable x with
function f(x).
https://byjus.com/maths/probability-density-function/ 2/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
Probability Density Function Properties
Let x be the continuous random variable with density function f(x), and the probability density
function should satisfy the following conditions:
For a continuous random variable that takes some value between certain limits, say a and b,
the PDF is calculated by finding the area under its curve and the X-axis within the lower limit
(a) and upper limit (b). Thus, the PDF is given by
b
P (x) = ∫ f (x) dx
a
The probability density function is non-negative for all the possible values, i.e. f(x)≥ 0, for all x.
The area between the density curve and horizontal X-axis is equal to 1, i.e.
∞
∫ f (x) dx = 1
−∞
Due to the property of continuous random variables, the density function curve is continued
for all over the given range. Also, this defines itself over a range of continuous values or the
domain of the variable.
Probability Density Function Example
Question:
Let X be a continuous random variable with the PDF given by:
⎧ x; 0 < x < 1
f (x) = ⎨2 − x; 1 < x < 2
⎩
0; x > 2
Find P(0.5 < x < 1.5).
https://byjus.com/maths/probability-density-function/ 3/12
11/11/24, 11:31 AM
Solution:
Given PDF is:
= ∫
1
0.5
⎪
⎧
f (x) = ⎨2 − x; 1 < x < 2
⎩
0; x > 2
P (0.5 < X < 1.5) = ∫
x; 0 < x < 1
f (x)dx + ∫
Integrating the functions, we get;
= (
x
2
2
)
1
0.5
+ (2x −
1.5
1
f (x)dx
2
2
1.5
0.5
)
1.5
1
Probability Density Function (PDF) - Definition, Formula, Graph, Example
f (x)dx
Let us split the integral by taking the intervals as given below:
Substituting the corresponding values of f(x) based on the intervals, we get;
= ∫
1
0.5
xdx + ∫
1
1.5
(2 − x)dx
= [(1)2/2 – (0.5)2/2] + {[2(1.5) – (1.5)2/2] – [2(1) – (1)2/2]}
= [(½) – (⅛)] + {[3 – (9/8)] – [2 – (½)]}
= (⅜) + [(15/8) – (3/2)]
= (3 + 15 – 12)/8
= 6/8
= 3/4
Applications of Probability Density Function
PDF, i.e. the probability density function has many applications in different fields of study such as
statistics, science and engineering. Some of the important applications of the probability density
function are listed below:
In Statistics, it is used to calculate the probabilities associated with the random variables.
The probability density function is used in modelling the annual data of atmospheric NOx
temporal concentration
It is used to model the diesel engine combustion.
https://byjus.com/maths/probability-density-function/ 4/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
For more maths concepts, keep visiting BYJU’S and get various maths related videos to
understand the concept in an easy and engaging way.
Frequently Asked Questions on Probability Density Function
Q1 What is the probability density function?
A function is said to be a probability density function if it represents a continuous probability
distribution.
Q2 What is the difference between the probability density function and the probability mass
function?
The major difference between the probability density function (PDF) and the probability mass
function (PMF) is that PDF is used to describe the continuous probability distribution whereas
PMF is used to describe the discrete probability distribution.
Q3 What are the two conditions for probability density function?
The probability density function is said to be valid if it obeys the following conditions:
1. f(x) should be non-negative for all values of the random variable.
2. The area underneath f(x) should be equal to 1.
Q4 Can the probability density function be negative?
No, the probability density function cannot be negative.
Q5 What is meant by normal distribution?
The normal distribution, also known as the Gaussian distribution, is a continuous probability
distribution for any real-valued random variable. The normal distribution is sometimes called
the bell curve.
Q6 Are PDFs associated with continuous random variables?
Yes, PDFs are associated with continuous random variables.
Q7 Does the total probability under the probability density function curve be equal to 1.2?
No, the total probability under the probability density curve cannot be equal to 1.2, because
the total area under the PDF curve should be equal to 1.
Q8 What is the median of the probability density function?
The median of the probability density function is a continuous probability function in which
the distribution function has a value equal to 0.5.
https://byjus.com/maths/probability-density-function/ 5/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
Test your Knowledge on Probability Density Function
Put your understanding of this concept to test by answering a few MCQs.
Click ‘Start Quiz’ to begin!
Select the correct answer and click on the “Finish” button
Check your score and answers at the end of the quiz
Start Quiz
MATHS Related Links
Arithmetic (https://byjus.com/maths/arithmetic- Trigonometric
Progression progression/) Functions Pdf
Divisibility Rule For (https://byjus.com/maths/divisibility- Number System In
9 rules/) Mathematics
Roman 1 To 10 (https://byjus.com/maths/roman-numerals/) List Of Primes (htt
1 To 20 Tables In (https://byjus.com/maths/tables-1- Solid Geometric (
Mathematics to-20/) Shapes d
https://byjus.com/maths/probability-density-function/ 6/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
MATHS Related Links
Integral (https://byjus.com/maths/integral- Place Value (htt
Calculus calculus/) And Face Value bet
Comments
Leave a Comment
Your Mobile number and Email id will not be published. Required fields are marked *
*
Mobile Number Send OTP
Type your message or doubt here...
Post My Comment
CBSE Sample Papers
CBSE Sample Papers Class 8 Maths
CBSE Sample Papers Class 9 Maths
https://byjus.com/maths/probability-density-function/ 7/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
CBSE Sample Papers Class 10 Maths
CBSE Sample Papers Class 11 Maths
CBSE Sample Papers Class 12 Maths
CBSE Previous Year Question Papers
CBSE Previous Year Question Papers Class 12 Maths
CBSE Previous Year Question Papers Class 10 Maths
ICSE Sample Papers
ICSE Sample Papers Class 8 Maths
ICSE Sample Papers Class 9 Maths
ICSE Sample Papers Class 10 Maths
ISC Sample Papers Class 11 Maths
ISC Sample Papers Class 12 Maths
https://byjus.com/maths/probability-density-function/ 8/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
ICSE Previous Year Question Papers
ICSE Previous Year Question Papers Class 10
ISC Previous Year Question Papers Class 12 Maths
BYJU'S Tuition Centre for Class 4 to 10
Class 10 Tuition Centre
Class 9 Tuition Centre
Class 8 Tuition Centre
Class 7 Tuition Centre
Class 6 Tuition Centre
Class 5 Tuition Centre
Class 4 Tuition Centre
Join BYJU'S Learning Program
Name
https://byjus.com/maths/probability-density-function/ 9/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
Mobile Number Send OTP
City
Grade/Exam
Email Address
Submit
COURSES EXAMS
CBSE (/cbse/) CAT Exam (/cat/exam-info/)
ICSE (/icse/) CAT 2023 (/cat/cat-2023/)
CAT (/cat/) GATE Exam (/gate/gate-exam/)
IAS (/ias/) GATE 2024 (/gate/gate-2024/)
JEE (/jee/) IAS Exam (/ias-exam/)
NEET (/neet/) UPSC Exam (/free-ias-prep/upsc-exam/)
Commerce (/commerce/) UPSC Syllabus (/ias/upsc-syllabus/)
JEE Main (/jee/jee-main/) UPSC 2023 (/free-ias-prep/upsc-2023/)
NCERT (/ncert/) Bank Exam (/bank-exam/)
JEE Advanced (/jee-advanced/) Government Exams (/govt-exams/)
UPSC Prelims 2022 Question Paper (/free-ias-prep/upsc- Education News (/news/)
prelims-2022-question-papers-pdf/)
UPSC Prelims 2022 Answer Key (/free-ias-prep/upsc-prelims- CLASSES
answer-key-2022/)
Kids Learning (/kids-learning/)
IAS Coaching (/ias-coaching/)
Class 1st - 3rd (/disney-byjus-early-learn/)
CBSE Sample Papers (/cbse/cbse-sample-papers/)
Class 4th - 5th (/class-4-5/)
CBSE Question Papers (/cbse-study-material/cbse-previous-
year-question-paper/) Class 6th - 10th (/class-6-10/)
Class 11th - 12th (/class-11-12/)
BYJU'S Tuition Centre (/btc/)
EXAM PREPARATION COMPANY
Free CAT Prep (/free-cat-prep/) About Us (/about-us/)
https://byjus.com/maths/probability-density-function/ 10/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
Free IAS Prep (/free-ias-prep/) Contact Us (/contact-us/)
Maths (/maths/) Contact our Financial Partners
(https://byjus.com/our-financial-partners/)
Physics (/physics/)
Investors (/our-investors/)
Chemistry (/chemistry/)
Compliance (/compliance/)
Biology (/biology/)
Careers (/careers-at-byjus/)
JEE 2024 (/jee/jee-2024/)
CIRP (/cirp/)
JEE Advanced 2023 Question Paper with Answers (/jee/jee-
advanced-2023-question-paper/) BYJU'S in Media (/press/)
JEE Main Mock Test (/jee/jee-main-mock-test/) Social Initiative - Education for All
(/educationforall/)
JEE Main 2024 Question Papers with Answers (/jee/jee-main-
2024-question-papers/) BYJU'S APP (/byjus-the-learning-app/)
JEE Main 2023 Question Papers with Answers (/jee/jee-main- FAQ (/faq/)
2023-question-papers/)
Support (/customer-care/)
JEE Advanced 2022 Question Paper with Answers (/jee/jee-
Students Stories - The Learning Tree
advanced-2022-question-paper/)
(https://blog.byjus.com/the-learning-tree/)
NEET 2023 Question Paper (/neet/neet-2023-question-paper/)
Faces of BYJU'S – Life at BYJU'S
NEET 2023 Question Paper Analysis (/neet/neet-2023-question- (https://blog.byjus.com/life-at-byjus/)
paper-analysis/)
Blog (https://blog.byjus.com/)
NEET 2022 Answer Key (/neet/neet-2022-answer-key/)
BYJU'S Give (/give/)
RESOURCES
CAT College Predictor (/free-cat-prep/cat-college-predictor/)
Worksheets (/worksheets/)
BYJU'S Answer (/question-answer/)
DSSL (/about-dssl/)
Home Tuition (/home-tuition/)
All Products (https://shop.byjus.com)
Calculators (/calculators/)
Formulas (/formulas/)
FREE TEXTBOOK SOLUTIONS STATE BOARDS
(/textbook-solutions/) Maharashtra (/msbshse/)
NCERT Solutions (/ncert-solutions/)
Gujarat (/gseb/)
NCERT Exemplar (/ncert-exemplar/)
Tamil Nadu (/tn-board/)
NCERT Solutions for Class 6 (/ncert-solutions-class-6/)
Karnataka (/kseeb/)
NCERT Solutions for Class 7 (/ncert-solutions-class-7/)
Kerala (/kbpe/)
NCERT Solutions for Class 8 (/ncert-solutions-class-8/)
Andhra Pradesh (/ap-board/)
NCERT Solutions for Class 9 (/ncert-solutions-class-9/)
Telangana (/telangana-board/)
https://byjus.com/maths/probability-density-function/ 11/12
11/11/24, 11:31 AM Probability Density Function (PDF) - Definition, Formula, Graph, Example
NCERT Solutions for Class 10 (/ncert-solutions-class-10/) Uttar Pradesh (/upmsp/)
NCERT Solutions for Class 11 (/ncert-solutions-class-11/) Bihar (/bihar-board/)
NCERT Solutions for Class 11 English (/ncert-solutions-class-11- Rajasthan (/rajasthan-board/)
english/)
Madhya Pradesh (/mp-board/)
NCERT Solutions for Class 12 English (/ncert-solutions-class-12-
West Bengal (/west-bengal-board/)
english/)
NCERT Solutions for Class 12 (/ncert-solutions-class-12/)
RD Sharma Solutions (/rd-sharma-solutions/)
RD Sharma Class 10 Solutions (/rd-sharma-class-10-solutions/)
ICSE Selina Solutions (/icse/selina-solutions/)
FOLLOW US
(https://www.facebook.com/byjuslearningapp/) (https://in.linkedin.com/company/byjus)
Disclaimer (/disclaimer/) Privacy Policy (/tnc_app/#privacydesc)
Terms of Services (/tnc_app/#tncdesc) Sitemap (/sitemap.xml)
© 2024, BYJU'S. All rights reserved.
https://byjus.com/maths/probability-density-function/ 12/12