📘 CodingMarble Learn

Rocks and Minerals

A mineral is a natural, non-living solid with a fixed chemical make-up and a regular crystal shape, like quartz or halite. A rock is a mixture of one or more minerals. Rocks are of three types: igneous (from cooled magma or lava), sedimentary (from layers of pressed bits) and metamorphic (changed by heat and pressure). The rock cycle slowly turns each type into the others over millions of years.

🎬 Step-by-step story

  1. A mineral is a natural solid with a fixed recipe and a crystal shape. We identify it by colour, lustre, streak and hardness.
  2. Igneous rock forms when magma or lava cools. Slow cooling deep down makes big crystals; fast cooling on top makes tiny ones.
  3. Sedimentary rock forms from bits of rock, sand and shells laid down in layers and pressed together. It can hold fossils.
  4. Metamorphic rock forms when heat and pressure change a rock without melting it. Limestone becomes marble.
  5. The rock cycle links all three. Any rock can melt, wear away or be squeezed into another type.
  6. Free play: tap processes to move a rock around the rock cycle.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Is coal a mineral?

No. Coal comes from plant remains (organic) and has no fixed composition, so it is a sedimentary rock, not a mineral.

What is the difference between magma and lava?

It is the same melted rock: underground it is magma, once it comes out at the surface it is lava.

How long does it take to make a sedimentary rock?

Usually thousands to millions of years, as layers build up and are pressed.

Why doesn't a metamorphic rock just melt under so much heat?

The temperature is high enough to rearrange minerals but below the melting point; if it melts it becomes magma instead.

Does the rock cycle always go igneous → sedimentary → metamorphic?

No. Rocks can skip steps: igneous can become metamorphic, metamorphic can be weathered into sediment.

Minerals and how to identify them

A mineral is natural, non-living and solid, has a fixed chemical make-up and an orderly crystal arrangement of atoms. Quartz (SiO2), halite (NaCl) and calcite (CaCO3) are minerals. A rock is a mixture of minerals: granite = quartz + feldspar + mica.

Identification tests

Geologists also cut rocks into very thin slices and look at them with a polarising microscope; each mineral shows its own colours in polarised light.

Rock-forming minerals and uses

Quartz (glass, electronics), feldspar (ceramics), mica (electrical insulation), calcite (cement), iron ores like haematite (steel), bauxite (aluminium).

Igneous rocks

Deep inside the Earth, rock can melt into magma. When magma cools and hardens it makes igneous rock (from a word meaning fire).

Volcanoes and earthquakes are caused by forces inside the Earth (endogenous forces) that also bring magma up.

Sedimentary and metamorphic rocks

Sedimentary rocks: weathering breaks rocks; water, wind and ice carry the bits (erosion) and drop them in layers (deposition). Over time the layers are pressed (compaction) and glued (cementation). Examples: sandstone, shale, limestone, coal (from plant remains). Older layers lie below younger ones, and many contain fossils.

Metamorphic rocks: heat and pressure deep underground change the minerals and texture without melting. Shale → slate, limestone → marble, sandstone → quartzite, granite → gneiss. Minerals often line up in bands.

The rock cycle and Earth's structure

The Earth has a thin rocky crust, a hot mantle and an iron–nickel core. The crust is broken into plates that move a few centimetres a year. Where they push, pull or slide, rocks are melted, lifted into mountains or buried.

The rock cycle: igneous → weathering and deposition → sedimentary → heat and pressure → metamorphic → melting → magma → cooling → igneous. Shortcuts happen too: igneous rock can be metamorphosed directly, and any rock can be weathered. Mineral resources (ores, coal, building stone) are found where these processes concentrated them.

Key formulas and definitions

Worked examples

1. A mineral scratches glass (hardness 5.5) but is scratched by topaz (8). What could it be?

Step 1: it is harder than 5.5. Step 2: it is softer than 8. Step 3: on the Mohs scale, feldspar (6) or quartz (7) fit. A further test (cleavage, crystal shape) decides: quartz has no cleavage and six-sided crystals.

2. Two basalt samples: one has crystals too small to see, the other has holes like a sponge. Explain.

Both formed from lava that cooled fast at the surface, so crystals had no time to grow. The one with holes (vesicles) cooled while gas bubbles were escaping from the lava.

3. A cliff shows layers with sea shells 100 m above sea level. What does this tell us?

Step 1: shells and layers mean sedimentary rock formed under the sea. Step 2: the bottom layers are the oldest. Step 3: the rock is now high up, so plate movements lifted it after it formed.

Common mistakes

Practice quiz

1. Granite is an example of which rock type?
2. Marble forms from:
3. Which is the hardest mineral on the Mohs scale?
4. Fossils are most often found in:
5. Slow cooling of magma gives:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the main difference between a rock and a mineral?

A mineral has a fixed chemical composition and crystal structure; a rock is a mixture of one or more minerals.

What are the three types of rocks?

Igneous (cooled magma or lava), sedimentary (pressed layers of sediments) and metamorphic (changed by heat and pressure).

What is the rock cycle?

The slow, never-ending process by which rocks change from one type to another through melting, cooling, weathering, deposition, heat and pressure.

Where this is taught

Canada (Ontario)Grade 12E. Earth Materials
ItalyScuola secondaria di primo grado – classe 3ªAstronomy and Earth science
ItalySecondaria di secondo grado – classe 3ªEarth science
ItalySecondaria di secondo grado – classe 3ªEarth science
ItalySecondaria di secondo grado – classe 3ªEarth science
ItalySecondaria di secondo grado – classe 4ªEarth science
ItalySecondaria di secondo grado – classe 4ªEarth science
ItalySecondaria di secondo grado – classe 4ªEarth science
PolandLiceum ogólnokształcące, klasa IV. Dynamics of geological and geomorphological processes
Spain2º ESOGeology
Spain3º ESOGeology
Spain1º BachilleratoEarth dynamics and composition
Spain2º BachilleratoMinerals, the components of rocks
Spain2º BachilleratoIgneous, sedimentary and metamorphic rocks
Ukraine8 класNature of Ukraine
CBSE (India)Class 11Formative-only topic
USA (Common Core, NGSS, AP)Grade 8MS-ESS2 Earth’s systems
South Korea중학교 2학년Changes in the geosphere
South Korea고등학교 2학년Birth of Earth and a dynamic planet
South Korea고등학교 3학년Earth materials and resources

Learn first

Learn next

Related lessons

All Geography lessons