Applied mathematics can be a powerful tool in helping predict the genesis and evolution of different types of cancers, a study has found.