Verify Integration and differentiation of a vector.

In summary, the content of the conversation is about verifying simple integration and differentiation of a vector and the direction of the derivative and integral of a vector. It is stated that the direction of the derivative and integral of a vector is not necessarily the same as the direction of the original vector. Various examples and counterexamples are discussed to support this statement. It is concluded that there is no easy way to find the direction of the vector magnetic potential just by the given B.
  • #1
yungman
5,755
293
I want to verify simple integration and differentiation of a vector and verify that the direction of the derivative and integral of a vector is not the same direction of the original vector. Let:

[tex] \vec A = \hat x A_x + \hat y A_y + \hat z A_z [/tex]

1) Differentiation:

[tex]\frac {d \vec A}{dx} = \hat x \frac {d A_x}{dx} \;+\; \hat y \frac {d A_y}{dx} \;+\; \hat z \frac {d A_z}{dx} [/tex]


2) Integration:

[tex] \int\int\int \vec A \;dxdydz \;\;= \;\; \hat x \int\int\int A_x \;dxdydz \;\;+\;\; \hat y \int\int\int A_y \;dxdydz \;\;+\;\; \hat z \int\int\int A_z \;dxdydz [/tex]

eg. If

[tex] \vec A = \hat x x \;+\; \hat y y \;+\; \hat z z \;\Rightarrow\; \int\int\int \vec A \;dxdydz \;\;=\;\; \hat x (\frac 1 2 x^2yz +C_1)\;\;+\;\; \hat y (\frac 1 2 xy^2z +C_2)\;\;+\;\; \hat z (\frac 1 2 xyz^2 +C_3)[/tex]

For simplification, I did not perform a true volume integral that have limits on x, y and z.

Therefore the direction of the derivative and integral of a vector is not the same direction as the original vector.
 
Last edited:
Physics news on Phys.org
  • #2
hi yungman! :smile:
yungman said:
[tex]\frac {d \vec A}{dx} = \hat x \frac {d A_x}{dx} \;+\; \hat y \frac {d A_y}{dy} \;+\; \hat z \frac {d A_z}{dz} [/tex]

no, [tex]\frac {d \vec A}{dx} = \hat x \frac {d A_x}{dx} \;+\; \hat y \frac {d A_y}{dx} \;+\; \hat z \frac {d A_z}{dx} [/tex]

but anyway i don't understand why you expect a triple integral to be the inverse of a single derivative :confused:
 
  • #3
tiny-tim said:
hi yungman! :smile:


no, [tex]\frac {d \vec A}{dx} = \hat x \frac {d A_x}{dx} \;+\; \hat y \frac {d A_y}{dx} \;+\; \hat z \frac {d A_z}{dx} [/tex]

but anyway i don't understand why you expect a triple integral to be the inverse of a single derivative :confused:

Hi Tiny-Tim, thanks, I was just typing too fast. I corrected that already.

I am not expecting triple integral to be the inverse of a single derivative, I just want to verify the direction of the derivative and integral of a vector is not the same as the direction of the original vector A.
 
Last edited:
  • #4
For the triple integral, in general, the vector can have different directions at different points within the integration volume. So it doesn't make sense to talk about the direction of the vector. The integral will give a weighted average of the directions the vector has within the integration volume.

