How Close Can You Get to Pi Ohms Using Ten Resistors?

  • Context: Undergrad 
  • Thread starter Thread starter ceptimus
  • Start date Start date
  • Tags Tags
    Combination Resistance
Click For Summary

Discussion Overview

The discussion revolves around finding a combination of ten resistors, ranging from 1 ohm to 10 ohms, that yields a total resistance as close as possible to π ohms (approximately 3.14159265 ohms). Participants explore various configurations, including the use of fewer than ten resistors, and share their calculations and methods.

Discussion Character

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

Main Points Raised

  • Tommy initiates the discussion by asking for the best combination of resistors to approximate π ohms.
  • One participant suggests achieving a resistance of \(\frac{22}{7}\) ohms using a combination of parallel and series arrangements, resulting in an error of less than 0.002.
  • Another participant proposes using two resistors in parallel (5 ohm and 8 ohm) to get approximately 3.0769 ohms.
  • A different configuration involving five 2-ohm resistors in parallel with a 10-ohm resistor is suggested, yielding approximately 3.14093 ohms.
  • Some participants inquire about achieving the value of \(\frac{355}{113}\) ohms, with one providing a diagram for a proposed arrangement.
  • There are corrections regarding the use of resistors, with one participant noting that certain resistors were counted more than once in a proposed solution.
  • Multiple participants express the idea of using programming to brute-force the combinations to find the best solution.
  • One participant shares results from using three, four, five, six, eight, nine, and ten resistors, detailing the resistances achieved and their respective errors.
  • Another participant acknowledges the complexity of the problem and suggests that brute force may be the only feasible approach.

Areas of Agreement / Disagreement

Participants show a range of approaches and calculations, with no consensus on a single best solution. Disagreement exists regarding the legality of certain configurations and the effectiveness of proposed methods.

Contextual Notes

Some calculations and configurations rely on specific assumptions about resistor usage and arrangement, and there are unresolved mathematical steps in various proposed solutions.

Who May Find This Useful

Individuals interested in resistor combinations, electrical engineering, or mathematical problem-solving may find this discussion beneficial.

ceptimus
Messages
299
Reaction score
2
Tommy has just ten resistors, a 1-ohm, a 2-ohm, a 3-ohm and so on up to a 10-ohm.

He wants to wire them up in a combination that gives a total resistance as near as possible to π ohms, that is to say 3.14159265(etc.) ohms.

He doesn't have to use all the resistors - if he can get nearer to π ohms by only using (say) eight of the resistors, that's fine.

What's the best he can do?
 
Mathematics news on Phys.org
There's a lot of possible arrangements, and they're hard to describe.

For example: getting \frac{22}{7} is possible by using:

a 3 ohm and 4 ohm resistor in parrelel to get a \frac{12}{7} Ohm resistor
and a 2 ohm and 5 ohm resistor in parralel to get a \frac{10}{7} Ohm resistor
and then putting the two in series. That's a pretty good set-up.
\frac{22}{7}=3.\bar{1}\bar{4}\bar{2}\bar{8}\bar{5}\bar{7}
so the error is less than .002.

That leaves 6 resistors unused.
 
Last edited:
ceptimus said:
Tommy has just ten resistors, a 1-ohm, a 2-ohm, a 3-ohm and so on up to a 10-ohm.

He wants to wire them up in a combination that gives a total resistance as near as possible to π ohms, that is to say 3.14159265(etc.) ohms.

He doesn't have to use all the resistors - if he can get nearer to π ohms by only using (say) eight of the resistors, that's fine.

What's the best he can do?
Quick guess, I'm sure you can get closer, but of all the possible combinations with only 2 resistors, putting 5 and 8 in parallel gives:

3.076923077
 
Here's a slightly better answer:
5 2 Ohm resistors in parralel for a \frac{2}{5} Ohm resistor
put it in series with a 10 Ohm resistance for a \frac{52}{5} Ohm resistor
Put it in parralel with two 9 ohm resistors.
That makes for a \frac{468}{149} \approx 3.14093

This is a pretty ugly problem...
 
Any reasonable way to make 355/113 ~3.1415929 ?
 
Gokul43201 said:
Any reasonable way to make 355/113 ~3.1415929 ?

Code tags used for fixed spacing.
Numbers represent resistors of the appropriate value.

Code:
   |-1-|
 |-|   |---------|
 | |-2-|         |
-|               |-2--
 | |-4-| |-2-|   |
 |-|   |-|   |-1-|
   |-5-| |-7-|

Please double check my math.
 
NateTG said:
Code tags used for fixed spacing.
Numbers represent resistors of the appropriate value.

Code:
   |-1-|
 |-|   |---------|
 | |-2-|         |
-|               |-2--
 | |-4-| |-2-|   |
 |-|   |-|   |-1-|
   |-5-| |-7-|

Please double check my math.

You used the two-ohm and one-ohm resistors more than once.
 
ceptimus said:
You used the two-ohm and one-ohm resistors more than once.
Oh. I thought it was any 10 resistors with values 1-10...
 
Somebody should write a quick proggy to brute force it. I will see if I can do that.
 
  • #10
I doubt you can do better than 22/7 without repeats...
 
  • #11
I am assuming that we are using the proper way of calculating electronic resistance otherwise I cannot do this with as much ease.

The Bob (2004 ©)
 
  • #12
NateTG said:
Code tags used for fixed spacing.
Numbers represent resistors of the appropriate value.

