Let's consider g(x)=tan(3x) and h(x)=sin(4x) separately. Recall that π is the period of tangent.
tanXReplacing X with 3x:tan(3x)tan(3x)g(x)So, the period of g(x)=tan(3x) is 3π.Similarly, 2π is the period of sine.sin(X)Replacing X with 4x:sin(4x)sin(4x)h(x)=tan(X+π)=tan(3x+π)=tan(3(x+3π))=g(x+3π)=sin(X+2π)=sin(4x+2π)=sin(4(x+2π))=h(x+2π)for every X in the domain of tanXfor every x in the domain of tan3xfor every x in the domain of tan3xfor every x in the domain of tan3xfor every X in the domain of sin(X)for every x in the domain of sin(4x)for every x in the domain of sin(4x)for every x in the domain of sin(4x)
So, the period of h(x)=sin(4x) is 2π.
All together, f(x)=g(x)+h(x) will repeat when both g(x) and h(x) repeat. The least common integer multiple of 3π and 2π is π. Since g(x) repeats every 3π units, and h(x) repeats every 2π units, they will not both repeat until we move π units. So, the period of f(x) is π.