#discrete-math
1 messages ยท Page 133 of 1
someone's answer to this
I feel like one class can have 2 prerequisites though
like
For Differential Equations you might need to complete
Physics 2 and Math 2
together
yes, but this is allowed in this solution
what
what do you think disallows it?
Oh I am just talking about the persons answer
I sent
so it can be
Directed Multigraph
what is a multigraph according to you?
that's a forest
a multigraph means there can be multiple edges between 2 vertices
i don't think this would make sense for this problem though
yes
lemme write my answer and post it if u can wait
is an "arrow" a correct term to write
in a directed graph
like
"If a vertex doesn't have any arrows pointing to it"
@pale epoch
don't think i ever heard that term
but it's fine i guess
alternatively this statement is equivalent to a vertex having indegree 0 (if you know what indegree is)
I know a degree
yeah, so in a directed graph you have both indegree and outdegree
outdegree is the number of edges "pointing away", indegree "pointing to" a vertex
seems fine i guess
i meant the thing in brackets
oh
no arrows pointing at it is equivalent to having indegree 0
ye
ok
also does this sound a bit complicated
or should I just say
u and v
to vertexes
instead of using "other course" "this course"
๐
I will keep it like this I guess
I only have 1 question left to finish my exam, about probability, can you help me with that as well?
you can ask in the appropriate channel i guess, someone will help
does anyone wanna see a picture i made of a star hypergraph? its 2 coloured ๐
i havnt put vertices in it actually
Cool!
What does the x operator stands for in discrete maths. For example if G1 and G2 are groups, then what is G1 x G2. Are it all the couples (a,b) with a an element from G1 and b an element from G2?
x is usually the Cartesian product
But for groups, A x B is called the direct product of A and B(which is really just a generalization of the Cartesian product under a different name)
You got the idea of what elements are in it correct (a,b), a in A, b in B, but also consider what the binary operation is now
@jaunty carbon
am I missing smth, because the area of these squares is less than half of the actual area
so how is this an accurate approximation
like, we get 4 squares from the lattice points
actually the approximation is worse, in this case its less than 1/4 of the aactual integral
so here n=8 right? For the integral, I get 16.6, for the sum I get 20
that's not too far off
yeah, so the tau sum is exactly the area of the lattice point squares
and the integral approximates taht
there are 20
bruh
the ones ON xy=8 are counting tau(8)
which is 4
but if we count the points (x,y) such that xy <= 8, then we pick up not just tau(8), but tau of every number less than 8.
yeah, I though thats what it was talking about when it say "area of this region"
yeah I get that
yeah, so we're approximating the sum by the integral
yeah, the problem is at the boundary
and the boundary is of lower order of magnitude than the area
roughly
yes
like the square corresponding to the point (1,7) is almost entirely lost, for example
mmhm
btw @errant bear, I think the #advanced-number-theory channel is perfectly appropriate for your analytic number theory inquiries, if you have been hesitant to use it.
ah yeah, I just don't know like when the "bridge" into higher NT happens
I think it definitely counts. But even literally the phrase "elementary number theory" means number theory that doesn't use analysis. So analytic number theory is definitionally not elementary haha.
Here I think it mostly just a matter of level, but you're definitely at the higher level.
hmmm alright, and I'm taking my first analysis class this upcoming semester so I'm not aware of like, what specifically counts as analysis lol
analysis is just what mathematicians call calculus to feel better about themselves
lol
in an honest world, the real numbers would be called the hard numbers, the complex numbers would be called the easy numbers, and then we'd have calculus, easy calculus, and hard calculus as the names of the coruses
hmm
just watched your vid btw, and realized I did a bunch of the log stuff the other day lol
also, at times it was kind of slow ish ngl but it was good
thanks! Yeah, I'm still finding the exact level/speed. But I definitely want "people with PhDs in non-math technical fields" to not feel left out.
and given you've been reading about this exact topic, you definitely have a leg up on understanding it quickly!
true, I would definitely need more time to process things if I wasn't already doing stuff similar to it rn lol
also, just generally, I was always intimidated by analytic number theory, so I really errored on the side of convincing students they shouldn't be.
are you a prof zeta
I am, yeh
thanks!
what do you research
A box contains 3 red chips and 2 green chips. Chips are drawn randomly, one at a time without replacement, until all 3 of the reds are drawn or until both green chips are drawn. What is the probability that the 3 reds are drawn?
how can i do this problem
tree diagram, probably
wait
hang on
this is more complicated than i thought
or maybe it isn't.
@stray reef ??
Two cases to consider; first case is where there are no green chips drawn. Second case is where there's one green chip drawn. The first case will be easy, the second case will be a little difficult but still doable.
@weary tiger
hold on, lemme try to format this cleanly
that may prove challenging
bah
i have an idea but i can't seem to phrase it in a way that would both satisfy me and be understandable to others
I liked the tree idea
Urm are you trying to do this elegantly, without breaking it down into cases?
i'm trying to consider all the possible states of the bag throughout the process basically
basically as a markov chain but w/o explicitly calling it a markov chain
uhm i'm not sure that's necessary for this problem but if it gives an elegant solution, then that'd be nice
thats why i liked the tree idea
the set is small enough that it can be used to prove it and it shows the solution clearly
here
each circle represents a possible state of the bag
the numbers above the arrows represent the transition probabilities (and all unmarked transition probabilities are 0)
its not the only way but it shows you whats happening
you can just break it down into cases, like i described above
ann's diagram is a nice way of looking at it
i'm trying not to use any big words here
but essentially what i'm doing is starting out with a bag containing 3 reds and 2 greens and then simulating drawing the chips from it one by one
so each circle represents a possible state of the bag (ie its contents) and the blue numbers are the probability of ending up with a bag with that content after 0, 1, 2, etc draws
blanks for 0
@weary tiger does this make any sense whatsoever
i guess so
@stray reef
it's just a lot more than i expected for this problem
like
how could you solve this on an exam
ยฏ_(ใ)_/ยฏ
i'd probably end up doing sth similar to this diagram
maybe in not as much detail but still
in an exam you just use your head
you have 5 stones
two green and 3 red
so you have $\binom{5}{2}$ possible combinations
deekaan:
combinations of what
of two stones remaining?
you can't guarantee it'll always be two stones at the end
i'm not convinced
drawing two green stones ends the process before you can draw a third, and drawing all but one of each still has you draw another stone and only THEN stop
$\binom{4}{3}$ thats the amount of patterns with three green and one red
deekaan:
what are your patterns bruh
can you list out all of the patterns
one by one
cause until i see that list i'm really not convinced at all
red red red green green
red red green red green
red red green green red
red green green red red
red green red green red
red green red red green
green green red red red
green red red red green
green red green red red
green red red green red
Okay, this isn't that complicated. There are two cases here.
- You draw 0 green chips.
So, that's the case, then the process ends in 3 turns. Hence, the probability is just:
$P_1 = \frac{3}{5} \cdot \frac{2}{4} \cdot \frac{1}{3} = \frac{1}{10}$
The probability works out well in that case. Now, suppose you took out 1 green chip. So, you have to make 4 draws in total AND one of them has to be green. If you draw 3 red chips, then the process ends and we go back to the case above.
With this in mind, we can split this into 3 further cases:
Case 1: You drew the green chip first.
$P_2 = \frac{2}{5} \cdot \frac{3}{4} \cdot \frac{2}{3} \cdot \frac{1}{2} = \frac{1}{10}$
Case 2: You drew the green chip second
$P_3 = \frac{3}{5} \cdot \frac{2}{4} \cdot \frac{2}{3} \cdot \frac{1}{2} = \frac{1}{10}$
Case 3: You drew the green chip third
$P_4 = \frac{3}{5} \cdot \frac{2}{4} \cdot \frac{2}{3} \cdot \frac{1}{2} = \frac{1}{10}$
We've exhausted all cases at this point. So, $P_1+P_2+P_3+P_4 = \frac{2}{5}$
red gren red green red
ok aight @halcyon ledge i think i see your point
Abhijeet Vats:
@stray reef rofl
ngl i am lost rn
Just look at my solution above and ask questions if you have any
๐ฆ
to expand on deekaan's idea
you basically ignore the "stop drawing once one color runs out" requirement and just keep drawing until the bag is empty and record the order in which you drew your stones
$\frac{\binom{4}{3}}{\binom{5}{2}} = \frac{2}{5}$
deekaan:
its sexy
and then count how many of your 5C2 draw sequences satisfy the "red run out before greens" requirement"
@weary tiger I know you're lost but please, at the very least, say something or ask questions.
I don't understand deekan's approach at all
and in your solution
@sleek swallow your like
hmm
well i guess your solution makes sense
i'll let deekan explain what he's doing
If you have any questions about what I've said in that solution, then go ahead and ask.
you just take the five chips and arrange them in all the possible patterns
so thats $\binom{5}{2}$ patterns
deekaan:
now a lot of these patterns aren't legal because of the restriction
so we want to find all the legal patterns
which is where the $\binom{4}{3}$ comes from
deekaan:
combining three red chips with one green
yes
red red green red as well
and so is red red red
yes
with no green at all
no???
you just ignore the green one
you stop drawing after you get the red red red

