How do I know what multiplum I need?

Nemanjavuk69

Junior Member
Joined
Mar 23, 2022
Messages
67
Dear everyone


I am looking for a theorem, proof, Definition or anything else, which tells me how to find the multiplum

Suppose I have this equation [imath]a=99[/imath]

I need to make [imath]a[/imath] be into the interval [150;200]. Suppose we now get told a number we can add to [imath]a[/imath] as many times we want as long as [imath]a[/imath] is inside the interval [150;200]. This number we get is 10.

We can now construct the following equation [imath]a=99+(10 \cdot n)[/imath] where [imath]n[/imath] is the multiplum of 10.

We are restricted to only allowing [imath]n[/imath] to be of integer type.

My question is, how do we know what [imath]n[/imath] has to be? It is obivious that [imath]n[/imath] can be [6;10]. Is there a way to calculate that [imath]n[/imath] can be in this interval?


Thanks in advance and have a fantastic night/ day forward
 
Hi. In your example using [150;200] and 10, it looks like you're seeking Integer solutions for this compound inequality:

150 ≤ 99 + 10n ≤ 200

Line Edited: To obtain Integer endpoints for your solution set, you can round the Real endpoints up and down.

Is this for schoolwork, or are you trying to write code … something else? Let us know, if I've misunderstood your question. :)
[imath]\;[/imath]
 
Hi. In your example using [150;200] and 10, it looks like you're seeking Integer solutions for this compound inequality:

150 ≤ 99 + 10n ≤ 200

You can round the two solutions (i.e., the endpoints of the solution interval) to the nearest Integer.

Is this for schoolwork, or are you trying to write code … something else? Let us know, if I've misunderstood your question. :)
[imath]\;[/imath]
Dear Otis

First of, thank you for replying. Second of, this is not schoolwork nor coding. This is just me pondering how, let's say, a computer would find the minimum and maximum that [imath]n[/imath] can be. I found this fascinating and wanted to experiment and see if there was a theorem, proof, definition, formula etc. for such.

Regarding your compound inequality, can I ask what you mean by
You can round the two solutions (i.e., the endpoints of the solution interval) to the nearest Integer.

Furthermore, here is my attempt to solve for [imath]n[/imath] using your approach
1677014827154.png

Would it be correct to assume, that the lower of the two end points ALWAYS uses the ceiling and the higher of the two end points ALWAYS uses the floor on the decimal number in order to find the interval for [imath]n[/imath]?
 
Last edited:
Regarding your compound inequality, is there a way to isolate n?
Hi. Yes, using algebra, similar to how we would solve equations (like 99+10n=150 and 99+10n=200).

The inequality relates three expressions:

15099 + 10n200

We carry out the same steps on each expression. First, we isolate the 10n term, by subtracting 99 and simplifying:

150 – 99 ≤ 99 + 10n – 99 ≤ 200 – 99

51 ≤ 10n ≤ 101

Now solve for n, by dividing each expression by 10 (Note: We do not change the direction of the inequality symbols because we are dividing by a positive number):

51/10 ≤ (10/10)n ≤ 101/10

Simplifying yields a solution set for all Real numbers n:

5.1 ≤ n ≤ 10.1

From that, we can see the Integer-solution's interval endpoints. Any Integer in [6;10] works.

99 + 10(6) = 159

99 + 10(10) = 199

:)
[imath]\;[/imath]
 
Hi. Yes, using algebra, similar to how we would solve equations (like 99+10n=150 and 99+10n=200).

The inequality relates three expressions:

15099 + 10n200

We carry out the same steps on each expression. First, we isolate the 10n term, by subtracting 99 and simplifying:

150 – 99 ≤ 99 + 10n – 99 ≤ 200 – 99

51 ≤ 10n ≤ 101

Now solve for n, by dividing each expression by 10 (Note: We do not change the direction of the inequality symbols because we are dividing by a positive number):

51/10 ≤ (10/10)n ≤ 101/10

Simplifying yields a solution set for all Real numbers n:

5.1 ≤ n ≤ 10.1

From that, we can see the Integer-solution's interval endpoints. Any Integer in [6;10] works.

99 + 10(6) = 159

99 + 10(10) = 199

:)
[imath]\;[/imath]
Hello again Otis. I am so sorry, I think you were too fast for my post to get updated, I apologize for that. Apparently the edit did not go through so I had to update my question to you again. Do you mind checking what I wrote again? :)
 
Would it be correct to assume, that the lower of the two end points ALWAYS uses the ceiling and the higher of the two end points ALWAYS uses the floor
Yes, very good.

If a Real-solution interval endpoint is not an Integer, then it lies outside the Integer-solution set. Sketch a portion of the Real number line, as a visual aid.

If the left-endpoint is not an Integer, then it's too small to lie within the Integer-solution set (its position is too far to the left), so we round up.

If the right-endpoint is not an Integer, then it's too big (located too far to the right), so we round down.

That's what your use of the ceiling and floor functions do here; they "trim off" the parts of the Real number line that lie outside the Integer-solution's endpoints.
[imath]\;[/imath]
 
Yes, very good.

If a Real-solution interval endpoint is not an Integer, then it lies outside the Integer-solution set. Sketch a portion of the Real number line, as a visual aid.

If the left-endpoint is not an Integer, then it's too small to lie within the Integer-solution set (its position is too far to the left), so we round up.

If the right-endpoint is not an Integer, then it's too big (located too far to the right), so we round down.

That's what your use of the ceiling and floor functions do here; they "trim off" the parts of the Real number line that lie outside the Integer-solution's endpoints.
[imath]\;[/imath]
That makes perfect sense. Thank you so much Otis for taking your time to teach me this. May you have a wonderful day/ night forward! :)
 
you were too fast for my post to get updated
That's okay. Re-reading your edited post#3 allowed me to find a goof in my first reply. I was incorrect to say "nearest" Integer because I'd been thinking from inside the solution set you desire. (I'll get that misstatement fixed.)
[imath]\;[/imath]
 
I am looking for a theorem, proof, Definition or anything else, which tells me how to find the multiplum
Suppose I have this equation [imath]a=99[/imath]
I need to make [imath]a[/imath] be into the interval [150;200]. Suppose we now get told a number we can add to [imath]a[/imath] as many times we want as long as [imath]a[/imath] is inside the interval [150;200]. This number we get is 10.
To: Nemanjavuk69, There are two very useful functions here, if [imath]\bf a[/imath] is a real number
the ceiling function of [imath]\left\lceil\bf a \right\rceil[/imath] is the least integer not less than [imath]\bf a[/imath].
Ex: [imath]\left\lceil{79.8} \right\rceil=80~\&~\left\lceil{-9.8} \right\rceil=-9[/imath]

the ceiling function of [imath]\left\lceil\bf a \right\rceil[/imath] is the least integer not less than [imath]\bf a[/imath]
And the floor function [imath]\left\lfloor \bf a \right\rfloor[/imath] is the largest integer not greater than [imath]\bf a[/imath]
[imath]\left\lfloor{79.8} \right\rfloor=79~\&~\left\lfloor{-9.8} \right\rfloor=-10[/imath]


Here two links solving this question using these functions. LINK1 & LINK2
 
Top