WOLFRAM

ReactionBalance
ReactionBalance

[Experimental]

returns a version of the reaction rxn in which the stoichiometric coefficients for elements in the reactants and products are balanced.

Details

  • rxn should be a ChemicalReaction object or a string that can be converted into a reaction.
  • If the reaction cannot be balanced, a Failure object is returned.

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

Balance a chemical reaction:

Out[1]=1

Balance a reaction entered as a string:

Out[1]=1

Balance a reaction with charged species:

Out[1]=1

Scope  (1)Survey of the scope of standard use cases

Reactions are not balanceable if some elements are missing:

Out[2]=2

Applications  (1)Sample problems that can be solved with this function

Write a function to return balanced combustion reactions:

Find the balanced reactions to combust several hydrocarbons:

Out[2]=2

Possible Issues  (1)Common pitfalls and unexpected behavior

If a reaction cannot be balanced uniquely, the balancing with the lowest sum of stoichiometric coefficients is returned:

Out[2]=2

A different balancing of the same reaction:

Out[4]=4

Neat Examples  (1)Surprising or curious use cases

Balance a complicated redox reaction:

Out[1]=1
Wolfram Research (2021), ReactionBalance, Wolfram Language function, https://reference.wolfram.com/language/ref/ReactionBalance.html.
Wolfram Research (2021), ReactionBalance, Wolfram Language function, https://reference.wolfram.com/language/ref/ReactionBalance.html.

Text

Wolfram Research (2021), ReactionBalance, Wolfram Language function, https://reference.wolfram.com/language/ref/ReactionBalance.html.

Wolfram Research (2021), ReactionBalance, Wolfram Language function, https://reference.wolfram.com/language/ref/ReactionBalance.html.

CMS

Wolfram Language. 2021. "ReactionBalance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReactionBalance.html.

Wolfram Language. 2021. "ReactionBalance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReactionBalance.html.

APA

Wolfram Language. (2021). ReactionBalance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReactionBalance.html

Wolfram Language. (2021). ReactionBalance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReactionBalance.html

BibTeX

@misc{reference.wolfram_2025_reactionbalance, author="Wolfram Research", title="{ReactionBalance}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ReactionBalance.html}", note=[Accessed: 27-March-2025 ]}

@misc{reference.wolfram_2025_reactionbalance, author="Wolfram Research", title="{ReactionBalance}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ReactionBalance.html}", note=[Accessed: 27-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_reactionbalance, organization={Wolfram Research}, title={ReactionBalance}, year={2021}, url={https://reference.wolfram.com/language/ref/ReactionBalance.html}, note=[Accessed: 27-March-2025 ]}

@online{reference.wolfram_2025_reactionbalance, organization={Wolfram Research}, title={ReactionBalance}, year={2021}, url={https://reference.wolfram.com/language/ref/ReactionBalance.html}, note=[Accessed: 27-March-2025 ]}