GATE Exam  >  GATE Questions  >  The variance of the random variable X with pr... Start Learning for Free
The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.
  • a)
    6
  • b)
    12
  • c)
    5
  • d)
    15
Correct answer is option 'A'. Can you explain this answer?
Verified Answer
The variance of the random variable X with probability density functio...
Given, f(x) = 1/2 |x|e-|x|
By definition, variance is
dx since it is an odd function, we get
Hence,
V(x) = 6 - (0)2
= 6.
View all questions of this test
Most Upvoted Answer
The variance of the random variable X with probability density functio...
Given:
- Probability density function: f(x) = 1/2 |x|e-|x|

To find:
- Variance of the random variable X

Solution:
The variance of a random variable X is given by the formula:

Var(X) = E(X^2) - [E(X)]^2

where E(X) is the expected value of X.

Step 1: Calculate the expected value E(X)
To calculate the expected value E(X), we integrate X multiplied by the probability density function f(x) over the entire range of X.

E(X) = ∫(x * f(x)) dx

Step 1.1: Determine the range of X
Since the probability density function is defined as f(x) = 1/2 |x|e-|x|, we can see that it is symmetric about the y-axis. Therefore, the range of X is from -∞ to +∞.

Step 1.2: Calculate the expected value E(X)
E(X) = ∫(x * f(x)) dx
= ∫(x * 1/2 |x|e-|x|) dx

To calculate this integral, we can split it into two parts based on the sign of x:
1. For x > 0, the integral becomes:
∫(x * 1/2 xe-x) dx

2. For x < 0,="" the="" integral="" />
∫(x * 1/2 (-x)e-(-x)) dx
= ∫(-x * 1/2 xe-x) dx

Simplifying the integrals, we get:
E(X) = ∫(x * 1/2 xe-x) dx + ∫(-x * 1/2 xe-x) dx
= ∫(x^2 * 1/2 e-x) dx

Now we can integrate by parts. Let u = x^2/2 and dv = e-x dx.
Then du = x dx and v = -e-x.

Using the integration by parts formula:
∫udv = uv - ∫vdu

We can apply this formula to the integral, which gives:
E(X) = [(-x^2/2)e-x] - ∫(-e-x * x) dx
= [(-x^2/2)e-x] + ∫(xe-x) dx
= [(-x^2/2)e-x] + [-xe-x - ∫(-e-x) dx]
= [(-x^2/2)e-x] + [-xe-x + e-x] + C
= e-x (-x^2/2 - x + 1) + C

Step 1.3: Calculate the definite integral
To find the expected value E(X), we need to calculate the definite integral of the expression obtained in the previous step over the range of X.

E(X) = ∫[e-x (-x^2/2 - x + 1)] dx
= ∫e-x (-x^2/2 - x + 1) dx

Since the range of X is from -∞ to +∞,
Explore Courses for GATE exam
The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer?
Question Description
The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer?.
Solutions for The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer?, a detailed solution for The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The variance of the random variable X with probability density function f(x) = 1/2 |x|e-|x| is ___________.a)6b)12c)5d)15Correct answer is option 'A'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev