How to Balance Chemical Equations Using Linear Algebra

Download ArticleDownload Article

Balancing chemical equations is typically done by first identifying uncommon elements in compounds and working your way towards hydrogen and oxygen. There is also a slower but more systematic approach using linear algebra.

  1. 1
    Identify the equation to balance.
  2. 2
    Identify the elements. The number of elements present in the equation determines how many rows will be in the vectors and matrices that we are going to construct. Below, the order we list corresponds to the order of the rows.
    • – Hydrogen
    • – Phosphorus
    • – Oxygen
    • – Nitrogen
    • – Molybdenum
    Advertisement
  3. 3
    Set up the vector equation. The vector equation consists of column vectors corresponding to each compound in the equation. Each vector has a corresponding coefficient, labeled to for which we are solving for. Make sure you understand how to count the number of atoms in a molecule.
  4. 4
    Set the equation to 0 and obtain the augmented matrix. There are two major points to consider here. First, recognize that a vector equation like the one above has the same solution set as a linear system with its corresponding augmented matrix. This is a fundamental idea in linear algebra. Second, when the augments are all 0, row-reduction does not change the augments. Therefore, we need not write them at all – row-reducing the coefficient matrix is all that is necessary.
    • Note that moving everything to the left side causes the elements on the right side to negate.
  5. 5
    Row-reduce to reduced row-echelon form. For such a matrix, it is recommended that you use a calculator, although row-reducing by hand is always an option, albeit slower.
    • It is clear that there is a free variable here. Those with sharp minds would've seen this coming, for there are more variables than equations, and hence more columns than rows. This free variable means that can take on any value, and the resulting combination of to would be a valid solution (to our linear system, that is – the chemical equation results in further restrictions in this solution set).
  6. 6
    Reparameterize the free variable and solve for the variables. Let's set Since for positive values of none of the variables become negative, so we are on the right track.
  7. 7
    Substitute an appropriate value for . Remember that the coefficients in the chemical equation must be integers. Therefore, set the least common multiple. From our solution set, it is clear that while there are an infinite number of solutions, as we would expect, it is nonetheless a countably infinite set.
  8. 8
    Substitute the coefficients into the chemical equation. The equation is now balanced.
  9. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about chemistry, check out our in-depth interview with Anne Schmidt.

      About This Article

      How.com.vn English: Anne Schmidt
      Co-authored by:
      Chemistry Instructor
      This article was co-authored by Anne Schmidt. Anne Schmidt is a Chemistry Instructor in Wisconsin. Anne has been teaching high school chemistry for over 20 years and is passionate about providing accessible and educational chemistry content. She has over 9,000 subscribers to her educational chemistry YouTube channel. She has presented at the American Association of Chemistry Teachers (AATC) and was an Adjunct General Chemistry Instructor at Northeast Wisconsin Technical College. Anne was published in the Journal of Chemical Education as a Co-Author, has an article in ChemEdX, and has presented twice and was published with the AACT. Anne has a BS in Chemistry from the University of Wisconsin, Oshkosh, and an MA in Secondary Education and Teaching from Viterbo University. This article has been viewed 62,374 times.
      1 votes - 100%
      Co-authors: 5
      Updated: November 14, 2023
      Views: 62,374
      Thanks to all authors for creating a page that has been read 62,374 times.

      Reader Success Stories

      • How.com.vn English: Riley Mcdonald

        Riley Mcdonald

        Oct 16, 2019

        "I found this article very easy to follow, and it really helps me to revise for my GCSE. Chemistry was quite a weak..." more
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement