Сайгид долго объяснять посмотри тут http://www.cleverstudents.ru/solving_systems_of_linear_equations.html