Find all School-related info fast with the new School-Specific MBA Forum

It is currently 23 May 2013, 10:28
Customize  |  Hide

Finding the remainder when dividing negative numbers

  Question banks Downloads My Bookmarks Reviews  
Author Message
TAGS:
Manager
Manager
Joined: 27 Apr 2008
Posts: 192
Followers: 1

Kudos [?]: 22 [0], given: 1

GMAT Tests User
Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 12:36
00:00

Question Stats:

0% (00:00) correct 100% (00:00) wrong based on 0 sessions
Suppose I want to divide -11 by 5. What is the the remainder and quotient?
Intern
Intern
User avatar
Joined: 22 Dec 2009
Posts: 13
Followers: 1

Kudos [?]: 3 [0], given: 3

Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 13:26
Just like in multiplication, when one but not both numbers are negative, the answer will be negative. If both numbers are negative, the answer will be positive. In number theory, remainders are always positive. -11 divided by 5 equals -2 remainder 1.
Manager
Manager
Joined: 27 Apr 2008
Posts: 192
Followers: 1

Kudos [?]: 22 [0], given: 1

GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 14:09
handsomebrute wrote:
Just like in multiplication, when one but not both numbers are negative, the answer will be negative. If both numbers are negative, the answer will be positive. In number theory, remainders are always positive. -11 divided by 5 equals -2 remainder 1.


But according to the formula y=xq + r (q = quotient, r = remainder):

-11 = 5q + r

If q = -2 and r = 1 as you said, then:

-11 = 5(-2) + (1)
-11 = -10 + 1
-11 = -9

Did I miss a step somewhere?
Senior Manager
Senior Manager
User avatar
Joined: 22 Dec 2009
Posts: 368
Followers: 9

Kudos [?]: 136 [0], given: 47

GMAT ToolKit User GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 14:09
handsomebrute wrote:
Just like in multiplication, when one but not both numbers are negative, the answer will be negative. If both numbers are negative, the answer will be positive. In number theory, remainders are always positive. -11 divided by 5 equals -2 remainder 1.


I doubt this...

- 11 = 5 x (-2) + 1 ????

Guess remainder should be -1. It would then satisfy the equation above!

Cheers!
JT
_________________

Cheers!
JT...........
If u like my post..... payback in Kudos!! :beer

|Do not post questions with OA|Please underline your SC questions while posting|Try posting the explanation along with your answer choice|
|For CR refer Powerscore CR Bible|For SC refer Manhattan SC Guide|


~~Better Burn Out... Than Fade Away~~

Manager
Manager
Joined: 27 Apr 2008
Posts: 192
Followers: 1

Kudos [?]: 22 [0], given: 1

GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 14:25
jeeteshsingh wrote:
I doubt this...

- 11 = 5 x (-2) + 1 ????

Guess remainder should be -1. It would then satisfy the equation above!

Cheers!
JT


Can you have negative remainders? Never heard of such a thing before...
Senior Manager
Senior Manager
User avatar
Joined: 22 Dec 2009
Posts: 368
Followers: 9

Kudos [?]: 136 [0], given: 47

GMAT ToolKit User GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 14:33
mrblack wrote:
jeeteshsingh wrote:
I doubt this...

- 11 = 5 x (-2) + 1 ????

Guess remainder should be -1. It would then satisfy the equation above!

Cheers!
JT


Can you have negative remainders? Never heard of such a thing before...


No offence mate.. but I havent heard of anything as positive remainder :lol: (on a lighter note)

Usually we simply call them as remainders as long as I remember...
_________________

Cheers!
JT...........
If u like my post..... payback in Kudos!! :beer

|Do not post questions with OA|Please underline your SC questions while posting|Try posting the explanation along with your answer choice|
|For CR refer Powerscore CR Bible|For SC refer Manhattan SC Guide|


~~Better Burn Out... Than Fade Away~~

2 KUDOS received
Senior Manager
Senior Manager
User avatar
Joined: 22 Dec 2009
Posts: 368
Followers: 9

Kudos [?]: 136 [2] , given: 47

GMAT ToolKit User GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 14:58
2
This post received
KUDOS
OK... finally I got some insight on this..

There is way of calculating the remainder when dealing with Negative Numbers....

Say you have a Number 'N' which is to be divided by 'd'. On division you get a quotient 'q' and remainder 'r'

