In 1747 Jean le Rond d’Alembert, then 29 years old, published a paper Recherches sur la courbe que forme une corde tendue mise en vibration in the Berlin Academy’s proceedings (d’Alembert 1747). It contained the general solution to the 1-D wave equation he had derived for a vibrating string. The result is the same formula we use today.
What followed was one of the great mathematical controversies of the 18th century. Euler argued that and could be any functions — including those with corners (e.g., the initial shape of a plucked string, which has a sharp peak). D’Alembert insisted they had to be analytic, drawn from the class of well-behaved functions Newton and Leibniz had developed calculus for. Daniel Bernoulli proposed yet a third view: any vibration is a sum of sinusoidal modes — what we now call a Fourier series.
The dispute lasted decades. It was only resolved in 1822 by Fourier (Fourier 1822), whose work on heat flow showed that arbitrary functions could be expanded as trigonometric series, vindicating Bernoulli and forcing a redefinition of what “function” even meant. The controversy is the origin of modern analysis.