it doesn't matter you're interested in legal patterns
once you have your three reds youre done, drawing more doesn't change the outcome
ngl i'm not sure how you can just "ignore" the green stone
lol
@stray reef pls help
the way i understood deekaan's idea, he draws all five stones and simply records the point in each draw sequence where he would've stopped had he observed the "draw until one color runs out" requirement
yes ๐
yeah??? why is that ok
because i like trees
i mean... it's certainly possible to do things that way, especially given that after one color runs out you only have one color left in the bag
and so the subsequent outcomes are predetermined
RRR|GG
RRGR|G
RRGG|R
RGRR|G
RGRG|R
RGG|RR
GRRR|G
GRRG|R
GRG|RR
GG|RRR
i found a pretty cool discrete math series thats helped me a lot since i am self studying
she has a like and share at the end so i am sharing it here incase anyone else is struggling too
could anyone help me understand what the lines about R and Q v P are?
also what is the delta symbol?
@stray reef can you explain something to me
if you have 5 shirts and 6 pants, and you want to choose 2 pants and 2 shirts, then you can do 5c2 * 6c2, but would this include order between picking them? for example, you could pick shirt pants shirt pants or shirt shirt pants pants or anything like that?
for example, you could pick shirt pants shirt pants or shirt shirt pants pants or anything like that?
doesn't matter
you're picking the shirts and the pants independently of one another
no it doesn't
i don't understand independence in counting then
picking shirt 2, shirt 4, pants 1 and pants 6 is the same as picking shirt 2, pants 6, shirt 4 and pants 1
you still end up with {pants1, pants6, shirt2, shirt4} as your selection
lol
that doesn't make sense
for example
if you had to arrange 2 math books and 2 history books
you have
4!
you still end up with {math1, math2, history1, history2}
no
yes
you're ARRANGING them

