Functions of Several Variables and Level Sets
In questa pagina 4
Many quantities depend on more than one number: the temperature in a room depends on the three coordinates of the point, the area of a rectangle on base and height (). We therefore need functions whose input is a vector. This note builds on Topology of Euclidean SpacesIn R^n the distance between two points is the Euclidean norm of their difference; open balls let us classify the points relative to a set (interior, exterior, boundary, accumulation, isolated) and define open, closed, bounded, compact (closed and bounded) and path-connected sets.Topology of Euclidean Spaces →.
Definition. A real function of real variables is a rule assigning to each point a unique real number .
Example. is a function of variables, defined on the disc , with .
Compared with the one-variable case only the input changes: the output is still a number. Functions with vector output are treated in Jacobian Matrix and the Chain RuleFor F from R^n to R^m, F = (f1, ..., fm), the Jacobian matrix J_F is the m x n matrix with entries d f_i / d x_j: row i is the gradient of f_i. Chain rule: J_(f∘g)(x) = J_f(g(x)) · J_g(x); frequent cases are d/dt f(gamma(t)) = grad f · gamma'(t) and f_x = f_u u_x + f_v v_x. If det J_F(x0) is nonzero, F is invertible near x0 and J_(F^-1) = (J_F)^-1. Polar coordinates: det J = rho.Jacobian Matrix and the Chain Rule →.
Natural domain
Definition. The natural domain of is the set of points at which the expression of makes sense.
The conditions are the same as in one variable: denominators , arguments of logarithms , radicands of even-index roots . The difference is that the solution is not an interval but a region of the plane (or of space), which is best drawn.
Example 1. . We require , i.e. : the closed disc with centre the origin and radius , circle included (because and not ).
Example 2. . The product is when the two factors have the same sign (or one is zero):
- and , i.e. and : the square ;
- and , i.e. and : the four "corner" regions outside the square, for instance .
The domain is the union of the two parts. Strips such as are excluded, because there one factor is positive and the other negative.
Grafico interattivo: Domain of √((1 − x²)(1 − y²)): the square [−1, 1]² and the four corner regions |x| ≥ 1, |y| ≥ 1; the strips with |x| < 1 and |y| > 1 (or vice versa) are excluded
Example 3. . We need (argument of the logarithm) and (denominator). The domain is the region strictly above the parabola , with the points of the vertical line removed. The parabola itself is excluded.
Grafico interattivo: Domain of log(y − x²)/(x − 1): the region strictly above the parabola y = x², without the points of the line x = 1 (dashed)
Graph
Definition. The graph of is the set
Example. The graph of is the paraboloid in ; it contains the point .
For we set : above each point of the domain we raise the point at height , obtaining a surface in space. For the graph lies in or beyond and cannot be drawn.
Surfaces to recognize:
- Plane: .
- Paraboloid: , a "bowl" with vertex at the origin.
- Cone: : the height is the distance from the origin, hence it grows linearly.
- Hemisphere: ; squaring gives with , the upper half of the sphere of radius .
- Saddle: .
One way to understand the shape is to look at restrictions to lines, i.e. to fix one variable. For the saddle, on the axis () we get , an upward parabola; on the axis () we get , a downward parabola. At the origin the surface rises in one direction and falls in the other, like a horse saddle.
Grafico interattivo: Saddle z = x² − y²: restriction to the x axis, z = x² (minimum at 0)
Grafico interattivo: Saddle z = x² − y²: restriction to the y axis, z = −y² (maximum at 0)
Level sets
Drawing a surface is hard; maps solve the problem with contour lines, the lines joining points at the same height.
Definition. The level set at level of is For it is called a level curve: it is the projection on the plane of the intersection of the graph with the horizontal plane . For it is in general a surface.
Example. For the level set is the circle of radius if , the single point if , the empty set if .
How to find them: write the equation and recognize the curve as varies.
Paraboloid :
- : , circles with centre the origin and radius ;
- : the single point ;
- : empty set (a sum of squares is not negative).
The circles widen like : going from to the radius goes from to . The denser the level curves, the steeper the surface.
Cone : for circles of radius , equally spaced (constant slope).
Saddle : for the curves are hyperbolas (with branches along the axis if , along the axis if ); for , gives the two lines and .
Plane : the curves are parallel lines .
Grafico interattivo: Level curves of the paraboloid f = x² + y²: circles of radius √c; the levels c = 1, 4, 9 have radius 1, 2, 3 and the curves spread out away from the centre
Grafico interattivo: Level curves of the saddle f = x² − y²: hyperbolas x² − y² = c with branches along the x axis for c > 0 (c = 1, 4) and along the y axis for c < 0 (c = −1, −4); for c = 0 the lines y = ±x
Common mistakes
- Forgetting the boundary or including it wrongly: with (roots) the boundary belongs to the domain, with (logarithms) it does not.
- Confusing domain and range: the domain is a region of the plane; the values are the range.
- Empty level curves: not every level is attained; for the negative ones give the empty set.
- Reading a level curve as a graph: the circle is not a "piece" of surface, it is the set of points of the plane where the function equals .
Versione ripasso
Definition. A real function of variables is , assigning to each a unique number . Example: has .
Natural domain. Denominators , arguments of logarithms , radicands of even roots . The result is a region of the plane.
- : closed disc (the circle is included because the radicand is ).
- : the square plus the four corner regions with and . The strips where one factor is positive and the other negative are excluded.
- : the region strictly above the parabola (parabola excluded), minus the points of the line .
Graph. . For it is the surface . Surfaces to recognize:
- plane ;
- paraboloid ;
- cone ;
- hemisphere , the upper half of the sphere;
- saddle : on the axis it is , on the axis .
Level set. ; for it is the level curve, the projection of the intersection of the graph with the plane .
- Paraboloid : circles of radius if , the single point if , empty if . Denser curves mean a steeper surface.
- Cone : for circles of radius , equally spaced.
- Saddle : for hyperbolas, with branches on the axis if and on the axis if ; for the lines .
- Plane : parallel lines .
Typical mistakes.
- Including or excluding the boundary wrongly: with (roots) it is included, with (logarithms) it is not.
- Confusing domain and range: the domain is in the plane, the values are the range.
- Assuming every level is attained: for negative levels give the empty set.
- Reading a level curve as a piece of surface: it is the set of points of the plane where equals .