The wedge sum of two pointed sets and is the quotient set of the disjoint union where both copies of the basepoint (the one in and the one in ) are identified. The wedge sum can be identified with a subset of the cartesian product ; if this subset is collapsed to a point, then the result is the smash product .
The wedge sum can be defined for pointed objects in any category with pushouts, and is the coproduct in the category of pointed objects in . A very commonly used case is when Top is a category of topological spaces. The wedge sum also makes sense for any family of pointed objects, not just for two of them.