Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
FailureDistribution
  • See Also
    • ReliabilityDistribution
    • StandbyDistribution
    • ExponentialDistribution
    • WeibullDistribution
    • And
    • Or
    • BooleanCountingFunction
    • BooleanConsecutiveFunction
    • UnateQ
    • SystemModelReliability
  • Related Guides
    • Reliability
    • Derived Statistical Distributions
    • Distributions in Reliability Analysis
    • Probability & Statistics
    • Systems Modeling
    • See Also
      • ReliabilityDistribution
      • StandbyDistribution
      • ExponentialDistribution
      • WeibullDistribution
      • And
      • Or
      • BooleanCountingFunction
      • BooleanConsecutiveFunction
      • UnateQ
      • SystemModelReliability
    • Related Guides
      • Reliability
      • Derived Statistical Distributions
      • Distributions in Reliability Analysis
      • Probability & Statistics
      • Systems Modeling

FailureDistribution[bexpr,{{x1,dist1},{x2,dist2},…}]

represents the failure distribution for a system with events xi having reliability distribution disti where the top event occurs when the Boolean expression bexpr is True and event xi has occurred when xi is True.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Basic Uses  
Structure Functions  
Parametric Lifetime Distributions  
Nonparametric Lifetime Distributions  
Derived Lifetime Distributions  
Applications  
Properties & Relations  
Possible Issues  
Neat Examples  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • ReliabilityDistribution
    • StandbyDistribution
    • ExponentialDistribution
    • WeibullDistribution
    • And
    • Or
    • BooleanCountingFunction
    • BooleanConsecutiveFunction
    • UnateQ
    • SystemModelReliability
  • Related Guides
    • Reliability
    • Derived Statistical Distributions
    • Distributions in Reliability Analysis
    • Probability & Statistics
    • Systems Modeling
    • See Also
      • ReliabilityDistribution
      • StandbyDistribution
      • ExponentialDistribution
      • WeibullDistribution
      • And
      • Or
      • BooleanCountingFunction
      • BooleanConsecutiveFunction
      • UnateQ
      • SystemModelReliability
    • Related Guides
      • Reliability
      • Derived Statistical Distributions
      • Distributions in Reliability Analysis
      • Probability & Statistics
      • Systems Modeling

FailureDistribution

FailureDistribution[bexpr,{{x1,dist1},{x2,dist2},…}]

represents the failure distribution for a system with events xi having reliability distribution disti where the top event occurs when the Boolean expression bexpr is True and event xi has occurred when xi is True.

Details

  • FailureDistribution[bexpr,…] corresponds to a fault tree specification.
  • The Boolean expression bexpr is also known as the structure function for the system.
  • Typical structure functions include:
  • x_(1)∨...∨x_(n)Or gate
    x_(1)∧...∧x_(n)And gate
    TemplateBox[{BooleanCountingFunction, paclet:ref/BooleanCountingFunction}, RefLink, BaseStyle -> {2ColumnTableMod}][{k,n},n]k-out-of-n system
    BooleanConsecutiveFunction[k,n]consecutive-k-out-of-n system
  • The structure function bexpr can be any positive unate Boolean function.
  • UnateQ[bexpr] can be used to test whether a Boolean expression is positive unate.
  • The event reliability distributions disti need to be univariate with PDF[disti,t] zero for t≤0.
  • For FailureDistribution[bexpr,…] with event indicators xi:
  • xiTrueindicates event xi has occurred
    xiFalseindicates event xi has not occurred
  • The CDF at time t for FailureDistribution[bexpr,{{x1,dist1},…}] is given by Probability[bexpr/.{x1->t1≤t,…},{t1dist1,…}].
  • FailureDistribution can be used with such functions as Mean, SurvivalFunction, HazardFunction, and RandomVariate.

Examples

open all close all

Basic Examples  (3)

Define a system whose top event occurs if either of the two events occurs:

Compute the survival function:

Define a system whose top event occurs if both of the underlying events occur:

Compute the survival function:

A structure with both an And and an Or gate:

Distribution functions:

Mean and median time to failure:

The probability that the system fails before time :

Scope  (22)

Basic Uses  (5)

Find the mean time to failure for a system that fails if either of the two events occur:

Find the survival function for a system that fails if both events occur:

Find the SurvivalFunction of a system that fails when two out of three events occur:

Generate random numbers for a system with different event distributions:

Compare the histogram to the PDF:

Model a system with a component that has standby functionality:

Compute the mean time to failure:

Structure Functions  (4)

A system with four events:

A system with three events and a voting gate:

A system that fails if at least three out of four events occur:

Any positive unate Boolean expression can used as a structure function:

Use UnateQ to test whether a Boolean expression is positive unate:

Parametric Lifetime Distributions  (4)

Use any parametric lifetime distribution including LogNormalDistribution:

Numerically compute the mean time to failure:

Compute the mean time to failure as a function of distribution parameters:

When one event occurs substantially later, it determines the system lifetime:

Define two distributions with the same mean time to failure:

Define systems with Or and And gates with these distributions:

Show how the different mean time to failures vary with :

Discrete lifetime distributions can be used:

Calculate the mean time to failure:

Plot the SurvivalFunction:

Nonparametric Lifetime Distributions  (3)

Model airplane glass strength using SmoothKernelDistribution:

Consider a system that fails if either the airplane glass breaks or the other event occurs:

Model events with HistogramDistribution:

Plot the survival function for an Or gate with two and three events:

Model an event directly from data with EmpiricalDistribution:

Plot the survival function when either of two events causes the system to fail:

Derived Lifetime Distributions  (6)

