I detta arbete studeras medianers utveckling där utgångspunkten är tre iden tiska permutationer, vilka vi kallar för startpermutationer. Dessa utvecklas genom slumpmässiga granntranspositioner respektive transpositioner. Syftet är att undersöka sannolikheten för att startpermutationen inte är en median till de tre utvecklade permutationerna efter ett givet antal tidssteg. Medi aner till permutationer har tillämpningar inom evolutionslära, eftersom de kan användas för att hitta den närmsta gemensamma förfadern till arter och på så sätt bidra till att bygga upp evolutionära släktträd. För små tidssteg härleds exakta sannolikheter genom falluppdelningar. För större tidssteg stu deras sannolikhetens beteende approximativt samt genom numeriska simule ringar implementerade i MATLAB. Resultaten visar att startpermutationen förlorar sin medianegenskap snabbare under granntranspositioner än under transpositioner, sett till antalet tidssteg.
This thesis studies the evolution of medians, starting from three identical per mutations, which we refer to as starting permutations. These evolve through random adjacent transpositions and transpositions, respectively. The aim is to investigate the probability that the starting permutation is not a median of the three evolved permutations after a given number of time steps. Medi ans of permutations have applications in evolutionary theory, as they can be used to identify the closest common ancestor of species and thereby contribu te to the construction of evolutionary trees. For small numbers of time steps, exact probabilities are derived through case distinctions. For larger numbers of time steps, the behavior of the probability is studied using approximations as well as numerical simulations implemented in MATLAB. The results show that the starting permutation loses its median property after fewer time steps under adjacent transpositions than under transpositions.