Analyzing a Continuous Random Variable in a Coin-Operated Target Game

Click For Summary

Homework Help Overview

The discussion revolves around a continuous random variable, X, representing the distance between a point target and a shot in a coin-operated target game. The probability density function (pdf) is defined, and participants are tasked with finding the normalization constant k, the cumulative distribution function (cdf), the probability of X falling within a specific range, and the expected distance.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the calculation of the normalization constant k through integration of the pdf over its defined range.
  • There are attempts to derive the cdf from the pdf, with some participants suggesting that integration should be carried out explicitly.
  • Questions arise regarding the computation of probabilities and expected values, particularly whether the correct form of the expected value is being used.
  • Some participants express uncertainty about the limits of integration and the implications of using absolute values in calculations.

Discussion Status

The discussion is ongoing, with various interpretations and calculations being explored. Some participants have provided guidance on correcting arithmetic errors and clarifying the nature of expected values. However, there is no explicit consensus on the final answers or methods to be used.

Contextual Notes

Participants are working under the constraints of homework rules, which may limit the amount of direct assistance they can provide to one another. There is also a focus on ensuring that assumptions about the random variable and its properties are critically examined.

toothpaste666
Messages
517
Reaction score
20

Homework Statement


Suppose the distance X between a point target and a shot aimed at the point in a coin-operated target game is a continuous random variable with pdf

f(x) = { k(1−x^2), −1≤x≤1
0, otherwise.

(a) Find the value of k.

(b) Find the cdf of X.

(c) Compute P (−.5 < X ≤ .5).

(d) Find the expected distance between a point target and a shot aimed.

The Attempt at a Solution


a) [itex]k\int_{-1}^1(1-x^2)dx[/itex]

[itex]= k[\int_{-1}^1dx-\int_{-1}^1x^2dx][/itex]

[itex]= k[x\Big|_{-1}^1-\frac{1}{3}x^3\Big|_{-1}^1][/itex]

= k(2-2/3) = 1

k(4/3) = 1

k = 3/4b) [itex]\frac{3}{4} \int_{-1}^X(1-x^2)dx[/itex]c) [itex]\frac{3}{4}[x\Big|_{-.5}^{.5}-\frac{1}{3}x^3\Big|_{-.5}^{.5}][/itex]

= (3/4)(1-(1/3)[2(1/3)(1/8)])

= (3/4)(1-1/36)
= .7292

d) [itex]\frac{3}{4}\int_{-1}^1x(1-x^2)dx[/itex]

[itex]=\frac{3}{4}\int_{-1}^1(x-x^3)dx[/itex]

[itex]= \frac{3}{4}[\int_{-1}^1xdx-\int_{-1}^1x^3dx][/itex]

[itex]= \frac{3}{4}[\frac{1}{2}x^2\Big|_{-1}^1-\frac{1}{4}x^4\Big|_{-1}^1][/itex]

= 0am I doing this right?
 
Physics news on Phys.org
For b), instead of expressing the cdf as an integral, you should actually carry out the integration and express the cdf as a function of X.
 
toothpaste666 said:

Homework Statement


Suppose the distance X between a point target and a shot aimed at the point in a coin-operated target game is a continuous random variable with pdf

f(x) = { k(1−x^2), −1≤x≤1
0, otherwise.

(a) Find the value of k.

(b) Find the cdf of X.

(c) Compute P (−.5 < X ≤ .5).

(d) Find the expected distance between a point target and a shot aimed.

The Attempt at a Solution


a) [itex]k\int_{-1}^1(1-x^2)dx[/itex]

[itex]= k[\int_{-1}^1dx-\int_{-1}^1x^2dx][/itex]

[itex]= k[x\Big|_{-1}^1-\frac{1}{3}x^3\Big|_{-1}^1][/itex]

= k(2-2/3) = 1

k(4/3) = 1

k = 3/4b) [itex]\frac{3}{4} \int_{-1}^X(1-x^2)dx[/itex]c) [itex]\frac{3}{4}[x\Big|_{-.5}^{.5}-\frac{1}{3}x^3\Big|_{-.5}^{.5}][/itex]

= (3/4)(1-(1/3)[2(1/3)(1/8)])

= (3/4)(1-1/36)
= .7292

d) [itex]\frac{3}{4}\int_{-1}^1x(1-x^2)dx[/itex]

[itex]=\frac{3}{4}\int_{-1}^1(x-x^3)dx[/itex]

[itex]= \frac{3}{4}[\int_{-1}^1xdx-\int_{-1}^1x^3dx][/itex]

