(1) The mayor of a city of the first class shall preside at all the meetings of the city council. The mayor may vote on any matter that requires either a majority vote of the city council members or a majority vote of all the elected members of the city council if (a) the mayor's vote is required due to the city council members being equally divided or (b) a majority of the city council members or majority vote of all the elected members cannot be reached due to absence, vacancy, or abstention of one or more city council members. For purposes of such vote, the mayor is deemed to be a member of the city council.
(2) The mayor shall have the superintending control of all the officers and affairs of the city and shall take care that the ordinances of the city and the provisions of law relating to cities of the first class are complied with. The mayor may administer oaths and shall sign the commissions and appointments of all the officers appointed in the city.