Solve High School Lockers Calculus Problem

  • Thread starter whisperblade
  • Start date
  • Tags
    Calculus
In summary, the conversation discusses a problem given by a college professor involving a high school with 1000 students and numbered lockers. The students walk past the lockers and open or shut the door of any locker that divides their own locker number. The question is how many lockers are open at the end. The suggestion is to plug-n-chug and map out the first 15-20 students to see the pattern.
  • #1
whisperblade
11
0
Hi everyone, i recently got this problem from my college professor and I am either incredibly rusty or just don't know how to do this. I've tried to set up some sort of equation using f(x) but i just can't make anything fit or account for everything. any help would be appreciated.

the question follows:
A high school has 1000 students and each has a numbered locker where they keep various smelly items. Fortunately all the locker doors are shut. One by one, each student walks past the lockers, and either opens or shuts (depending on its previous position) the door of any locker that divides their own locker number. How many lockers are open at the end?
 
Physics news on Phys.org
  • #2
My daughter got this same problem a few weeks back. Suggest you just plug-n-chug to map out the 1st 15-20 students until you see the pattern. At least, that's how we did it.
 
  • #3


Hello,

This is an interesting problem that combines both mathematics and logic. To solve this, we can use a combination of calculus and number theory.

First, let's define some variables:
- n = the number of lockers (in this case, n = 1000)
- x = the locker number of the student
- f(x) = the number of factors of x (i.e. the number of lockers that divide x)

Now, let's think about what happens when a student walks past the lockers. If the student's locker number is x, they will open or shut the door of any locker that divides x. This means that if x has an odd number of factors, the student will open the locker, and if x has an even number of factors, the student will shut the locker.

Using this information, we can create a function that represents the number of open lockers at any given time. Let's call this function g(n), where n is the number of lockers. We can express g(n) as follows:

g(n) = f(1) + f(2) + f(3) + ... + f(n)

This function represents the total number of factors of all the numbers from 1 to n. Using calculus, we can approximate this function by taking the integral of f(x) from 1 to n. This gives us the following equation:

g(n) ≈ ∫f(x)dx from 1 to n

Now, we need to find the function f(x). To do this, we can use number theory. It is a well-known fact that the number of factors of a number is equal to the number of divisors of that number. So, f(x) can be represented as the number of divisors of x.

Using this information, we can now solve the problem. We know that n = 1000, so we can plug this value into our equation for g(n) and approximate it using calculus. This will give us an estimate of the number of open lockers at the end.

However, it is important to note that this is only an approximation and may not give us the exact answer. To find the exact answer, we would need to use number theory to find the number of divisors of 1000 and then plug that value into our equation for g(n).

I hope this helps and gives you a better understanding of how to approach this problem. Good
 

What is the purpose of solving high school lockers calculus problem?

The purpose of solving high school lockers calculus problem is to understand the concept of permutations and combinations, which are fundamental principles in mathematics. It also helps to develop critical thinking and problem-solving skills.

What are the steps involved in solving a high school lockers calculus problem?

The steps involved in solving a high school lockers calculus problem are:

  1. Identify the pattern or sequence of lockers being opened or closed.
  2. Determine the total number of lockers and students.
  3. Apply the principles of permutations and combinations to find all possible combinations of open and closed lockers.
  4. Use logic and reasoning to eliminate any impossible combinations.
  5. Find the final answer by counting the remaining possible combinations.

What are some common mistakes to avoid when solving a high school lockers calculus problem?

Some common mistakes to avoid when solving a high school lockers calculus problem are:

  • Forgetting to consider the first and last lockers in the sequence.
  • Not understanding the difference between permutations and combinations.
  • Incorrectly counting or grouping the lockers.
  • Not considering all possible combinations.
  • Not checking for accuracy or double-checking the final answer.

How can solving high school lockers calculus problem be applied in real life?

Solving high school lockers calculus problem can be applied in real life situations where we need to arrange or organize items in a specific order. For example, when arranging seats in a movie theater or assigning lockers in a school. It can also be used in business and finance to calculate the number of possible outcomes for different scenarios.

What are some resources for practicing and improving high school lockers calculus problem-solving skills?

There are many resources available for practicing and improving high school lockers calculus problem-solving skills, such as:

  • Online math forums and communities
  • Math textbooks and workbooks
  • Tutoring services
  • Practice problems and worksheets
  • Math games and puzzles

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
16
Views
12K
  • General Math
Replies
1
Views
3K
  • General Math
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
7
Views
16K
Replies
1
Views
2K
  • Science and Math Textbooks
Replies
17
Views
2K
Replies
4
Views
135
  • Science and Math Textbooks
Replies
12
Views
2K
Back
Top