Why Do We Add 1 When Counting Numbers Between Two Integers?

  • Thread starter Thread starter Andrax
  • Start date Start date
AI Thread Summary
When counting the numbers between two integers, such as from 27 to 63, the formula used is 63 - 27 + 1. The addition of 1 accounts for including both the starting number (27) and the ending number (63) in the total count. Without adding 1, the count would only reflect the numbers between the two integers, excluding one of the endpoints. This principle applies universally in counting ranges, ensuring both endpoints are considered. Understanding this concept clarifies why the "+1" is necessary in the calculation.
Andrax
Messages
117
Reaction score
0

Homework Statement


so we have from 27... 63 we want ot calcul how much numbers in there
i was looking in the book and saw 63 -27 + 1 , now this might sound very simple but i got confused why do we add the"1" please explain..
PS:this is astupid uestion i know but it's weird it confused me ..


Homework Equations





The Attempt at a Solution


63-27
 
Physics news on Phys.org
Andrax said:

Homework Statement


so we have from 27... 63 we want ot calcul how much numbers in there
i was looking in the book and saw 63 -27 + 1 , now this might sound very simple but i got confused why do we add the"1" please explain..
PS:this is astupid uestion i know but it's weird it confused me ..


Homework Equations





The Attempt at a Solution


63-27

Not a calculus question, should be in Precalc.

OK, how many numbers from 1 to 5 (including both the starting and ending numbers)?

Is it just 5 - 1? Or is it 5 - 1 PLUS 1?

Same principle when you count from 27 to 63. If you don't add the 1, you're neglecting the starting number.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top