Questions: Example 2
Consider the function f with the rule:
f(x) =
1.5(1-x^2) if 0 ≤ x ≤ 1
0 if x > 1 or x < 0
a Sketch the graph of f.
b Show that f is a probability density function.
c Find Pr(X > 0.5), where the random variable X has probability density function f.
Solution
a For 0 ≤ x ≤ 1, the graph of y=f(x) is part of a parabola with intercepts at (0,1.5) and (1,0).
Transcript text: Example 2
Consider the function $f$ with the rule:
\[
f(x)=\left\{\begin{array}{ll}
1.5\left(1-x^{2}\right) & \text { if } 0 \leq x \leq 1 \\
0 & \text { if } x>1 \text { or } x<0
\end{array}\right.
\]
a Sketch the graph of $f$.
b Show that $f$ is a probability density function.
c Find $\operatorname{Pr}(X>0.5)$, where the random variable $X$ has probability density function $f$.
Solution
a For $0 \leq x \leq 1$, the graph of $y=f(x)$ is part of a parabola with intercepts at $(0,1.5)$ and $(1,0)$.
Solution
Solution Steps
Step 1: Sketch the graph of \( f \)
For \( 0 \leq x \leq 1 \), the function \( f(x) = 1.5(1 - x^2) \) is a downward-opening parabola.
The graph has intercepts at \( (0, 1.5) \) and \( (1, 0) \).
For \( x > 1 \) or \( x < 0 \), \( f(x) = 0 \).
Step 2: Show that \( f \) is a probability density function
A function \( f \) is a probability density function if:
\( f(x) \geq 0 \) for all \( x \).
The integral of \( f(x) \) over all possible values of \( x \) is 1.
For \( 0 \leq x \leq 1 \), \( f(x) = 1.5(1 - x^2) \geq 0 \).