Number of Paths from O(0,0) to A(7,8) - No (3,4)

Click For Summary

Homework Help Overview

The discussion revolves around finding the number of paths on a grid from point O(0,0) to point A(7,8) under various conditions, including paths that pass through specific points (3,4), (2,3), and (4,6), as well as those that do not. The subject area includes combinatorial mathematics, specifically the use of binomial coefficients to calculate paths in a grid.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore different conditions for counting paths, such as those that must pass through or avoid certain points. There are attempts to calculate paths using binomial coefficients, and some participants question the assumptions made about movement restrictions (only right and up).

Discussion Status

Several participants have provided calculations for specific cases, particularly for paths through (3,4) and the total number of paths from O(0,0) to A(7,8). Guidance has been offered regarding how to approach the counting for paths that pass through or avoid multiple points, with some participants suggesting methods to account for overlaps in counting.

Contextual Notes

There is an ongoing discussion about the interpretation of conditions such as "at least one" versus "only one" in the context of path counting, which may lead to confusion in calculations. Participants are also addressing the need to exclude paths that pass through certain points when calculating totals for other conditions.

Lilia
Messages
47
Reaction score
0

Homework Statement


In a grid O(0,0) A(7,8) find the number of paths that
1. pass through (3,4)
2. don't pass through (3,4)
3. pass through M(2,3) AND N(4,6)
4. DON'T pass pass through M(2,3) and N(4,6)
5. pass through ONLY ONE of M(2,3) and N(4,6)
6. pass through AT LEAST ONE of M(2,3) and N(4,6)
7. pass through M(2,3) and don't pass through N(4,6)

Homework Equations


If the grid starts at O(0,0) and ends at A(7,8) then the length of each path is 7+8=15. The number of paths is C(7+8,7) = C(15,7)

The Attempt at a Solution


To find the number of paths that pass through (3,4), I found
1. the number of paths from O(0,0) to M(3,4) which is C(3+4,3) = C(7,3) = 7*6*5 / 1*2*3 = 35
2. the number of paths from M(3,4) to A(7,8) which is C(4+4,4) = C(8,4) = 8*7*6*5 / 1*2*3*4 = 70
3. 35*70=2450

This one is easy so I figured it out easily, please provide me with some guidance to solve the others too.
 
Physics news on Phys.org
To move (0,0) ##\to## (7,8) trough (3,4) you must add all possible ways moving only to "right" and "up".
Because this condition may possible ways are less than you think.
 
Lilia said:
3. 35*70=2450

This one is easy so I figured it out easily, please provide me with some guidance to solve the others too.
Q3 is just more of the same - (0,0) to (2,3), then (2,3) to (4,6) etc.
For Q2, how many ways are there from (0,0) to (7,8) altogether?
theodoros.mihos said:
To move (0,0) ##\to## (7,8) trough (3,4) you must add all possible ways moving only to "right" and "up".
Because this condition may possible ways are less than you think.
I believe Lilia has taken that into account already.
 
Lilia said:

Homework Statement


In a grid O(0,0) A(7,8) find the number of paths that
1. pass through (3,4)
2. don't pass through (3,4)
3. pass through M(2,3) AND N(4,6)
4. DON'T pass pass through M(2,3) and N(4,6)
5. pass through ONLY ONE of M(2,3) and N(4,6)
6. pass through AT LEAST ONE of M(2,3) and N(4,6)
7. pass through M(2,3) and don't pass through N(4,6)

Homework Equations


If the grid starts at O(0,0) and ends at A(7,8) then the length of each path is 7+8=15. The number of paths is C(7+8,7) = C(15,7)

The Attempt at a Solution


To find the number of paths that pass through (3,4), I found
1. the number of paths from O(0,0) to M(3,4) which is C(3+4,3) = C(7,3) = 7*6*5 / 1*2*3 = 35
2. the number of paths from M(3,4) to A(7,8) which is C(4+4,4) = C(8,4) = 8*7*6*5 / 1*2*3*4 = 70
3. 35*70=2450

This one is easy so I figured it out easily, please provide me with some guidance to solve the others too.

One hint only: in (2), number of paths from (0,0) to (7,8) NOT passing through (3,4) = total paths from (0,0) to (7,8), minus those that pass through (3,4).
 
haruspex said:
For Q2, how many ways are there from (0,0) to (7,8) altogether?

There are C(7+8,7) = C(15,7) = 15*14*13*12*11*10*9 / 1*2*3*4*5*6*7 = 6435 paths from O(0,0) to A(7,8). If I exclude the number of paths through M(3,4), that'd be number of paths that don't pass through M(3,4), right?