Now if N is +ve, then
N = q*d + r
where q*d \leq N \leq (q+1)*d and r = N - q*d

e.g. 11 = 5*2 + 1

Now if N is negative, we have a change.... in this equation:
q*d \leq N \leq (q+1)*d... mutliply by -ve throughout and see the change as:
-(q+1)*d \leq -N \leq -(q)*d

Therefore remainder now would be:
r = (-N) - (-(q+1)*d) = (q+1)*d -N

e.g. Let N = -11, d = 5...
Hence -(3)*5 \leq -11 \leq -(2)*5
Therefore q = 2
Hence r = (2+1)*5-11 = 4

You can verify this as -11 = 5 * (-3) + 4
Therefore quotient = -3 and remainder = 4!
Hope it makes sence and is clear....

Cheers!
JT
_________________

Cheers!
JT...........
If u like my post..... payback in Kudos!! :beer

|Do not post questions with OA|Please underline your SC questions while posting|Try posting the explanation along with your answer choice|
|For CR refer Powerscore CR Bible|For SC refer Manhattan SC Guide|


~~Better Burn Out... Than Fade Away~~

Manager
Manager
Joined: 27 Aug 2009
Posts: 157
Followers: 1

Kudos [?]: 7 [0], given: 1

GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 15:16
Reminder can be either positive or negative
Example:
If a and d are integers, with d non-zero, then a remainder is an integer r such that a = qd + r for some integer q, and with 0 ≤ |r| < |d|.
When defined this way, there are two possible remainders. For example, the division of −42 by −5 can be expressed as either
−42 = 9×(−5) + 3
as is usual for mathematicians, or
−42 = 8×(−5) + (−2).
So the remainder is then either 3 or −2.

the negative remainder is obtained from the positive one just by subtracting 5, which is d. This holds in general. When dividing by d, if the positive remainder is r1, and the negative one is r2, then
r1 = r2 + d.
1 KUDOS received
Senior Manager
Senior Manager
User avatar
Joined: 22 Dec 2009
Posts: 368
Followers: 9

Kudos [?]: 136 [1] , given: 47

GMAT ToolKit User GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 15:51
1
This post received
KUDOS
dmetla wrote:
Reminder can be either positive or negative
Example:
If a and d are integers, with d non-zero, then a remainder is an integer r such that a = qd + r for some integer q, and with 0 ≤ |r| < |d|.
When defined this way, there are two possible remainders. For example, the division of −42 by −5 can be expressed as either
−42 = 9×(−5) + 3
as is usual for mathematicians, or
−42 = 8×(−5) + (−2).
So the remainder is then either 3 or −2.

the negative remainder is obtained from the positive one just by subtracting 5, which is d. This holds in general. When dividing by d, if the positive remainder is r1, and the negative one is r2, then
r1 = r2 + d.


I think this is not correct because.....

in −42 = 8×(−5) + (−2)... you are dividing -42 with 8 and choosing -5 as quotient...but -5 x 8 gives -40 which is greater than -42 and hence is not as per the divisibility methodology....

If u have to divide 11 by 5, you would use 10 (5x2) and not 15 (5x3) as 10 is less 11..
Similarly, for -42 you should use -48 (i.e. 8x-6) as -48 is less than -42 but -40 is more than -42!

The eq −42 = 8×(−5) + (−2) is correct mathematically but fails to ascertain the quotient and remainder correctly...!

More over your first example (highlighted in red) is wrong.. as you are dividing -42 with -5 which means you dividing 42 with 5 and hence the situation of a negative number being divided is void!
_________________

Cheers!
JT...........
If u like my post..... payback in Kudos!! :beer

|Do not post questions with OA|Please underline your SC questions while posting|Try posting the explanation along with your answer choice|
|For CR refer Powerscore CR Bible|For SC refer Manhattan SC Guide|


~~Better Burn Out... Than Fade Away~~

1 KUDOS received
GMAT Club team member
User avatar
Joined: 02 Sep 2009
Posts: 11588
Followers: 1798

Kudos [?]: 9582 [1] , given: 826

Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 17:09
1
This post received
KUDOS
Wiki definition of the remainder:
If a and d are natural numbers, with d non-zero, it can be proven that there exist unique integers q and r, such that a = qd + r and 0\leq{r} < d. The number q is called the quotient, while r is called the remainder.


