Question Video: Using Probability Density Function of Continuous Random Variable to Evaluate an Unknown | Nagwa Question Video: Using Probability Density Function of Continuous Random Variable to Evaluate an Unknown | Nagwa

Question Video: Using Probability Density Function of Continuous Random Variable to Evaluate an Unknown Mathematics

Let 𝑋 be a continuous random variable with probability density function 𝑓(π‘₯) = π‘Žπ‘₯ if 1 ≀ π‘₯ ≀ 5 and 𝑓(π‘₯) = 0 otherwise. Determine the value of π‘Ž.

03:25

Video Transcript

Let 𝑋 be a continuous random variable with probability density function 𝑓 of π‘₯ is equal to π‘Žπ‘₯ if one is less than or equal to π‘₯ is less than or equal to five and zero otherwise. Determine the value of π‘Ž.

In this example, we’re given that 𝑓 of π‘₯ is a probability density function of a continuous random variable. And we’re asked to find the constant π‘Ž. To do this, let’s recall the properties of a probability density function. 𝑓 of π‘₯ is a probability density function if 𝑓 of π‘₯ is greater than or equal to zero for all values of π‘₯ and the total area under the graph of 𝑦 is equal to 𝑓 of π‘₯ is equal to one. So let’s begin by examining the first condition; that’s the positivity condition.

We know that 𝑓 of π‘₯ is equal to zero outside of the interval one to five. And this means that our first condition is satisfied for π‘₯ not in the interval one to five. For π‘₯ inside the interval one to five, we know that 𝑓 of π‘₯ is equal to π‘Žπ‘₯. We know that π‘₯ is greater than zero in this interval. And so π‘Ž also must be greater than or equal to zero, since 𝑓 is a probability density function. Our first condition then requires that π‘Ž is greater than or equal to zero. Now let’s look at our second condition, which tells us that the total area under the graph of 𝑦 is 𝑓 of π‘₯ is one. In order to satisfy this condition, we see that π‘Ž cannot be equal to zero, since if π‘Ž is equal to zero, 𝑓 of π‘₯ is equal to zero for all π‘₯. This in turn means that the area would be equal to zero.

Hence, to satisfy the second condition that the total area is equal to one, we cannot have π‘Ž equal to zero. This means that π‘Ž must be greater than zero. And since 𝑓 of π‘₯ is equal to π‘Žπ‘₯ for π‘₯ between one and five, the graph of 𝑓 of π‘₯ over the interval one to five must be a straight line with a positive slope. Now, from this graph, we see that the area under the graph is a trapezoid. And we recall that the area of a trapezoid is one over two multiplied by the sum of the lengths of the base and the top multiplied by the height. And so to find the area of this trapezoid, that’s the area under the curve, we must find the lengths of the base, the top, and the height.

To do this, we begin by finding the coordinates of the vertices of the trapezoid. And to do this, we substitute π‘₯ is equal to one and π‘₯ is equal to five into our function 𝑓 of π‘₯. 𝑓 of one is equal to π‘Ž multiplied by one, which is equal to π‘Ž. And 𝑓 of five is equal to π‘Ž multiplied by five, which is five π‘Ž. And this gives us the coordinates of our vertices, which are one, π‘Ž and five, five π‘Ž. And so the top of our trapezoid has a length π‘Ž and the base has a length five π‘Ž.

The height of our trapezoid is the length that lies along the π‘₯-axis. That is five minus one, which is four. And so we have the top π‘Ž, the base five π‘Ž, and the height four, which we can now substitute into the formula for the area of the trapezoid. And so we have the area is one over two multiplied by five π‘Ž plus π‘Ž multiplied by four. That is two multiplied by six π‘Ž, which is 12π‘Ž.

Now to satisfy our second condition, 12π‘Ž must be equal to one because that’s the area. Dividing both sides by 12, we can solve for π‘Ž. And so the value of π‘Ž is equal to one over 12.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy