ATAR Notes: Forum

Uni Stuff => Science => Faculties => Mathematics => Topic started by: FallonXay on April 21, 2017, 12:53:27 pm

Title: Discrete Maths
Post by: FallonXay on April 21, 2017, 12:53:27 pm
Hello!
I'm having a ton of trouble with proofs in discrete maths ( I can barely do any questions  :( )
I've posted a few questions below (Q13, 15a, 16 b/c)  any help would be greatly appreciated!  :)
Thanks.

Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 01:40:02 pm
Hello!
I'm having a ton of trouble with proofs in discrete maths ( I can barely do any questions  :( )
I've posted a few questions below (Q13, 15a, 16 b/c)  any help would be greatly appreciated!  :)
Thanks.
Remember, in discrete mathematics they are EXTREMELY fussy about how your proofs are set out. For these proofs, I'll reduce my explanation but at the reward of structuring my answer the exact same way I would've structured it in the exam. If you post any more from here onwards, I will focus more on explanation, but my proof will be all over the place and it'll be up to you to reconstruct it logically (keeping any necessary and omitting any extraneous details)

Proofs are long so I'm also split posting.

For Q13, the trick was to identify that the LHS took the form (2n)!/n!

Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 02:17:42 pm

This proof involves prime numbers. So somewhere in here we will use proof by contrapositive.

Note: It is assumed that you know the formula for the sum of a G.P. Note also that the above factorisation is irreducible over Z.







If you just rearrange the formula by multiplying that denominator to the left, you get the factorisation trick I used.
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 21, 2017, 02:38:58 pm
Remember, in discrete mathematics they are EXTREMELY fussy about how your proofs are set out. For these proofs, I'll reduce my explanation but at the reward of structuring my answer the exact same way I would've structured it in the exam. If you post any more from here onwards, I will focus more on explanation, but my proof will be all over the place and it'll be up to you to reconstruct it logically (keeping any necessary and omitting any extraneous details)

Thanks Rui you life saver!

Also, would you have any tips on knowing when to use contrapositive, direct proofs or contradictions? (Besides a lot of practice :p )
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 02:41:36 pm

________________________________


It may help to stare really hard at the proof in part b) where we had a numeric example.
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 02:42:40 pm
Thanks Rui you life saver!

Also, would you have any tips on knowing when to use contrapositive, direct proofs or contradictions? (Besides a lot of practice :p )
Hmm.

"Contra-" proofs appear mostly in irrationality and prime/composite numbers. It is advised that you attempt proof by contradiction if you can't figure out why it must be right, but you do know why the negation is just blatantly wrong.
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 21, 2017, 02:57:11 pm


In the 4th line, what happened to the 2^n in the denominator?
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 02:58:08 pm
In the 4th line, what happened to the 2^n in the denominator?

Note that there are n terms.

I multiplied 2 to EACH of the n terms. This requires n lots of 2s to multiply, i.e. 2^n.

Essentially I expanded it in. Note how the denominator goes from \(1.2.3\dots (n-1)(n)\) to \(2.4.6\dots (2n-2)(2n)\)
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 21, 2017, 03:03:49 pm
Note that there are n terms.

I multiplied 2 to EACH of the n terms. This requires n lots of 2s to multiply, i.e. 2^n.

Essentially I expanded it in. Note how the denominator goes from \(1.2.3\dots (n-1)(n)\) to \(2.4.6\dots (2n-2)(2n)\)

Sorry, I don't quite understand how you expanded it? wouldn't you have to multiply it out by 2^n to get (2^n) x (2 x 2^n) x ... x (n x 2^n)?
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 03:11:53 pm
Sorry, I don't quite understand how you expanded it? wouldn't you have to multiply it out by 2^n to get (2^n) x (2 x 2^n) x ... x (n x 2^n)?

I only multiplied 2 to every term. Not the bulky 2^n to every term.
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 21, 2017, 03:13:47 pm


Ohhhhhh, very nice. Thanks :D
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 21, 2017, 04:01:46 pm
Hello,

how would you prove the following question attached?

(Thanks in advance!)
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 21, 2017, 04:15:04 pm
Hello,

how would you prove the following question attached?

(Thanks in advance!)
This one requires a bit of skillful thinking and preferably an abuse of notation to go with it.

