<s>[INST] Trigonometry problem on product of trig functions. Questions: 


*

*$\cos\dfrac{\pi}{7}\cos\dfrac{2\pi}{7}\cos\dfrac{3\pi}{7}=?$

*$\sin\dfrac{\pi}{7}\sin\dfrac{2\pi}{7}\sin\dfrac{3\pi}{7}=?$

*$\tan\dfrac{\pi}{7}\tan\dfrac{2\pi}{7}\tan\dfrac{3\pi}{7}=?$


Approach: 
If $x=\dfrac{\pi}{7}\implies 7x=\pi\implies 4x=\pi-3x\implies \sin 4x = \sin 3x$.Upon expansion, $$8cos^3x-4cos²x-4cosx+1=0$$

"$\cos \dfrac{\pi}{7}, \cos \dfrac{3\pi}{7}, \cos \dfrac{5\pi}{7}$will satisfy this cubic."

Note: I'm not able to understand the above line. Why do these values satisfy this cubic and how did we get these values? 
These are therefore the roots of the cubic, and their product is: 
$$\cos\dfrac{\pi}{7}\cos\dfrac{3\pi}{7}\cos\dfrac{5\pi}{7}=\dfrac{-1}{8}$$
Finally,
$\cos\dfrac{5\pi}{7} = \cos\left(\pi-\dfrac{2\pi}{7}\right)=-\cos \dfrac{2\pi}{7}$. Replacing this in (1) gives $$\cos\dfrac{\pi}{7}\cos\dfrac{2\pi}{7}\cos\dfrac{3\pi}{7}=\dfrac{1}{8}$$
How can we apply this concept to find the values of 


*$\sin\dfrac{\pi}{7}\sin\dfrac{2\pi}{7}\sin\dfrac{3\pi}{7}?$

*$\tan\dfrac{\pi}{7}\tan\dfrac{2\pi}{7}\tan\dfrac{3\pi}{7}?$
I'm not able to form the equations for these two problems. Please Help. .
 [/INST] Let $a=\pi/7$. 
We know $x=\cos a$ is a root of $8x^3-4x^2-4x+1=0$. This is because $$3a+4a=\pi\Rightarrow \sin(3a)=\sin(4a)$$ as you wrote.
Now, note that $3\cdot 3a+4\cdot 3a=3\pi\Rightarrow \sin(3\cdot 3a)=\sin(4\cdot 3a)$. This can be done for $5a$ as well. This is why $\cos (3a),\cos (5a)$ satisfy the cubic.
For 3, since $3a+4a=\pi\Rightarrow \tan(3a)+\tan(4a)=0$, we have
$$\frac{\tan a+\tan(2a)}{1-\tan a\tan(2a)}+\frac{2\tan(2a)}{1-\tan^2(2a)}=0,$$
i.e.
$$\tan a+3\tan(2a)-3\tan a\tan^2(2a)-\tan^3(2a)=0.$$
Setting $x=\tan a$ gives us
$$x+\frac{6x}{1-x^2}-\frac{12x^3}{(1-x^2)^2}-\frac{8x^3}{(1-x^2)^3}=0,$$
i.e.
$$x^6-21x^4+35x^2-7=0.$$
Here, note that $x=\tan a,\tan(2a),\tan(3a)$ are roots of this equation by the similar argument above. Hence, $\tan^2(ka)\ (k=1,2,3)$ are roots of
$$x^3-21x^2+35x-7=0.$$
So, we have
$$\tan^2a\tan^2(2a)\tan^2(3a)=7\Rightarrow \tan a\tan(2a)\tan(3a)=\sqrt 7.$$
Finally, we have
$$\sin a\sin(2a)\sin(3a)=\cos a\cos(2a)\cos (3a)\times \tan a\tan(2a)\tan(3a)=\frac{\sqrt 7}{8}.$$
</s>