GMAT Prep definition of the remainder:
If a and d are positive integers, there exists unique integers q and r, such that a = qd + r and 0\leq{r}<d. q is called a quotient and r is called a remainder.

Moreover many GMAT books say factor is a "positive divisor", d>0.

I've never seen GMAT question asking the ramainder when dividend (a) is negative, but if we'll cancel this restriction (dividend=a<0), and only this restriction, meaning that we'll leave the other one (0\leq{r}<d), then division of -11 by 5 will result:

0\leq{r}<d, a=qd + r --> 0\leq{r}<5, -11=(-3)*5+4. Hence remainder=r=4.

Hope it helps.
_________________

PLEASE READ AND FOLLOW: 11 Rules for Posting!!!

RESOURCES: [GMAT MATH BOOK]; 1. Triangles; 2. Polygons; 3. Coordinate Geometry; 4. Factorials; 5. Circles; 6. Number Theory

COLLECTION OF QUESTIONS:
PS: 1. Tough and Tricky questions; 2. Hard questions; 3. Hard questions part 2; 4. Standard deviation; 5. Tough Problem Solving Questions With Solutions; 6. Probability and Combinations Questions With Solutions; 7 Tough and tricky exponents and roots questions; 8 12 Easy Pieces (or not?); 9 Bakers' Dozen; 10 Algebra set. NEW!!!

DS: 1. DS tough questions; 2. DS tough questions part 2; 3. DS tough questions part 3; 4. DS Standard deviation; 5. Inequalities; 6. 700+ GMAT Data Sufficiency Questions With Explanations; 7 Tough and tricky exponents and roots questions; 8 The Discreet Charm of the DS ; 9 Devil's Dozen!!!; 10 Number Properties set. NEW!!!


What are GMAT Club Tests?
25 extra-hard Quant Tests

Find out what's new at GMAT Club - latest features and updates

Manager
Manager
Joined: 27 Apr 2008
Posts: 192
Followers: 1

Kudos [?]: 22 [0], given: 1

GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 06 Jan 2010, 19:51
Bunuel wrote:
Wiki definition of the remainder:
If a and d are natural numbers, with d non-zero, it can be proven that there exist unique integers q and r, such that a = qd + r and 0\leq{r} < d. The number q is called the quotient, while r is called the remainder.


GMAT Prep definition of the remainder:
If a and d are positive integers, there exists unique integers q and r, such that a = qd + r and 0\leq{r}<d. q is called a quotient and r is called a remainder.

Moreover many GMAT books say factor is a "positive divisor", d>0.

I've never seen GMAT question asking the ramainder when dividend (a) is negative, but if we'll cancel this restriction (dividend=a<0), and only this restriction, meaning that we'll leave the other one (0\leq{r}<d), then division of -11 by 5 will result:

0\leq{r}<d, a=qd + r --> 0\leq{r}<5, -11=(-3)*5+4. Hence remainder=r=4.

Hope it helps.


Thanks for the lengthy response Bunuel. The wiki entry seems to imply that there could be a +ve or -ve remainder. Referring to my original question once more, it seems that -11/5 can be either:

-11 = (-3)*5 + 4
or
-11 = (-2)*5 + (-1)

I think either case is valid.
GMAT Club team member
User avatar
Joined: 02 Sep 2009
Posts: 11588
Followers: 1798

Kudos [?]: 9582 [0], given: 826

