<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">ALAMT</journal-id><journal-title-group><journal-title>Advances in Linear Algebra &amp; Matrix Theory</journal-title></journal-title-group><issn pub-type="epub">2165-333X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/alamt.2016.64014</article-id><article-id pub-id-type="publisher-id">ALAMT-72775</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Using Row Reduced Echelon Form in Balancing Chemical Equations
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>R.</surname><given-names>O. Akinola</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>S.</surname><given-names>Y. Kutchin</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>I.</surname><given-names>A. Nyam</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>O.</surname><given-names>Adeyanju</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Department of Chemistry, Faculty of Natural Sciences, University of Jos, Jos, Nigeria</addr-line></aff><aff id="aff1"><addr-line>Department of Mathematics, Faculty of Natural Sciences, University of Jos, Jos, Nigeria</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>roakinola@yahoo.com(ROA)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>28</day><month>11</month><year>2016</year></pub-date><volume>06</volume><issue>04</issue><fpage>146</fpage><lpage>157</lpage><history><date date-type="received"><day>October</day>	<month>5,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>December</month>	<year>12,</year>	</date><date date-type="accepted"><day>December</day>	<month>15,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In an earlier paper published in the Journal of Natural Sciences Research in 2015 on how to balance chemical equations using matrix algebra, Gabriel and Onwuka showed how to reduce the resulting matrix to echelon form using elementary row operations. However, they did not show how elementary row operations can be used in reducing the resulting echelon matrix to row reduced echelon form. We show that the solution obtained is actually the nullspace of the matrix. Hence, the solution can be infinitely many. In addition, we show that instead of manually using row operations to reduce the matrix to row reduced echelon form, software environments like octave or Matlab can be used to reduce the matrix directly. In all the examples presented in this paper, we reduced all matrices to row reduced echelon form showing all row operations, which was not clearly stated in the Gabriel and Onwuka paper. Most importantly, with the availability of Mathematical software, we show that we do not need to carry out these row operations by brute force.
 
