Step 1: Understand what is to be proved:
We must show that the square of the magnitude of the cross product plus the square of the dot product equals \( a^2 b^2 \), where \( a = |\vec{a}| \) and \( b = |\vec{b}| \).
Both products are defined through the angle between the two vectors, so the natural plan is to write each in terms of that angle.
Step 2: Key formulae:
Let \( \theta \) be the angle between \( \vec{a} \) and \( \vec{b} \), with \( 0 \le \theta \le \pi \).
1. Cross product: \( \vec{a} \times \vec{b} = ab\sin\theta\,\hat{n} \), where \( \hat{n} \) is a unit vector perpendicular to both. So \( |\vec{a} \times \vec{b}| = ab\sin\theta \) (the sine is not negative on this range).
2. Dot product: \( \vec{a}\cdot\vec{b} = ab\cos\theta \).
Step 3: Square each product:
\[ |\vec{a} \times \vec{b}|^2 = a^2 b^2 \sin^2\theta \]
\[ (\vec{a}\cdot\vec{b})^2 = a^2 b^2 \cos^2\theta \]
Step 4: Add them:
Add the two results and take \( a^2 b^2 \) out as a common factor:
\[ |\vec{a} \times \vec{b}|^2 + (\vec{a}\cdot\vec{b})^2 = a^2 b^2\left( \sin^2\theta + \cos^2\theta \right) \]
Since \( \sin^2\theta + \cos^2\theta = 1 \) for every angle,
\[ |\vec{a} \times \vec{b}|^2 + (\vec{a}\cdot\vec{b})^2 = a^2 b^2 \]
If one of the vectors is zero, both sides are zero, so the result holds in that case too. Hence the statement is proved.
Final Answer:
Writing both products with the angle \( \theta \) and using \( \sin^2\theta + \cos^2\theta = 1 \) proves the identity.
\[ \boxed{|\vec{a} \times \vec{b}|^2 + (\vec{a}\cdot\vec{b})^2 = a^2 b^2} \]