Initial program 0.5
\[\frac{\cos th}{\sqrt{2}} \cdot \left(a1 \cdot a1\right) + \frac{\cos th}{\sqrt{2}} \cdot \left(a2 \cdot a2\right)\]
Initial simplification0.5
\[\leadsto \frac{\cos th}{\sqrt{2}} \cdot (a1 \cdot a1 + \left(a2 \cdot a2\right))_*\]
- Using strategy
rm Applied associate-*l/0.5
\[\leadsto \color{blue}{\frac{\cos th \cdot (a1 \cdot a1 + \left(a2 \cdot a2\right))_*}{\sqrt{2}}}\]
- Using strategy
rm Applied *-un-lft-identity0.5
\[\leadsto \frac{\cos th \cdot (a1 \cdot a1 + \left(a2 \cdot a2\right))_*}{\color{blue}{1 \cdot \sqrt{2}}}\]
Applied times-frac0.5
\[\leadsto \color{blue}{\frac{\cos th}{1} \cdot \frac{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}{\sqrt{2}}}\]
Simplified0.5
\[\leadsto \color{blue}{\cos th} \cdot \frac{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}{\sqrt{2}}\]
- Using strategy
rm Applied add-sqr-sqrt0.5
\[\leadsto \cos th \cdot \frac{\color{blue}{\sqrt{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*} \cdot \sqrt{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}}}{\sqrt{2}}\]
Applied associate-/l*0.5
\[\leadsto \cos th \cdot \color{blue}{\frac{\sqrt{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}}{\frac{\sqrt{2}}{\sqrt{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}}}}\]
Simplified0.5
\[\leadsto \cos th \cdot \frac{\color{blue}{\sqrt{a1^2 + a2^2}^*}}{\frac{\sqrt{2}}{\sqrt{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}}}\]
Final simplification0.5
\[\leadsto \frac{\sqrt{a1^2 + a2^2}^*}{\frac{\sqrt{2}}{\sqrt{(a1 \cdot a1 + \left(a2 \cdot a2\right))_*}}} \cdot \cos th\]