Calculating Div and Curl for some arbitrary vector fields

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 5K views
Vuldoraq
Messages
265
Reaction score
1

Homework Statement



Calculate the (1) divergence and (2) curl of the following vector fields.
(a) [tex]\widehat{E}(\widehat{x}) = r^{n}\widehat{x}[/tex]
(b) [tex]\widehat{E}(\widehat{x}) = r^{n}\widehat{a}[/tex]
(c) [tex]\widehat{E}(\widehat{x}) = r^{n}*(\widehat{a} X \widehat{x}[/tex]
where r = |[tex]\widehat{x}|[/tex] and [tex]\widehat{a}[/tex] is a constant vector .


Homework Equations



?

The Attempt at a Solution



I know how to find the divergence and curl of a vector or scalar field if told the equation for the field explicitly, but how would I solve the above? I don't know where to begin so any help would be greatly appreciated!

Also what is a constant vector? I thought to define a vector you have to give a direction and magnitude and in giving it those quantities you effectively make it constant? Unless it means that wherever in your coordiante system it is it has the same value (but wouldn't that just be a vector)? Please help.
 
Physics news on Phys.org
Vuldoraq said:
I know how to find the divergence and curl of a vector or scalar field if told the equation for the field explicitly, but how would I solve the above? I don't know where to begin so any help would be greatly appreciated!

You are given the explicit fields.

For the first one, you have two good options: (1) Use Spherical coordinates where [tex]\hat{x}[/tex] denotes the radial unit vector, and [tex]r[/tex] denotes the radius. (2) Use Cartesian coordinates, where [tex]r=\sqrt{x^2+y^2+z^2}[/tex] and [tex]\hat{x}=\frac{x\hat{i}+y\hat{j}+z\hat{k}}{\sqrt{x^2+y^2+z^2}}[/tex].

Also what is a constant vector? I thought to define a vector you have to give a direction and magnitude and in giving it those quantities you effectively make it constant? Unless it means that wherever in your coordiante system it is it has the same value (but wouldn't that just be a vector)? Please help.

The length or direction of some vectors depend on position. For example, the length of the vector [tex]\vec{u}=2x\hat{i}[/tex] depends on its position along the x-axis. A constant vector is a vector whose length and direction are position independent. For example; [tex]\vec{u}=4\hat{i}-3\hat{j}[/tex] always has length of 5 units, and always points in the same direction no matter where it is placed.
 
Okay, thankyou for your help.

For part (a) then, is this the right solution;

[tex]\nabla \cdot \widehat{E}=\frac{1}{r^{2}} \frac{d}{dr} r^{2}r^{n}[/tex]
[tex]\frac{1}{r^{2}} \frac{d}{dr} r^{n+2}=(n+2)*r^{n-1}[/tex]

[tex]\nabla \times \widehat{E}=0[/tex]

For part (b) would both the divergence and the curl be zero because the constant vector [tex]\widehat{a}[/tex] has no dependence on the coordinate system?

For part c I'm not really sure how to cross [tex]\widehat{x}[/tex] and [tex]\widehat{a}[/tex]. Is it right to say that (using spherical polars);

[tex]\widehat{x}=\widehat{r}*x[/tex]
and
[tex]\widehat{a}=\widehat{r}*a_{1}+\widehat{\theta}*a_{2}+\widehat{\phi}*a_{3}[/tex]?
 
I have made a cancerous error in the transcription of my problem from paper to pc. All the hats below, implying unit vectors, should be arrows, making them plain vectors.

Vuldoraq said:

Homework Statement



Calculate the (1) divergence and (2) curl of the following vector fields.
(a) [tex]\widehat{E}(\widehat{x}) = r^{n}\widehat{x}[/tex]
(b) [tex]\widehat{E}(\widehat{x}) = r^{n}\widehat{a}[/tex]
(c) [tex]\widehat{E}(\widehat{x}) = r^{n}*(\widehat{a} \times \widehat{x})[/tex]
where r = |[tex]\widehat{x}|[/tex] and [tex]\widehat{a}[/tex] is a constant vector .

Thus we should have;

(a) [tex]\vec{E}(\vec{x}) = r^{n}\vec{x}[/tex]
(b) [tex]\vec{E}(\vec{x}) = r^{n}\vec{a}[/tex]
(c) [tex]\vec{E}(\vec{x}) = r^{n}*(\vec{a} \times \vec{x})[/tex]
where r = |[tex]\vec{x}|[/tex] and [tex]\vec{a}[/tex] is a constant vector .
 
Vuldoraq said:
I have made a cancerous error in the transcription of my problem from paper to pc. All the hats below, implying unit vectors, should be arrows, making them plain vectors.
Thus we should have;

(a) [tex]\vec{E}(\vec{x}) = r^{n}\vec{x}[/tex]
(b) [tex]\vec{E}(\vec{x}) = r^{n}\vec{a}[/tex]
(c) [tex]\vec{E}(\vec{x}) = r^{n}*(\vec{a} \times \vec{x})[/tex]
where r = |[tex]\vec{x}|[/tex] and [tex]\vec{a}[/tex] is a constant vector .

Okay; then for (a)so the same thing as above but with [tex]\vec{x}=r\hat{x}[/tex]

For (b) and (c), you will need to use a couple of vector identities. Be careful, [tex]\vec{a}[/tex] is a constant vector, so [tex]\vec{\nabla}\cdot\vec{a}=\vec{\nabla}\times\vec{a}=0[/tex]...But that doesn't necessarily mean [tex]\vec{\nabla}\cdot(r^n\vec{a})=0[/tex] or [tex]\vec{\nabla}\times(r^n\vec{a})=0[/tex]...you have vector identities for the div/curl of the product between a scalar function and a vector function don't you?...Use them.
 
I see. I think it was just the new notation my teacher is using this term that threw me off. It seems so simple now that you have explained it to me (a clear explanation is worth a hundred hours of hard work!).

Thanks for your help!