</p></abstract><kwd-group><kwd>Nullspace</kwd><kwd> Chemical Equations</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>According to Risteski [<xref ref-type="bibr" rid="scirp.72775-ref1">1</xref>] , a chemical reaction is an expression showing a symbolic re- presentation of the reactants and products that is usually positioned on the left and right hand sides of a particular chemical reaction. Substances that takes part in a che- mical reaction are represented by their molecular formula and their symbolic repre- sentation is also regarded as a chemical reaction [<xref ref-type="bibr" rid="scirp.72775-ref2">2</xref>] . A chemical reaction can either be reversible or irreversible. These differs from Mathematical equations in the sense that while a single arrow (in the case of an irreversible reaction) or a double arrow points in the forward and backward directions of both the reactants and products (in the case of a reversible reaction) connects chemical reactions [<xref ref-type="bibr" rid="scirp.72775-ref3">3</xref>] , an equality sign links the left and right hand sides of a Mathematical equation. “The quantitative and qualitative know- ledge of the chemical processes which estimates the amount of reactants, predicting the nature and amount of products and determining conditions under which a reaction takes place is important in balancing a chemical reaction. Balancing Chemical reaction is an excellent demonstative and instructive example of the inter-connectedness be- tween Linear Algebra and Stoichiometric principles” [<xref ref-type="bibr" rid="scirp.72775-ref4">4</xref>] .</p><p>If the number of atoms of each type of element on the left is the same as the number of atoms of the corresponding type on the right, then the chemical equation is said to be balanced [<xref ref-type="bibr" rid="scirp.72775-ref3">3</xref>] , otherwise it is not. The qualitative study of the relationship between reactants in a chemical reaction is termed Stoichiometry [<xref ref-type="bibr" rid="scirp.72775-ref5">5</xref>] . Tuckerman [<xref ref-type="bibr" rid="scirp.72775-ref6">6</xref>] mentioned two methods for balancing a Chemical reaction: by inspection and algebraic. The ba- lancing-by-inspection method involves making successive intelligent guesses at making the coefficients that will balance an equation equal and continuing until the equation is balanced [<xref ref-type="bibr" rid="scirp.72775-ref4">4</xref>] . For simple equations, this procedure is straight forward. However, according to [<xref ref-type="bibr" rid="scirp.72775-ref7">7</xref>] , there is need for a “step-by-step” approach which is easily applicable and can be mastered; rather than the haphazard hoping of inspection or a highly refined inspection. In addition, balancing-by-inspection method makes one to believe that there is only one possible solution rather than an infinite number of solutions which the method proposed in this paper illustrates. The algebraic approach circumvents the above loo- pholes provided in the inspection method and can handle complex chemical reac- tions.</p><p>The algebraic approach discussed in [<xref ref-type="bibr" rid="scirp.72775-ref6">6</xref>] , involves putting unknown coefficients in front of each molecular species in the equation and solving for the unknowns. This is then followed by writing down the balance conditions on each element. After which he lets one of the unknowns to be one and takes turns to obtain the coefficients of the remaining unknowns. In the proposed approach, instead of setting one of the unknowns to zero, we write out the set of equations in matrix form, obtain a homogeneous system of equations. Since the system of equations is homogeneous, the solution obtained is in the nullspace of the corresponding matrix. We then perform elementary row operations on the matrix to reduce it to row reduced echelon form. We also show the use of software environments like Matlab/octave to reduce the corresponding matrix to row reduced echelon form using the rref command. This approach surpasses those in [<xref ref-type="bibr" rid="scirp.72775-ref4">4</xref>] ; in the sense that we do not need to manually reduce the matrix to echelon form as shown in that paper. In that paper, they showed how the corresponding matrix is reduced to echelon form but did not use elementary row operations to convert it to row reduced echelon form.</p><p>In the next section, we state two well known results partaining echelon form and row reduced echelon form.</p></sec><sec id="s2"><title>2. Methodolology</title><p>In this section, we state well known results about echelon form and row reduced echelon form. We will not bother about the algorithm as this is readily available in most Linear Algebra textbooks.</p><p>Lemma 2.1.: The number of nonzero rows and columns are the same in any echelon form produced from a given matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x2.png" xlink:type="simple"/></inline-formula> by elementary row operations, irrespective of the sequence of row operations used.</p><p>Given an <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x3.png" xlink:type="simple"/></inline-formula> matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x4.png" xlink:type="simple"/></inline-formula>,</p><p>1. Use Gauss elimination to produce an echelon form from<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x5.png" xlink:type="simple"/></inline-formula>.</p><p>2. Use the bottom-most non zero entry <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x6.png" xlink:type="simple"/></inline-formula> in each leading column of the echelon form, starting with the rightmost leading column and working to the left, so as to eliminate all non-zero entries in that column strictly above that entry one.</p><p>Definition 2.1 An <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x7.png" xlink:type="simple"/></inline-formula> matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x8.png" xlink:type="simple"/></inline-formula> is said to be in row reduced echelon from when:</p><p>1. It is in echelon form (with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x9.png" xlink:type="simple"/></inline-formula> non-zero rows, say)</p><p>2. The <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x10.png" xlink:type="simple"/></inline-formula>th leading column equals<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x11.png" xlink:type="simple"/></inline-formula>, the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x12.png" xlink:type="simple"/></inline-formula>th column of the identity matrix of order<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x13.png" xlink:type="simple"/></inline-formula>, for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x14.png" xlink:type="simple"/></inline-formula>.</p><p>The next result which can be found in [<xref ref-type="bibr" rid="scirp.72775-ref8">8</xref>] , describes the uniqueness of the row reduced echelon form. It is the uniqueness of the row reduced echelon form that makes it a tool for finding the nullspace of a matrix.</p><p>Theorem 2.1 (Row Reduced Echelon Form): Each matrix has precisely one row reduced echelon form to which it can be reduced by elementary row operations, regardless of the actual sequence of operations used to produce it.</p><p>Proof. See [<xref ref-type="bibr" rid="scirp.72775-ref8">8</xref>] .</p></sec><sec id="s3"><title>3. Worked Examples</title><p>Example 3.1.: Rust is formed when there is a chemical reaction between iron and oxygen. The compound that is formed is a reddish-brown scales that cover the iron object. Rust is an iron oxide whose chemical formula is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x15.png" xlink:type="simple"/></inline-formula>, so the chemical for- mula for rust is</p><disp-formula id="scirp.72775-formula1"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x16.png"  xlink:type="simple"/></disp-formula><p>Balance the equation.</p><p>In balancing the equation, let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x17.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x18.png" xlink:type="simple"/></inline-formula> be the unknown variables such that</p><disp-formula id="scirp.72775-formula2"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x19.png"  xlink:type="simple"/></disp-formula><p>We compare the number of Iron (Fe) and Oxygen (O) atoms of the reactants with the number of atoms of the product. We obtain the following set of equations:</p><disp-formula id="scirp.72775-formula3"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x20.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula4"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x21.png"  xlink:type="simple"/></disp-formula><p>The homogeneous system of equations becomes</p><disp-formula id="scirp.72775-formula5"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x22.png"  xlink:type="simple"/></disp-formula><p>From the above, the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x23.png" xlink:type="simple"/></inline-formula> is already in the echelon form<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x24.png" xlink:type="simple"/></inline-formula>, with two pivots 1 and 2 but not in row reduced echelon form, even though there is a zero above the second pivot 2. However, to reduce it to row reduced echelon form<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x25.png" xlink:type="simple"/></inline-formula>; all the pivots</p><p>must be one. Hence, we replace row two with half row two, that is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x26.png" xlink:type="simple"/></inline-formula> to yield,</p><disp-formula id="scirp.72775-formula6"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-2230114x27.png"  xlink:type="simple"/></disp-formula><p>Thus, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x28.png" xlink:type="simple"/></inline-formula>becomes</p><disp-formula id="scirp.72775-formula7"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x29.png"  xlink:type="simple"/></disp-formula><p>Upon expanding, we have</p><disp-formula id="scirp.72775-formula8"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x30.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula9"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x31.png"  xlink:type="simple"/></disp-formula><p>the nullspace solution</p><disp-formula id="scirp.72775-formula10"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x32.png"  xlink:type="simple"/></disp-formula><p>There are three pivot variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x33.png" xlink:type="simple"/></inline-formula> and one free variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x34.png" xlink:type="simple"/></inline-formula>. If we choose<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x35.png" xlink:type="simple"/></inline-formula>, then<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x36.png" xlink:type="simple"/></inline-formula>. To avoid fractions, we can also let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x37.png" xlink:type="simple"/></inline-formula>, so that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x38.png" xlink:type="simple"/></inline-formula> and</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x39.png" xlink:type="simple"/></inline-formula>. We remark that these are not the only solutions since there is a free variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x40.png" xlink:type="simple"/></inline-formula>, the nullspace solution is infinitely many. Therefore, the chemical equation can be balanced as</p><disp-formula id="scirp.72775-formula11"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x41.png"  xlink:type="simple"/></disp-formula><p>or</p><disp-formula id="scirp.72775-formula12"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x42.png"  xlink:type="simple"/></disp-formula><p>Example 3.2.: Ethane <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x43.png" xlink:type="simple"/></inline-formula> burns in oxygen to produce carbon (IV) oxide <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x44.png" xlink:type="simple"/></inline-formula> and steam. The steam condenses to form droplets of water viz;</p><disp-formula id="scirp.72775-formula13"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x45.png"  xlink:type="simple"/></disp-formula><p>balance the equation.</p><p>Let the unknowns be <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x46.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x47.png" xlink:type="simple"/></inline-formula>, such that</p><disp-formula id="scirp.72775-formula14"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x48.png"  xlink:type="simple"/></disp-formula><p>We compare the number of Carbon (C), Hydrogen (H) and Oxygen (O) atoms of the reactants with the number of atoms of the products. We obtain the following set of equations:</p><disp-formula id="scirp.72775-formula15"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x49.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula16"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x50.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula17"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x51.png"  xlink:type="simple"/></disp-formula><p>In homogeneous form,</p><disp-formula id="scirp.72775-formula18"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x52.png"  xlink:type="simple"/></disp-formula><p>In the first step of elimination, replace row two by row two minus three times row one, i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x53.png" xlink:type="simple"/></inline-formula>to yield,</p><disp-formula id="scirp.72775-formula19"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x54.png"  xlink:type="simple"/></disp-formula><p>Exchange row two with row three or vice versa to reduce <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x55.png" xlink:type="simple"/></inline-formula> to echelon form<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x56.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.72775-formula20"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x57.png"  xlink:type="simple"/></disp-formula><p>In the next set of operations that we will carry out to reduce <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x58.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x59.png" xlink:type="simple"/></inline-formula>, we perform row operations that will change the entries above the pivots to zero; Replace row one by three times row two plus two times row three i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x60.png" xlink:type="simple"/></inline-formula>and replace row one with three times row one plus row three <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x61.png" xlink:type="simple"/></inline-formula> to yield</p><disp-formula id="scirp.72775-formula21"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x62.png"  xlink:type="simple"/></disp-formula><p>The last operation that will give us<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x63.png" xlink:type="simple"/></inline-formula>, is to reduce all the pivots to unity, that is replace row one with one-sixth row one, row two with one-sixth row two and row three with one-third row three to obtain</p><disp-formula id="scirp.72775-formula22"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-2230114x64.png"  xlink:type="simple"/></disp-formula><p>The solution to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x65.png" xlink:type="simple"/></inline-formula> reduces to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x66.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x67.png" xlink:type="simple"/></inline-formula> is actually the nullspace of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x68.png" xlink:type="simple"/></inline-formula> which is equivalent to the nullspace of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x69.png" xlink:type="simple"/></inline-formula>. Hence,</p><disp-formula id="scirp.72775-formula23"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x70.png"  xlink:type="simple"/></disp-formula><p>Upon expanding, we have</p><disp-formula id="scirp.72775-formula24"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x71.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula25"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x72.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula26"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x73.png"  xlink:type="simple"/></disp-formula><p>the nullspace solution</p><disp-formula id="scirp.72775-formula27"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x74.png"  xlink:type="simple"/></disp-formula><p>There are three pivot variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x75.png" xlink:type="simple"/></inline-formula> and one free variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x76.png" xlink:type="simple"/></inline-formula>. Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x77.png" xlink:type="simple"/></inline-formula>, so that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x78.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x79.png" xlink:type="simple"/></inline-formula>. We remark that this is not the only solution since there is a</p><p>free variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x80.png" xlink:type="simple"/></inline-formula>, the nullspace solution is infinitely many. Therefore, the chemical equation can be balanced as</p><disp-formula id="scirp.72775-formula28"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x81.png"  xlink:type="simple"/></disp-formula><p>Example 3.3.: Sodium hydroxide (NaOH) reacts with sulphuric acid <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x82.png" xlink:type="simple"/></inline-formula> to yield sodium sulphate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x83.png" xlink:type="simple"/></inline-formula> and water,</p><disp-formula id="scirp.72775-formula29"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x84.png"  xlink:type="simple"/></disp-formula><p>Balance the equation.</p><p>In balancing the equation, let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x85.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x86.png" xlink:type="simple"/></inline-formula> be the unknown variables such that</p><disp-formula id="scirp.72775-formula30"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x87.png"  xlink:type="simple"/></disp-formula><p>We compare the number of Sodium (Na), Oxygen (O), Hydrogen (H) and Sulphur (S) atoms of the reactants with the number of atoms of the products. We obtain the following set of equations:</p><disp-formula id="scirp.72775-formula31"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x88.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula32"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x89.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula33"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x90.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula34"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x91.png"  xlink:type="simple"/></disp-formula><p>Re-writing these equations in standard form, we have a homogeneous system <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x92.png" xlink:type="simple"/></inline-formula> of linear equations with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x93.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x93.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x94.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.72775-formula35"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x95.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula36"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x96.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula37"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x97.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula38"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x98.png"  xlink:type="simple"/></disp-formula><p>or</p><disp-formula id="scirp.72775-formula39"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x99.png"  xlink:type="simple"/></disp-formula><p>The augmented system becomes</p><disp-formula id="scirp.72775-formula40"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x100.png"  xlink:type="simple"/></disp-formula><p>Since the right hand side is the zero vector, we work with the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x101.png" xlink:type="simple"/></inline-formula> because any row operation will not change the zeros.</p><p>Replace row 2 with row two minus row one i.e.,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x102.png" xlink:type="simple"/></inline-formula>. Similarly, replace row three with row three minus row one i.e.,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x103.png" xlink:type="simple"/></inline-formula>. These first set of row operations reduces <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x104.png" xlink:type="simple"/></inline-formula> to</p><disp-formula id="scirp.72775-formula41"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x105.png"  xlink:type="simple"/></disp-formula><p>In the second set of row operations, we replace row three by two times row three minus row two or <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x106.png" xlink:type="simple"/></inline-formula> and replace row four by four times row four minus row two or <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x106.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x107.png" xlink:type="simple"/></inline-formula> to yield</p><disp-formula id="scirp.72775-formula42"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x108.png"  xlink:type="simple"/></disp-formula><p>In the third stage of the elimination process, we replace row four with 3 times row four plus row three i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x109.png" xlink:type="simple"/></inline-formula>to yield the row echelon matrix or upper triangular<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x110.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.72775-formula43"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x111.png"  xlink:type="simple"/></disp-formula><p>We now reduce <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x112.png" xlink:type="simple"/></inline-formula> to row reduced echelon form <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x113.png" xlink:type="simple"/></inline-formula> as follows: First, we reduce the pivots to unity in rows two and three via <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x114.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x112.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x114.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x115.png" xlink:type="simple"/></inline-formula> to obtain</p><disp-formula id="scirp.72775-formula44"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x116.png"  xlink:type="simple"/></disp-formula><p>Replace row one by row one plus two times row three i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x117.png" xlink:type="simple"/></inline-formula>and row two by row two plus half row three, that is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x118.png" xlink:type="simple"/></inline-formula>. These two operations</p><p>replaces all nonzeros above the pivots to zero resulting in the row reduced echelon form <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x119.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.72775-formula45"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-2230114x120.png"  xlink:type="simple"/></disp-formula><p>The solution to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x121.png" xlink:type="simple"/></inline-formula> reduces to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x122.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x123.png" xlink:type="simple"/></inline-formula> is actually the nullspace of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x123.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x124.png" xlink:type="simple"/></inline-formula> which is equivalent to the nullspace of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x123.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x124.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x125.png" xlink:type="simple"/></inline-formula>. Hence,</p><disp-formula id="scirp.72775-formula46"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x126.png"  xlink:type="simple"/></disp-formula><p>Upon expanding, we have</p><disp-formula id="scirp.72775-formula47"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x127.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula48"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x128.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula49"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x129.png"  xlink:type="simple"/></disp-formula><p>the nullspace solution</p><disp-formula id="scirp.72775-formula50"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x130.png"  xlink:type="simple"/></disp-formula><p>There are three pivot variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x131.png" xlink:type="simple"/></inline-formula> and one free variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x132.png" xlink:type="simple"/></inline-formula>. We set<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x133.png" xlink:type="simple"/></inline-formula>, so that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x134.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x135.png" xlink:type="simple"/></inline-formula>. We remark that this is not the only solution since there is a free variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x134.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x136.png" xlink:type="simple"/></inline-formula>, the nullspace solution is infinitely many. Therefore, the chemical equation can be '”balanced” as</p><disp-formula id="scirp.72775-formula51"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x137.png"  xlink:type="simple"/></disp-formula><p>Example 3.4.: Using row reduced echelon form, balance the following chemical reaction:</p><disp-formula id="scirp.72775-formula52"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x138.png"  xlink:type="simple"/></disp-formula><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x139.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x139.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x140.png" xlink:type="simple"/></inline-formula> be the unknown variables such that</p><disp-formula id="scirp.72775-formula53"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x141.png"  xlink:type="simple"/></disp-formula><p>We obtain the following set of equations for each of the elements:</p><disp-formula id="scirp.72775-formula54"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x142.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula55"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x143.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula56"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x144.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72775-formula57"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x145.png"  xlink:type="simple"/></disp-formula><p>The corresponding matrix becomes</p><disp-formula id="scirp.72775-formula58"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x146.png"  xlink:type="simple"/></disp-formula><p>The following row operations<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x147.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x148.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x149.png" xlink:type="simple"/></inline-formula> reduces <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x150.png" xlink:type="simple"/></inline-formula> to</p><disp-formula id="scirp.72775-formula59"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x151.png"  xlink:type="simple"/></disp-formula><p>In the same vein, the following row operations <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x152.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x153.png" xlink:type="simple"/></inline-formula> reduces the above matrix to</p><disp-formula id="scirp.72775-formula60"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x154.png"  xlink:type="simple"/></disp-formula><p>Finally, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x155.png" xlink:type="simple"/></inline-formula>reduces the matrix to echelon form</p><disp-formula id="scirp.72775-formula61"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x156.png"  xlink:type="simple"/></disp-formula><p>There are three pivots respectively<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x157.png" xlink:type="simple"/></inline-formula>. Hence, to reduce the matrix to row reduced echelon form, we make sure the entries above the pivots are zero and then change the pivots to unity. The row operations<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x158.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x158.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x159.png" xlink:type="simple"/></inline-formula>and</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x160.png" xlink:type="simple"/></inline-formula>changes the nonzero entries above the pivots to zero so that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x160.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x161.png" xlink:type="simple"/></inline-formula> reduces to</p><disp-formula id="scirp.72775-formula62"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x162.png"  xlink:type="simple"/></disp-formula><p>The row operations<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x163.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x163.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x164.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x163.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x164.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x165.png" xlink:type="simple"/></inline-formula> leads to the row reduced echelon form</p><disp-formula id="scirp.72775-formula63"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-2230114x166.png"  xlink:type="simple"/></disp-formula><p>Therefore, the solution <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x167.png" xlink:type="simple"/></inline-formula> to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x167.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x168.png" xlink:type="simple"/></inline-formula> becomes</p><disp-formula id="scirp.72775-formula64"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x169.png"  xlink:type="simple"/></disp-formula><p>For simplicity, we equate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x170.png" xlink:type="simple"/></inline-formula> to one so that<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x170.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x171.png" xlink:type="simple"/></inline-formula>. This actually shows that the equation was balanced in the first place.</p></sec><sec id="s4"><title>4. Using Matlab or Octave rref Command</title><p>In this section, we use octave to reduce each of the matrices considered in the last section to row reduced echelon form. We remark that just as predicted by the theory, row exchanges does not change the outcome of row reduced echelon form. This means that if you interchange any of the row of each of the matrices in the four examples, the rref will be the same.</p><p>Example 4.1.: Type the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x172.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x172.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x173.png" xlink:type="simple"/></inline-formula>. This gives the same <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x172.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x173.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x174.png" xlink:type="simple"/></inline-formula> as in (1) as</p><disp-formula id="scirp.72775-formula65"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x175.png"  xlink:type="simple"/></disp-formula><p>Example 4.2.: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x176.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x176.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x177.png" xlink:type="simple"/></inline-formula>. This gives the same <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x176.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x178.png" xlink:type="simple"/></inline-formula> as in (2) as</p><disp-formula id="scirp.72775-formula66"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x179.png"  xlink:type="simple"/></disp-formula><p>Example 4.3.: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x180.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x180.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x181.png" xlink:type="simple"/></inline-formula>. This gives the same <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x180.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x181.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x182.png" xlink:type="simple"/></inline-formula> as in (3) as</p><disp-formula id="scirp.72775-formula67"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x183.png"  xlink:type="simple"/></disp-formula><p>Example 4.4.: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x184.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x184.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x185.png" xlink:type="simple"/></inline-formula>. This gives the same <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x184.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x185.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x186.png" xlink:type="simple"/></inline-formula> as in (4) as</p><disp-formula id="scirp.72775-formula68"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x187.png"  xlink:type="simple"/></disp-formula><p>In the next example, we illustrate the power of the rref command.</p><p>Example 4.5.: Consider balancing the following chemical reaction from [<xref ref-type="bibr" rid="scirp.72775-ref6">6</xref>]</p><disp-formula id="scirp.72775-formula69"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x188.png"  xlink:type="simple"/></disp-formula><p>Let the unknown coefficients be <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x189.png" xlink:type="simple"/></inline-formula> such that</p><disp-formula id="scirp.72775-formula70"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x190.png"  xlink:type="simple"/></disp-formula><p>We write down the balance conditions on each element as</p><p>Sodium:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x191.png" xlink:type="simple"/></inline-formula>.</p><p>Chlorine:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x192.png" xlink:type="simple"/></inline-formula>.</p><p>Sulphur:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x193.png" xlink:type="simple"/></inline-formula>.</p><p>Oxygen:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x194.png" xlink:type="simple"/></inline-formula>.</p><p>Hydrogen: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x195.png" xlink:type="simple"/></inline-formula></p><p>After transposing, the above system of equations can be written in the form <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x196.png" xlink:type="simple"/></inline-formula> as</p><disp-formula id="scirp.72775-formula71"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x197.png"  xlink:type="simple"/></disp-formula><p>Using Matlab or Octave <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x198.png" xlink:type="simple"/></inline-formula> command, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x198.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x199.png" xlink:type="simple"/></inline-formula>reduces to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x198.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x199.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x200.png" xlink:type="simple"/></inline-formula> as</p><disp-formula id="scirp.72775-formula72"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x201.png"  xlink:type="simple"/></disp-formula><p>If we set<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x202.png" xlink:type="simple"/></inline-formula>, then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x202.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x203.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x202.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x203.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-2230114x204.png" xlink:type="simple"/></inline-formula>. The balanced equation be- comes</p><disp-formula id="scirp.72775-formula73"><graphic  xlink:href="http://html.scirp.org/file/5-2230114x205.png"  xlink:type="simple"/></disp-formula></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, we have shown how to balance chemical equations using row reduced echelon form. In actual fact, the echelon form alone could have been used and we still have the same solution but reducing it to rref makes the solution easily deduced. This paper improves on the work of Gabriel and Onwuka and we show that the octave/ Matlab rref command can be used to confirm the correctness of the final output on the one hand or as a stand alone.</p></sec><sec id="s6"><title>Cite this paper</title><p>Akinola, R.O., Kut- chin, S.Y., Nyam, I.A. and Adeyanju, O. (2016) Using Row Reduced Echelon Form in Balancing Chemical Equations. Advances in Linear Algebra &amp; Matrix Theory, 6, 146- 157. http://dx.doi.org/10.4236/alamt.2016.64014</p></sec></body><back><ref-list><title>References</title><ref id="scirp.72775-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Risteski, I.B. (2009) A New Singular Matrix Method for Balancing Chemical Equations and Their Stability. Journal of the Chinese Chemical Society, 56, 65-79. https://doi.org/10.1002/jccs.200900011</mixed-citation></ref><ref id="scirp.72775-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Roa, C.N.R. (2007) University General Chemistry: An Introduction to Chemistry Science. Rajiv Beri for Macmillian India Ltd., 17-41.</mixed-citation></ref><ref id="scirp.72775-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Lay, D.C. (2006) Linear Algebra and Its Applications. 17-120.</mixed-citation></ref><ref id="scirp.72775-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Gabriel, C.I. and Onwuka, G.I. (2015) Balancing of Chemical Equations Using Matrix Algebra. Journal of Natural Sciences Research, 3, 29-36.</mixed-citation></ref><ref id="scirp.72775-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Hill, J.W., Mecreary, T.W. and Kolb, D.K. (2000) Chemistry for Changing Times. Pearson Education Inc., 123-143.</mixed-citation></ref><ref id="scirp.72775-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Tuckerman, M.E. (2011).http://www.nyu.edu/classes/tuckerman/adv.chem/lectures/lecture_2/node3.html</mixed-citation></ref><ref id="scirp.72775-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Hutchings, L., Peterson, L. and Almasude, A. (2007) The Journal of Mathematics and Science: Collaborative Explorations, 9, 119-133.</mixed-citation></ref><ref id="scirp.72775-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Noble, B. and Daniel, J.W. (1988) Applied Linear Algebra. 3rd Edition, 90-97, 103, 140-149.</mixed-citation></ref></ref-list></back></article>