Find the divergence and curl of the given vector field

Click For Summary
SUMMARY

The discussion centers on calculating the divergence and curl of the vector field defined as F = x cos(x) i - e^y j + xyz k. The divergence is correctly computed as ∇⋅F = (cos x - x sin x) - e^y + xy, confirming that divergence is a scalar quantity. The curl is initially miscalculated, but the correct expression is ∇×F = xz i - yz j. Participants emphasize the importance of using unit vector notation with hats and clarifying any amendments made to original posts to avoid confusion.

PREREQUISITES
  • Understanding of vector calculus concepts, specifically divergence and curl
  • Familiarity with unit vector notation, including the use of hats (e.g., $\hat{i}, \hat{j}, \hat{k}$)
  • Proficiency in partial differentiation techniques
  • Experience with mathematical notation and symbols used in vector fields
NEXT STEPS
  • Review vector calculus textbooks focusing on divergence and curl calculations
  • Practice using online calculators for verifying vector field computations
  • Learn about common mistakes in vector calculus to enhance accuracy
  • Explore advanced topics in vector calculus, such as Green's Theorem and Stokes' Theorem
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with vector fields and require a solid understanding of divergence and curl calculations.

chwala
Gold Member
Messages
2,828
Reaction score
420
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   Reactions: Hennessy
Physics news on Phys.org
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   Reactions: WWGD, chwala and SammyS
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   Reactions: Hennessy and chwala
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   Reactions: Hennessy and SammyS
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   Reactions: Hennessy and MatinSAR
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
 
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   Reactions: MatinSAR
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   Reactions: BvU
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   Reactions: 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   Reactions: MatinSAR and chwala

Similar threads

Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
1K
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 2 ·
Replies
2
Views
839
  • · Replies 2 ·
Replies
2
Views
1K