Let's find the inflection points, we'll need to solve the equation for this
$$\frac{d^{2}}{d x^{2}} f{\left(x \right)} = 0$$
(the second derivative equals zero),
the roots of this equation will be the inflection points for the specified function graph:
$$\frac{d^{2}}{d x^{2}} f{\left(x \right)} = $$
the second derivative$$8 \left(\left(\tan^{2}{\left(2 x \right)} + 1\right) \tan{\left(\tan{\left(2 x \right)} \right)} + \tan{\left(2 x \right)}\right) \left(\tan^{2}{\left(2 x \right)} + 1\right) \left(\tan^{2}{\left(\tan{\left(2 x \right)} \right)} + 1\right) = 0$$
Solve this equationThe roots of this equation
$$x_{1} = -97.3893722612836$$
$$x_{2} = -43.9822971502571$$
$$x_{3} = -29.845130209103$$
$$x_{4} = 56.5486677646163$$
$$x_{5} = 62.2158522491989$$
$$x_{6} = 28.2743338823081$$
$$x_{7} = 29.845130209103$$
$$x_{8} = -81.6814089933346$$
$$x_{9} = -15.707963267949$$
$$x_{10} = 72.2566310325652$$
$$x_{11} = 95.8185759344887$$
$$x_{12} = 45.553093477052$$
$$x_{13} = -55.9326669420193$$
$$x_{14} = -53.4070751110265$$
$$x_{15} = 18.2335550989418$$
$$x_{16} = -11.9503697917622$$
$$x_{17} = 100.530964914873$$
$$x_{18} = -9.42477796076938$$
$$x_{19} = 81.6814089933346$$
$$x_{20} = 70.6858347057703$$
$$x_{21} = -21.9911485751286$$
$$x_{22} = -14.1371669411541$$
$$x_{23} = 32.0319273584949$$
$$x_{24} = 42.4115008234622$$
$$x_{25} = -72.2566310325652$$
$$x_{26} = 68.2487278775419$$
$$x_{27} = 15.707963267949$$
$$x_{28} = 50.2654824574367$$
$$x_{29} = -28.2743338823081$$
$$x_{30} = -91.722187776701$$
$$x_{31} = 84.2070008243274$$
$$x_{32} = -6.28318530717959$$
$$x_{33} = -17.2787595947439$$
$$x_{34} = -80.1106126665397$$
$$x_{35} = -87.9645943005142$$
$$x_{36} = 76.014224508752$$
$$x_{37} = 48.6946861306418$$
$$x_{38} = -20.4203522483337$$
$$x_{39} = 0$$
$$x_{40} = 20.4203522483337$$
$$x_{41} = 89.5353906273091$$
$$x_{42} = 98.0053730838806$$
$$x_{43} = -65.9734457253857$$
$$x_{44} = -73.8274273593601$$
$$x_{45} = -39.8859089924694$$
$$x_{46} = 6.28318530717959$$
$$x_{47} = -67.5442420521806$$
$$x_{48} = -36.1283155162826$$
$$x_{49} = 94.2477796076938$$
$$x_{50} = -61.261056745001$$
$$x_{51} = 65.9734457253857$$
$$x_{52} = 36.1283155162826$$
$$x_{53} = 21.9911485751286$$
$$x_{54} = -33.9415183668907$$
$$x_{55} = 78.5398163397448$$
$$x_{56} = 40.2247036740703$$
$$x_{57} = -69.7310392015724$$
$$x_{58} = -47.7398906264439$$
$$x_{59} = 4.71238898038469$$
$$x_{60} = -3.75759347618678$$
$$x_{61} = -89.5353906273091$$
$$x_{62} = 7.85398163397448$$
$$x_{63} = 14.1371669411541$$
$$x_{64} = 26.0875367329163$$
$$x_{65} = 86.3937979737193$$
$$x_{66} = 87.9645943005142$$
$$x_{67} = 12.5663706143592$$
$$x_{68} = -25.7487420513153$$
$$x_{69} = 51.8362787842316$$
$$x_{70} = -37.6991118430775$$
$$x_{71} = -51.8362787842316$$
$$x_{72} = -1.5707963267949$$
$$x_{73} = 59.6902604182061$$
$$x_{74} = -83.8682061427265$$
$$x_{75} = -23.5619449019235$$
$$x_{76} = -99.9149640922764$$
$$x_{77} = 64.4026493985908$$
$$x_{78} = 43.9822971502571$$
$$x_{79} = -50.2654824574367$$
$$x_{80} = 37.6991118430775$$
$$x_{81} = -95.8185759344887$$
$$x_{82} = -64.4026493985908$$
$$x_{83} = 80.1106126665397$$
$$x_{84} = 73.8274273593601$$
$$x_{85} = -59.6902604182061$$
$$x_{86} = -7.85398163397448$$
$$x_{87} = -75.398223686155$$
$$x_{88} = -86.3937979737193$$
$$x_{89} = 23.5619449019235$$
$$x_{90} = 92.6769832808989$$
$$x_{91} = 9.42477796076938$$
$$x_{92} = 54.0230759336235$$
$$x_{93} = -45.553093477052$$
$$x_{94} = 1.5707963267949$$
$$x_{95} = -58.1194640914112$$
$$x_{96} = 58.1194640914112$$
$$x_{97} = -94.2477796076938$$
$$x_{98} = -77.9238155171478$$
$$x_{99} = -42.4115008234622$$
$$x_{100} = 34.5575191894877$$
$$x_{101} = -31.4159265358979$$
Сonvexity and concavity intervals:Let’s find the intervals where the function is convex or concave, for this look at the behaviour of the function at the inflection points:
Concave at the intervals
$$\left[100.530964914873, \infty\right)$$
Convex at the intervals
$$\left(-\infty, -99.9149640922764\right]$$