The integer part is (? distributive ?)

  • Thread starter Thread starter icantadd
  • Start date Start date
  • Tags Tags
    Integer
Click For Summary

Homework Help Overview

The discussion revolves around the properties of the floor function, specifically exploring the relationship between the floor of a difference of two real numbers and the difference of their floors. The original poster aims to demonstrate that [a - b] = [a] - [b] for real numbers a and b.

Discussion Character

  • Conceptual clarification, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss specific examples to illustrate the properties of the floor function, questioning how to generalize observations. The original poster attempts to establish the relationship for specific cases (subtracting 0 and 1) and expresses uncertainty about extending this to all numbers.

Discussion Status

The discussion is ongoing, with participants exploring various cases and providing examples. Some participants express uncertainty about the generalization of the original poster's observations, while others contribute by breaking down numbers into their integer and fractional parts.

Contextual Notes

There is a focus on specific values being subtracted (0 and 1) from a, and participants are examining the implications of these cases on the general formula. The original poster acknowledges difficulty in demonstrating the property for non-integer values of a.

icantadd
Messages
109
Reaction score
0
the integer part is ... (?? distributive ??)

Homework Statement



Define the floor of a real number k where [k] is the least smallest integer from k.

I want to show that [a - b] = [a] -

Homework Equations


n/a


The Attempt at a Solution


[1.2 - 5.7] = [-3.8] = -4
[1.2] - [5.7] = 1 - 5 = -4

I am not sure how to go about generalizing the observation above to all numbers.
 
Physics news on Phys.org


You don't:
[5.2 - 2.3] = [2.9] = 2
[5.2] - [2.3] = [5] - [2] = 3

Sorry :smile:
 


Yes, thank you CompuChip. However I stated the problem wrong. What I am thinking is this:

Let a > 0. Then
[a - 0] = [a] - 0 and
[a - 1] = [a] - 1.

I only care about the values being subtracted from a of 0 and 1, nothing else. Then if b = 0 or 1, [a-b] = [a] - b. This should hold, correct? Demonstrating it works for 0 is easy. I don't know how to show it for 1, but here is my attempt:

a - 1 < a
Suppose a is an integer. Then [a - 1] = a - 1 = [a] - 1.
Suppose a is not an integer. I am not sure. It seems to work fine with all the tests I can give (a>0). I don't know how to write this.
 


Let x be any (positive, although it probably works for any) number. Then write x as n + f, with n an integer and f the fractional part (0 <= f < 1).
 


CompuChip said:
Let x be any (positive, although it probably works for any) number. Then write x as n + f, with n an integer and f the fractional part (0 <= f < 1).

Yes, thank you. Work backwards, of course.
 

Similar threads

Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K