Q3: C(5,2) * C(5,2) * C(5,2). Isn't there anything to add?

Q5 and Q7 are similar in a way. In Q5 it says ONLY ONE which is, the path passes through M(2,3) and doesn't pass through N(4,6) OR the path passes through N(4,6) and doesn't pass through M(2,3). Therefore, for Q7

the number of paths that pass through M(2,3) is C(5,2)*C(10,5),
don't pass through N(4,6) is C(15,7) - (10,4)*C(5,2) (all minus those passing through N(4,6)),
multiplication of these results will be the number of paths that pass through M(2,3) and don't pass through N(4,6)

Edit: the number of paths that pass through (2,3) and don't pass through (4,6) will be the number of paths through (2,3) minus the number of paths through (2,3) AND (4,6)

This is what I figured out so far. Please tell me where I go wrong.
 
Last edited:
theodoros.mihos said:
To move (0,0) ##\to## (7,8) trough (3,4) you must add all possible ways moving only to "right" and "up".
Because this condition may possible ways are less than you think.
The original post said nothing about only moving "right and up". Why are you adding that condition?
 
HallsofIvy said:
The original post said nothing about only moving "right and up". Why are you adding that condition?
True, but the calculation performed there for Q1 appears to assume that anyway, so post #2 is redundant.. Some condition must be applied to make the answer finite.
Lilia said:
There are C(7+8,7) = C(15,7) = 15*14*13*12*11*10*9 / 1*2*3*4*5*6*7 = 6435 paths from O(0,0) to A(7,8). If I exclude the number of paths through M(3,4), that'd be number of paths that don't pass through M(3,4), right?
Yes.
Lilia said:
Q3: C(5,2) * C(5,2) * C(5,2). Isn't there anything to add?
Looks right.
Lilia said:
Edit: the number of paths that pass through (2,3) and don't pass through (4,6) will be the number of paths through (2,3) minus the number of paths through (2,3) AND (4,6)
Yes.
 
And for Q6 (through AT LEAST one) it will be all paths minus those paths that don't pass trough M(2,3) and N(4,6), i.e.

C(15,7) - [ C(15,7) - [C(5,2)*C(10,5)+C(9,3)*C(6,2)] + C(5,2)*C(4,1)*C(6,2) ]

Is this right?
 
Lilia said:
And for Q6 (through AT LEAST one) it will be all paths minus those paths that don't pass trough M(2,3) and N(4,6), i.e.

C(15,7) - [ C(15,7) - [C(5,2)*C(10,5)+C(9,3)*C(6,2)] + C(5,2)*C(4,1)*C(6,2) ]

Is this right?
I'm not following how you get that expression. As a numeric answer (if I've computed yours correctly) I get a little more.
You might be getting confused between two interpretations of 'and'. English is not great for expressing logical conjunctions. In Q4, 'and' means both. In your rephrasing of Q6 above, it has to mean either.
I would start with the number that pass through the one point, the number that pass through the other point, then consider how many paths are double counted if I add them.
 
  • #10
So, to get the correct answer, from all the paths I should exclude the number of paths that pass through (2,3), then exclude the number of paths that pass through (4,6), then exclude the number of paths that pass through both of the points?
 
  • #11
Lilia said:
So, to get the correct answer, from all the paths I should exclude the number of paths that pass through (2,3), then exclude the number of paths that pass through (4,6), then exclude the number of paths that pass through both of the points?
Since you have to count the paths that pass through at least one of the points (2,3) and (4,6), you cannot exclude paths that pass through these points.

As haruspex suggested:
- get the number of all the paths that pass through (2,3)
- get the number of all the paths that pass through (4,6)
If you add these two numbers, you have counted all the paths that you need for Q6. But, again as haruspex wrote, some path have been counted twice. If you can identify these paths and get that number ...
 
  • #12
The number of all the paths that pass through (2,3) + the number of all the paths that pass through (4,6) - the number of all the paths that pass through (2,3) and (4,6), right?
 
  • #13
Lilia said:
The number of all the paths that pass through (2,3) + the number of all the paths that pass through (4,6) - the number of all the paths that pass through (2,3) and (4,6), right?
Yes, that is what I meant. That should give the answer to Q6.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
Replies
8
Views
2K
Replies
8
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
909
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 57 ·
2
Replies
57
Views
7K
  • · Replies 80 ·
3
Replies
80
Views
10K