Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Jacobian Method in Multivariable Calculus

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

Jacobian Method formula derivation and solved examples

Linear equation systems are linked to many engineering and scientific topics, as well as quantitative industry, statistics, and economic problems. It is possible and easy to solve a large number of symmetric, linear algebraic equations after the invention of computers. The solution of a very large set of simultaneous equations by numerical methods in time is an important factor in the practical application of the results. If the equations are solved in considerable time, we can increase productivity significantly. 


We have mainly two numerical methods: the direct method and the iterative method for solving linear equation systems. For a big set of linear equations, particularly for sparse and structured coefficient equations, the iterative methods are preferable as they are largely unaffected by round-off errors. The well known classical iterative methods are the Jacobian and Gauss-Seidel methods. Here, we are going to discuss the Jacobi or Jacobi Method. 


Jacobi Iteration Method

Matrices in the form of "AX=b" can easily represent a large linear system, where "A" represents a square matrix containing the ordered coefficients of our system of linear equations, "X" contains all of our various variables, and "B" represents the constants equal to each linear equation. For our unknown x-values, we wish to solve, and we can do so by using the Jacobian Method. As discussed, we can summarize the Jacobi Iterative Method with the equation "AX=B."  The "a" variables indicate the elements of the "A" coefficient matrix, the "x" variables give us the unknown X-values which we are solving for, and the constants of each equation are represented by "b".

Now, AX=B is a system of linear equations, where

A = \[\begin{bmatrix} a_{11} & a_{12} & \cdots  & a_{1n}\\ a_{21} & a_{22} & \cdots  & a_{2n}\\ \vdots  & \vdots & \ddots  & \vdots \\  a_{n1} & a_{n2} & \cdots  & a_{nn} \end{bmatrix}\], X = \[\begin{bmatrix} x_{1}\\ x_{2}  \\ \vdots \\ x_{n} \end{bmatrix}\], B = \[\begin{bmatrix} b_{1}\\ b_{2}  \\ \vdots \\ b_{n} \end{bmatrix}\]

Suppose that none of the diagonal entries are zero without loss of generality; otherwise, swap them in rows, and the matrix A can be broken down as,

A=(D+U+L) , 

where D is the Diagonal matrix of A, U denotes the elements above the diagonal of matrix A, and L denotes the elements below the diagonal of matrix A.

Where D = \[\begin{bmatrix} a_{11} & 0 & \cdots  & 0\\0 & a_{22} & \cdots  & 0\\ \vdots  & \vdots & \ddots  & \vdots \\ 0 & 0 & \cdots  & a_{nn} \end{bmatrix}\]  and L + U is  \[\begin{bmatrix} 0 & a_{12} & \cdots  & a_{1n}\\ a_{21} & 0 & \cdots  & a_{2n}\\ \vdots  & \vdots & \ddots  & \vdots \\  a_{n1} & a_{n2} & \cdots  & 0 \end{bmatrix}\]

The solution can be obtained iteratively via using the following relation:

X\[^{(k+1)}\] = D\[^{-1}\] (B - (L + U)X\[^{(k)}\]) 

Where Xk and X(k+1) are kth and (k+1)th iteration of X. The elements of X(k+1) can be calculated by using element based formula that is given below: 

X\[_{i}\]\[^{(k+1)}\] = \[\frac{1}{a_{ii}}\] \[\sum_{j\neq i}^{}\] (b\[_{i}\] - a\[_{ij}\] - x\[_{j}^{k}\]), i = 1, 2, 3, ………, n

Therefore, after placing the previous iterative value of X in the equation above, the new X value is determined until the necessary precision is achieved. The vital point is that the method should converge in order to find a solution. The sufficient but not possible condition for the method to converge is that the matrix should be strictly diagonally dominant. The Jacobi Method is also known as the simultaneous displacement method. 


Gauss-Seidel and Jacobi Methods

The difference between Gauss-Seidel and Jacobi methods is that, Gauss Jacobi method takes the values obtained from the previous step, while the Gauss–Seidel method always uses the new version values in the iterative procedures. The reason why the Gauss-Seidel method is commonly referred to as the successive displacement method is that the second unknown is calculated by the first unknown in the current iteration, the third unknown is calculated from the 1st and 2nd unknown, etc.


Jacobi Method Example

Question: Solve the below using the Jacobian method, which is a system of linear equations in the form AX = B. 

