- 2068 Jestha (old course) · 6 marks
Continuous variable with density 6x(1−x)
Short answer
f(x)=6x(1−x) for 0<x<1 is a valid pdf (integral=1). Mean = 0.5, variance = 0.05. For example, P(0.25<X<0.75)=0.6875.
A continuous random variable X has the density function f(x) = 6x(1 − x), 0 < x < 1; 0 elsewhere. [The task asked of this density is not visible in the scan.]
The task asked of this density is not legible in the question. The standard parts of such a question (check that it is a pdf, find the mean and variance, find a probability) are answered below.
f(x) = 6x(1 − x) = 6x − 6x², 0 < x < 1
Check that f(x) is a pdf
- f(x) ≥ 0 for 0 < x < 1.
- ∫₀¹ (6x − 6x²) dx = [3x² − 2x³]₀¹ = 3 − 2 = 1.
Distribution function
F(x) = ∫₀ˣ (6t − 6t²) dt = 3x² − 2x³, 0 < x < 1
Mean
E(X) = ∫₀¹ x(6x − 6x²) dx = ∫₀¹ (6x² − 6x³) dx = [2x³ − 1.5x⁴]₀¹ = 0.5
Variance
E(X²) = ∫₀¹ (6x³ − 6x⁴) dx = [1.5x⁴ − 1.2x⁵]₀¹ = 0.3
Variance = 0.3 − (0.5)² = 0.05, standard deviation = 0.2236
Sample probabilities
- P(X < 0.5) = F(0.5) = 3(0.25) − 2(0.125) = 0.5
- P(0.25 < X < 0.75) = F(0.75) − F(0.25) = 0.84375 − 0.15625 = 0.6875
Answer: valid pdf; mean = 0.5, variance = 0.05; P(0.25 < X < 0.75) = 0.6875.
✓ Answer checked by Claude Sonnet 5.5
Related questions
- Continuous random variable; pdf properties · Probability and Statistics, chapter 3
- Discrete and continuous random variables · Probability and Statistics, chapter 2
- Scan-line method of visible surface · Computer Graphics, chapter 7 · asked 3×
- Moments of random variable; NEB of RC-LPF; output noise power · Communication Systems, chapter 9
- Random scan versus raster scan display · Computer Graphics, chapter 1 · asked 7×
- Linked list has no random access · Data Structure and Algorithm, chapter 4