if magma with different compositions happen to come in contact with one another, they could mix together. the mixed magma will have a composition somewhere between that that of the original two magma compositions. Evidence for mixing is often preserved in the resulting rocks.