(The chapter and question reference is given in your screenshot. If there's any line in the proof they gave that troubles you feel free to bring it up.)
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 22, 2017, 10:17:06 am
This one requires a bit of skillful thinking and preferably an abuse of notation to go with it.

(The chapter and question reference is given in your screenshot. If there's any line in the proof they gave that troubles you feel free to bring it up.)

I'm assuming the '10' in the answers are factorising out the decimal places? But how do they know what powers to put it to? (i.e 10^m, 10^(r-1), etc)?
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 22, 2017, 10:40:54 am
I'm assuming the '10' in the answers are factorising out the decimal places? But how do they know what powers to put it to? (i.e 10^m, 10^(r-1), etc)?
The idea is that in general (i.e. not always), a decimal number that is rational has one part that is terminating, and a part after it that's recurring.

E.g. \(\frac1{12}=0.083333333\dots=0.08\overline{3}\)
The \(0.08\) part is the terminating part
The \(0.00\overline{3}\) is the recurring part

m and r are integers made to distinguish the purpose. Note that this is a proof where you would say let m and n be blah, not 'suppose' m and n be blah.

I believe that the question wants you to take the first r decimal places (or r-1, you can figure that little thing out) to be the terminating part, and the NEXT m-r decimal places to be the recurring part.
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 22, 2017, 10:49:20 am
The idea is that in general (i.e. not always), a decimal number that is rational has one part that is terminating, and a part after it that's recurring.

E.g. \(\frac1{12}=0.083333333\dots=0.08\overline{3}\)
The \(0.08\) part is the terminating part
The \(0.00\overline{3}\) is the recurring part

m and r are integers made to distinguish the purpose. Note that this is a proof where you would say let m and n be blah, not 'suppose' m and n be blah.

I believe that the question wants you to take the first r decimal places (or r-1, you can figure that little thing out) to be the terminating part, and the NEXT m-r decimal places to be the recurring part.

Ahh, I see ~ thanks.

Also, how do you do a) and d) of this question? (For d, I'm not really suer about how to use the idea of the if then in the second part - i.e the relevance of 2^(4n+7) )
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 22, 2017, 10:53:06 am
Ahh, I see ~ thanks.

Also, how do you do a) and d) of this question? (For d, I'm not really suer about how to use the idea of the if then in the second part - i.e the relevance of 2^(4n+7) )

Hint: Induction.

Edit: Oh sorry missed part a)

Part a) hint is proof by exhaustion
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 22, 2017, 11:02:13 am
Hint: Induction.

Edit: Oh sorry missed part a)

Part a) hint is proof by exhaustion

Oooooh! okay, thanks :D
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 22, 2017, 09:10:22 pm
Hello  :)

How would you do this question?

(Thanks again!)
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 22, 2017, 10:09:47 pm
Hello  :)

How would you do this question?

(Thanks again!)


________________


________________

Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 23, 2017, 07:32:16 am


________________


________________



x = 1 doesn't give 0 though? So would you just do a proof by cases? (Test, 0, 1, 2, 3 mod4)?

Also, for part a, how come you can just substitute it in? Is that just a property of congruency?

Thanks!
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 23, 2017, 07:35:06 am
x = 1 doesn't give 0 though? So would you just do a proof by cases? (Test, 0, 1, 2, 3 mod4)?

Also, for part a, how come you can just substitute it in? Is that just a property of congruency?

Thanks!
My bad, I think I messed up some of my mental arithmetic because it would be 2 mod 4.
In that case, upon exhausting all the cases we see that the converse is true.

Yes, you were taught several properties of congruence back in topic 2.
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on April 23, 2017, 12:24:08 pm




Heyy, just looking over this proof.  In this line:


How come it's 'a' to the power of 'k' to the power of '(m-1)'. Don't we just substitute 'km' into the place where there was originally an 'n' to give k to the power of (km - 1)?

Also, could you clarify this section? I'm a little confused as to what's happening here:



Thanks!  :)
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on April 23, 2017, 01:00:20 pm
Heyy, just looking over this proof.  In this line:
How come it's 'a' to the power of 'k' to the power of '(m-1)'. Don't we just substitute 'km' into the place where there was originally an 'n' to give k to the power of (km - 1)?

Also, could you clarify this section? I'm a little confused as to what's happening here:

Thanks!  :)

