Application of the Concept of Linear Equation Systems in Balancing Chemical Reaction Equations

This study discusses the equalization of chemical reactions using a system of linear equations with the Gaussian and GaussJordan elimination. The results show that there is contradiction in the existing methods for balancing chemical reactions. This study also aims to criticize several studies that say that the equalization of the reaction coefficient can use a system of linear equations. In this paper, the chemical equations were balanced by representing the chemical equation into systems of linear equations. Particularly, the Gauss and Gauss-Jordan elimination methods were used to solve the mathematical problem with this method, it was possible to handle any chemical reaction with given reactants and products.


Introduction
Balancing of the chemical equation is one of the initial subjects taught in most preliminary chemistry courses (Hamid, 2019). A large number of research articles have been written on this topic for last two decades. It draws much attention of chemists who feel very difficult in the case of balancing typical chemical reaction equations (Hari Krishna et al., 2020). Balancing chemical reactions is an amazing subject matter for mathematics and chemistry students who want to see the power of linear algebra as a scientific discipline. Mass balance of chemical reactions is one of the most highly studied topics in chemical education (Risteski, 2012). This topic always draws the attention of students and teachers, but it is never a finished product. Because of its importance in chemistry and mathematics, there are several articles devoted to the subject. However, here we will not provide a historical perspective about this topic, because it has been done in so many previous publications (Risteski, 2014).
Algebra is a branch of science that discusses problems in the field of mathematics, one of which is the matrix. Matrix applications can be used to solve various kinds of solutions, for example in solving systems of linear equations, both systems of real linear equations and systems of complex linear equations (Aryani and Rizkiani, 2016). However, the system of linear equations that will be discussed in this study is a system of real linear equations. Several methods that are often used to solve systems of linear equations are the Gaussian and Gauss-Jordan elimination methods. Research on this method has been carried out, including research on (Baier et al., 2020;Ding and Schroeder, 2020;Schork and Gondzio, 2020;Pan and Zhao, 2017;Alonso et al., 2010;Geng et al., 2013). Then some research on Gauss-Jordan elimination can be seen in (David, 2016;Ma and Li, 2017;Anzt et al., 2018;Sheng, 2018), Based on the explanation and research, this paper focuses on balancing chemical reactions using a system of linear equations with the Cramer method and Gauss-Jordan elimination to see that a system of linear equations can be used to find the coefficient of each compound in chemical reaction equations.

Linear Equation System
Definition of a linear equation: In general, a linear equation in n variable 12 , ,..., .
If viewed from the form of a system of linear equations in equation (1), it can also be expressed as Where A is the coefficient matrix of a system of linear equations.

The Gaussian Elimination
The algorithms consist of following three major steps If 0 is located on the diagonal, switch the rows until a nonzero is in that place. If shifting of row not possible then system has either infinite or no solution (Trivedi et al., 2017).

The Gauss-Jordan Elimination
In the Gauss elimination method, the coefficient matrix was reduced to an upper triangular matrix and the backward substitution was applied. In Gauss-Jordan elimination method the matrix is reduced into a diagonal matrix. At all steps of Gauss elimination method, the elimination is done not only for the lower diagonal entries but also the upper diagonal entries. Consider the system of linear equation Where ij a and ,1 ij a  are known constant and i x are unknowns. The system is equivalent to  AX B . Where A is augmented matrix and X is column vector of unknown variable and B is Column Vector of Constant known as Constant vector. The general procedure for Gauss Jordan elimination can be summarized in the following steps.

Read the Augment matrix A. 2. Reduce the augmented matrix [A/b] to the transform A into diagonal form (pivoting).
3. Divide right-hand side's elements as well as diagonal elements by the diagonal elements in the row, which will make each diagonal element equal to one.
If 0 is located on the diagonal, switch the rows until a non-zero is in that place. If you are unable to do so, stop; the system has either infinite or no solution (Trivedi et al., 2017).

Results and Discussion
Problem 1. Balance the following chemical reaction 4 10 2 2 2 Solution.
The equation to balance is identified. This chemical reaction consists of three elements: Carbon(C); Hydrogen (H); Oxygen (O). The equation to balance is identified our task is to assign the unknowns coefficients 1 2 3 4 ( , , , ) x x x x to each chemical species. A balance equation can be written for each of these elements: First, note that there are four unknowns, but only three equations. The system is solved by Gauss elimination method as follows: The matrix is now in a reduced line-echelon form, or by another name, it is called Gauss-Jordan Elimination. The last matrix is of reduced row echelon form, so we obtain that the solution of the system of linear equations is: Where 4 x a free variable, particular solution is can then obtain by assigning values to the 4 x , for instance 4 x = 10 We can represent the solution set as: The chemical reaction equation that we get based on the variables that we have been looking for is

Solution.
The equation to balance is identified. This chemical reaction consists of three elements: Carbon(C); Hydrogen (H); Oxygen (O). The equation to balance is identified our task is to assign the unknowns coefficients 1 2 3 4 ( , , , ) x x x x to each chemical species. A balance equation can be written for each of these elements: Three simultaneous linear equations in four unknown corresponding to each of these elements. Then, the algebraic representation of the balanced Carbon (C): 1 First, note that there are four unknowns, but only three equations. The system is solved by Gauss elimination method as follows: The matrix is now in a reduced line-echelon form, or by another name, it is called Gauss-Jordan Elimination. The last matrix is of reduced row echelon form, so we obtain that the solution of the system of linear equations is: Where 4 x a free variable, particular solution is can then obtain by assigning values to the 4 x , for instance 4 x = 10 We can represent the solution set as:

Conclussion
From the research, it appears that the Gauss and Gauss-Jordan methods are not suitable to be applied to balancing chemical reactions. It sees from the calculation results that do not give results following the chemical reaction equivalence. This is in contradiction with previous studies that say that methods can be used. Suggestions for other researchers are to use another method or the same method is modified.