Model events with StandbyDistribution:

Calculate the mean time to failure:

Plot SurvivalFunction:

Complex systems can be modeled in steps:

Find the mean time to failure:

This is equivalent to modeling the whole system at once:

Model an event with StandbyDistribution:

The first of two events to occur causes the top event to occur:

Plot the survival function and compare it with only the standby event:

A system where one event is ParameterMixtureDistribution:

Model a two-component cold standby system with MixtureDistribution:

Use it in FailureDistribution and compute the survival function:

Show equivalence with StandbyDistribution:

OrderDistribution can be used to model lifetimes of events:

Plot SurvivalFunction:

Applications  (6)

Model the risk of not being woken up in the morning. Assume that an old alarm clock is kept as a backup:

The main alarm clock is electrical:

Define the distributions; the rates are failures per year:

Find the probability of not being woken up at some point during the first year:

Mean time to failure in years:

A problem at coal mines is bulldozers falling through bridged voids in coal piles. The bulldozer can be over a void intentionally or unintentionally:

To form a void, there has to be subsurface flow in the coal. This requires removal of coal from below on a conveyor belt, and an open feeder to that belt:

It is also required that no flow occurs on the surface. This can happen if the coal freezes:

Compacted coal can also lead to a non-flowing surface:

The complete fault tree:

Assume the following distributions for the events:

The probability of the main event happening during a year on one coal pile:

For the 337 piles in the United States:

The mean time to the event happening on one pile is roughly 60 years:

An underwater dry maintenance cabin is used to repair pipelines underwater. The mean time to failure in hours for the life support system components and their life distributions are given below:

First model the air supply subsystem:

The exhaust system:

Finally, model the air detection system:

The life support system fails if any of the subsystems fail:

The typical mission time is 24 hours. Compute the probability of survival for a mission:

The mean time to failure is considerably larger than the mission time:

Consider a propulsion system that provides thrust to a vehicle in orbit around the Earth. We model the event of applying thrust after the device has been turned off:

Model the emergency switch:

Failure of the timing relay to open:

The structure for failure of relief valve 1 to close:

The structure for failure of relief valve 2 to close:

The unwanted propulsion occurs if both relief valves fail to close:

Compute the mean time to an unwanted propulsion:

Find the probability of unwanted propulsion occurring during a mission that lasts six months:

A system has the following structure and lifetime distribution:

Find the requirement on the failure rate to avoid failure during a mission of five days with a probability of :

FailureDistribution can be used as a generalized OrderDistribution:

This is equal to OrderDistribution if identical distributions are used:

Properties & Relations  (12)

FailureDistribution uses local names for variables in the input:

Hence, subsequent computations can be done with the original variable name:

The probability that neither of two failure events occur before :

This corresponds to an Or gate:

The probability that both failure events did not occur before :

This corresponds to an And gate:

The probability that no two failure events occur before :

This corresponds to a two-out-of-three voting gate:

An Or gate connecting identical events corresponds to an OrderDistribution:

An And gate connecting identical events corresponds to an OrderDistribution:

A voting gate with identical events corresponds to an OrderDistribution:

The lifetime of Or gate-connected basic events is the minimum of the component lifetimes:

The lifetime of two events connected with an And gate is the maximum of the event lifetimes:

A -out-of- voting gate corresponds to TransformedDistribution with a RankedMin function:

Compare the survival functions:

Exponentially distributed events connected by an Or gate give an exponential top event:

Weibull distributed events connected by an Or gate give a Weibull distributed top event:

FailureDistribution models that if the failure of or occurs, the top event occurs:

ReliabilityDistribution models that both components have to work for the system to work:

Components and working is equivalent to the event of either or failing:

Model that two out of four components need to fail for the system to fail:

This is equal to that three out of four components need to work for the system to work:

Possible Issues  (3)

Component distributions need to have a positive domain:

Use TruncatedDistribution to restrict the domain to positive values only:

Exact or symbolic properties cannot always be computed:

Approximate values can typically still be found:

A FailureDistribution is only well defined for positive unate structure expressions:

Use UnateQ to test whether a Boolean expression is positive unate:

Neat Examples  (1)

To get from one point to another, you have the alternatives of riding a horse, driving a car, driving a tank, or taking the boat. The boat also requires that no sharks are around. Find the mean time to failure:

See Also

ReliabilityDistribution  StandbyDistribution  ExponentialDistribution  WeibullDistribution  And  Or  BooleanCountingFunction  BooleanConsecutiveFunction  UnateQ  SystemModelReliability

Related Guides

    ▪
  • Reliability
  • ▪
  • Derived Statistical Distributions
  • ▪
  • Distributions in Reliability Analysis
  • ▪
  • Probability & Statistics
  • ▪
  • Systems Modeling

History

Introduced in 2012 (9.0)

Wolfram Research (2012), FailureDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/FailureDistribution.html.

Text

Wolfram Research (2012), FailureDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/FailureDistribution.html.

CMS

Wolfram Language. 2012. "FailureDistribution." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FailureDistribution.html.

APA

Wolfram Language. (2012). FailureDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FailureDistribution.html

BibTeX

@misc{reference.wolfram_2025_failuredistribution, author="Wolfram Research", title="{FailureDistribution}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/FailureDistribution.html}", note=[Accessed: 01-May-2026]}

BibLaTeX

@online{reference.wolfram_2025_failuredistribution, organization={Wolfram Research}, title={FailureDistribution}, year={2012}, url={https://reference.wolfram.com/language/ref/FailureDistribution.html}, note=[Accessed: 01-May-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English