A concave mirror reflects from the inside of a curved surface. A convex mirror reflects from the outside. The principal axis passes through the pole P and centre of curvature C. The pole is the point where the axis meets the mirror.
A ray parallel to the principal axis reflects through the focus F for a concave mirror. For a convex mirror, its backward extension passes through F behind the mirror. A ray aimed along a radius line through C reflects back along the same line. These are the standard diagram rules for rays near the axis.
A real image forms where reflected rays meet and can be projected onto a screen. A virtual image appears where backward extensions meet. Draw backward extensions as dashed lines.
Refraction changes a ray’s direction at a boundary when its propagation speed changes and incidence is not normal. Dispersion concerns different wavelengths being refracted differently in a material.
What causes dispersion? Refractive index varying with wavelength.
Why does a star twinkle? Changing atmospheric refraction alters the received light from its nearly point-like image.