Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
No edit summary
 
(601 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{pp-protected|expiry=2014-11-26 12:51:51|small=yes}}{{pp-move-indef|small=yes}}{{one source|date=September 2011}}
This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users.
A '''chemical equation''' is the symbolic representation of a [[chemical reaction]] wherein the [[reactant]] entities are given on the left-hand side and the [[Product (chemistry)|product]] entities on the right-hand side.<ref name="goldbook">[[IUPAC]]. Compendium of Chemical Terminology, 2nd ed. ISBN 0-9678550-9-8.</ref> The coefficients next to the symbols and formulae of entities are the absolute values of the [[stoichiometric coefficient|stoichiometric numbers]]. The first chemical equation was diagrammed by [[Jean Beguin]] in 1615.<ref>{{cite journal |author= Crosland, M.P. |year= 1959 |title= The use of diagrams as chemical 'equations' in the lectures of [[William Cullen]] and [[Joseph Black]] |journal= Annals of Science |volume= 15 |issue= 2 |pages= 75–90 |doi=10.1080/00033795900200088}}</ref>


== Form ==
If you would like use the '''MathML''' rendering mode, you need a wikipedia user account that can be registered here [[https://en.wikipedia.org/wiki/Special:UserLogin/signup]]
* Only registered users will be able to execute this rendering mode.
* Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.


A chemical equation consists of the [[chemical formulas]] of the reactants (the starting substances) and the chemical formula of the products (substances formed in the chemical reaction). The two are separated by an arrow symbol ([[Arrow (symbol)|<math>\rightarrow</math>]], usually read as "yields") and each individual substance's chemical formula is separated from others by a [[plus sign]].
Registered users will be able to choose between the following three rendering modes:


As an example, the equation for the reaction of [[hydrochloric acid]] with [[sodium]] can be denoted:
'''MathML'''
:<math forcemathmode="mathml">E=mc^2</math>


:2 {{chem|HCl}} + 2 {{chem|Na}} → 2 {{chem|NaCl}} + {{chem|H|2}}
<!--'''PNG'''  (currently default in production)
:<math forcemathmode="png">E=mc^2</math>


This equation would be read as "two HCl plus two Na yields two NaCl and H two." But, for equations involving complex chemicals, rather than reading the letter and its subscript, the chemical formulas are read using [[IUPAC nomenclature]]. Using IUPAC nomenclature, this equation would be read as "hydrochloric acid plus sodium yields [[sodium chloride]] and [[hydrogen]] gas."
'''source'''
:<math forcemathmode="source">E=mc^2</math> -->


This equation indicates that sodium and HCl react to form NaCl and H<sub>2</sub>. It also indicates that two sodium molecules are required for every two hydrochloric acid molecules and the reaction will form two sodium chloride molecules and one [[Diatomic molecule|diatomic]] molecule of hydrogen gas molecule for every two hydrochloric acid and two sodium molecules that react. The [[stoichiometric coefficients]] (the numbers in front of the chemical formulas) result from the [[conservation of mass|law of conservation of mass]] and the [[charge conservation|law of conservation of charge]] (see "Balancing Chemical Equation" section below for more information).
<span style="color: red">Follow this [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering link] to change your Math rendering settings.</span> You can also add a [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering-skin Custom CSS] to force the MathML/SVG rendering or select different font families. See [https://www.mediawiki.org/wiki/Extension:Math#CSS_for_the_MathML_with_SVG_fallback_mode these examples].


== Common symbols==
==Demos==
Symbols are used to differentiate between different types of reactions. To denote the type of reaction:<ref name="goldbook"/>


* "<math>=</math>" symbol is used to denote a [[stoichiometric]] relation.
Here are some [https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Frederic.wang demos]:
* "<math>\rightarrow</math>" symbol is used to denote a net forward reaction.
* "<math>\rightleftarrows</math>" symbol is used to denote a reaction in both directions.
* "<math>\rightleftharpoons</math>" symbol is used to denote an [[chemical equilibrium|equilibrium]].


Physical state of chemicals is also very commonly stated in parentheses after the chemical symbol, especially for ionic reactions. When stating physical state, (s) denotes a solid, (l) denotes a liquid, (g) denotes a gas and (aq) denotes an [[aqueous solution]].


If the reaction requires energy, it is indicated above the arrow. A capital Greek letter delta (<math>\Delta</math>) is put on the reaction arrow to show that energy in the form of heat is added to the reaction. <math>h\nu</math> is used if the energy is added in the form of light.
* accessibility:
** Safari + VoiceOver: [https://commons.wikimedia.org/wiki/File:VoiceOver-Mac-Safari.ogv video only], [[File:Voiceover-mathml-example-1.wav|thumb|Voiceover-mathml-example-1]], [[File:Voiceover-mathml-example-2.wav|thumb|Voiceover-mathml-example-2]], [[File:Voiceover-mathml-example-3.wav|thumb|Voiceover-mathml-example-3]], [[File:Voiceover-mathml-example-4.wav|thumb|Voiceover-mathml-example-4]], [[File:Voiceover-mathml-example-5.wav|thumb|Voiceover-mathml-example-5]], [[File:Voiceover-mathml-example-6.wav|thumb|Voiceover-mathml-example-6]], [[File:Voiceover-mathml-example-7.wav|thumb|Voiceover-mathml-example-7]]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Audio-Windows7-InternetExplorer.ogg Internet Explorer + MathPlayer (audio)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-SynchronizedHighlighting-WIndows7-InternetExplorer.png Internet Explorer + MathPlayer (synchronized highlighting)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Braille-Windows7-InternetExplorer.png Internet Explorer + MathPlayer (braille)]
** NVDA+MathPlayer: [[File:Nvda-mathml-example-1.wav|thumb|Nvda-mathml-example-1]], [[File:Nvda-mathml-example-2.wav|thumb|Nvda-mathml-example-2]], [[File:Nvda-mathml-example-3.wav|thumb|Nvda-mathml-example-3]], [[File:Nvda-mathml-example-4.wav|thumb|Nvda-mathml-example-4]], [[File:Nvda-mathml-example-5.wav|thumb|Nvda-mathml-example-5]], [[File:Nvda-mathml-example-6.wav|thumb|Nvda-mathml-example-6]], [[File:Nvda-mathml-example-7.wav|thumb|Nvda-mathml-example-7]].
** Orca: There is ongoing work, but no support at all at the moment [[File:Orca-mathml-example-1.wav|thumb|Orca-mathml-example-1]], [[File:Orca-mathml-example-2.wav|thumb|Orca-mathml-example-2]], [[File:Orca-mathml-example-3.wav|thumb|Orca-mathml-example-3]], [[File:Orca-mathml-example-4.wav|thumb|Orca-mathml-example-4]], [[File:Orca-mathml-example-5.wav|thumb|Orca-mathml-example-5]], [[File:Orca-mathml-example-6.wav|thumb|Orca-mathml-example-6]], [[File:Orca-mathml-example-7.wav|thumb|Orca-mathml-example-7]].
** From our testing, ChromeVox and JAWS are not able to read the formulas generated by the MathML mode.


== Balancing chemical equations ==
==Test pages ==
[[File:Combustion reaction of methane.jpg|thumb|450px|As seen from the equation {{chem|CH|4}} + 2 {{chem|O|2}} → {{chem|CO|2}} + 2 {{chem|H|2|O}}, a coefficient of 2 must be placed before the [[oxygen]] gas on the reactants side and before the [[properties of water|water]] on the products side in order for, as per the law of conservation of mass, the quantity of each element does not change during the reaction]]


The [[law of conservation of mass]] dictates that the quantity of each element does not change in a chemical reaction. Thus, each side of the chemical equation must represent the same quantity of any particular element. Likewise, the charge is conserved in a chemical reaction. Therefore, the same charge must be present on both sides of the balanced equation.
To test the '''MathML''', '''PNG''', and '''source''' rendering modes, please go to one of the following test pages:
*[[Displaystyle]]
*[[MathAxisAlignment]]
*[[Styling]]
*[[Linebreaking]]
*[[Unique Ids]]
*[[Help:Formula]]


One balances a chemical equation by changing the scalar number for each chemical formula. Simple chemical equations can be balanced by inspection, that is, by trial and error. Another technique involves solving a [[system of linear equations]].
*[[Inputtypes|Inputtypes (private Wikis only)]]
 
*[[Url2Image|Url2Image (private Wikis only)]]
Balanced equations are written with smallest whole-number coefficients. If there is no coefficient before a chemical formula, the coefficient 1 is understood.
==Bug reporting==
 
If you find any bugs, please report them at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla], or write an email to math_bugs (at) ckurs (dot) de .
The method of inspection can be outlined as putting a coefficient of 1 in front of the most complex chemical formula and putting the other coefficients before everything else such that both sides of the arrows have the same number of each atom. If any [[fraction (mathematics)|fractional]] coefficient exist, multiply every coefficient with the smallest number required to make them whole, typically the [[denominator]] of the fractional coefficient for a reaction with a single fractional coefficient.
 
As an example, seen in the above image, the burning of methane would be balanced by putting a coefficient of 1 before the CH<sub>4</sub>:
 
:1 CH<sub>4</sub> +  O<sub>2</sub> → CO<sub>2</sub> + H<sub>2</sub>O
 
Since there is one carbon on each side of the arrow, the first atom (carbon) is balanced.
 
Looking at the next atom (hydrogen), the right-hand side has two atoms, while the left-hand side has four. To balance the hydrogens, 2 goes in front of the H<sub>2</sub>O, which yields:
 
:1 CH<sub>4</sub> +  O<sub>2</sub> → CO<sub>2</sub> + 2 H<sub>2</sub>O
 
Inspection of the last atom to be balanced (oxygen) shows that the right-hand side has four atoms, while the left-hand side has two. It can be balanced by putting a 2 before O<sub>2</sub>, giving the balanced equation:
 
:CH<sub>4</sub> + 2 O<sub>2</sub> → CO<sub>2</sub> + 2 H<sub>2</sub>O
 
This equation does not have any coefficients in front of CH<sub>4</sub> and CO<sub>2</sub>, since a coefficient of 1 is dropped.
 
==Ionic equations==
 
An ionic equation is a chemical equation in which [[electrolyte]]s are written as dissociated [[ion]]s. Ionic equations are used for [[single displacement reaction|single]] and [[double displacement reaction]]s that occur in [[aqueous]] [[solution]]s. For example in the following precipitation reaction:
:CaCl<sub>2</sub>(aq)  + 2 AgNO<sub>3</sub>(aq) → Ca(NO<sub>3</sub>)<sub>2</sub>(aq) + 2 AgCl(s)
 
the full ionic equation is:
:Ca<sup>2+</sup>(aq) + 2 Cl<sup>&minus;</sup>(aq) + 2 Ag<sup>+</sup>(aq) + 2 NO<sub>3</sub><sup>&minus;</sup>(aq)  → Ca<sup>2+</sup>(aq) +  2 NO<sub>3</sub><sup>&minus;</sup>(aq) + 2 AgCl(s)
 
In this reaction, the Ca<sup>2+</sup> and the NO<sub>3</sub><sup>&minus;</sup> ions remain in solution and are not part of the reaction. That is, these ions are identical on both the reactant and product side of the chemical equation. Because such ions do not participate in the reaction, they are called [[spectator ion]]s. A ''net ionic'' equation is the full ionic equation from which the spectator ions have been removed. The net ionic equation of the proceeding reactions is:
:2 Cl<sup>&minus;</sup>(aq) + 2 Ag<sup>+</sup>(aq) → 2 AgCl(s)
 
or, in ''reduced'' balanced form,
:Ag<sup>+</sup>(aq) + Cl<sup>&minus;</sup>(aq) → AgCl(s)
 
In a [[Neutralization (chemistry)|neutralization]] or [[acid]]/[[Base (chemistry)|base]] reaction, the net ionic equation will usually be:
 
:H<sup>+</sup>(aq) + OH<sup>&minus;</sup>(aq) → H<sub>2</sub>O(l)
 
There are a few acid/base reactions that produce a precipitate in addition to the water molecule shown above. An example is the reaction of [[barium hydroxide]] with [[phosphoric acid]], which produces not only water but also the insoluble salt barium phosphate. In this reaction, there are no spectator ions, so the net ionic equation is the same as the full ionic equation.
 
:3 Ba(OH)<sub>2</sub>(aq) + 2 H<sub>3</sub>PO<sub>4</sub>(aq) → 6 H<sub>2</sub>O(l) + Ba<sub>3</sub>(PO<sub>4</sub>)<sub>2</sub>(s)
:3 Ba<sup>2+</sup>(aq) + 6 OH<sup>-</sup>(aq) + 6 H<sup>+</sup>(aq) + 2 PO<sub>4</sub><sup>3-</sup>(aq) → 6 H<sub>2</sub>O(l) + Ba<sub>3</sub>(PO<sub>4</sub>)<sub>2</sub>(s)
 
Double displacement reactions that feature a [[carbonate]] reacting with an acid have the net ionic equation:
 
:2 H<sup>+</sup>(aq) + CO<sub>3</sub><sup>2&minus;</sup>(aq) → H<sub>2</sub>O(l) + CO<sub>2</sub>(g)
 
If every ion is a "spectator ion" then there was no reaction, and the net ionic equation is null.
 
==References==
{{reflist}}
 
[[Category:Stoichiometry]]
[[Category:Equations]]

Latest revision as of 22:52, 15 September 2019

This is a preview for the new MathML rendering mode (with SVG fallback), which is availble in production for registered users.

If you would like use the MathML rendering mode, you need a wikipedia user account that can be registered here [[1]]

  • Only registered users will be able to execute this rendering mode.
  • Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.

Registered users will be able to choose between the following three rendering modes:

MathML

E=mc2


Follow this link to change your Math rendering settings. You can also add a Custom CSS to force the MathML/SVG rendering or select different font families. See these examples.

Demos

Here are some demos:


Test pages

To test the MathML, PNG, and source rendering modes, please go to one of the following test pages:

Bug reporting

If you find any bugs, please report them at Bugzilla, or write an email to math_bugs (at) ckurs (dot) de .