Solving Divergence Problem of $\vec{B}(x,y,z)$

  • Context: Graduate 
  • Thread starter Thread starter Dopplershift
  • Start date Start date
  • Tags Tags
    Divergence
Click For Summary

Discussion Overview

The discussion revolves around finding the divergence of a vector field \(\vec{B}(x,y,z)\) defined in terms of its components. Participants explore the mathematical steps involved in calculating the divergence and clarify the nature of the resulting expression.

Discussion Character

  • Mathematical reasoning

Main Points Raised

  • One participant presents the vector field \(\vec{B}(x,y,z) = (x^3+y^2z)\hat{x}+(y^3+x^2z)\hat{y}\) and outlines the steps to compute its divergence, arriving at the expression \(3x^2 + 3y^2\).
  • Another participant confirms that \(3x^2 + 3y^2\) is indeed a scalar, noting it varies at different points in the plane.
  • A question is raised regarding the initial participant's uncertainty about whether their answer is a scalar.
  • A later reply reiterates that \(3x^2 + 3y^2\) is a scalar and acknowledges the oversight of removing the unit vectors during the dot product calculation.

Areas of Agreement / Disagreement

Participants generally agree that the result of the divergence calculation is a scalar, and the initial confusion about this point is resolved through clarification.

Contextual Notes

The discussion does not delve into potential assumptions or limitations regarding the vector field or the divergence operation itself.

Dopplershift
Messages
58
Reaction score
9
So I have this problem which wants me to find the divergence of:
\begin{equation}
\vec{B}(x,y,z) = (x^3+y^2z)\hat{x}+(y^3+x^2z)\hat{y}
\end{equation}
Given that the divergence is given by:
\begin{equation}
\nabla \cdot \vec{B} = (\hat{x}\frac{\partial}{\partial x}+ \hat{y}\frac{\partial}{\partial y}) \cdot (B_x \hat{x} +B_y \hat{y} ) = \frac{\partial B_x}{\partial x} + \frac{\partial B_y}{\partial y}
\end{equation}
By doing that I get:
\begin{equation}
3x^2+3y^2
\end{equation}
I feel like the answer should be a scalar, can someone give me a hint if I am doing the correct steps, or provide me a hint on where I am going wrong?
 
Physics news on Phys.org
##3x^2 + 3y^2 ## is a scalar. It is just a different scalar at any given point in the plane.
 
Why do you believe your answer isn't a scalar?
 
RUber said:
##3x^2 + 3y^2 ## is a scalar. It is just a different scalar at any given point in the plane.

Ah, yes, you're right, I forgot that I got rid of the \hat{x} and \hat{y} when I took the dot product.

Thank you! :)
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K