Find the x component of the Electric Field

AI Thread Summary
To find the x component of the electric field when charge density varies with x, the Poisson equation is used, leading to the expression dE_x/dx = p(x)/ε₀. The integration of this equation yields E_x(x) = (1/ε₀)P(x) + c, where P(x) is the integral of p(x). Since boundary conditions are not specified, it's common to assume E_x approaches zero as x approaches negative infinity or to use a specific point to determine the constant of integration. The chosen boundary condition at x=0, where E_x=0, leads to c being calculated as -P(0)/ε₀. This approach is deemed correct given the lack of additional boundary information.
themagiciant95
Messages
56
Reaction score
5

Homework Statement


Find the general formula for the x component of the electric
field if the charge density p varies only with x throughout all
space.

Homework Equations

The Attempt at a Solution



I started using the poisson equation \bigtriangledown \bullet \bar{E} = \frac{p}{\varepsilon_{0}}
From the problem text, I know that p has only the x component and so also E has only the x component.
With these information, i tried to calculate the poisson equation, obtaining :

\frac{\partial E_{x}}{\partial x} =\frac{p(x)}{\varepsilon_{0}}

But, i don't know how to continue the calculations... Can you help me ?
 
  • Like
Likes Delta2
Physics news on Phys.org
Since the variation is only in x, the left hand side is \frac{dE_x}{dx}, not \frac{\partial E_x}{\partial x}. Now multiply through by dx and integrate both sides.
 
  • Like
Likes Delta2
phyzguy said:
Since the variation is only in x, the left hand side is \frac{dE_x}{dx}, not \frac{\partial E_x}{\partial x}. Now multiply through by dx and integrate both sides.

Do i have to integrate it as an definite or indefinite integral ? In the latter case, how can i manage the constant of integration ? Thanks
 
Well, since you aren't told the boundary conditions, you will have to make some assumptions. You could assume for example that Ex at -∞ is zero. Or you could include the value of Ex at some point in your calculation.
 
For example, if i include the value of Ex in a point (it's sufficient ?), how can i use this value to calculate the constant of integration ? Thanks again
 
Why don't you show us the calculation with the constant of integration included? Then if it isn't clear how to deal with it we can make suggestions.
 
phyzguy said:
Why don't you show us the calculation with the constant of integration included? Then if it isn't clear how to deal with it we can make suggestions.

<br /> \int dE_{x} =\frac{1}{\varepsilon _{0}}\int p(x)dx<br />

E_{x}(x)=\frac{1}{\varepsilon _{0}}P(x) + c

As boundary i chose:

x=0 \rightarrow E_{x}=0
so
c=-\frac{1}{\epsilon _{0}}P(0)

is this correct ? Thanks
 
up
 
It looks OK to me. Without knowing more about the boundary conditions, I think something like this is the best you can do. You could try asking your teacher for more clarification.
 
  • Like
Likes themagiciant95
  • #10
Thanks so much for your help :)
 
Back
Top