Show f is a probability density function

saizen21
Messages
3
Reaction score
0

Homework Statement



Let f(x) = (1 + ux)/2 for -1<= x <= 1 and 0 otherwise . where -1<= u <= 1

a) show f is a density


Homework Equations



TO show
1. f(x) >= 0

2. intergeral f (from -infinity to infinity) = 1

The Attempt at a Solution



I have done 2. and proved that it is 1 by taking the intergeral of f.

However, how do u show f >= 0.

i have found the dervavtive of f to be u / 2 for -1<= x <= 1 and 0 otherwise.

I dun know where to go?
 
Physics news on Phys.org
If you've shown f'(x)=u/2 then that means the max and min of f(x) must be at x=(-1) or x=1, the boundaries of your interval. Can you take it from there?
 
is this also possible?

1<=x<=1
-1<=ux<=1
0<=1+ux<=2
0<=(1+ux)/2<=1
therefore its always >= 0
 
saizen21 said:
is this also possible?

1<=x<=1
-1<=ux<=1
0<=1+ux<=2
0<=(1+ux)/2<=1
therefore its always >= 0

That works too.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top