Linear equations and formulas