A = \[\begin{bmatrix} 2 & 5\\ 1 & 7 \end{bmatrix}\], b = \[\begin{bmatrix} 13 \\ 11 \end{bmatrix}\], x\[^{0}\] = \[\begin{bmatrix} 1 \\ 1 \end{bmatrix}\]

Ans: 

We know that X(k+1) = D-1(B – RX(k)) is the formula that is used to estimate X.

Now, we’ll rewrite the formula as D-1(B – RX(k)) = TX(k) + C for our convenience. 

In this, T = -D-1R, C = D-1B, R = L + U

We’ll now split the matrix A as a diagonal matrix and remainder.

D = \[\begin{bmatrix} 2 & 0\\ 0 & 7 \end{bmatrix}\] ⇒ D\[^{-1}\] = \[\begin{bmatrix} \frac{1}{2} & 0\\ 0 & frac{1}{7} \end{bmatrix}\]

The lower and upper parts of the reminder of A are as follows:

R = \[\begin{bmatrix} 0 & 1\\ 5 & 0 \end{bmatrix}\], L = \[\begin{bmatrix} 0 & 0\\ 5 & 0 \end{bmatrix}\], U = \[\begin{bmatrix} 0 & 1\\ 0 & 0 \end{bmatrix}\]  

Here,

R = Remainder matrix

L = Lower part of R

U = Upper part of R

T = -D-1(L + U) = D-1[-L + (-U)]

T = \[\begin{bmatrix} \frac{1}{2} & 0\\ 0 & \frac{1}{7} \end{bmatrix}\]  {\[\begin{bmatrix} 0 & 0\\ -5 & 0 \end{bmatrix}\] + \[\begin{bmatrix} 0 & -1\\ 0 & 0 \end{bmatrix}\]} = \[\begin{bmatrix} 0 & - \frac{1}{2}\\ - \frac{5}{7} & 0 \end{bmatrix}\]

C = \[\begin{bmatrix} \frac{1}{2} & 0\\ 0 & \frac{1}{7} \end{bmatrix}\] \[\begin{bmatrix} 13 \\ 11 \end{bmatrix}\] = \[\begin{bmatrix} \frac{13}{2} \\ \frac{11}{7} \end{bmatrix}\] 

x\[^{1}\] = \[\begin{bmatrix} 0 & - \frac{1}{2}\\ - \frac{5}{7} & 0 \end{bmatrix}\] \[\begin{bmatrix} 1 \\ 1 \end{bmatrix}\]  + \[\begin{bmatrix} \frac{13}{2} \\ \frac{11}{7} \end{bmatrix}\] = \[\begin{bmatrix} \frac{12}{2} \\ \frac{6}{7} \end{bmatrix}\] ≈ \[\begin{bmatrix} 6 \\ 0.857 \end{bmatrix}\]

x\[^{2}\] = \[\begin{bmatrix} 0 & - \frac{1}{2}\\ - \frac{5}{7} & 0 \end{bmatrix}\] \[\begin{bmatrix} 6 \\ \frac{6}{7} \end{bmatrix}\]  + \[\begin{bmatrix} \frac{13}{2} \\ \frac{11}{7} \end{bmatrix}\] = \[\begin{bmatrix} \frac{85}{14} \\ -\frac{19}{7} \end{bmatrix}\] ≈ \[\begin{bmatrix} 6.071 \\ -2.714 \end{bmatrix}\]

We’ll repeat the process until it converges. 


What is the “T” Matrix?

In the Jacobi Method example problem we discussed the “T” Matrix. Let’s now understand what it is about.   While the application of the Jacobi iteration is very easy, the method may not always converge on the set of solutions. As a result, a convergence test must be carried out prior to the implementation of the Jacobi Iteration. This convergence test completely depends on a special matrix called our "T" matrix. We'll re-write this system of equations in a way that the whole system is split into the form "Xn+1 = TXn+c." In simple words, the matrix on the RHS of the equation can be split into the matrix of coefficients and the matrix of constants. 


Conclusion

The Jacobian method, one of the most basic methods to find solutions of linear systems of equations, is studied. Jacobian problems and solutions have many significant disadvantages, such as low numerical stability and incorrect solutions (in many instances), particularly if downstream diagonal entries are small. We can see while solving a variety of problems, that this method yields very accurate results when the entries are high. This method has applications in Engineering also as it is one of the efficient methods for solving systems of linear equations, when approximate solutions are known. This significantly reduces the number of computations required.

FAQs on Jacobian Method in Multivariable Calculus

