Step 1: Understanding the Concept:
Two inverse tangents can be joined into one using the addition formula. The formula depends on the product of the two numbers, so we check that first.
Step 2: Key Formula or Approach:
For \(x, y > 0\) with \(xy < 1\): \[ \tan^{-1}x + \tan^{-1}y = \tan^{-1}\left(\frac{x + y}{1 - xy}\right) \]
Step 3: Detailed Explanation:
Here \(x = \frac{1}{2}\) and \(y = \frac{1}{3}\), so \(xy = \frac{1}{6} < 1\) and the formula applies.
Numerator: \(x + y = \frac{1}{2} + \frac{1}{3} = \frac{5}{6}\).
Denominator: \(1 - xy = 1 - \frac{1}{6} = \frac{5}{6}\).
\[ \tan^{-1}\frac{1}{2} + \tan^{-1}\frac{1}{3} = \tan^{-1}\left(\frac{5/6}{5/6}\right) = \tan^{-1}(1) = \frac{\pi}{4} \]
Step 4: Why the other options are wrong:
Each of \(\tan^{-1}\frac{1}{2}\) and \(\tan^{-1}\frac{1}{3}\) is less than \(\tan^{-1}1 = \frac{\pi}{4}\), so their sum is below \(\frac{\pi}{2}\). That rules out (1) \(\pi\) and (3) \(\frac{\pi}{2}\).
Option (4) \(\frac{\pi}{3}\) has tangent \(\sqrt{3}\), not \(1\), so it does not match.
Final Answer:
The sum is \(\frac{\pi}{4}\), option (2).
\[ \boxed{\frac{\pi}{4}} \]