Accendo Reliability

Your Reliability Engineering Professional Development Site

  • Home
  • About
    • Contributors
    • About Us
    • Colophon
    • Survey
  • Reliability.fm
  • Articles
    • CRE Preparation Notes
    • NoMTBF
    • on Leadership & Career
      • Advanced Engineering Culture
      • ASQR&R
      • Engineering Leadership
      • Managing in the 2000s
      • Product Development and Process Improvement
    • on Maintenance Reliability
      • Aasan Asset Management
      • AI & Predictive Maintenance
      • Asset Management in the Mining Industry
      • CMMS and Maintenance Management
      • CMMS and Reliability
      • Conscious Asset
      • EAM & CMMS
      • Everyday RCM
      • History of Maintenance Management
      • Life Cycle Asset Management
      • Maintenance and Reliability
      • Maintenance Management
      • Plant Maintenance
      • Process Plant Reliability Engineering
      • RCM Blitz®
      • ReliabilityXperience
      • Rob’s Reliability Project
      • The Intelligent Transformer Blog
      • The People Side of Maintenance
      • The Reliability Mindset
    • on Product Reliability
      • Accelerated Reliability
      • Achieving the Benefits of Reliability
      • Apex Ridge
      • Field Reliability Data Analysis
      • Metals Engineering and Product Reliability
      • Musings on Reliability and Maintenance Topics
      • Product Validation
      • Reliability by Design
      • Reliability Competence
      • Reliability Engineering Insights
      • Reliability in Emerging Technology
      • Reliability Knowledge
    • on Risk & Safety
      • CERM® Risk Insights
      • Equipment Risk and Reliability in Downhole Applications
      • Operational Risk Process Safety
    • on Systems Thinking
      • Communicating with FINESSE
      • The RCA
    • on Tools & Techniques
      • Big Data & Analytics
      • Experimental Design for NPD
      • Innovative Thinking in Reliability and Durability
      • Inside and Beyond HALT
      • Inside FMEA
      • Institute of Quality & Reliability
      • Integral Concepts
      • Learning from Failures
      • Progress in Field Reliability?
      • R for Engineering
      • Reliability Engineering Using Python
      • Reliability Reflections
      • Statistical Methods for Failure-Time Data
      • Testing 1 2 3
      • The Manufacturing Academy
  • eBooks
  • Resources
    • Accendo Authors
    • FMEA Resources
    • Glossary
    • Feed Forward Publications
    • Openings
    • Books
    • Webinar Sources
    • Podcasts
  • Courses
    • Your Courses
    • Live Courses
      • Introduction to Reliability Engineering & Accelerated Testings Course Landing Page
      • Advanced Accelerated Testing Course Landing Page
    • Integral Concepts Courses
      • Reliability Analysis Methods Course Landing Page
      • Applied Reliability Analysis Course Landing Page
      • Statistics, Hypothesis Testing, & Regression Modeling Course Landing Page
      • Measurement System Assessment Course Landing Page
      • SPC & Process Capability Course Landing Page
      • Design of Experiments Course Landing Page
    • The Manufacturing Academy Courses
      • An Introduction to Reliability Engineering
      • Reliability Engineering Statistics
      • An Introduction to Quality Engineering
      • Quality Engineering Statistics
      • FMEA in Practice
      • Process Capability Analysis course
      • Root Cause Analysis and the 8D Corrective Action Process course
      • Return on Investment online course
    • Industrial Metallurgist Courses
    • FMEA courses Powered by The Luminous Group
    • Foundations of RCM online course
    • Reliability Engineering for Heavy Industry
    • How to be an Online Student
    • Quondam Courses
  • Calendar
    • Call for Papers Listing
    • Upcoming Webinars
    • Webinar Calendar
  • Login
    • Member Home
  • Barringer Process Reliability Introduction Course Landing Page
  • Upcoming Live Events
You are here: Home / Articles / PDF to CDF with Brief Calculus Refresher

by Fred Schenkelberg 1 Comment

PDF to CDF with Brief Calculus Refresher

PDF to CDF with Brief Calculus Refresher

As you may recall the probability density function describes the behavior of a random variable.

Like a histogram, the PDF when plotted reveals the shape of the distribution. The PDF also has the property that the area under the curve for is one. Another property is the PDF is defined across the entire sample space.

The exponential, Weibull and other distributions have PDFs defined, yet it is possible to have an arbitrary function meet the requirements of a PDF.  Thus the following two functions are possible PDFs.

