Skip to main content

Newton’s Method in Several Variables

Can the circle x² + y² = 1 and the line x = y be solved together by a tangent correction? This chapter replaces scalar division with a linear-system solve.

  • Multivariable Newton step: A correction found by solving the linear system given by the current Jacobian and residual.

Linearize both equations together​

Reuse F(x,y)=(x2+y2−1,x−y)TF(x,y)=(x^2+y^2-1,x-y)^T. To solve F(z)=0F(z)=0, Newton's method solves

DF(zk)Δk=−F(zk),zk+1=zk+Δk.DF(z_k)\Delta_k=-F(z_k),\qquad z_{k+1}=z_k+\Delta_k.

Use column vectors. The Jacobian must be square and invertible for this ordinary Newton step. In practice solve the system directly; do not explicitly construct an inverse merely to multiply it by the residual.

At z0=(1,1)Tz_0=(1,1)^T, the correction is (−1/4,−1/4)T(-1/4,-1/4)^T, giving z1=(3/4,3/4)Tz_1=(3/4,3/4)^T. The next point is (17/24,17/24)T(17/24,17/24)^T. The positive solution is (1/2,1/2)T(1/\sqrt2,1/\sqrt2)^T; a negative solution also exists.

A circle and a diagonal line with successive intersections of their linearized equations
A multivariable Newton step solves all linearized equations in a single compatible system.

Check what the symmetry preserves​

Starting with equal coordinates keeps them equal because the second linearized equation forces Δx=Δy\Delta_x=\Delta_y. The first equation reduces to the scalar iteration tk+1=tk/2+1/(4tk)t_{k+1}=t_k/2+1/(4t_k). Its error toward 1/21/\sqrt2 satisfies the same quadratic pattern as the earlier square-root calculation.

For arbitrary starts, det⁡DF(x,y)=−2(x+y)\det DF(x,y)=-2(x+y), so the Newton solve fails on the line x+y=0x+y=0. Being far from that line at one iterate does not itself guarantee global convergence.

Record residuals as well as corrections​

The residual F(zk)F(z_k) reports how far the equations are from being satisfied in output coordinates. A small residual is not automatically a small input error if the Jacobian is ill-conditioned. Different units in different equations may require a stated scaling before comparing residual norms.

Near a root with invertible Jacobian and locally Lipschitz derivative, sufficiently close Newton iterates converge quadratically. A later chapter gives a quantitative starting-point certificate. Damping or a line search can help when a full step increases the residual, but is not a universal guarantee either.

Basic practice​

Prepare​

Reuse F and DF from the Jacobian chapter. Start at (1, 1), and use the Euclidean residual norm.

Record assumed inputs, predictions, and exact calculations separately. If you use software, label rounded outputs; no physical measurement is implied.

Predict​

Will equal coordinates stay equal, and which line makes the Jacobian singular?

Execute​

  1. Solve the first two Newton correction systems exactly.
  2. Record the original residual after each update.
  3. Find the determinant of DF and identify invalid starting points.

Observe and record​

Case or quantityPredictionExact result or argumentError or software check
z₀ = (1, 1)
z₁ = (3/4, 3/4)
z₂ = (17/24, 17/24)
Jacobian singularity

Check after working: The residual norms are 1, 1/8, and 1/288. The singular line is x + y = 0. Both equations, not just the first one, determine the correction.

Optional extension​

Start at (-1, -1) and explain which root is selected. Compare with an attempted start on x + y = 0.

Keep and continue​

Keep the system, local inverse Jacobian, and convergence table. Next, state when nonlinear maps can be inverted locally.

Previous: Multivariable Optimization

Next: Local Inverses and Implicit Functions