I Poisson's Equation: Solving for φ with ρ(x)

  • I
  • Thread starter Thread starter aaaa202
  • Start date Start date
Click For Summary
The discussion centers on the application of Poisson's equation when the charge density is a function of one coordinate, specifically ρ = ρ(x). It clarifies that simplifying the equation to d²φ/dx² = -ρ(x)/ε is not generally valid, as the potential φ is influenced by the entire charge distribution in space. The complexity of solving such problems is emphasized, noting that boundary and initial conditions are crucial for accurate solutions. Numerical methods, such as discretizing the charge density and using finite differences, may yield only a subset of solutions without proper boundary conditions. The conversation concludes that the problem is part of a script for solving Poisson's equation rather than a mere exercise.
aaaa202
Messages
1,144
Reaction score
2
Poissons equation states that:

2φ = -ρ/ε

Now suppose that the charge density is actually only a function of one coordinate ρ = ρ(x) but constant in y and z. Is the problem then equivalent to solving:

d2φ/dx^2 = -ρ(x)/ε

or what will the effect of the partial derivatives of y and z be in this case?
 
Physics news on Phys.org
No that's not generally true. Consider for example ##\rho(x) = x## then ##\varphi(\vec r) = -\frac{y^2}{2\epsilon}x## would be a solution.

To solve a problem like this can be quite complicated and depends on the boundary and initial conditions. You can learn how to solve boundary problems like this in a book/course about Fourier analysis.
 
Any charge, whatever its dependence on the coordinates may be, affects the potential at any point in space. The Poisson equation that you wrote is not a vector equation. So you cannot just take the x dependence on either side and say that they are equal. Each partial derivative on the left is related to the entire right hand side, and so is their sum.
 
Okay but I have a numerical problem where I am given ρ(x,y,z) = ρ(x). To solve for the electrostatic potential I then discretize ρ(x) on a grid of n points and approximate the second order derivative D = d2/dx2 as a matrix in the standard way using finite differences. I then calculate the electrostatic potential as:

φ = [d2/dx2]-1(-ρ/ε), where [d2/dx2]-1 is the inverted matrix of D written above.

Will this in general not give the correct solution? I guess not since, I am assuming that Poissons equation can be written as:

d2φ/dx2 = -ρ/ε
 
Is this an exercise? Maybe it should be in the exercise section then with all information provided. I don't know anything about numerical methods but if you assume the equation of that form doesn't mean you necessarily get a wrong solution. You simply only get a subset of all possible solutions. But imo the question doesn't make much sense without having boundary conditions.
 
The boundary condition is that the potential should vanish at infinity. It is not an exercise. Rather part of a script I am writing for solving Poissons equation.
 
Hello, I'm joining this forum to ask two questions which have nagged me for some time. I am in no way trolling. They both are presumed obvious, yet don't make sense to me. Nobody will explain their positions, which is...uh...aka science. I also have a thread for the other question. Yes, I'm questioning the most elementary physics question we're given in this world. The classic elevator in motion question: A person is standing on a scale in an elevator that is in constant motion...
Thread ''splain this hydrostatic paradox in tiny words'
This is (ostensibly) not a trick shot or video*. The scale was balanced before any blue water was added. 550mL of blue water was added to the left side. only 60mL of water needed to be added to the right side to re-balance the scale. Apparently, the scale will balance when the height of the two columns is equal. The left side of the scale only feels the weight of the column above the lower "tail" of the funnel (i.e. 60mL). So where does the weight of the remaining (550-60=) 490mL go...