$$ \large\displaystyle f\left( x \right)=0.25x\text{, where 0}\ge x\ge {\sqrt{8}}\text{, else }f\left( x \right)=0$$

We can check if this function does have an area of 1 over the sample space by integrating from negative to positive infinity.

$$ \large\displaystyle \int_{-\infty }^{\infty }{0.25xdx}$$

And the result should equal one. Yet the function has three regions. Below zero the function equals zero, from zero to 8 f(x) = 0.25x, and above 8 it again equals zero. To integrate this function we use the interval union property and break up the integration into the three regions.

$$ \large\displaystyle \int_{-\infty }^{\infty }{0.25xdx}=\int_{-\infty }^{0}{0.25xdx}+\int_{0}^{\sqrt{8}}{0.25xdx}+\int_{\sqrt{8}}^{\infty }{0.25xdx}$$

Since by the definition of the given PDF the first and last terms are equal to zero this reduces to

$$ \large\displaystyle \int_{-\infty }^{\infty }{0.25xdx}=\int_{0}^{\sqrt{8}}{0.25xdx}$$

This is a definite integral of a variable raised to a power, recall the x is the same as x raised to the first power, x1. In general

$$ \large\displaystyle \int_{a}^{b}{{{x}^{n}}dx}=\left. \frac{{{x}^{n+1}}}{n+1} \right|_{a}^{b}=\frac{{{b}^{n+1}}-{{a}^{n+1}}}{n+1}$$

Thus we can evaluate the PDF to check if the area under the defined curve is equal to one.

$$ \large\displaystyle \int_{0}^{\sqrt{8}}{0.25xdx}=\left. \frac{0.25{{x}^{2}}}{2} \right|_{0}^{\sqrt{8}}=\frac{0.25{{\left( \sqrt{8} \right)}^{2}}-0.25\left( {{0}^{2}} \right)}{2}=0.125\left( 8 \right)=1$$

So, it seems the function is a PDF.

PDF to CDF

Now let’s determine the cumulative distribution function for this PDF.

Well we already kind of did that when checking if the area under the curve equals one. The CDF is the integral of the PDF and in this case is

$$ \large\displaystyle F\left( n \right)=\int_{0}^{n}{0.25xdx}=\left. \frac{0.25{{x}^{2}}}{2} \right|_{0}^{n}=\frac{0.25{{n}^{2}}-0.25\left( {{0}^{2}} \right)}{2}=0.125{{n}^{2}}\text{, where }0\le n\le \sqrt{8}$$

Thus if we wanted to determine the probability of being less than or equal to  2 we can use the CDF function

$$ \large\displaystyle \begin{array}{l}F\left( x \right)=0.125{{x}^{2}}\\F\left( 2 \right)=0.125\left( {{2}^{2}} \right)=0.5\end{array}$$

Hope this worked out example with a touch of  integration helps to refresh your calculus skills.


Related:

The Poisson Distribution (article)

The Normal Distribution (article)

The Exponential Distribution (article)

 

Filed Under: Articles, CRE Preparation Notes, Probability and Statistics for Reliability Tagged With: Statistics distributions and functions

About Fred Schenkelberg

I am the reliability expert at FMS Reliability, a reliability engineering and management consulting firm I founded in 2004. I left Hewlett Packard (HP)’s Reliability Team, where I helped create a culture of reliability across the corporation, to assist other organizations.

« Ready, Fire, Aim Reliability Goal Setting
Chance of Catching a Shift in a Control Chart »

Comments

  1. Lance says

    July 17, 2019 at 9:40 PM

    Hey. This article has numerous mistakes.

    Firstly, 0 <= x = x >= 8.

    Secondly, when you integrate the PDF, you integrate f(x) and not 0.25x. Because, f(x) is not always equal to 0.25x from -ve infinity to +ve infinity.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

CRE Preparation Notes

Article by Fred Schenkelberg

Join Accendo

Join our members-only community for full access to exclusive eBooks, webinars, training, and more.

It’s free and only takes a minute.

Get Full Site Access

Not ready to join?
Stay current on new articles, podcasts, webinars, courses and more added to the Accendo Reliability website each week.
No membership required to subscribe.

[popup type="" link_text="Get Weekly Email Updates" link_class="button" ][display_form id=266][/popup]

  • CRE Preparation Notes
  • CRE Prep
  • Reliability Management
  • Probability and Statistics for Reliability
  • Reliability in Design and Development
  • Reliability Modeling and Predictions
  • Reliability Testing
  • Maintainability and Availability
  • Data Collection and Use

© 2025 FMS Reliability · Privacy Policy · Terms of Service · Cookies Policy