A12 · Lesson 33 · Laplace's equation in a rectangle
The potential inside a box, one side at a time
A rectangular metal box with its lid at one voltage and its other walls grounded: what's the potential inside? It's Laplace's equation with boundary values on all four sides, and separation of variables solves it with a twist on the heat equation's method. Across the box the solution is made of sines, fitting the grounded side walls; up and down it's made of hyperbolic sines, growing toward the lid. Each sine mode reaches only a short way into the box before dying out, which is why fields from a slot or a seam leak so little into a shielded enclosure (C10).
- A box of width a and height b: the top at (here 1), the other three sides at 0. The shading and contours are the potential, summed from the first four modes.
- Near the top, the contours bunch up into the corners, where the boundary value jumps from 1 to 0. Deeper in, they flatten into smooth arcs: the fine modes have died away.
- Make the box square: the readout shows the center at almost exactly 0.25. Make it tall and narrow: the center potential falls off fast, because the lid's influence decays over about a width.
Predict
A square box has its top at and the other three sides at 0. What's the potential at its center?
Exactly , without any series: rotate the problem four ways, so each side in turn is at . Adding the four solutions gives a box with every side at , whose potential is everywhere. By symmetry each of the four contributes the same at the center, so each gives .
Name it
Separation in a rectangle
For on , , with on the sides x = 0, x = a and y = 0, and on y = b, try :
- with zero ends: , ;
- with : .
with the sine coefficients of f. For a constant lid at , for odd n.
Several sides
With nonzero values on more than one side, solve one side at a time (the others at zero) and add: superposition.
How far a mode reaches
Away from the lid, mode n falls off roughly as at a depth d: by a factor per width a for the first mode. A slot of width a in a shield lets a field into the box only about a slot-width deep.
Worked example
A square box has its four sides at 10, 20, 30 and 40 V. What's the potential at the center?
Show the solution
- Each side's share. Each side contributes a quarter of its voltage at the center.
- Add them. the average of the four.
Answer the center is at 25 V.
Worked example
Using only the first term, estimate the center of a square box with its lid at 1 V.
Show the solution
- The first term at the center.
- Compare with the exact value. That's within 2% of the exact 0.25 V; the higher terms alternate and nearly cancel.
Answer about 0.254 V, within 2% of the exact 0.25 V.
Worked example
A box is twice as tall as it is wide. Its lid is at and the other three sides are grounded. What's the potential at its center?
Show the solution
- Set up. Take width a and height , with the lid at . The solution is and the center is at , .
- The first term.
- The third term. so the center sits at .
- Why one term is enough. Each extra width of depth divides a mode by about , so far from the lid only the first mode survives.
Answer the center sits at .
Check
A square box's four sides are at 10, 20, 12 and 8 V. What's the potential at its center?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A box's lid is at 5 V and its other sides at 0. What's the coefficient of mode n = 1?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
Roughly how much of mode n = 3 remains at a depth of 0.5 box-widths below the lid? (Use .)
Check
A slot 2 mm wide in a shield: how deep must a sensor sit for the slot's first mode to fall to 0.01 of its strength?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
Using only the first mode, estimate the center of a square box whose lid is at 5 V.
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
Why does the solution use sines in x but hyperbolic sines in y?
Check
A box of width a and height 1.5a has its lid at 10 V and its other sides grounded. Use the first mode only.
(a)
What is the potential at the center?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is it on the centerline three quarters of the way up?
Check
A box of width a and height b has on its lid and 0 on its other sides, so .
Step 1
What is φ at the center?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is at the middle of the bottom?
Explain why
Why is the center of a square box with one side at exactly at ?
Laplace's equation is linear, so solutions add. Take the problem with the top at and three sides grounded, and its three rotations with each other side at in turn. Their sum has all four sides at , and the potential in a box with every wall at is everywhere. At the center, rotating the square doesn't move the point, so the four problems all give the same value there; four equal values adding to must each be .
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.