Engineering MathematicsVery hardGATE CS (PYQ pattern)
A uniformly random arrangement of ten distinct numbers a₁, …, a₁₀ is given. Let N be the number of interior positions i (2 ≤ i ≤ 9) with aᵢ larger than both neighbours. What is E[N]?
- A. 5/2
- B. 3
- C. 10/3
- D. 8/3
Correct answer: D. 8/3
For each interior position, the largest of the three values aᵢ₋₁, aᵢ, aᵢ₊₁ is equally likely to be in any place: probability 1/3. By linearity E[N] = 8/3.
Practise more Engineering Mathematics (GATE) questionsEngineering Mathematics (GATE): notes and key points
More Engineering Mathematics (GATE) questions
- What is the variance of the number of inversions of a uniformly random permutation of 4 elements?
- A uniformly random permutation σ of {1, …, 6} is chosen. What is the probability that σ² is the identity?
- A data set x₁, …, xn has variance 4. The values are transformed to yᵢ = 3xᵢ − 4. What is the variance of the y-values?
- What is Σ (n = 1 to ∞) n²/(n + 1)!?
- Let A be the 6×6 real matrix with aij = ij + i + j. What is rank(A)?
- A is the 3×3 matrix with entries 1, 2, 3 / 4, 5, 6 / 7, 8, 9 in row order. What is trace(AᵀA)?