to such a curve. The
graph of a cubic function is a
cubic curve, though many cubic curves are not graphs of functions. Although cubic functions depend on four parameters, their graph can have only very few shapes. In fact, the graph of a cubic function is always
similar to the graph of a function of the form :y=x^3+px. This similarity can be built as the composition of
translations parallel to the coordinates axes, a
homothecy (
uniform scaling), and, possibly, a
reflection (
mirror image) with respect to the -axis. A further
non-uniform scaling can transform the graph into the graph of one among the three cubic functions :\begin{align} y&=x^3+x\\ y&=x^3\\ y&=x^3-x. \end{align} This means that there are only three graphs of cubic functions
up to an
affine transformation. The above
geometric transformations can be built in the following way, when starting from a general cubic function y=ax^3+bx^2+cx+d. Firstly, if , the
change of variable allows supposing . After this change of variable, the new graph is the mirror image of the previous one, with respect of the -axis. Then, the change of variable provides a function of the form :y=ax_1^3+px_1+q. This corresponds to a translation parallel to the -axis. The change of variable corresponds to a translation with respect to the -axis, and gives a function of the form :y_1=ax_1^3+px_1. The change of variable \textstyle x_1=\frac {x_2}\sqrt a, y_1=\frac {y_2}\sqrt a corresponds to a uniform scaling, and give, after multiplication by \sqrt a, a function of the form :y_2=x_2^3+px_2, which is the simplest form that can be obtained by a similarity. Then, if , the non-uniform scaling \textstyle x_2=x_3\sqrt,\quad y_2=y_3\sqrt{|p|^3} gives, after division by \textstyle \sqrt{|p|^3}, :y_3 =x_3^3 + x_3\sgn(p), where \sgn(p) has the value 1 or −1, depending on the sign of . If one defines \sgn(0)=0, the latter form of the function applies to all cases (with x_2 = x_3 and y_2 = y_3). ==Symmetry==