1. What is the Jacobian method in mathematics?

The Jacobian method is a technique used to transform variables in multivariable calculus by using the Jacobian determinant to adjust for changes in area or volume. It is mainly applied in:

  • Change of variables in double and triple integrals
  • Transformation from one coordinate system to another (e.g., Cartesian to polar)
  • Nonlinear variable substitutions in multiple integrals
The Jacobian accounts for how much a transformation stretches or compresses space.

2. What is the formula for the Jacobian determinant?

The Jacobian determinant for two variables is given by J = ∂(x, y) / ∂(u, v). For functions x = x(u, v) and y = y(u, v):

  • J = | ∂x/∂u ∂x/∂v |
  •         ∂y/∂u ∂y/∂v |
Which equals:
J = (∂x/∂u)(∂y/∂v) − (∂x/∂v)(∂y/∂u).
This determinant measures how area changes under the transformation.

3. How do you calculate a Jacobian step by step?

To calculate a Jacobian, compute the determinant of the matrix of partial derivatives. Steps:

  • Write the transformation equations (e.g., x = x(u, v), y = y(u, v)).
  • Find all first-order partial derivatives.
  • Form the determinant matrix.
  • Evaluate the determinant.
Example: If x = u² − v² and y = 2uv:
  • ∂x/∂u = 2u, ∂x/∂v = −2v
  • ∂y/∂u = 2v, ∂y/∂v = 2u
Jacobian:
J = (2u)(2u) − (−2v)(2v) = 4u² + 4v².

4. Why is the Jacobian used in change of variables?

The Jacobian determinant is used in change of variables because it adjusts the integral for how the transformation scales area or volume. When transforming variables in a double integral:
∬ f(x, y) dx dy = ∬ f(x(u, v), y(u, v)) |J| du dv.

  • |J| accounts for stretching or shrinking.
  • It ensures the integral value remains correct after substitution.
Without the Jacobian, the computed area or volume would be incorrect.

5. What is the Jacobian for polar coordinates?

The Jacobian for polar coordinates is r. Since x = r cosθ and y = r sinθ:

  • ∂x/∂r = cosθ, ∂x/∂θ = −r sinθ
  • ∂y/∂r = sinθ, ∂y/∂θ = r cosθ
Jacobian:
J = r cos²θ + r sin²θ = r.
Thus, dx dy = r dr dθ in polar coordinates.

6. What is the difference between Jacobian matrix and Jacobian determinant?

The Jacobian matrix contains all first-order partial derivatives, while the Jacobian determinant is the determinant of that matrix. For a transformation from (u, v) to (x, y):

  • Jacobian matrix = [[∂x/∂u, ∂x/∂v], [∂y/∂u, ∂y/∂v]]
  • Jacobian determinant = determinant of that matrix
The matrix describes local linear behavior, while the determinant measures area or volume scaling.

7. What does it mean if the Jacobian determinant is zero?

If the Jacobian determinant is zero, the transformation is locally not invertible and collapses area or volume to zero. This means:

  • The mapping may not have a unique inverse.
  • The transformation flattens space in at least one direction.
  • The change of variables formula cannot be applied directly.
A zero Jacobian often indicates a critical or singular point.

8. How is the Jacobian used in triple integrals?

In triple integrals, the Jacobian determinant adjusts for volume scaling when changing variables. For a transformation (x, y, z) = (x(u, v, w), y(u, v, w), z(u, v, w)):
∭ f(x, y, z) dx dy dz = ∭ f(...) |J| du dv dw.

  • J is a 3×3 determinant of partial derivatives.
  • It measures local volume distortion.
For example, in cylindrical coordinates, the Jacobian is r.

9. Can you give a simple example of change of variables using the Jacobian?

A simple example is converting ∬ (x² + y²) dx dy to polar coordinates. Since x² + y² = r² and dx dy = r dr dθ, the integral becomes:
∬ r² · r dr dθ = ∬ r³ dr dθ.

  • The Jacobian contributes the extra factor r.
  • This simplifies circular region integrals.
This shows how the Jacobian method simplifies multivariable integration.

10. What are common mistakes when using the Jacobian method?

Common mistakes in the Jacobian method include forgetting the absolute value and computing partial derivatives incorrectly. Key errors to avoid:

  • Not using |J| in integrals
  • Mixing up rows or columns in the determinant
  • Forgetting to change integration limits
  • Using wrong transformation formulas
Careful calculation of partial derivatives and limits ensures correct results.