while your pants/shirts problem is one where the particular arrangement doesn't matter
yes it doesn't matter you are right
but how do we know we aren't including order tho
as in
how do you know we don't accidentally create order
by multiplication
when we multiply them together
you're doing the equivalent of wondering whether to count the cards in a deck as 13 * 4 or as 4 * 13
or whether to calculate the number of, say, license plate IDs consisting of a letter and two digits as 26 * 10 * 10 or as 10 * 10 * 26 or as 10 * 26 * 10
...
it sounds like you're questioning the commutative law of multiplication for integers, if anything.
go take a break
two choices are independent if which option you pick in one does not affect the number of options in the other
4 * 13 is if you count suits first then ranks within each suit
13 * 4 is if you count ranks first then suits within each rank
are you seriously asking me why 4 * 13 = 13 * 4

bruh
@stray reef we need abstract algebra to demystify counting the number of cards in a deck
I'm rather fond of saying that a deck of cards is the Cartesian product of the suit set and the rank set
that actually makes more sense
@stray reef this is what happens when your confusion confuses your confusion
and youre not really sure what is confusing anymore
you really should take a break
How can you explain this to a high school student?
oh u mean the bottom?
I think the best way is to look at an example
Let's say you have a deck of cards, and you want to find the number of unique sets of $k$ cards without replacement. Then what we have is that there are $\frac{n!}{(n-k)!}$ ways to select $k$ cards without replacement, but for example if $k=2$ then $(1,2),(2,1)$ are different and both counted. However, we want it so that these two are counted only once. This means we want to account for the permutations of the set of $k$ cards, which is $k!$. So if $B$ is the set of subsets of $k$ cards that have unique elements and $A$ is the set of all subsets of size $k$, then $|B|=|A|/d$, where $d=k!$.
Gupple:
@whole shard
@vapid light hey thank u for this but i have a question
Yeah go ahead
Whats the difference of this method, and the subtraction rule
Isnt it taking out the "duplicate" way?
The subtraction rule is that you count all possibilities and then subtract the ones that aren't what you're looking for
It says its also called the principle of inclusion-exclusion
Yeah
But for division rule, I'm dividing what I dont want?
You're dividing the number of duplicates
I know this is crazy to ask but why do you want to divide? Because I understand the subtraction rule
Because sometimes like in that example I showed what you have is an exact multiple of what you're looking for
So we can just map duplicates to the same thing in the other set
If there are d duplicates in A, then |B|=|A|/d
Per item
Hmm i think I'm getting some of it, maybe it will show up in permutations?
for your example, what does n! represents? Is it the sets of cards in the deck?
OH i got it. thank u gupple
Yeah
Yeah
I see , that was hard to understand
Yeah I bet, but over time it'll get easier
Is there a downvote emote
omg that was a joke please dont get mad
i've come full circle in math. i started colouring in triangles in primary school, now im colouring them in again for graphs
I color lines to keep track of walks.
I'm just kidding @whole shard
this question, when it says its asking for different kinds of simple graphs for n vertices, is that just asking for different ways of arranging edges for all the different numbers of edges it can have?
so a simple graph with 3 vertices can have 0 edges, or 1 edge, or 2 edges, or 3 edges. and we figure out arrangements for each of those numbers?
i think i have to multiply spanning tree count by cycle count of complete graph
where did they get this (n-r)!?
hey
hey
${p^n \choose k} $ is divisible by $p$ right ? (p is prime)
bertwit:
ur telling me its supposed to cancel n?
to 1
cuz i know how it became a factorial
idk where the denominator came from
i think this follows from induction and ${n \choose k} = {n-1 \choose k-1} + {n-1 \choose k} $
bertwit:
induction on n
oh, damn i skipped that chapter
yo i dont understand your questions
im asking how they just came up writring that denominator
(n-r)!
what does it mean
because I know the numerrator is from the factorial
you can compute the power of p dividing n! directly with Legendre's formula
$v_p(n!) = \frac{n-s_p(n)}{p-1}$
Merosity:
v_p(n!) is the power of p dividing n!, s_p(n) is the sum of digits of n when written in base p
so together you can combine this to get the exact answer to your question
@pallid lintel did u figure it out?
Stroggoz:
+1 for the k hole
@near prawn
because how many different graphs on n vertices can there be? there is the graph with 0 vertices. that's just one graph. Then there is the graph with 1 edge. thats NC1, then the graphs with 2 edges. That's NC2, ect...
wait, wrong number
im not following your reasoning either
Stroggoz:
t instead of 0
i thought the question asking for all different graphs on n vertices meant we trying to find all the different ways of putting edges on n
so for K3, we can have 0 edge. that's 3C0=1 type. for 1 edges, that's 3C1=3 ways of arranging. for 2 edge thats 3C2=3 ways of arranging.
ect
how many different simple graphs can you make
1+3+3+1 for K3 right? 8 different ways?
K3?
er
why are you only looking at complete graphs
oh
what do you mean? the question was asking for all different simple graphs for graph with n vertices. the summation gives the answer right?
$\sum_{t=0}^{n} {\binom{n}{t}}$
Stroggoz:
make sense now?
better
another way to think about
is that if you have n vertices
max no of edges is nC2
ie a complete graph
and for every possible edge u can either add it or remove it
so you have 2^(nC2) possible total graphs
ahh yeah. thats a good way to think about it
context ?
Homogeneous linear recurrence ratios
They are trying to show which are the roots of that polinom
Homogeneous = When replacing all ai F(an-1, an-2, ..., n-k) = 0 ?
if an has a coefficient just divide through by that coeffcient it doesnt really matter
$a_{n} = c_{1}a_{n-1} + c_{2}a_{n-2} + ... + c_{k}a_{n-k} $
AfterJack:
If I were doing it that would be my definition
And the I will say that if an = 0 for all n then f(an) = 0
I dont know why all terms are moved to the left
On the original definition
$a_{n} + c_{1}a_{n-1} + c_{2}a_{n-2} + ... + c_{k}a_{n-k} = 0 $
AfterJack:
But my question is why that definition is done that way
who knows
why the sum of all that terms = 0 ?
They must be the same....
But that = does not happen all the time
is this a bad question or
All I can think of is the additional dimension of the vector
Could someonle plis give me a definition of an homogeneus recurrence?
I think I might be confused
Do you mean homogeneous recurrence or or representation?
when doing permutations and combinations, what are some tips that the order does and does not matter
uhhhhhh, I would say mostly common sense; you can check by thinking do objects a, b, c = objects a, c, b
so lets try this question. How many ways are there to distribute six different toys to three different children such that each child gets a least one toy?
When I read it, it seems like I would use 6C3 = C(6,3)
Because if one kid got 1 toy, then theres only 5 left to choose from
You also have to account for the fact each toy is different
poco what do you mean by that? The way I see it is the problem uses 6! for the toys
wait a moment/ask in a #โhow-to-get-help channel @hasty glade
I am trying to think of a way to explain it with less brute force work
So let's take the case of 3 toys and 2 children
it matters who gets what toys, no?
yeah, ann's point is the thing to think about
How I solved it is like this C(6, 3) = 6! / 3! * (6-3)!
But why
because it goes 6 * 5 * 4 / 3!
Each child can pick more than 1 toy
if you want it to be
Now maybe this is not a premutation and combination problem?
Sure, but this doesn't give you a "direct" formula
if "keyword" means "a word ignoring which changes the entire problem" then yes at least is a keyword
yes I didnt think of a child getting two or more toys
Sorry for interrupting but is it allowed to make questions here ? or they MUST be made on any question channel ?
Nah questions here are fine
Oh ok ! thanks I will wait and make my question here
Its just that if you asked here right now, you'd be interupting our conversation with yo mama
Oh okey I m so sorry
Sorry now I'm lost with how to proceed with this question, maybe I was wrong using the C(n, r) formula
Its just that if you asked here right now, you'd be interupting our conversation with yo mama
yes, talking to yo mama is extremely important
NO lol, Im just a regular dumb student ๐
jack please send ur question, I might be able to help
First of all consider that I m not an english speacker so I will try to do my best
Translating math is quite difficult
Consider an LINEAR - HOMOGENEOUS - SECOND ORDER - CONSTANT COEFFICIENTS. If I want to get its general equation I would have to find its polinom (taking a^ n-k as a commun factor) and then find the roots for P(x) in order to know which general equation use, if the one for a single x or the one for two different values for x. My question is, where are those formulas taken from ?
That formulas
Mostly stars and bars yeah
so 5C2
hmmmm
I have terrible reading
I was thinking of then multiplying 5C2 with the number of permutations of the toy set but thats gonna overcount
hmm
its just the no of all onto functions from a set with 6 elements to a set with 3@whole shard
yes I udnerstand, some guy pointed out the multimnomial theorem
i have to read it somehow, because C(6,3) is apparently wrong
@stray reef well I was thinking stars and bars treating the toys as identical first, then, multiplying by the number of toys to get permutations
Bad wording but hopefully you see what I am saying
some1's approach is a lot better, each toy has 3 choices, child 1, 2, or 3, so 3^6 total possibilities, minus the possibilities where one person doesnt get toys, which is 6
so 3^6-6
I feel like the logic holds up
Idk why you -6
3C1 describes the number of mappings where the toys only go to one kid, 3C2 with two kids
So -6
???
Wdym
Even if you select one kid to not get presents, there are many ways to distribute the 2 boxes amongst the others
let one kid not get presents
Then you need to divy up 6 presents amongst the last 2
Which can be (1,5), (2,4), etc.
And take into account distinct presents
You're right
Plus which kid (a, b, or c) doesn't get any
(3C2*2^6-2)
I think
3C2 picks the two kids the presents go to, 2^6 are the number of total possibilities, and 2 is the number of possibilities where it goes to only one kid
I hate counting
Haha yeah
Gotta love inc-excl
Via my method, I get 60
?
I'm probably wrong
Gn
Seems the answer is 540?
Hmm wonder how my method fails
I did 3^6 - 3C1 - 3C2*(2^6-2)
Another way is to divide the toys in 3 groups and distribute them
How would that account for the distinctness of the toys
I can show you if you want
3 ways to distribute 6 toys in group of 3 with atleast 1 in each group
1,1,4
1,2,3
2,2,2
Oh so counting partitions sorta
Number of ways to distribute for case 1 is $ \frac{6!}{1!1!4!} $
Krishna:
Multiple that with 3 To distribute to kids
Same for 2nd case
For 3rd case number of ways to distribute the groups to kids would be 1 since they are same
Hold on, why is it the same for the second case
$ \frac{6!}{1!1!4!} \cdot \frac{3!}{2!} + \frac{6!}{1!2!3!} \cdot 3! + \frac{6!}{(2!)^3} $
Krishna:
I meant in similar way
And where did you get 6!/4! anyway
Dividing 6 in group of 1,1,4
Let me think about this for a sec
Ok, I see
Yeah this makes sense
Thanks
I wouldn't have thought of this
Krishna:
what thing
why 4 * 13 and 13 * 4 both count the same thing: number of cards in a deck
though
it can be extended to more complicated things
but i mean in general independent events/things
why would that need a proof beyond acknowledging the commutative law of multiplication or presenting the most obvious explicit bijection between $A \times B$ and $B \times A$ for arbitrary sets $A$ and $B$?
Ann:
@weary tiger
@stray reef define obvious
i'm specifically talking about the bijection $(a,b) \mapsto (b,a)$
Ann:
A ร B -> B ร A
do you want me to write out in full on 100% rigorous formal notation why the function (a,b) โฆ (b,a) : AรB -> BรA is actually a bijection?
that would be nice
i was kinda hoping you'd say no
but fine...
call this function f
i.e. f: AรB -> BรA is defined by f(a,b) = (b,a) for all a โ A, b โ B
define g: BรA -> AรB by g(b,a) := (a,b)
observe immediately that f . g is the identity on AรB and that g . f is the identity on BรA
therefore g is the inverse of f
Given a abelian group (G,+) with a finite order and a an element of group G. If -a=a, then what is the order of element a?
I really dont know how to solve this question, could someone help me?
Yes
do you mean the zero element
Yy
For ur question add a on both sides
Order is either 1 or 2
If 1 then a=0
If not then order of a is 2
Tnx I understand
Those coloured names
If I have a finite field $Z[x]/(x^4+x^2+x+1)$
robinXV:
Ow imma type it again
If I have a finite field $Z_3[x]/(x^4+x^2+x+1)$ and need to construct a subfield with 9 elements. Can I then for example take Z_3[x]/(x^2+2^x+2)?

