```python
import math

def largest_triangle(a, b):
    """
    Calculates the area of the largest triangle that can be inscribed in an ellipse.

    The area of the largest triangle that can be inscribed in an ellipse with
    semi-axes a and b is given by the formula: (3 * sqrt(3) / 4) * a * b.
    This result can be derived by considering the affine transformation of a
    unit circle into the ellipse, which scales areas by a factor of a*b. The
    largest triangle in a unit circle is equilateral with area 3*sqrt(3)/4.
    """
    area = (3 * math.sqrt(3) / 4) * a * b
    return area

```