The problem in my textbook goes like this:
Burning $0.68\ \mathrm{g}$ of an unknown substance, we obtained $1.28\ \mathrm{g}$ of sulfur oxide (IV) and $0.36\ \mathrm{g}$ of water. Find the chemical formula of the burned substance, providing that it was a complete combustion.
It's quite easy to see that $0.2\ \mathrm{mol}$ of both $\ce{SO2}$ and $\ce{H2O}$ have been produced, there are $0.04\ \mathrm{mol}$ of hydrogen in the water and $0.02\ \mathrm{mol}$ of sulfur in the oxide. Calculating the masses and summing them up, we get $0.68\ \mathrm{g}$, meaning the original substance contained only sulfur and hydrogen, and it's $\ce{H2S}$.
However, the solution volume offers this equation as part of the solution process:
$$\ce{S_{$x$}H_{$y$}O_{$z$} + \frac{x + y}{4} O2 -> $x$ SO2 + \frac{$y$}{$z$} H2O}$$
The volume is full of typos (apparently a plus sign missing here), but still there must be some explanation for the coefficients which I don't get. Why do the coefficients for $\ce{O2}$ and $\ce{H2O}$ equal $(x+y)/4$ and $y/z$? If there's zero oxygen in the first term, won't we get division by zero?
How do we come up with coefficients of this sort? Maybe these particular coefficients are erroneous? (the solutions volume is quite low in quality)
\ce{...}
in the maths environment for chemical formulae. Upside: It automatically does things such as subscript numbers in formulae:$\ce{H2O}$
automatically gives $\ce{H2O}$ $\endgroup$