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

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

This discussion focuses on solving Poisson's Equation, specifically the form ∇²φ = -ρ/ε, where the charge density ρ is a function of one coordinate, ρ(x), while remaining constant in the y and z coordinates. The participants clarify that the problem cannot be simplified to d²φ/dx² = -ρ(x)/ε without considering the effects of the other dimensions and boundary conditions. Numerical methods, such as discretizing ρ(x) on a grid and using finite differences to approximate the second-order derivative, are discussed as potential solutions, but the importance of boundary conditions is emphasized for accurate results.

PREREQUISITES
  • Understanding of Poisson's Equation and electrostatics
  • Familiarity with Fourier analysis for solving boundary problems
  • Knowledge of numerical methods, particularly finite difference methods
  • Basic concepts of boundary conditions in differential equations
NEXT STEPS
  • Study Fourier analysis techniques for solving boundary value problems
  • Learn about finite difference methods for numerical solutions of differential equations
  • Explore the implications of boundary conditions in electrostatics
  • Investigate advanced numerical methods for solving partial differential equations
USEFUL FOR

Physicists, electrical engineers, and applied mathematicians interested in solving Poisson's Equation and understanding electrostatic potential in varying charge densities.

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 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
666
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K