I'm doing online homework and the follow question has come up:

Write the formulas of the compounds formed by Pb4+ with the following anions: NO3−, ClO3−, SO32−, H2PO4−.
Express your answers as chemical formulas separated by commas. Use the given order of anions.

I believe I got the answers, yet it still tells me I got the problem wrong. The tricky part is that the program will NOT tell me which formula is wrong. This is so frustrating.

My answers are:
Pb(NO3)4, (Pb(ClO3)4, Pb(SO3)4, Pb(H2PO)4.

the sulfite ion has a -2 charge

Pb(SO₃)₂

the hydrogen phosphate compound is missing a subscript 4

Pb(H₂PO₄)₄

To determine if your answers are correct, let's break down each compound and its respective formula.

1. Pb4+ with NO3−:
The nitrate ion (NO3−) has a charge of -1, so to balance the charges, we need four nitrate ions together with one Pb4+ ion. Therefore, the formula for this compound is Pb(NO3)4.

2. Pb4+ with ClO3−:
The chlorate ion (ClO3−) also has a charge of -1. Similar to the previous compound, we need four chlorate ions to balance the charge of one Pb4+ ion. Thus, the formula for this compound is Pb(ClO3)4.

3. Pb4+ with SO32−:
The sulfite ion (SO32−) has a charge of -2. To balance the charges, we need two sulfite ions for one Pb4+ ion. So, the formula for this compound is Pb(SO3)2.

4. Pb4+ with H2PO4−:
The dihydrogen phosphate ion (H2PO4−) has a charge of -1. For balancing charges, we require four dihydrogen phosphate ions in conjunction with one Pb4+ ion. Hence, the formula for this compound is Pb(H2PO4)4.

However, it seems like there is an error in your provided answers. The formula for compound 3 (Pb4+ with SO32−) should be Pb(SO3)2 instead of Pb(SO3)4.

Therefore, the corrected answers are:
Pb(NO3)4, Pb(ClO3)4, Pb(SO3)2, Pb(H2PO4)4.

Make sure to double-check your submission with these corrected formulas to see if it matches the expected answer.