Find the divergence and curl of the given vector field

  • #1
chwala
Gold Member
2,748
387
Homework Statement
This is my own question (set by myself). Refreshing on this area...

Find the divergence and curl of the given vector field;

##F = x \cos xi -e^y j+xyz k##
Relevant Equations
Vector calculus
Been long since i studied this area...time to go back.

##F = x \cos xi -e^y j+xyz k##

For divergence i have,

##∇⋅F = (\cos x -x\sin x)i -e^y j +xy k##

and for curl,

##∇× F = \left(\dfrac{∂}{∂y}(xyz)-\dfrac{∂}{∂z}(-e^y)\right) i -\left(\dfrac{∂}{∂x}(xyz)-\dfrac{∂}{∂z}(x \cos x)\right)j+\left(\dfrac{∂}{∂x}(-e^y)-\dfrac{∂}{∂y}(x\cos x)\right)k##

##∇× F = xz i -yzj##

cheers insight welcome.
 
Last edited:
  • Like
Likes Hennessy
Physics news on Phys.org
  • #2
Looks Good. One thing to watch out for is make sure your unit vectors have hats on them
like this. p.s this isn't pre calculus Maths as this is Vector Calculus !

$$\hat{i}\: \hat{j}\: \hat{k}$$

Just to avoid confusion. i thought you had i as the complex number and i was like but its derivative would be hyperbolic. Once i figured out i, j and k were your unit vectors all was good, you've differentiated each unit vector component correctly for the divergence and the curl :)
 
  • Like
Likes WWGD, chwala and SammyS
  • #3
chwala said:
##∇× F = xz i +yzj##
I think it is a typo but second component should be nagative.

Edit:
Now I think you made a mistake in calculating ##∇× F##.
You can check your final answer using online calculators.

Check this link.
 
  • Like
Likes Hennessy and chwala
  • #4
Hennessy said:
p.s this isn't pre calculus Maths as this is Vector Calculus !
I moved the thread for exactly this reason.
 
  • Like
Likes Hennessy and SammyS
  • #5
Hennessy said:
Looks Good
It does not.
chwala said:
For divergence i have,

##∇⋅F = (\cos x -x\sin x)i -e^y j +xy k##
Divergence is a scalar, not a vector.
 
  • Like
Likes Hennessy and MatinSAR
  • #6
Orodruin said:
It does not.

Divergence is a scalar, not a vector.
I am aware of that ...let me amend..

##∇⋅F = (\cos x -x\sin x) -e^y +xy ##

Cheers @Orodruin
 
  • #7
MatinSAR said:
I think it is a typo but second component should be nagative.

Edit:
Now I think you made a mistake in calculating ##∇× F##.
You can check your final answer using online calculators.

Check this link.
correct- i will just amend my original post...cheers
 
  • Like
Likes MatinSAR
  • #8
chwala said:
correct- i will just amend my original post...cheers
When you amend a post after several replies, especially in the case of the OP, it can be very confusing.
So, if you do amend later, please make that very clear in the amended post. - Mention what's amended and why.
 
  • Like
Likes BvU
  • #9
SammyS said:
When you amend a post after several replies, especially in the case of the OP, it can be very confusing.
So, if you do amend later, please make that very clear in the amended post. - Mention what's amended and why.
Noted @SammyS
 
  • #10
SammyS said:
When you amend a post after several replies, especially in the case of the OP, it can be very confusing.
So, if you do amend later, please make that very clear in the amended post. - Mention what's amended and why.
Amen.

Using the strike BBCode strikeout capability is very helpful to let readers know what changed.
 
  • Like
Likes MatinSAR and chwala
  • #11
Hennessy said:
Looks Good. One thing to watch out for is make sure your unit vectors have hats on them
like this. p.s this isn't pre calculus Maths as this is Vector Calculus !

$$\hat{i}\: \hat{j}\: \hat{k}$$

Just to avoid confusion. i thought you had i as the complex number and i was like but its derivative would be hyperbolic. Once i figured out i, j and k were your unit vectors all was good, you've differentiated each unit vector component correctly for the divergence and the curl :) Edit: Other peeps have corrected me and it was also my mistake the answer should be scalar and not a vector , apologies for any confuison.
 
  • Like
Likes MatinSAR and chwala

FAQ: Find the divergence and curl of the given vector field

What is the divergence of a vector field?

The divergence of a vector field is a scalar measure of the rate at which the vector field spreads out from a point. Mathematically, for a vector field \( \mathbf{F} = (F_1, F_2, F_3) \), the divergence is given by \( \nabla \cdot \mathbf{F} = \frac{\partial F_1}{\partial x} + \frac{\partial F_2}{\partial y} + \frac{\partial F_3}{\partial z} \).

What is the curl of a vector field?

The curl of a vector field is a vector that represents the rotation or the swirling strength of the field at a point. For a vector field \( \mathbf{F} = (F_1, F_2, F_3) \), the curl is given by \( \nabla \times \mathbf{F} = \left( \frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z}, \frac{\partial F_1}{\partial z} - \frac{\partial F_3}{\partial x}, \frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y} \right) \).

How do you compute the divergence of a given vector field?

To compute the divergence of a given vector field \( \mathbf{F} = (F_1, F_2, F_3) \), you take the partial derivative of each component of the vector field with respect to its corresponding variable and then sum these derivatives: \( \nabla \cdot \mathbf{F} = \frac{\partial F_1}{\partial x} + \frac{\partial F_2}{\partial y} + \frac{\partial F_3}{\partial z} \).

How do you compute the curl of a given vector field?

To compute the curl of a given vector field \( \mathbf{F} = (F_1, F_2, F_3) \), you use the determinant of a matrix involving the unit vectors \( \mathbf{i}, \mathbf{j}, \mathbf{k} \) and the partial derivatives of the components of \( \mathbf{F} \). This results in \( \nabla \times \mathbf{F} = \left( \frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z}, \frac{\partial F_1}{\partial z} - \frac{\partial F_3}{\partial x}, \frac{\partial F_2}{\partial

Back
Top