Re: Finding the remainder when dividing negative numbers [#permalink] New post 09 Jan 2010, 00:53
mrblack wrote:
Bunuel wrote:
Wiki definition of the remainder:
If a and d are natural numbers, with d non-zero, it can be proven that there exist unique integers q and r, such that a = qd + r and 0\leq{r} < d. The number q is called the quotient, while r is called the remainder.


GMAT Prep definition of the remainder:
If a and d are positive integers, there exists unique integers q and r, such that a = qd + r and 0\leq{r}<d. q is called a quotient and r is called a remainder.

Moreover many GMAT books say factor is a "positive divisor", d>0.

I've never seen GMAT question asking the ramainder when dividend (a) is negative, but if we'll cancel this restriction (dividend=a<0), and only this restriction, meaning that we'll leave the other one (0\leq{r}<d), then division of -11 by 5 will result:

0\leq{r}<d, a=qd + r --> 0\leq{r}<5, -11=(-3)*5+4. Hence remainder=r=4.

Hope it helps.


Thanks for the lengthy response Bunuel. The wiki entry seems to imply that there could be a +ve or -ve remainder. Referring to my original question once more, it seems that -11/5 can be either:

-11 = (-3)*5 + 4
or
-11 = (-2)*5 + (-1)

I think either case is valid.


Wiki is not a best source for Math but even its definition: 0\leq{r} < d, so 0\leq{r}, remainder must be positive. But again I wouldn't worry about this issue for GMAT.
_________________

PLEASE READ AND FOLLOW: 11 Rules for Posting!!!

RESOURCES: [GMAT MATH BOOK]; 1. Triangles; 2. Polygons; 3. Coordinate Geometry; 4. Factorials; 5. Circles; 6. Number Theory

COLLECTION OF QUESTIONS:
PS: 1. Tough and Tricky questions; 2. Hard questions; 3. Hard questions part 2; 4. Standard deviation; 5. Tough Problem Solving Questions With Solutions; 6. Probability and Combinations Questions With Solutions; 7 Tough and tricky exponents and roots questions; 8 12 Easy Pieces (or not?); 9 Bakers' Dozen; 10 Algebra set. NEW!!!

DS: 1. DS tough questions; 2. DS tough questions part 2; 3. DS tough questions part 3; 4. DS Standard deviation; 5. Inequalities; 6. 700+ GMAT Data Sufficiency Questions With Explanations; 7 Tough and tricky exponents and roots questions; 8 The Discreet Charm of the DS ; 9 Devil's Dozen!!!; 10 Number Properties set. NEW!!!


What are GMAT Club Tests?
25 extra-hard Quant Tests

Find out what's new at GMAT Club - latest features and updates

Manager
Manager
User avatar
Joined: 01 Jan 2008
Posts: 231
Schools: Booth, Stern, Haas
Followers: 1

Kudos [?]: 37 [0], given: 2

GMAT Tests User
Re: Finding the remainder when dividing negative numbers [#permalink] New post 07 Jul 2010, 08:35
Bunuel wrote:
Wiki definition of the remainder:
If a and d are natural numbers, with d non-zero, it can be proven that there exist unique integers q and r, such that a = qd + r and 0\leq{r} < d. The number q is called the quotient, while r is called the remainder.


GMAT Prep definition of the remainder:
If a and d are positive integers, there exists unique integers q and r, such that a = qd + r and 0\leq{r}<d. q is called a quotient and r is called a remainder.

Moreover many GMAT books say factor is a "positive divisor", d>0.

I've never seen GMAT question asking the ramainder when dividend (a) is negative, but if we'll cancel this restriction (dividend=a<0), and only this restriction, meaning that we'll leave the other one (0\leq{r}<d), then division of -11 by 5 will result:

0\leq{r}<d, a=qd + r --> 0\leq{r}<5, -11=(-3)*5+4. Hence remainder=r=4.

Hope it helps.


Hi, bunuel

how did you come up with -3, I mean why exactly -3 and not -2 or -17?
Re: Finding the remainder when dividing negative numbers   [#permalink] 07 Jul 2010, 08:35
    Similar topics Author Replies Last post
Similar
Topics:
New posts M and N are integers. Find the remainder when is divided by stolyar 5 27 Sep 2003, 11:58
New posts When a number divided by 35, the remainder is 2;divided by apollo168 1 19 Aug 2006, 02:41
New posts When a number divided by 35, the remainder is 2;divided by sumitsarkar82 8 06 Sep 2006, 02:37
Popular new posts A number when divided by a divisor leaves a remainder of 24. ggarr 10 07 Apr 2007, 23:45
Popular new posts 1 EXPERTS_POSTS_IN_THIS_TOPIC When the number 777 is divided by the integer N, the remaind mainhoon 10 15 Sep 2010, 14:04
Display posts from previous: Sort by

Finding the remainder when dividing negative numbers

  Question banks Downloads My Bookmarks Reviews  


GMAT Club MBA Forum Home| About| Privacy Policy| Terms and Conditions| GMAT Club Rules| Contact| Sitemap

Powered by phpBB © phpBB Group and phpBB SEO

Kindly note that the GMAT® test is a registered trademark of the Graduate Management Admission Council®, and this site has neither been reviewed nor endorsed by GMAC®.