Here's a breakdown:
* Mineral composition refers to the types of minerals present in a rock. These minerals form as the magma or lava cools and solidifies. The same chemical composition can result in the same minerals forming, even if the cooling process is different.
* Texture refers to the size, shape, and arrangement of the mineral grains within a rock. This is directly influenced by the cooling rate:
* Slow cooling: When magma cools slowly deep underground, minerals have ample time to grow large crystals, resulting in a coarse-grained texture (e.g., granite).
* Fast cooling: When lava cools quickly on the surface, minerals have little time to grow, leading to a fine-grained texture (e.g., basalt).
* Very fast cooling: Lava that cools extremely quickly (like in a volcanic eruption) might not have time to crystallize at all, forming a glassy texture (e.g., obsidian).
Examples:
* Granite and Rhyolite both have a similar mineral composition (quartz, feldspar, mica), but granite is coarse-grained due to slow cooling, while rhyolite is fine-grained due to fast cooling.
* Gabbro and Basalt are both mafic rocks (rich in magnesium and iron). Gabbro is coarse-grained, forming from slow cooling magma, while basalt is fine-grained, forming from rapidly cooling lava.
In conclusion, while mineral composition is determined by the chemical makeup of the magma/lava, texture is primarily determined by the cooling rate, showcasing the dynamic process of igneous rock formation.