\(d_1\) nhận \(\left(3;4\right)\) là 1 vtpt
\(d_2\) nhận \(\left(a;-2\right)\) là 1 vtcp \(\Rightarrow\) nhận \(\left(2;a\right)\) là 1 vtpt
Do đó ta có:
\(\frac{\left|3.2+4.a\right|}{\sqrt{3^2+4^2}.\sqrt{4+a^2}}=cos45^0=\frac{\sqrt{2}}{2}\)
\(\Leftrightarrow\frac{\left|4a+6\right|}{5\sqrt{a^2+4}}=\frac{\sqrt{2}}{2}\Leftrightarrow\sqrt{2}\left(4a+6\right)=5\sqrt{a^2+4}\)
\(\Leftrightarrow2\left(4a+6\right)^2=25\left(a^2+4\right)\)
\(\Leftrightarrow7a^2+96a-28=0\)
\(\Rightarrow a_1+a_2=-\frac{96}{7}\) (theo Viet)