robinXV:
Compile Error! Click the
reaction for details. (You may edit your message)
Z_3[x]/(x^4+x^2+x+1) is a finite field with 81 elements
It are all polynomials with a maximum degree of 3 and numbers modulo 3 as coefficients
Hello could somenonle help me please please please with mathematical induction
I m really stuck
Prove that a property P(n) is valid for all n e N
First making sure P(1) is true
Then doing P(n+1)
P is a property
I don't really understand what you're asking
Or what you're stuck on
Just the idea of mathematical induction?
No, now that you know what I m talking about I will make the quesiton
I wanted to make sure you knew what I was talking about becuase I dont speack english so I dont know enligsh math vocabulary
Well my question is this:
If I have to prove P(n+1) is true
ah thats actually nice
Do I have to represent the equality with my general formula ?
Or can I do it getting two equals polinoms p(n) = p(n)
Please ask if it is not clear, I really need help
could you give an example problem
Of course
like something you're stuck on
deekaan:
I m giving a proof for p(n+1)
yes
ok
but you have to build up to that
The thing is that I m not expressing it with its general fornm
thank you, very cool
but you have to build up to that
@halcyon ledge Build up ?
you have to prove the base case
$1^2 = \frac{1(1 +1)(2 + 1)}{6}$
deekaan:
deekaan:
This is the solution the book is giving
Ignore the spanish just look at the operation
Can you see that it is expressed in other way different than mine
Is that an issue or not ?
i still would prefer summation but alright
Yeah I know what you mean using that sumation for proving it
yes you basically transform the part that you know (1^2 + 2^2 + ... + n^2)
into the fraction
yeah I mean you got the general idea its just a little confusing the way you wrote it up
Yeah I know lol
deekaan:
But I was thinking was... If I prove that P(1) is true and P(n+1) is true then it is done
that you have to transform into P(n + 1)
@halcyon ledge Oh so do I have to ?
your intial assumption is that P(n) holds for a given n
yep
you want to use that to prove P(n + 1) is true
yep
good
thats your P(n) basically
the base case
from there you run your induction
see because if it holds for 1 and n + 1 then it holds for 2 and because it holds for n + 1 also for 3 and so on
this way you show that it holds for all n
Yep
But did you understand my question ?
Maybe you didnt because I dont express myself very well lol
For a spanish speacker this is pretty hard
tbh i dont really understand whats up, you seem to have a pretty good handle on induction
your write up just isn't all that well structured
1- P(1) was proved to be true
2- I assume that it works for P(n)
3- Then I try to see if it is true for P(n+1)
The thing is: On step 3, Does it matter the way I prove the equality ?
Because the way I did and the way the book did are different, but both of them give a prove to the P(n+1)
ahh now I get it
you have to start at the point where your base is
atm you're walking backwards
basically assuming what you want to prove is true and walking to your base case
that's all right in the conceptual stage and is actually a good way to figure out how to prove it
but in the actual proof you have to walk the right way around
the way it's shown in your book
So what you mean is: I gave a proff that it is true. But you have to express it using the base case
Replacing all n for n+1
P(n) = 1,2,3,4, ..., n = n(n-1)/2
So in order to give a complete proff do I have to express it in this way?
P(n+1) = (n+1)((n+1)-1)/2 = (n+1)((n+1)-1)/2
$\sum_{k=1}^{n + 1} k^2 = \sum_{k=1}^{n} k^2 + (k + 1)^2 \ \overset{\text{induction}}{=} \frac{n(n +1)(2n + 1)}{6} + (n + 1)^2$
The exercise just says "prove"
and from there you transform the term step by step into the one with (n + 1)
deekaan:
if you don't like summation just use the other stile
but this is your starting point
but this is your starting point
@halcyon ledge That is the key word
basically the way you've written it down already only the other way araound
Do I have to express the proff using the starting point ?
something like that
I think I understood
Thanks deekaan
That makes induction pretty hard....
If I could express the proof other way It would have been pretty easy
no you basically can still solve it that way you did you just write it up backwards
and pretend you did it the right way around
yes
its pretty strange at first
but you got the right idea
its just the form thats a little off
here an example
@hasty glade
What that men made was to express p(n) with p(n+1)
After I got the prove do I have to do that ?
What I did is not p(n+1)
Now I have to express it getting roots of the polinom...
In order to get p(n)
you're doing polynoms bro
and you're not looking for roots
P(n) is just an expression
Hi is there anyone here that knows computational modeling? Stuff like turing machines, reductions, etc.
Im looking for a tutor. Im willing to pay a decent amount!
Just ask here lol
I'd prefer dm
...
sorry if thats not okay with you
Do you guys have any resources to help learn discrete math?
like a textbook with good practice problems
if the conclusion "2+3=6" is false, then shouldnt the entire statement be false?
if Juan doesn't have a smartphone, then you can't apply the statement, but everything works out better, if you define it to be true when the premise is false
so in a if then statement, the if has to be true, and then it doesnt matter if 2+3 is false or not?
i see i may be confusing this with the truth table earlier
look at it like this: "if X is a cat, then X is an animal."
this is obviously true right?
yes
what are some interesting topics in ramsey theory for graphs? I just started studying it
i see
but if you take X = me, then both the premise and the consequence are false
but you still want the statement to be true
you can also look at it like this: "if false is true, then anything is possible"
๐
Consider the statement: "If A, then B", where "A" and "B" are some statements
If A is false, you can't say anything about whether A being true implies the truthfulness of B
alrighty
So B is vacuously true
so its basically just this
if(statement = true){
Then do this}
else{
do that}
Thats CS which is vaguely similar, but not really
i get what you mean tho
what the fuck is this
Algebraic demonstration, abridged.
?????
Pascal's rule is used.
Circulation:
4 = 0+4 = 1+3 = 2+2 = 3+1 = 4+0 (so there are 5 ways to write 4 as an ordered sum).
Calculate the generating function f_j for the row numbers {a_i,j} with i = 0 ->infinity```
I dont know if there is anyone here who can solve this, but I've been trying to solve this for a few hours now, maybe someone could help me. I can't find a recursive formula for a_i,j
This is stars and bars pretty sure
So, if you have $i$ and you want to find the number of ways you can sum up $j$ natural numbers to get it, you can think of placing some $j-1$ dividers between $i$ balls, and the number of balls between each divider is the number of items in one term of the sum.
Gupple:
guys can someone explain why the first 1) in question 2 is incorrect
However, you can have 0 balls between dividers, so we need to find the number of spots in which we can put dividers
You should thoroughly read the Wikipedia page for stars and bars @jaunty carbon
It has a useful drawing that can explain the concept
Can someone explain why the 2 statements are not equal in question 2 first part
tnx
What's the definition of A-B @desert ferry
Wym?
They're sets
A-B is equal to the remainder of A
and A-C is equal to the remainder of A after substracting C
i just dont understand the answer of (A-B) - (A-C) although i know that it's incorrect but with a different answer
u mean for it to be correct it should be (A-C) - (B-C)?
yeah it doesnt
set diff is a bit inconvenient to work with
it is
$A \cap C' \cap (B \cap C')' \ = A \cap C' \cap (B' \cup C) \ = A \cap [(C' \cap B') \cup (C' \cap C)] \ = A \cap [(C' \cap B') \cup \rien] \ = A \cap B' \cap C'$
Ann:
either way the question didnt mention to correct it, and it is incorrect so ill just move on and solve other problems
Thanks anyway guys
and gals if there's any
it's correct for the first shaded part not the second one
Right, what I meant was using set builder notation to understand what was going on @desert ferry
Could it be that the greatest common divisor of 52 and 72 is 1 over R[x]?
yes because 52 and 72 are both units in R[x]
I was wondering if finding shortest path from a vertex to all other vertices is same as finding the minimum spanning tree, is it correct?
no
umm why not?
why would it be?
it seemed so, can you give a counter example?
The vertex A on the right side, if you wanted to find the shortest path from A to D
you would take the bottom edge of length 2
but the only minimum spanning tree of this graph is to take all three top edges of length 1
here's an interesting question
the number of 3-point subsets of a 6-point set is 6C3 = 20.
is it possible to color the vertices of an icosahedron in six colors in such a way that every face has a different set of colors at the vertices it's incident to?
if not, what's the maximum possible number of unique color sets on the faces?
I dont know how to get the general equation
I was thinking about doing telescopical sums but I have N on the right side
What is meant with a singularity of a function. I thought it were just the poles of the denominator but apparently it isn't that simple. For example for the function: $1/((e^x-e)*(x-2)^2)$ the dominant singularity is 2 and not 1
robinXV:
@hasty glade do you want to get a formula for a_n? If so, you could do it easily using generating functions.
Generating functions ?
I dont know to do that. What I was trying to do was to find a patter for an-n = a0 and then get the general formula
If you could please explain what that is you would help me a lot ! ๐
nah
just do it as a telescoping sum
the sum on the RHS over n has a well known trick
the trick is usually explained as take the sum, write it forwards and backwards
1+2 + ... + (n-1) +n
n + (n-1) + ... + 1
then add the terms
(n+1) + (n+1) + ... + (n+1) + (n+1)
there are exactly n terms here
n*(n+1)
we double counted by adding it to itself so
n(n+1)/2
= 1+2+... + n
probably not easy to read in discord but you can probably find the same explanation somewhere else
I did it
But I did no use telescoping sum
I did reverse substitution
I dont know why I could not figure out this
an-a0 = ?
The right side of the sum
$\sum_{k = 0}^{n} \frac{1}{a^{k}} = ?$
AfterJack:
Could someonle please give me that formula ?
geometric series
I have been figuring them out
For 4 hours
Please any type of help would save me lol
This is the last subject I need to learn for the test
Hey guys I have a quick question
I need to write the negation of: โxฦy(xy โฅ y)
And I think I already did it
ฦxโy(xy โค y)
Is this right? Like when we are writing the negation the โฅ from the original one changes to โค ?
The negation of greater than or equal to is just less than
Guys
When u say repetition is allowed, does it mean the size of element is still the same?
like 7 options, then u still have 7 options for next
Yes, the number of options stay the same.
@neon thorn thank you for that recommendation. Does this resource also work for CS people as well? or is discrete math a bit different in CS?
hi guys, how do I go about this problem? : Set f(x) = x3 โ 3x2 + 2x โ 4. Prove that there exists a real number r such that 2 <r< 3 and f(r) = 0.
look at f(2) and f(3)
f is a polynomial, so it's continuous
what does that tell you
damn it i was googling IVT and someone already answered it 
do you mean x^3 - 3x^2 + 2x - 4
@loud copper whoops sorry
its ok
does "intermediate value theorem" ring any bells
what is f(2) and f(3) let's start there
I guess they're functions f(r) with r being the real numbers 2 and 3?
