Factors Affecting Grain Size:
* Cooling Rate: The primary factor determining grain size is the cooling rate. Lava flows cool much faster than magma within the Earth. This rapid cooling leaves less time for crystals to grow, resulting in smaller crystals (fine-grained texture).
* Composition: The composition of the magma/lava also plays a role. Some magmas are naturally more viscous and contain more dissolved gases. These factors can hinder crystal growth, even with slower cooling rates.
* Crystallization Process: The process of crystallization itself can vary. In some cases, lava may initially form a glassy texture (no crystals), followed by the development of very small crystals, while intrusive rocks might develop larger crystals during their slower cooling.
Examples:
* Extrusive Rocks: Some volcanic rocks, like rhyolite, can have a very fine-grained texture (aphanitic). Others, like basalt, may have larger crystals (phaneritic) visible to the naked eye.
* Intrusive Rocks: Granite, a common intrusive rock, is typically phaneritic, with large crystals. However, there are intrusive rocks, like pegmatites, that can exhibit extremely large crystals.
Conclusion:
While the rapid cooling of lava flows generally leads to finer-grained rocks, it's not a strict rule. The grain size of igneous rocks is influenced by a complex interplay of factors, including cooling rate, composition, and crystallization processes. Therefore, it's possible to find both fine-grained and coarse-grained examples in both extrusive and intrusive settings.