GATE CE 2016 · Set-2 · Mean, Median & Mode

MCQ · 2 marks · Problem EM-DSTA-0030

If f(x) and g(x) are two probability density functions,\[f(x)=\left\{\begin{matrix} \frac{x}{a}+1 & :-a\leq x \lt 0\\ -\frac{x}{a}+1 & :0\leq x\leq a\\ 0& : otherwise \end{matrix}\right.\]\[g(x)=\left\{\begin{matrix} -\frac{x}{a} & :-a\leq x \lt 0\\ \frac{x}{a} & :0\leq x\leq a\\ 0& : otherwise \end{matrix}\right.\]Which one of the following statements is true?
  1. A
    Mean of f(x) and g(x) are same; Variance of f(x) and g(x) are same.
  2. B
    Mean of f(x) and g(x) are same; Variance of f(x) and g(x) are different.
  3. C
    Mean of f(x) and g(x) are different; Variance of f(x) and g(x) are same.
  4. D
    Mean of f(x) and g(x) are different; Variance of f(x) and g(x) are different.

Solve it on GATE DA practice →More Statistics & Hypothesis Testing problems

Show the worked solutionMean of f(x) is E(x) \(=\int_{-a}^{0}x\left ( \frac{x}{a}+1 \right )dx+\int_{0}^{a}x\left ( \frac{-x}{a}+1 \right )dx\) \(=\left ( \frac{x^{3}}{3a}+\frac{x^{2}}{2} \right )_{-a}^{0}+\left ( \frac{-x^{3}}{3a}+\frac{x^{2}}{2} \right )_{0}^{a}=0\) Variance of f(x) is \(E\left ( x \right )^{2}-\left \{ E\left ( x \right )^{2} \right \}\) where, \(E\left ( x \right )^{2}=\int_{-a}^{0}x^{2}\left ( \frac{x}{a}+1 \right )dx+\int_{0}^{a}x^{2}\left ( \frac{-x}{a}+1 \right )dx\) \(=\left ( \frac{x^{4}}{4a}+\frac{x^{3}}{3} \right )_{-a}^{0}+\left ( \frac{-x^{4}}{4a}+\frac{x^{3}}{3} \right )_{0}^{a}=\frac{a^{3}}{6}\) \(\Rightarrow \; \;\)Variance is \(\frac{a^{3}}{6}\) Next, mean of g(x) is E(x) \(=\int_{a}^{0}s\left ( \frac{-x}{a} \right )dx+\int_{0}^{a}x\left ( \frac{x}{a} \right )dx=0\) Variance of g(x) is \(E\left ( x^{2} \right )-\left \{ E\left ( x \right )^{2} \right \}\), where, \(E\left ( x^{2} \right )=\int_{-a}^{0}x^{2}\left ( \frac{-x}{a} \right )dx+\int_{0}^{a}x^{2}\left ( \frac{x}{a} \right )dx=\frac{a^{3}}{2}\) \(\Rightarrow \; \;\)Variance is \(\frac{a^{3}}{2}\) \(\therefore\) Mean of f(x) and g(x) are same but variance of f(x) and g(x) are different.

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com