Take the inverse tangent of both sides of the equation to extract from inside the tangent.

Evaluate .

The tangent function is positive in the first and third quadrants. To find the second solution, add the reference angle from to find the solution in the fourth quadrant.

Remove the parentheses around the expression .

Add and .

The period of the function can be calculated using .

Replace with in the formula for period.

Solve the equation.

The absolute value is the distance between a number and zero. The distance between and is .

Divide by .

The period of the function is so values will repeat every radians in both directions.

, for any integer

Consolidate the answers.

, for any integer

Solve for x tan(x)=5