Code:
    |-1-|
  |-|   |---------|
  | |-2-|         |
--|               |-2-|--
  | |-4-| |-2-|   |
  |-|   |-|   |-1-|
    |-5-| |-7-|

Please double check my math.

NateTG. I just want to double check my double checking of your calculations. I believe your resistance would be 3.709302326 etc. Ω. Here are my calculations of your answer:

1Ω and 2Ω in Parellel = 1/1 + 1/2 = 2/2 + 1/2 = 3/2. Take Reciprocal = 2/3
4Ω and 5Ω in Parellel = 1/4 + 1/5 = 5/20 + 4/20 = 9/20. Take Reciprocal = 20/9
2Ω and 7 Ω in Parellel = 1/2 + 1/7 = 7/14 + 2/14 = 9/14. Take Reciprocal 14/9

Then 20/9 + 14/9 + 1 = 20/9 + 14/9 + 9/9 = 43/9

Then the parellel resistance of the two sides (e.g. the 2/3 and the 43/9):
1/(43/9) + 1/(2/3) = 1.709302326 etc.

1.709302326 + 2 = 3.709302326Ω

Hope I am right in you being right. :biggrin:

The Bob (2004 ©)
 
  • #13
Out of interest ceptimus, had NateTG not got it in post 2#?

The Bob (2004 ©)
 
  • #14
I knew there was an error.
It should have been more like:

Code:
   |-1-|
 |-|   |-1-------|
 | |-1-|         |
-|               |-2--
 | |-4-| |-2-|   |
 |-|   |-|   |-1-|
   |-5-| |-7-|

Then it would be:
\frac{1}{\frac{3}{2}}+\frac{1}{\frac{43}{9}}=\frac{2}{3}+\frac{9}{43}=\frac{43*2+9*3}{43*3}=\frac{113}{129}
So the resistance is the reciprocal:
\frac{129}{113}
Then the total resistance is:
\frac{129}{113}+\frac{226}{113}=\frac{355}{113}

Unfortunately the condidition was that only one resistor of each value could be used, so the solution wasn't legal.

I can replace one of the 2 Ohm resistors with a 6 and a 3 Ohm resistor in parralel. That leaves the 8, 9 and 10 Ohm resistors, but even putting the lot of them in parralel gives a resistance that's too large
 
  • #15
The Bob said:
Out of interest ceptimus, had NateTG not got it in post 2#?

The Bob (2004 ©)
No. You can do much better. Here are my best efforts so far using 3, 4, and 5 resistors. By using 6, 7, 8, 9 or all 10 of the resistors, you can get much closer to PI.

Code:
3 resistors: 3.158  (error: 1.6 * 10^-2)
-+--7-----8--+- 
 |           |
 +--4--------+

4 resistors: 3.14102  (error: 5.67 * 10^-4)
-+--1--+--3--+- 
 |     |     |
 +--5--+-10--+

5 resistors: 3.141553  (error: 4.01 * 10^-5)
-+--7-----9--+- 
 |           |
 +--1--+--3--+
 |     |  
 +-10--+
 
Last edited:
  • #16
hummm...nice.
 
  • #17
Brute force or Brain Teaser?

Is there an elegant solution, or should I just dust off my C skills?
 
  • #18
NateTG said:
Is there an elegant solution, or should I just dust off my C skills?
It's brute force, so far as I know. But optimizing the program so that you're not looking at years of run time, is a nice Brain Teaser.
 
  • #19
Can I ask that we post the resistors like NateTG in post 6# pleaes because I just got confused (at a glance) with what ceptimus put in the last few posts (with the code diagram).

The Bob (2004 ©)
 
  • #20
How are the programs coming along?

Here is a 6-resistor version:
Code:
6 resistors: 3.14159292  (Error: 2.67 * 10^-7)
-+-------10--------+-
 |                 |
 +--5--+-----+--2--+
 |     |     |
 +--8--+     |
 |           |
 +--7-----9--+

With 9 resistors, I've found 105768/33667

I'll keep my 10-resistor solution secret for now.
 
  • #21
OK, as everyone seems to have given up, here are my best answers:
Code:
8 resistors: 3.141592564  (Error: 8.93 * 10^-8)

@-+--------7--------+-@
  |                 |
  +--1--+--9--------+
  |     |           |
  +--3--+--2--+-10--+
  |     |     |
  +--4--+--8--+

9 resistors: 3.1415926575 (105768/33667) (Error: 3.91 * 10^-9) 

  +--5--+--8-----+
  |     |        |
  +-10--+--4--+  |
  |           |  |
@-+-----9-----+  +-@
  |           |  | 
  +--6--+--1--+  |
  |     |        |
  +--7--+--2-----+

10 resistors: 3.1415926555 (524935/167092) (Error: 1.95 * 10^-9)

  +-10--+-----5-----+--9--+
  |     |           |     |
  +--6--+--4--+--2--+     |
  |           |     |     |
@-+           +--7--+     +-@
  |           |     |     |
  |           +--8--+     |
  |           |           |
  +-----1-----+-----3-----+
 
  • #22
Very good ceptimus. I tried writing a 'brute force' program to figure it out... I couldn't wrap my head around how to do it though. Oh well. lol
But great brain teaser.
 

Similar threads

  • · Replies 57 ·
2
Replies
57
Views
14K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
15
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
7
Views
4K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K