As for the derivative (as defined in Post #1), consider A = (x, x, 0). What is the direction of A? What is the direction of the derivative?
 
  • #5
Redbelly98 said:
For the triple integral, in general, the vector can have different directions at different points within the integration volume. So it doesn't make sense to talk about the direction of the vector. The integral will give a weighted average of the directions the vector has within the integration volume.

As for the derivative (as defined in Post #1), consider A = (x, x, 0). What is the direction of A? What is the direction of the derivative?

Thanks for the reply, I am referring to the vector A has different direction than the volume ingtegral of vector A at ANY point.

The reason I ask was mainly because of the discussion of finding vector magnetic potential for a distribution of current. I want to understand why vector A is not necessary the same direction as vector J in this equation:

1) [tex] \vec A \;=\; \frac {\mu_0}{4\pi}\int_{v'} \frac {\vec J}{|\vec r - \vec r_0|} dv'[/tex]




2)If A = (x, x, 0).

[tex] \frac{\partial \vec A}{\partial x} = (1,0,0) [/tex]

So the direction of A is not necessary same as the direction of it's derivative.
 
  • #6
yungman said:
Thanks for the reply, I am referring to the vector A has different direction than the volume ingtegral of vector A at ANY point.

The reason I ask was mainly because of the discussion of finding vector magnetic potential for a distribution of current. I want to understand why vector A is not necessary the same direction as vector J in this equation:

1) [tex] \vec A \;=\; \frac {\mu_0}{4\pi}\int_{v'} \frac {\vec J}{|\vec r - \vec r_0|} dv'[/tex]
Hmmm, my suspicion is that if J is continuous, then some J within the integration volume would have the same direction as A. But I could be wrong. (EDIT: I believe I am wrong.)

If J need not be continuous, then I can come up with a fairly simple counterexample:

You're obviously talking about the magnetic vector potential. Consider a square loop of current in the xy plane, oriented so that J always points in the (±1,0,0) or (0,±1,0) direction:

[PLAIN]http://www.lei.ucl.ac.be/~matagne/ELECMAGN/SEM05/S05F64.GIF[/INDENT][/INDENT]

However, in the vicinity of the corners of the square, A will point at roughly 45 degrees to the J's, or the (±1,±1,0) directions.

2)If A = (x, x, 0).

[tex] \frac{\partial \vec A}{\partial x} = (1,0,0) [/tex]

So the direction of A is not necessary same as the direction of it's derivative.
Correct.​
 
Last edited by a moderator:
  • #7
Redbelly98 said:
Hmmm, my suspicion is that if J is continuous, then some J within the integration volume would have the same direction as A. But I could be wrong. (EDIT: I believe I am wrong.)

If J need not be continuous, then I can come up with a fairly simple counterexample:

You're obviously talking about the magnetic vector potential. Consider a square loop of current in the xy plane, oriented so that J always points in the (±1,0,0) or (0,±1,0) direction:

[PLAIN]http://www.lei.ucl.ac.be/~matagne/ELECMAGN/SEM05/S05F64.GIF[/INDENT][/INDENT]

However, in the vicinity of the corners of the square, A will point at roughly 45 degrees to the J's, or the (±1,±1,0) directions.


Correct.​


Thanks for your time.

From what we have so far, I think the integral of a vector is not "usually" in the same direction of the original vector. When you talk about some special cases, yes, they cound be in the same direction, but the main point is that they are "usually" not in the same direction and one cannot count on any directional relation.

All these are just to proof that there is no easy way to find the direction of the vector magnetic potential just by the given B. One can only derive A from B only in some cases that have particular symetry where you can apply something like the Gauss law or Amperes' law like int E and B resp.​
 
Last edited by a moderator:

FAQ: Verify Integration and differentiation of a vector.

What is integration of a vector?

Integration of a vector is the process of finding the antiderivative of each component of the vector and combining them to form a new vector. It is a way to calculate the total value or area under a curve.

How do you verify integration of a vector?

To verify integration of a vector, you can differentiate the resulting vector and check if it matches the original vector. If the two vectors are the same, then the integration is correct.

What is differentiation of a vector?

Differentiation of a vector is the process of finding the derivative of each component of the vector and combining them to form a new vector. It is a way to calculate the rate of change or slope of a curve at a given point.

How do you verify differentiation of a vector?

To verify differentiation of a vector, you can integrate the resulting vector and check if it matches the original vector. If the two vectors are the same, then the differentiation is correct.

What is the importance of verifying integration and differentiation of a vector?

Verifying integration and differentiation of a vector ensures the accuracy of the calculations and helps to identify any errors that may have occurred during the process. It also helps to understand the relationship between integration and differentiation, which is crucial in many areas of science and mathematics.

Similar threads

Back
Top