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

  • Context: Undergrad 
  • Thread starter Thread starter aaaa202
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the application of Poisson's equation in the context of a charge density that depends solely on one spatial coordinate, specifically ρ = ρ(x). Participants explore the implications of this assumption on the formulation and solution of the equation, including numerical methods and boundary conditions.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • One participant states the form of Poisson's equation and questions whether it simplifies to a second-order ordinary differential equation when ρ is a function of x only.
  • Another participant argues against the simplification, providing a counterexample where the potential depends on multiple coordinates, indicating that the relationship is more complex than suggested.
  • A participant mentions the challenges of solving such problems, emphasizing the importance of boundary and initial conditions in determining the solution.
  • One participant describes a numerical approach to solving the equation using finite differences and questions whether this method will yield correct results under the assumption made.
  • Another participant suggests that assuming the equation in that form does not necessarily lead to an incorrect solution but may only provide a subset of possible solutions, highlighting the need for boundary conditions.
  • The original poster clarifies that the boundary condition is that the potential should vanish at infinity and that the problem is part of a script they are writing, not an exercise.

Areas of Agreement / Disagreement

Participants express differing views on the validity of simplifying Poisson's equation under the given assumptions. There is no consensus on whether the proposed numerical method will yield correct solutions, and the discussion remains unresolved regarding the implications of the boundary conditions.

Contextual Notes

Participants note that the solution to Poisson's equation is highly dependent on boundary conditions, which are not fully specified in the discussion. The complexity of the relationship between charge density and potential is also highlighted, indicating that assumptions may limit the scope of solutions.

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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
884
  • · Replies 3 ·
Replies
3
Views
715
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K