In § 20 we considered two variables connected by a relation. We may similarly consider three variables (, , and ) connected by a relation such that when the values of and are both given, the value or values of are known. In this case we call a function of the two variables and ; and the independent variables, the dependent variable; and we express this dependence of upon and by writing The remarks of § 20 may all be applied, mutatis mutandis, to this more complicated case.
The method of representing such functions of two variables graphically is exactly the same in principle as in the case of functions of a single variable. We must take three axes, , , in space of three dimensions, each axis being perpendicular to the other two. The point is the point whose distances from the planes , , , measured parallel to , , , are , , and . Regard must of course be paid to sign, lengths measured in the directions , , being regarded as positive. The definitions of coordinates, axes, origin are the same as before.
Now let As and vary, the point will move in space. The aggregate of all the positions it assumes is called the locus of the point or the graph of the function . When the relation between , , and which defines can be expressed in an analytical formula, this formula is called the equation of the locus. It is easy to show, for example, that the equation (the general equation of the first degree) represents a plane, and that the equation of any plane is of this form. The equation or where , represents a sphere; and so on. For proofs of these propositions we must again refer to text-books of Analytical Geometry.