In mathematics, the **tricorn**, sometimes called the **Mandelbar set**, is a fractal defined in a similar way to the Mandelbrot set, but using the mapping instead of used for the Mandelbrot set. It was introduced by W. D. Crowe, R. Hasson, P. J. Rippon, and P. E. D. Strain-Clark.^{[1]} John Milnor found tricorn-like sets as a prototypical configuration in the parameter space of real cubic polynomials, and in various other families of rational maps.^{[2]}

The characteristic three-cornered shape created by this fractal repeats with variations at different scales, showing the same sort of self-similarity as the Mandelbrot set. In addition to smaller tricorns, smaller versions of the Mandelbrot set are also contained within the tricorn fractal.

The tricorn is defined by a family of quadratic antiholomorphic polynomials

given by

where is a complex parameter. For each , one looks at the forward orbit

of the critical point of the antiholomorphic polynomial . In analogy with the Mandelbrot set, the tricorn is defined as the set of all parameters for which the forward orbit of the critical point is bounded. This is equivalent to saying that the tricorn is the connectedness locus of the family of quadratic antiholomorphic polynomials; i.e. the set of all parameters for which the Julia set is connected.

The higher degree analogues of the tricorn are known as the multicorns.^{[3]} These are the connectedness loci of the family of antiholomorphic polynomials .

- The tricorn is compact, and connected.
^{[4]}In fact, Nakane modified Douady and Hubbard's proof of the connectedness of the Mandelbrot set to construct a dynamically defined real-analytic diffeomorphism from the exterior of the tricorn onto the exterior of the closed unit disc in the complex plane. One can define external parameter rays of the tricorn as the inverse images of radial lines under this diffeomorphism. - Every hyperbolic component of the tricorn is simply connected.
^{[3]} - The boundary of every hyperbolic component of odd period of the tricorn contains real-analytic arcs consisting of quasi-conformally equivalent but conformally distinct parabolic parameters.
^{[5]}^{[6]}Such an arc is called a parabolic arc of the tricorn. This is in stark contrast with the corresponding situation for the Mandelbrot set, where parabolic parameters of a given period are known to be isolated. - The boundary of every odd period hyperbolic component consists only of parabolic parameters. More precisely, the boundary of every hyperbolic component of odd period of the tricorn is a simple closed curve consisting of exactly three parabolic cusp points as well as three parabolic arcs, each connecting two parabolic cusps.
^{[6]} - Every parabolic arc of period k has, at both ends, an interval of positive length across which bifurcation from a hyperbolic component of odd period k to a hyperbolic component of period 2k occurs.

The below pseudocode implementation hardcodes the complex operations for Z. Consider implementing complex number operations to allow for more dynamic and reusable code.

```
For each pixel (x, y) on the screen, do:
{
x = scaled x coordinate of pixel (scaled to lie in the Mandelbrot X scale (-2.5, 1))
y = scaled y coordinate of pixel (scaled to lie in the Mandelbrot Y scale (-1, 1))
zx = x; // zx represents the real part of z
zy = y; // zy represents the imaginary part of z
iteration = 0
max_iteration = 1000
while (zx*zx + zy*zy < 4 AND iteration < max_iteration)
{
xtemp = zx*zx - zy*zy + x
zy = -2*zx*zy + y
zx = xtemp
iteration = iteration + 1
}
if (iteration == max_iteration) //Belongs to the set
return insideColor;
return iteration * color;
}
```

The tricorn is not path connected.^{[5]} Hubbard and Schleicher showed that there are hyperbolic components of odd period of the tricorn that cannot be connected to the hyperbolic component of period one by paths. A stronger statement to the effect that no two (non-real) odd period hyperbolic components of the tricorn can be connected by a path was proved by Inou and Mukherjee.^{[7]}

It is well known that every rational parameter ray of the Mandelbrot set lands at a single parameter.^{[8]}^{[9]} On the other hand, the rational parameter rays at odd-periodic (except period one) angles of the tricorn accumulate on arcs of positive length consisting of parabolic parameters.^{[10]}
Moreover, unlike the Mandelbrot set, the dynamically natural straightening map from a baby tricorn to the original tricorn is discontinuous at infinitely many parameters.^{[7]}