Mathematics for Algorithm and Systems Analysis