JustToThePoint English Website Version
JustToThePoint en español

Functions of two variables: An Overview

By failing to prepare, you are preparing to fail, Benjamin Franklin.

Recall: Vector Basics

Definition. A vector $\vec{AB}$ is a geometric object or quantity that has both magnitude (or length) and direction. Vectors in an n-dimensional Euclidean space can be represented as coordinates vectors in a Cartesian coordinate system.

Definition. The magnitude of the vector $\vec{A}$, also known as length or norm, is given by the square root of the sum of its components squared, $|\vec{A}|~ or~ ||\vec{A}|| = \sqrt{a_1^2+a_2^2+a_3^2}$, e.g., $\vert{}\vert{}\langle 3, 2, 1 \rangle\vert{}\vert{} = \sqrt{3^2+2^2+1^2} = \sqrt{14}$, $\vert{}\vert{}\langle 3, -4, 5 \rangle\vert{}\vert{} = \sqrt{3^2+(-4)^2+5^2} = \sqrt{50} = 5\sqrt{2}$, or $\vert{}\vert{}\langle 1, 0, 0 \rangle\vert{}\vert{} = \sqrt{1^2+0^2+0^2} = \sqrt{1} = 1$.

Basic Vector Operations

Image 

Functions of two variables: An Overview

Functions of two variables are natural generalizations or extensions of functions of one variable. They extend single-variable calculus into multi-dimensional space. They are mathematical functions $f: D \subseteq \mathbb{R}^2 \to \mathbb{R}$, meaning they map an ordered pair of real numbers $(x, y)$ in a domain $D$ to a unique real output $z = f(x, y)$.

They are fundamental in multivariable calculus and have numerous applications in science, engineering, and economics. Here, $x$ and $y$ are the independent variables, while $z$ is the dependent variable.

Definition. A function of two variables assigns a unique real number to each ordered pair in its domain. It allows us to model physical and mathematical quantities that depend on more than a single factor.

Examples

Typically, we express such functions as $z = f(x, y)$ where $x$ and $y$ are the independent variables, while $z$ is the dependent variable.

Domain of Functions

The domain of a function of two variables $f(x, y)$ is the set of all ordered pairs $(x, y)$ in the $xy$-plane for which the expression $f(x, y)$ is defined as a real number. Here are some examples:

Function Domain Constraint Geometric Description
$f(x, y) = \sqrt{x+y}$ $x + y \ge 0 \implies y \ge -x$ C Closed half-plane on and above the line $y = -x$
$f(x, y) = \frac{1}{x+y}$ $x + y \ne 0 \implies y \ne -x$ Entire $xy$-plane except the line $y = -x$
$f(x, y) = \ln(xy)$ $xy > 0$ Quadrants I and III, excluding the coordinate axes
$f(x, y, z) = \frac{x}{\sqrt{9-x^2-y^2-z^2}}$ $x^2 + y^2 + z^2 < 9$ Open solid sphere (ball) of radius $3$ in $\mathbb{R}^3$ centered at $(0,0,0)$

Functions naturally generalize to three or more variables, $f: \mathbb{R}^n \to \mathbb{R}$, where the domain of a three-variable function exists as a region in 3D space $\mathbb{R}^3$.

Visualizing 3D Surface Graphs

While single-variable functions $y = f(x)$ produce 2D curves, the graph of a two-variable function is typically a 2D surface in a three-dimensional Cartesian space $\mathbb{R}^3$.(Figure v). This surface represents all points (x, y, z) such that z = f(x, y).

To illustrate, consider the function $f(x, y) = x^2 + y^2$.

Here’s how you can visualize it:

  1. Create a Grid: Imagine a grid on the xy-plane.
  2. Calculate z: For each point (x, y) on the grid, calculate $z = x^2 + y^2$.
  3. Plot the Points: Plot each point (x, y, z) in a three-dimensional space.
  4. Connect the Points: The set of all these points forms a smooth surface (Illustration 1).

The graph is a paraboloid, opening upwards. At (0, 0), z is at its minimum value, 0. As you move away from the origin in any direction on the xy-plane, z increases quadratically.

image info

Common Quadric Surfaces and Planes

Planes ($z = ax + by + c$): Flat surfaces extending infinitely.

image info

Paraboloids

Image 

Image

Cylinders (The Missing Variable Rule)

In $\mathbb{R}^3$, an equation that contains only two of the three variables is called a cylinder. The cross-sectional curve defined by the equation is swept infinitely along the axis of the missing variable.

image info

image info

Contour Plots and Level Curves

Definition. Contour plots are used to represent three-dimensional data on a two-dimensional surface. They are similar to topographical maps, where instead of plotting longitude, latitude, and elevation, we plot x-, y-, and z-values.

A contour plot displays level curves of a function z = f(x, y), i.e., it shows all the points where z = f(x, y) equals some fixed constant, aiding in the visualization of the function’s gradient and overall shape, e.g., $z = x^2 + y^2$.

A level curve is simply a cross section of the graph of z = f(x,y) taken at a constant value, say z = c. A level curve can be interpreted as a contour line on a map, where each line represents points with the same elevation.

Creating a Contour Plot:

  1. Choose Intervals: Select regular intervals for the constant values of z.
  2. Plot Contour Lines: For each interval, plot the set of (x, y) points that satisfy $z = f(x, y) = c.$

Key Properties of Level Curves

Image 

Image 

Applications of Level Curves

Level curves translate complex 3D surface data into actionable 2D maps across multiple fields:

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License and is based on MIT OpenCourseWare [18.01 Single Variable Calculus, Fall 2007].
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, Andrew Misseldine, and MathMajor, YouTube’s channels.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. MIT OpenCourseWare, 18.01 Single Variable Calculus, Fall 2007 and 18.02 Multivariable Calculus, Fall 2007, YouTube.
  8. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2026 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.