Canberra is the capital city of Australia, carefully chosen as a compromise between Sydney and Melbourne when the two cities competed to become the national capital. While Sydney is the largest city and Melbourne the second largest, neither is the capital. Perth is a major city in Western Australia.