[itex]= \frac{3}{4}[\frac{1}{2}x^2\Big|_{-1}^1-\frac{1}{4}x^4\Big|_{-1}^1][/itex]

= 0am I doing this right?

Not for (d), no. You computed ##E X##, but what is wanted is ##E |X|##. Also, I get a different answer for (c).
 
for part b)
[itex]F(X) = \frac{3}{4}[x\Big|_{-1}^X-\frac{1}{3}x^3\Big|_{-1}^X][/itex]

[itex]F(X) = \frac{3}{4} [(X+1) - \frac{1}{3} (X^3 +1)][/itex]

[itex]F(X) = \frac{3}{4}[X + 1 - \frac{X^3}{3} - \frac{1}{3}][/itex]

[itex]F(X) = \frac{3}{4}[X - \frac{X^3}{3} + \frac{2}{3}][/itex]

[itex]F(X) = \frac{3X}{4} - \frac{X^3}{4} + \frac{1}{2}[/itex]

part c) I made a arithmetic error. it comes down to (3/4)(11/12) = .6875

part d)
I am not quite sure how to do this. plugging in |x| wherever there is an x gives me the same answer. should I switch the limits of integration from 0 to 2 instead of -1 to 1?
 
toothpaste666 said:
for part b)
[itex]F(X) = \frac{3}{4}[x\Big|_{-1}^X-\frac{1}{3}x^3\Big|_{-1}^X][/itex]

[itex]F(X) = \frac{3}{4} [(X+1) - \frac{1}{3} (X^3 +1)][/itex]

[itex]F(X) = \frac{3}{4}[X + 1 - \frac{X^3}{3} - \frac{1}{3}][/itex]

[itex]F(X) = \frac{3}{4}[X - \frac{X^3}{3} + \frac{2}{3}][/itex]

[itex]F(X) = \frac{3X}{4} - \frac{X^3}{4} + \frac{1}{2}[/itex]

part c) I made a arithmetic error. it comes down to (3/4)(11/12) = .6875

part d)
I am not quite sure how to do this. plugging in |x| wherever there is an x gives me the same answer. should I switch the limits of integration from 0 to 2 instead of -1 to 1?

No. Without doing any calculations you can see why ##EX = 0##: it is because ##x f(x)## is an odd function on ##[-1,1]## so integrates to zero automatically. That is NOT the case for ##|x| f(x)##, because this not now an odd function on ##[-1,1]##. I won't say any more.
 
d) [itex]\frac{3}{4}\int_{-1}^1|x|(1-x^2)dx[/itex]

[itex]=\frac{3}{4}\int_{-1}^1(|x|-|x|x^2)dx[/itex]

[itex]= \frac{3}{4}[\int_{-1}^1|x|dx-\int_{-1}^1|x|x^2dx][/itex]

[itex]= \frac{3}{4}[-\int_{-1}^0xdx + \int_0^1xdx-\int_{-1}^0x^3dx + \int_0^1x^3dx][/itex]

[itex]= \frac{3}{4}[-\frac{1}{2}x^2\Big|_{-1}^0 +\frac{1}{2}x^2\Big|_0^1-\frac{1}{4}x^4\Big|_{-1}^0 +\frac{1}{4}x^4\Big|_0^1][/itex]

= (3/4) [(1/2) + (1/2) + (1/4) + (1/4)]
= (3/4)(3/2) = 9/8 = 1.125
 
toothpaste666 said:
d) [itex]\frac{3}{4}\int_{-1}^1|x|(1-x^2)dx[/itex]

[itex]=\frac{3}{4}\int_{-1}^1(|x|-|x|x^2)dx[/itex]

[itex]= \frac{3}{4}[\int_{-1}^1|x|dx-\int_{-1}^1|x|x^2dx][/itex]

[itex]= \frac{3}{4}[-\int_{-1}^0xdx + \int_0^1xdx-\int_{-1}^0x^3dx + \int_0^1x^3dx][/itex]

[itex]= \frac{3}{4}[-\frac{1}{2}x^2\Big|_{-1}^0 +\frac{1}{2}x^2\Big|_0^1-\frac{1}{4}x^4\Big|_{-1}^0 +\frac{1}{4}x^4\Big|_0^1][/itex]

= (3/4) [(1/2) + (1/2) + (1/4) + (1/4)]
= (3/4)(3/2) = 9/8 = 1.125

This cannot possibly be right: ##|X| \leq 1## for all non-zero probability values, so ##E|X| \leq 1## (and, in fact, ##E|X| < 1## strictly).
 
in that case I am lost =[
 

Similar threads

Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K