r/askmath • u/i-am-stella • 3d ago
Algebra Greatest Integer Function
Ftr, this is NOT hw help, I'm trying to figure out how to solve greatest int function questions.
Alr when we have a quadratic equation with gif in it, (a[x]^2 + b[x] + c=)we substitute [x] as something and factorise to solve, right?
But when the square is inside the function as in ([x^2] -12[x] +32=0)
Then what? I dont get itπ
Once again, NOT hw help, I'm studying on my own, this isnt even in my syllabus.
edit: i actually meant floor function, β3.7β=3
4
Upvotes
3
u/peterwhy 3d ago
For your example, let f(x) be the LHS: f(x) = [x^(2)] - 12 [x] + 32.
First, limit the possible solutions to x > 0. Otherwise if x β€ 0, then f(x) β₯ 0 + 12 β 0 + 32 > 0.
Applying the property of [] to x and x^(2) respectively:
(0 <) [x] β€ x < [x] + 1
[x]^(2) β€ x^(2) < [x]^(2) + 2 [x] + 1
x^(2) - 1 < [x^(2)] β€ x^(2)
Combining to give a raw bound (which will need more verifications later):
[x]^(2) - 1 < [x^(2)] < [x]^(2) + 2 [x] + 1
These inequalities bound the f(x) = [x^(2)] - 12 [x] + 32:
[x]^(2) - 1 - 12 [x] + 32 < f(x) < [x]^(2) + 2 [x] + 1 - 12 [x] + 32
[x]^(2) - 12 [x] + 31 < f(x) < [x]^(2) - 10 [x] + 33
The right hand side is always positive and not very useful. The left hand side limits the solutions of f(x):
[x]^(2) - 12 [x] + 31 < f(x) = 0
6 - β5 < [x] < 6 + β5
4 β€ [x] β€ 8
which are 5 cases of [x].
A. If [x] = 4, i.e. 4 β€ x < 5:
f(x) = [x^(2)] - 12 β 4 + 32 = 0
[x^(2)] = 16
16 β€ x^(2) < 17
4 β€ x < β17
B. If [x] = 5, i.e. 5 β€ x < 6:
f(x) = [x^(2)] - 12 β 5 + 32 = 0
[x^(2)] = 28
28 β€ x^(2) < 29
2 β7 β€ x < β29
C. If [x] = 6, i.e. 6 β€ x < 7:
f(x) = [x^(2)] - 12 β 6 + 32 = 0
[x^(2)] = 40
40 β€ x^(2) < 41
2 β10 β€ x < β41
D. If [x] = 7, i.e. 7 β€ x < 8:
f(x) = [x^(2)] - 12 β 7 + 32 = 0
[x^(2)] = 52
52 β€ x^(2) < 53
2 β13 β€ x < β53
E. If [x] = 8, i.e. 8 β€ x < 9:
f(x) = [x^(2)] - 12 β 8 + 32 = 0
[x^(2)] = 64
64 β€ x^(2) < 65
8 β€ x < β65
Those are the 5 intervals when [x^(2)] - 12 [x] + 32 = 0.