You can use the \(\text{ExponentialPDF}\) function to calculate the probability density function (PDF) of the exponential distribution.

You can use the \exponentialp backslash command to insert this function.

The following variants of this function are available:

  • \(\text{real } \text{ExponentialPDF} \left ( \text{<x>}, \text{<}\lambda{>} \right )\)

Where \(x\) and \(\lambda\) are scalar values representing the value of interest and the rate term respectively. Note that this function is defined over the range \(\lambda > 0\) and \(x \geq 0\) will generate a runtime error or return NaN for values for which the function is not defined.

The value is calculated directly using the relation:

\[\text{ExponentialPDF} \left ( x, \lambda \right ) = \lambda e ^ { - \lambda x }\]

The exponential distribution, along with the geometric distribution, has the property that the probability of an event occuring over some interval is independent of the start time of that interval.

\[Pr \left ( T \leq t _ 1 | T \geq t _ 0 \right ) = Pr \left ( 0 \leq T \leq t _ 1 - t _ 0 \right )\]

Where \(0 \leq t _ 0 \leq t _ 1\).

The exponential distribution is often used to model traffic from uncorrelated sources, such as arrival of cars at an intersection or customers into a queue. The exponential distribution is a special case of both the gamma distribution and the Erlang distribution.

The exponential distribution is also often used to model failure rate and is a special case of Weibull distribution.

Figure 131 shows the basic use of the \(\text{ExponentialPDF}\) function.


Figure 131 Example Use Of the ExponentialPDF Function