Linear Equations and Applications