Need help with a discrete math problem.
Here is the problem
Here is what I have so far for part A.
@myininaya
Do you know if I did part A right?
So using what you did for part Ai 221=7(31)+4 equation 1 7=4(1) +3 equation 2 4=3(1) +1 equation 3 This implies => 4-3=1 by equation 3. 4-(7-4)=1 by equation 2. 4-7+4=1 2(4)-7=1 2(221-7(31))-7=1 by equation 1 2(221)-7(2*31)-7=1 2(221)-7(2*31+1)=1 2(221)-7(63)=1 That should be a true statement if I did arithmetic right.
I used your equations backwards to find a and b.
2(221)+7(-63)=1
Oh I see, so you basically just rewrite 1 as 2(221)-7(63)
yep I'm assuming there is a plus sign there.
on your worksheet
some symbols are missing
where are the plus signs missing on the worksheet?
ai,aii,aii and I think equal signs or some kinda symbols are missing on b and c and d.
well that would explain a lot :) So the steps above basically show how to do part (i) right?
yea.
So you don't see signs on your end right?
Like you see what I see is missing?
no
Had that happen before on a homework already where the signs weren't there
makes it harder to understand lol
I think ai is either 221a+7b=1 or 221-7b=1 I think aii is 119a+13b=1 or 119a-13b=1 aiii is 91a+17b=1 or 91a-17b=1 I really think the teacher would put plus instead of minus. I could be wrong.
All of these you are suppose to find a and b.such that those statements are true
So you would do the part you did and work through it backwards to find a and b.
Like what I did with your equations.
ah ok, that helps a lot. I will see if I can work through (ii) and (iii) backwards then.
But you must put both ways on there. The backwards and forwards part.
You know just to show work.
right right, So for (ii) 119 = 9(13) + 2 equation 1 13 = 6(2) + 1 equation 2 2 = 2(1) + 1 equation 3 This implies => 2-1=1 by equation 3
hmm, stuck here.
119 = 9(13) + 2 equation 1 13 = 2(6) + 1 equation 2 2 = 2(1) equation 3 --- By equation 2 we have 13-2(6)=1
we don't need equation 3
We are looking for where we have remainder 1
13=2(6)+1 gives us that
ah ok
Also it could be that you made the mistake that 2=2(1)+1
You wrote that part correctly on your paper.
oh I see, so something like 13-2(6) = 1?
Yes then we use equation 1.
119 = 9(13) + 2 => 119-9(13)=2 so replace 2 in 13-2(6)=1
so 13-(119-(9(13))(6) = 1
Then put your 13's together and your 119's together.
how would I do that?
13-[119-9(13)](6) = 1 How would you put your like terms together in this: x-[y-9(x)](6) or x-6[y-9x]
is there a way you can factor? I'm not exactly sure :/
Collect your like terms/simplify x-6[y-9x] Distribute like so: x-6y+54x Put like terms together.
55x-6y
If you noticed I just called 13 x and 119 y earlier because I thought it would be easier for you to see how to combine the 13's and 119's
55(13)-6(119)=1
Oh I see now :D
You do the last one!
ok
I will be back in like a few. I will check it when I come back.
ok sounds great
what do you have?
so, 91 = 5(17) + 6 equation 1 17 = 2(6) + 5 equation 2 6 = 1(5) + 1 equation 3 This implies => 6 - 5 = 1 by equation 3 6 - (17-2(6)) = 1 by equation 2 6 - 17 + 2(6) = 1 3(6) - 17 = 1 3(91 - 5(17) ) = 1 by equation 1
The last equation is 3[91-5(17)]-17=1?
oh yeah, accidentally dropped that
So we have 3(91)-15(17)-17=1
You give the final equation.
ok so, 3(91)-16(17) = 1
Yes so you should be able to identify what a and b are.
Well sorta since we really don't know what operation goes there, minus or plus. lol.
haha
hmm, I'm gonna check the homework real quick and see if he updated it.
no, still looks the same.
For the rest of this you might find this helpful that a conguent to b (mod n) means there is some integer k such that nk=a-b I'm going to have to come back tomorrow to openstudy because like I have to go. I have some things to prepare for tomorrow. I'm sorry.
Ok cool, thanks so much for all the help though! :)
Np. Good luck on your math classes. You can do it. :)
Well I'll probably be working on it pretty late as it is due tomorrow :/ But I defiantly have a better understanding of the concepts now.
Well hopefully he gives you an extension. Some of it is hard to read because of the missing symbols.
We did part (a) and started part (b) right? Like we didn't do the (i) (ii) and (iii) for part b right?
We didn't touch part b.
oh I thought what we were doing was the writing as the products of primes
we were just finding the integers, ah ok, makes sense now
lol. No all of what we did was for part A.
haha ok :D
Like ai was 221a+7b=1 we were looking for a and b such that statement was true. The we did the same for aii and iii
right right
There was two parts: the forwards with euclidean algorithm and then working backwards through to find those integers.
Right, I'll make sure to write all that down on my solutions steps I also have the solutions for part (d) and a little of part (b) in my notes, so hopefully that will help out.
I think everywhere else we can see that there is something missing we can assume it is suppose to be an equal sign I think.
After further thinking, maybe it could be a non-equal sign. lol since A1=221(2) does not equal 1 mod 7
Well, for some reason when I printed off the assignment so I could staple my work to the cover sheet all the signs magically appeared. Here is what it looked like, however, I already turned it in so it doesn't make much difference either way now. :P
Join our real-time social learning platform and learn together with your friends!