Заметим формулы сокращенного умножения:
\(\displaystyle a\cdot\overset{\color{red}{\text разность\ квадратов}}{\color{blue}{(a-2)(a+2)}}-\overset{\color{red}{\text разность\ кубов}}{\color{green}{(a-3)(a^2+3a+9)}}{\small.}\)
Применим формулу разности квадратов: \(\displaystyle (a-2)(a+2)=a^2-4{\small.}\)
ПравилоРазность квадратов
Для любых чисел \(\displaystyle a\) и \(\displaystyle b\) верно
\(\displaystyle a^{\,2}-b^{\,2}=(a+b\,)(a-b\,){\small.}\)
В нашем случае \(\displaystyle a=\color{magenta}a {\small,}\) \(\displaystyle b=2{\small.}\) Получаем:
\(\displaystyle (\color{magenta}a-2)(\color{magenta}a+2)=\color{magenta}a^2-2^2=a^2-4{\small.}\)
Применим формулу разности кубов: \(\displaystyle (a-3)(a^2+3a+9)=a^3-27{\small.}\)
ПравилоРазность кубов
Для любых чисел \(\displaystyle a\) и \(\displaystyle b\) верно
\(\displaystyle a^{\,3}-b^{\,3}=(a-b\,)(a^{\,2}+ab+b^{\,2}){\small.}\)
В нашем случае \(\displaystyle a=\color{magenta}a {\small,}\) \(\displaystyle b=3{\small.}\) Получаем:
\(\displaystyle (\color{magenta}a-3)(\color{magenta}a^2+3\color{magenta}a+9)=\color{magenta}a^3-3^3=a^3-27{\small.}\)
Получаем:
\(\displaystyle \begin{aligned}a\color{blue}{(a-2)(a+2)}&-\color{green}{(a-3)(a^2+3a+9)}=\\=a \cdot \color{blue}{(a^2-4)}&-\color{green}{(a^3-27)}{\small.}\end{aligned}\)
Раскроем скобки и приведём подобные слагаемые:
\(\displaystyle a \cdot (a^2-4)-(a^3-27)=a\cdot a^2-a \cdot 4-a^3+27=\cancel{a^3}-4a-\cancel{a^3}+27=-4a+27{\small.}\)
Ответ: \(\displaystyle -4a+27{\small.}\)