Finding the Electric Field Twice: Solving for Potential

AI Thread Summary
The discussion focuses on calculating the electric potential from a given electric field and the confusion arising from the integration process. The electric field is expressed as E = k[y^2 x + (2xy + z^2) y + 2yz z]. The potential is derived through integration, but discrepancies arise when attempting to differentiate back to find the electric field again, leading to the appearance of the electric field being calculated twice. Participants clarify that the path chosen for integration must be consistent across all components of the electric field to ensure accurate results. Ultimately, the conversation emphasizes the importance of maintaining a single path throughout the integration process to avoid errors in calculating the potential and electric field.
Bert
Messages
28
Reaction score
0
Given is the electrical field &\mathbf{E}& = k[y^2 \^{&\mathbf{x}&} + (2xy + z^2)\^{&\mathbf{y}&} + 2yz \^{&\mathbf{z}&}]


I will like to find the potential so I integrate and become V(r) = -k (y^2x + xy^2 + z^2y + yz^2) then I try to find the elektrical field again, so I differentiate this potential and become:

\frac{\partial v }{\partial x} =- k ( y^2 + y^2 )
\frac{\partial v}{\partial y}=-k (2yx + 2xy + z^2 + z^2 )
\frac{\partial v} {\partial z}=-k (2zy + 2yz)

Wy find I two times the electrical field? and not ones? Thanks.
 
Physics news on Phys.org
The problem is with the way you're doing the line integral...

E.dl = k[y^2dx + (2xy+z^2)dy + 2yzdz]

Break up the path from
(0,0,0) to (x,y,z) into 3 paths:

(0,0,0) to (x,0,0) here... dy and dz = 0... so you only need to worry the first part... the second and third are 0... note that y and z.
(x,0,0) to (x,y,0) ... here only the second part (here x and z are constant)
(x,y,0) to (x,y,z) ... third part (here x and y are constant)

This way you'll get a different potential than the one you got.
 
Thus the problem is path dependent? so i calculate the rot from the eletric field and that gives 0. Thus a conservative field? why not?
 
Bert said:
Thus the problem is path dependent? so i calculate the rot from the eletric field and that gives 0. Thus a conservative field? why not?

It is a conservative field (you can check this... the curl of the field is 0 everywhere so it is conservative)... any path from (0,0,0) (or any other fixed point) to (x,y,z) will work... but you didn't use a path from (0,0,0) to (x,y,z)...

You used:

(0,y,z) to (x,y,z) in the first part...

(x,0,z) to (x,y,z) in the second part

(x,y,0) to (x,y,z) in the third part...

But these three together don't form a path from (0,0,0) to (x,y,z).

You need something like:

(0,0,0) to A
A to B
B to C
C to (x,y,z)

A, B and C can be any intermediate points...
 
sorry I don't see why my path hold not for every arbitrary (x,y,z) I will like to calculate the potential in every point in space in one time?
 
The thing to remember is that although:

&\mathbf{E}& = k[y^2 \^{&\mathbf{x}&} + (2xy + z^2)\^{&\mathbf{y}&} + 2yz \^{&\mathbf{z}&}]

is path independent... the x y and z components are each path dependent...

What I mean is suppose you get the integral of x component of the field... you choose a path from (0,0,0) to (x,y,z)... then when you do the integral of the y component, you need to use the same path for that part... and then the same path for the z part...

For the first part, suppose you chose (0,0,0) to (0,y,0) to (0,y,z) to (x,y,z)... then in your next two parts, you should choose the same path...

Choose the same path for each of the 3 parts... what's going to happen is everything will turn out 0 except... (0,y,z) to (x,y,z) for the first... (0,0,0) to (0,y,0) for the second... and (0,y,0) to (0,y,z) for the third...

Let me know if this makes sense...
 
Bert said:
sorry I don't see why my path hold not for every arbitrary (x,y,z) I will like to calculate the potential in every point in space in one time?

You need the same path for the x component, y component and z component... choose 1 path... then stick to that path when doing the integration...

From what point to what point are you calculating the line integral...
 
oké I need to remove x y components en substitute somthing like y=kx etc ?
 
Bert said:
oké I need to remove x y components en substitute somthing like y=kx etc ?

You could... but it's unnecessary...

Choose a simple path from (0,0,0) to (x,y,z)... let's say

(0,0,0) to (x,0,0) along the x axis
then (x,0,0) to (x,y,0) in the y direction
then (x,y,0) to (x,y,z) in the z direction

-\int{k[y^2 \^{&\mathbf{x}&}]\cdot\vec{ds}}

over this path... what do you get?

use the same path for

-\int{k[(2xy + z^2)\^{&\mathbf{y}&}]\cdot\vec{ds}}

And then for

-\int{k[2yz \^{&\mathbf{z}&}]\cdot\vec{ds}}

summing the 3 what's your field?
 
Last edited:
  • #10
for the first y=0 so some ct so -k ct

for the second \int -k \ 2xy = -k \ \frac{2}{2}xy^2 =-k \ xy^2

for the last one -k \ 2 \ y \ \frac{1}{2} z^2=-k \ y \ z^2

so finaly -k -kxy^2 - kyz^2 is this oké?
 
  • #11
Bert said:
for the first y=0 so some ct so -k ct

How do you get that?

for the second \int -k \ 2xy = -k \ \frac{2}{2}xy^2 =-k \ xy^2

for the last one -k \ 2 \ y \ \frac{1}{2} z^2=-k \ y \ z^2

These two are good.
 
  • #12
the first -k \int y^2 dx because the path over y is 0 so y=0 therfore, I think that we get - k \int 0 \ dx and this is constant so - k \int 0 \ dx =c is that wrong?
 
  • #13
Bert said:
the first -k \int y^2 dx because the path over y is 0 so y=0 therfore, I think that we get - k \int 0 \ dx and this is constant so - k \int 0 \ dx =c is that wrong?

It should really be an integral with limits... \int_{(0,0,0)}^{(x,0,0)}0dx so the constants cancel and the result is 0.

Also, we're taking the convention that V(0,0,0) =0
 
  • #14
Oké thanks.
 
  • #15
Bert said:
Oké thanks.

No prob. So V = -kxy^2 - kyz^2

gives back the E you need...
 
  • #16
right thanks.
 
Back
Top