Engineering MathematicsVery hardGATE CSE
A walker on the integers 0, 1, …, 9 starts at 4. At each step it moves +1, −1 or stays put, each with probability 1/3. The walk stops on reaching 0 or 9. What is the expected number of steps until it stops?
- A. 20
- B. 24
- C. 45
- D. 30
Correct answer: D. 30
Expected steps for the plain symmetric walk are i(N−i) = 20; staying put 1/3 of the time stretches every move by 3/2, giving 20·(3/2) = 30.
Practise more Engineering Mathematics (GATE) questionsEngineering Mathematics (GATE): notes and key points
More Engineering Mathematics (GATE) questions
- A Markov chain on states 1–4 has transition matrix with rows (1/2, 1/2, 0, 0), (1/4, 1/4, 1/2, 0), (0, 1/5, 2/5, 2/5) and (1/2, 0, 0…
- A permutation of {1, 2, …, 8} is chosen uniformly at random. What is the expected number of cycles of length at least 3 in its cycle…
- Four fair dice are rolled and their sum is observed to be 14. What is the probability that the largest value shown is 6?
- Let B = [[1, 2], [3, 0]]. What is the trace of B⁷?
- Let A be the 7 × 7 real matrix with entries Aᵢⱼ = (i − j)². What is the rank of A?
- What is the dimension (over ℝ) of the space of all real 5 × 5 matrices X that commute with D = diag(1, 1, 2, 2, 3), i.e. DX = XD?