Adding and subtracting different bases with common exponents in ring Z

In summary, the program says that the answer is 16,384, but adding the bases instead of taking them away results in a remainder of 5 which was verified. However, doing the calculations for 77, 97, and 117 resulted in incorrect answers. I am not sure what I did wrong, but it might have something to do with the addition of the bases.
  • #1
morrowcosom
54
0

Homework Statement


Calculate (5^7)-(7^7)+(9^7)-(11^7) in Mod24


Homework Equations





The Attempt at a Solution


I added all the bases and got -4 (which I changed to 4), then I took 4^7 and ended up with 16,384. I divided 16,384 by 24 as many times as I could, which gave me an end result of 40, and being that that mod is 24 my final answer is 16.

I am doing independent study on a computer program and it says 20, what did I do wrong? Maybe it had something to do with how I added the bases?

Thanks
 
Physics news on Phys.org
  • #2
morrowcosom said:

Homework Statement


Calculate (5^7)-(7^7)+(9^7)-(11^7) in Mod24


Homework Equations





The Attempt at a Solution


I added all the bases and got -4 (which I changed to 4), then I took 4^7 and ended up with 16,384. I divided 16,384 by 24 as many times as I could, which gave me an end result of 40, and being that that mod is 24 my final answer is 16.

I am doing independent study on a computer program and it says 20, what did I do wrong? Maybe it had something to do with how I added the bases?
I don't think you want to add the bases. I can't think of any good reason for doing that.

Also, -4 and + 4 aren't in the same equivalence class, so you can't just change one to another. -4 is in the same equivalence class as 20, in modulo 24.

Let's take these powers in small steps, starting with 57.
5 [itex]\equiv[/itex] 5 (mod 24)
52 = 25 [itex]\equiv[/itex] 1 (mod 24)

So 57 = 5 * 56 = 5 * (52)3 [itex]\equiv[/itex] 5 * 13 (mod 24) = 5 (mod 24).

If you divide 57 by 24, you get a remainder of 5 (which I verified).

Do the same sort of calculations for 77, 97, and 117, and see what you get.
 
Last edited:
  • #3
morrowcosom said:
...what did I do wrong?

You can't add bases like that, for instance, [itex]3^2 + 7^2 = 9 + 49 = 58[/tex]
(NOT [itex]3^2 + 7^2 = (3 + 7)^2 = 10^2 = 100[/tex])
 
  • #4
Let's take these powers in small steps, starting with 57.
5 5 (mod 24)
52 = 25 1 (mod 24)

So 57 = 5 * 56 = 5 * (52)3 5 * 13 (mod 24) = 5 (mod 24).

If you divide 57 by 24, you get a remainder of 5 (which I verified).

Do the same sort of calculations for 77, 97, and 117, and see what you get.

Original problem: Calculate (5^7)-(7^7)+(9^7)-(11^7) in Mod24

I started out with 5 that you figured out and worked the other numbers the same way:

-7^7= -7*7^6= -7(-7^2)^3= -7*1^3= -7 (mod 24)

9^7= 9*9^6= 9(9^2)^3= 9*9^3= 81= 9 (mod 24)

11^7= 11*11^6= 11(11^2)^3= 11*1^3= 11 (mod 24)

So, I ended up with 5-7+9+11=18, which is still the wrong answer according to the program.
Where did I mess up?
 
  • #5
You have a sign error: you should have 5 - 7 + 9 - 11
 

1. How do I add and subtract different bases with common exponents in ring Z?

To add and subtract different bases with common exponents in ring Z, you can follow the steps below:

  1. Identify the bases and exponents of the numbers you want to add or subtract.
  2. Convert the bases to a common base by using the rules of exponents. For example, if you have 2^3 + 3^3, you can convert 2 to 3^2.
  3. Add or subtract the numbers with the common base. In this case, it would be 3^3 + 3^2 = 30.
  4. Convert the result back to the original base by using the rules of exponents. In this example, the final answer would be 3^5.

2. Can I add and subtract numbers with different exponents in ring Z?

No, you cannot add or subtract numbers with different exponents in ring Z. The bases and exponents must be the same in order to perform addition and subtraction in ring Z.

3. What is the significance of using ring Z in adding and subtracting numbers with common exponents?

Ring Z, also known as the ring of integers, is important in this context because it allows us to perform addition and subtraction of numbers with common exponents without encountering any issues with division or remainders. This is because all integers have a unique additive inverse in ring Z, making it a closed system for addition and subtraction.

4. What are some examples of adding and subtracting different bases with common exponents in ring Z?

Examples of adding and subtracting different bases with common exponents in ring Z include:

  • 2^3 + 3^3 = 3^5
  • 5^4 + 2^4 = 7^4
  • 6^2 - 4^2 = 2^4

5. Can I use ring Z to add and subtract numbers with common exponents in other number systems?

No, ring Z is specifically used for adding and subtracting numbers with common exponents in the decimal number system. Other number systems may have different rules and properties for addition and subtraction, so they may require different methods or systems for performing these operations.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
789
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
13
Views
2K
  • General Math
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
794
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • General Math
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
Back
Top