That last one had typo's in it. One of those k's should've been a 1 and the other an m. Fixed in the original post.
___________________

Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on May 01, 2017, 07:23:26 pm
Question 2 of Discrete Exam Working Out


(http://i.imgur.com/zFFQOAe.jpg)
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on May 01, 2017, 07:43:15 pm
Question 2 of Discrete Exam Working Out


(http://i.imgur.com/zFFQOAe.jpg)
"Rationality" is just a colloquial adjective with no meaning. The set of rational numbers is what is closed under the four standard operations. "Taking integer powers" is more appropriate than "powers" by itself (note the consequences of raising to the power of pi, for example).

The flow of the proof is fine.
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on May 01, 2017, 07:47:53 pm
"Rationality" is just a colloquial adjective with no meaning. The set of rational numbers is what is closed under the four standard operations. "Taking integer powers" is more appropriate than "powers" by itself (note the consequences of raising to the power of pi, for example).

The flow of the proof is fine.

Ahhk, cheers! Will fix that up :)
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on May 01, 2017, 07:52:02 pm
It may also be worth noting that closure under + and x is sufficient. This is because if we want to minus, we simply add the negative. Closure under division is also dangerous in that this may imply we may divide by 0, so closure under multiplication is better (just multiply by a multiplicative inverse, e.g. 1/2).

Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on May 03, 2017, 08:36:49 am
It may also be worth noting that closure under + and x is sufficient. This is because if we want to minus, we simply add the negative. Closure under division is also dangerous in that this may imply we may divide by 0, so closure under multiplication is better (just multiply by a multiplicative inverse, e.g. 1/2).

Oooh, very true. But if I only state closure under + and x, should I explicitly state in my proof multiplication by 1/2 instead of multiplication by 2 and addition of -a and - b instead of subtraction of a and b?
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on May 03, 2017, 08:45:16 am

Oooh, very true. But if I only state closure under + and x, should I explicitly state in my proof multiplication by 1/2 instead of multiplication by 2 and addition of -a and - b instead of subtraction of a and b?
Yes
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on May 21, 2017, 12:26:33 pm
Counting & combinatorics
Q25 h?
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on May 21, 2017, 12:54:59 pm
Counting & combinatorics
Q25 h?


This last part of this bundle was definitely the hardest of them all and my tutor didn't finish it off. I don't fully remember everything either so there's no guarantee that my final answer will be correct.

________________

________________

________________

________________

________________


Also I suggest renaming your thread to just discrete maths if you're gonna put questions from all topics here
Title: Re: Discrete Maths - Proofs Questions
Post by: FallonXay on May 21, 2017, 02:08:42 pm


How did you come to this conclusion for the part quoted?

Also, I'm not sure how to rename a thread, sorry :/
Title: Re: Discrete Maths - Proofs Questions
Post by: RuiAce on May 21, 2017, 02:13:26 pm
How did you come to this conclusion for the part quoted?

Also, I'm not sure how to rename a thread, sorry :/




Just rename it in the opening post
Title: Re: Discrete Maths
Post by: FallonXay on May 21, 2017, 02:56:11 pm




Just rename it in the opening post

Ohhhhh! That makes a lot of sense!!! Thanks!

(Btw, the total combinations are C(30,5) because there are 25 'dots' and 5 'bars' (addition signs) which equals 30 and you choose 5 places to put the bars. Also for the specific case where one of the y's exceed 9 it should be 3 x C(20,5) because you need a minimum of 10 dots in the y to exceed 9 i.e y2 = z2 + 10 and similarly for the intersection of two y's should be 3 x C(10,5), etc.)

And I changed the thread name, thanks  :)
Title: Re: Discrete Maths
Post by: RuiAce on May 21, 2017, 03:13:25 pm
Ohhhhh! That makes a lot of sense!!! Thanks!

(Btw, the total combinations are C(30,5) because there are 25 'dots' and 5 'bars' (addition signs) which equals 30 and you choose 5 places to put the bars. Also for the specific case where one of the y's exceed 9 it should be 3 x C(20,5) because you need a minimum of 10 dots in the y to exceed 9 i.e y2 = z2 + 10 and similarly for the intersection of two y's should be 3 x C(10,5), etc.)

And I changed the thread name, thanks  :)
Yep I agree with those corrections. I'll probably fix them another time though