#help-28

1 messages · Page 284 of 1

rapid rain
#

b implies c?

neon yoke
#

is the butler lying

zenith kernel
#

G whether T or F both gives you C F, thus B F

neon yoke
#

so is it only the butler who lies

#

how to determine the other ones

#

insert b = F?

zenith kernel
#

You said yourself B, C both F

#

G, H exam cases

neon yoke
rapid rain
#

so no longer valid unless shown now

neon yoke
#

cuz of the first one

upbeat knot
#

if you are familiar with "proof by contradiction",

you assumed B

ended up with C and not C which is false

thus assumption is false

not B, i.e. Butler lies

rapid rain
neon yoke
zenith kernel
neon yoke
#

then what to do about c

#

and the other ones

#

should i insert b = F

rapid rain
zenith kernel
#

Oh i thought you were disagreeing with me

#

Misunderstood

neon yoke
#

i dont get what they said btw

#

its fine

rapid rain
#

I'm not, I'm following sean's pace

neon yoke
#

I cant conclude anything with b =F

#

how do i move forward now

rapid rain
#

well we have to go supposing more truth values now

neon yoke
#

alright

rapid rain
#

looking at C being involved in a lot of statements

#

mainly "h implies not C"

#

this would be more constraining if C was true

#

because then h would have to be false

neon yoke
#

can i do this using rules of inference

rapid rain
#

only a false thing can imply a false thing

neon yoke
#

not b is a premise

#

but i cant apply modus ponens

#

kay now we have
b implies c
not c or not g
g or h
h implies not c

#

alright

#

b is F

rapid rain
#

once b is F, the first statement is useless btw

neon yoke
#

i will assume C is also F

#

1 or not G is always true

rapid rain
neon yoke
rapid rain
#

ok

neon yoke
#

(you wont be there in the exam hall)

#

alright if not C is T then what can i say abt h

#

0 -> 1 and 1 -> 1 both are true

#

its useless

#

now what should be my next step

rapid rain
#

well statements 1, 2 and 4 are now irrelevant when C is F

neon yoke
#

i could assume h = T

rapid rain
#

so the only statement left is "H or G"

rapid rain
neon yoke
#

got it

neon yoke
rapid rain
#

any H, G that satisfy "H or G" make it valid then

#

so just avoid "H = G = F"

neon yoke
#

that means C is F

rapid rain
neon yoke
#

when i plug h = T i get c = F

rapid rain
#

"When C is F, then everything works. That means C must be F"

neon yoke
#

ohk

rapid rain
#

you haven't seen what happens in the other case, you can't assume it doesn't work without seeing it

neon yoke
#

b = F, c = F

rapid rain
neon yoke
#

what other case?

rapid rain
neon yoke
rapid rain
#

I'm saying that's not a good reasoning

neon yoke
#

dang

#

whats the other case?

rapid rain
#

well, C is T

neon yoke
#

how

rapid rain
#

?

#

That's up to you to check

neon yoke
#

oh so i assume c is t

rapid rain
#

All I'm saying is you've shown C = F is possible

#

to show that it's the only way

#

you must show C = T is impossible

#

that, you haven't done yet

neon yoke
#

how to do that

#

i did this before

rapid rain
neon yoke
#

couldnt conclude anything

rapid rain
neon yoke
#

ok if c is T

rapid rain
#

you haven't tried "c is T"

neon yoke
#

kay now we have
b implies c
not c or not g
g or h
h implies not c

#

0 implies 1

#

true

#

0 or not g is true only if g is false

#

g or h is true if h is true

#

h implies not c is true for h = false

#

is that a contradiction

rapid rain
#

yes

neon yoke
#

so C cant be true right

#

so C is F

rapid rain
rapid rain
#

B, C are F

neon yoke
#

what abt the rest

rapid rain
#

and G or H, we don't know

neon yoke
#

kay now we have
b implies c
not c or not g
g or h
h implies not c

neon yoke
rapid rain
#

once you have that B, C are both false

rapid rain
#

we've discussed so before

#

so only "G or H" is left to determine anything about G and H

neon yoke
#

the propositions work for all values of g and h

#

can i say that

rapid rain
#

it's just not enough of a constraint to properly find both

neon yoke
#

the propositions work for all values of g and h, provided that they satisfy 2 and 4

rapid rain
#

recall what's the truth table of G or H

neon yoke
rapid rain
#

2 and 4 are irrelevant now

neon yoke
#

provided the satisfy 3

rapid rain
#

give me the truth values of G and H that work

neon yoke
#

so g = 1, h=1 or g =0, h=1

#

g=1, h= 0

rapid rain
#

yes, those are the 3 possibilities

neon yoke
#

why did this take so long

#

whats the first thing that i should do

#

to solve it faster

rapid rain
#

well there was some hiccup in transforming the written statements into logic statements

neon yoke
#

lmao

rapid rain
#

"they can't both ..." means not(... and ...)

neon yoke
#

i get the not both lying thing now

#

at least

#

yeah it makes sense now

#

thanks

rapid rain
#

and so don't bring up Xor unless explicitely stated "exactly one of them ..."

neon yoke
#

is it because xor is 0 when both are 0

#

cuz not (a and b) is 1

#

when a = b = 0

rapid rain
#

well that's why they call it the exclusive or

#

(vs the inclusive or)

neon yoke
#

alright

#

well so butler and the cook are liars and the others one we cant determine

#

at the start of this problem i assumed b = T and found a contradiction

#

what if i dont find the contradiction

#

can i conclude that my assumption was correct?

rapid rain
#

your assumption is plausible, not "correct"

#

your assumption only becomes correct when you find out the alternative is impossible

#

so you have to look at what happens when you assume the opposite at some point

neon yoke
#

alright

#

ty man

zenith kernel
# neon yoke why did this take so long

I think you can get faster. By not questioning yourself. And set up straightforward to do what you are determined to do. When you halt and question yourself “is this step correct” it might break your train of thought

neon yoke
#

what if i do the incorrect translations haha

#

i have to check back at soe point

zenith kernel
#

Have confidence. As long as you don’t assume things unnecessary, only follow the basic conditions you don’t have room to make error

neon yoke
#

thanks

#

.close

full forumBOT
#
Channel closed

Closed by @neon yoke

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

neon yoke
#

Can we have more than one knight in these questions?

neon yoke
#

Cuz if the three people must be unique then 31. has no solution

robust nacelle
robust nacelle
neon yoke
robust nacelle
#

"when there is no unique solution, list all possible solutions or state that there are no solutions."

robust nacelle
neon yoke
#

cool

#

ty

#

.close

full forumBOT
#
Channel closed

Closed by @neon yoke

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

sturdy vine
#

$lim {x\to 0} \frac{\ln(x+e^{-x})}{x\cdot \ln(1+2x)}$

glossy valveBOT
#

Professor Edward C. Hawthorne

icy hemlock
#

l'hopitals?

sturdy vine
#

Taylor mac laurin?

icy hemlock
#

er

sturdy vine
#

ln(1+2x)~2x

#

So denominator = 2x^2

icy hemlock
#

uh

#

i dont know if thats how that works

sturdy vine
#

$\ln(1+x+e^{-x}-1)$

glossy valveBOT
#

Professor Edward C. Hawthorne

sturdy vine
#

$\ln(1+t)$

glossy valveBOT
#

Professor Edward C. Hawthorne

sturdy vine
#

$t-t^2/2=x+e^{-x}-1-(x+e^{-x}-1)^{2}/2$

fast peak
#

you could just differentiate

glossy valveBOT
#

Professor Edward C. Hawthorne

sturdy vine
#

Yes its Better differentiate

#

I think I need to do this twice

#

$\ln(x+e^{-x})$

glossy valveBOT
#

Professor Edward C. Hawthorne

fast peak
#

its gonna be a painful calculation anyway I think

sturdy vine
#

$f'_N=(1-e^{-x})/(x+e^{-x})$

glossy valveBOT
#

Professor Edward C. Hawthorne

gritty rose
#

Can try to use log(1+u)/u -> 1 as u -> 0 for both u = 2x and u = x + exp(-x) -1

sturdy vine
#

Ok

#

$lim x\to0 \frac{x+e^{-x}-1}{2x^2}$

glossy valveBOT
#

Professor Edward C. Hawthorne

sturdy vine
#

$1-e^{-x}/4x$

glossy valveBOT
#

Professor Edward C. Hawthorne

sturdy vine
#

$e^{-x}/4 lim = 1/4$

glossy valveBOT
#

Professor Edward C. Hawthorne

sturdy vine
#

,w $lim {x\to 0} \frac{\ln(x+e^{-x})}{x\cdot \ln(1+2x)}$

glossy valveBOT
sturdy vine
#

Thanks!

#

.close

full forumBOT
#
Channel closed

Closed by @sturdy vine

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

zenith osprey
#

Hi, i need a little help on how to solve this, taking a practice test and i just dont really have a clear idea on how to do this, thank you!

sturdy vine
#

Hi

zenith osprey
#

Hi

sturdy vine
#

Only one straight line passes through two points, right?

zenith osprey
#

yeah

sturdy vine
#

y=mx+c

#

For the first part, what points (x,y) are known?

zenith osprey
#

would it be -6, -3?

sturdy vine
#

Ok this Is x , and y?

zenith osprey
#

3, -3?

sturdy vine
#

Yes!

#

So you have to find a straight line that passes through the points (-6,3) and (-3,-3), do you know how to do it?

zenith osprey
#

not really sorry

sturdy vine
#

y=mx+c

zenith osprey
#

ah

sturdy vine
#

So what do you know from the graph and seeing y=mx+c? What are you missing?

zenith osprey
#

sorry if im wrong but would it be m and c?

sturdy vine
#

?

zenith osprey
#

sorry 😭

#

what is missing

sturdy vine
#

Ok

#

You know that a straight line passes through the point (-6,3)

#

So y=mx+c -> 3=m(-6)+c

zenith osprey
#

mhm

sturdy vine
#

You know that the other straight line passes through the point (-3,-3)

#

So y=mx+c -> -3=m(-3)+c

#

Clear?

zenith osprey
#

yes

sturdy vine
#

Now placing these 2 in a linear system, you find m and c that simultaneously respect the 2 equations (because only one straight line passes between 2 points)

#

Clear ? Do you know how to do it?

zenith osprey
#

i think i kinda get it

sour torrent
#

Hi

zenith osprey
#

Hi

sour torrent
#

Need help?

sturdy vine
zenith osprey
#

sure, sorry im pretty slow 😭

#

for the graph itself, what is the difference between the bold point and the one that isnt fully shaded in?

sturdy vine
#

That the filled blue dot also accepts as input the x on which it is located, the non-filled one does not

#

As you can see on the right where the intervals are written

zenith osprey
#

oh i see, thank you!

#

i believe i was able to get an idea on how to work this thank you so much for your help

sturdy vine
#

👍

zenith osprey
#

.close

full forumBOT
#
Channel closed

Closed by @zenith osprey

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

frosty gyro
#

i was wondering if we had a function u(x) is this allowed?

frosty gyro
#

im assuming its differentiable as well

leaden ermine
#

Whats star

frosty gyro
#

complex conjugate

leaden ermine
#

this seems very wrong

#

z* is not differentiable for example

#

complex differentiable

frosty gyro
#

im looking at this so i just thought we could swap it around

vagrant leaf
#

What is f?

frosty gyro
fast spear
#

is x real

frosty gyro
#

yes

fast spear
vagrant leaf
frosty gyro
#

ty nyx and universe as well

vagrant leaf
#

You should try showing why it holds

whole lily
frosty gyro
#

ok thanks all

#

.close

full forumBOT
#
Channel closed

Closed by @frosty gyro

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

lime rover
#

How do I solve this cubic?
3x³+5x²+4x+5=5

lapis holly
#

Δ=(q/2)²+(p/3)³

#

Use the cardano formula.

sacred yarrow
#

👀

lapis holly
#

q = 2(5)²-9(3)(5)(4)+27(3)²(5) / 27(3)³

thick hedge
thick hedge
lapis holly
#

It's easy.

#

Come on.

thick hedge
#

sure, but there's a better method here

#

so you have to solve 3x^3+5x^2+4x=0

#

which you should be able to

lime rover
#

Oh hell nah im not doing cardano an stuff leave me out of thia

#

!close

#

.close

full forumBOT
#
Channel closed

Closed by @lime rover

Use .reopen if this was a mistake.

thick hedge
#

😭 , I had given an alternate method

stone matrix
#

Lol

gritty rose
hybrid yacht
full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

quartz flare
#

Would this be a valid proof of correctness? I've never proven an algorithm's correctness before.

\begin{proof}[Proof of the Correctness of Algorithm 1]
  We will go by induction on $n$. Naturally, if $n = 1$, then the maximum is $a_1$ and we are done.

  Now suppose that $max$ is the maximal value in $\{a_1, \dots a_k\}$. If $a_{k+1} > max$, then $a_{k+1}$ is the maximal element in $\{a_1, \dots a_{k+1}\}$; otherwise, $a_{k+1} \leq max$, and $max$ is the maximal element in this set. In the first case, the code sets $max := a_{k+1}$, so $max$ is the maximal value in the set; otherwise, the code keeps $max$ as is, so $max$ remains the maximal value in the set.
  
  We can continue this process up to $k = n$ and we have $max$ is the maximum value in the set $\{a_1, \dots, a_n\}$.
\end{proof}
glossy valveBOT
#

Coolempire2026

maiden vapor
#

It looks fine. You should probably state the induction hypothesis more precisely

hallow charm
#

yes, this seems fine. what you are effectively doing is proving an invariant about the algorithm: in every iteration of the algorithm, max stores the maximum value among the elements in the subset {a_1, ..., a_k}

#

then clearly the algorithm terminates so by virtue of the invariant, it returns the max

quartz flare
#

Back

#

I'll have to learn about proving that an algorithm terminates later

hallow charm
#

it's relatively clear here but it may not be so obvious for recursive algorithms, for example

quartz flare
#

It's obvious to me because I can see it but proving it I don't know how I would

hallow charm
#

well the algorithm is simply doing a single pass through the list and then returning the max

#

so it "clearly" terminates

quartz flare
#

I think I get it

#

I'll come back if more questions

#

Thank you both!

#

.close

full forumBOT
#
Channel closed

Closed by @quartz flare

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

rancid helm
#

in ques d, should we take exclusive or?

full forumBOT
twilit leaf
#

no, thats part e's job

brittle steeple
#

oh god not the either discourse

#

but yes, garlic is right, it's unlikely that d and e are asking the exact same question phrased slightly differently, so likely inclusive or is desired

rancid helm
#

in this ques we take exclusive right?

grave elm
#

One one hand, "either" mildly suggests exclusivity. On the other hand, inclusive is usally the default unless explicitly stated otherwise

#

If I had to guess, I'd choose inclusive, but it's just a poorly worded question

zenith kernel
#

Inclusion exclusion, |A union B|=|A|+|B|-|A intersects B|

warped frost
#

this is confusing though, because the wording in 48 is the same as the wording in 22. d), and the wording in 22. d) suggests an inclusive OR while e) suggests an exclusive OR

#

so there's some kind of wording precedent here

grave elm
#

That's exactly what makes me think that it's meant inclusively

onyx glen
zenith kernel
#

I meant, i don’t know we should say, take inclusion, or take exclusion. That’s result is called inclusive-exclusive principle, so together

spiral vigil
#

i would read that as inclusive or

grave elm
#

i think it didnt refer to IE principle

zenith kernel
#

Oh 48.

warped frost
#

I think with precedent it's very likely inclusive OR, OP.

zenith kernel
#

Is there a difference between what either means in math and in daily English?

rancid helm
#

in 48, we should take both also right?

warped frost
#

48 reads as inclusive OR to most of us, yes, because of 22. d) and e)

zenith kernel
#

So A-B union B-A and A union B. What is math version what is daily version…?

warped frost
#

note that the wording is similar to 22. d), while 22. e) is unmistakably exclusive OR

spiral vigil
warped frost
#

that reads to me as if the author is consciously separating inclusive and exclusive OR

zenith kernel
#

I think it’s A union B, right? Because his teacher in 22 asked both d and e. And e means A-B union B-A, so d better mean A union B

onyx glen
#

these can both be clarified as exclusive by saying "but not both", and as inclusive by saying "or both"

brittle steeple
#

A xor B xor both

onyx glen
#

in daily enlgish, "either-or" implies exclusivity, but in math usually the implication is less strong if present at all

rancid helm
#

btw these are the questions from rosen's discrete mathematics book

grave elm
zenith kernel
#

Oh

brittle steeple
#

Yes in context it must be A U B

rancid helm
#

is there any good solution book that i can refer to?

warped frost
#

wdym by "solution book"

rancid helm
#

solution manual

warped frost
#

well, I suppose you could try finding one online

#

I'm not aware if one exists though

grave elm
#

Try searching with "filetype:pdf"

#

adding that to the search query will only find results which are pdfs (which is the most common format for such manuals)

#

be aware that pdfs can sometimes be dangerous and so make sure the sources are somewhat trustworthy

warped frost
#

or, try searching in, well... the good places

#

I won't elaborate further - I presume you know what I mean.

rancid helm
#

thanks everyone

#

.close

full forumBOT
#
Channel closed

Closed by @rancid helm

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

ancient zinc
full forumBOT
ancient zinc
#

for b), I could only come up with eigenvectors (1,1,1,0,0,...), ... or more generally the ones where 3 consecutive terms are the same e.g.

a_{3k} = a_{3k+1} = a_{3k+2}

#

which is orthogonal and can be normalized but not really sure how to determine other possible eignevectors (and then determine if theres a hilbert basis)

rapid rain
#

Think about what happens to a much simpler transformation:

#

The one that only takes in (a_0,a_1,a_2) and outputs (a_2,a_0,a_1)

#

So a linear transformation from C³ to C³

full forumBOT
#

@ancient zinc Has your question been resolved?

ancient zinc
#

checking for eigenvals/vecs

ancient zinc
ancient zinc
#

.close

full forumBOT
#
Channel closed

Closed by @ancient zinc

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

neon yoke
full forumBOT
neon yoke
#

Stuck at (b)

#

I can obtain a_n = a_n+1 ^ 2 -2

#

but im not sure how to proceed

icy hemlock
#

well

#

what do the first three terms of the sequence look like

neon yoke
icy hemlock
#

yeah

neon yoke
#

I can also say that a_n+1^2 > 2

icy hemlock
#

yeah

#

thats true

neon yoke
#

We are subtracting 2 from it

slate violet
#

you can square-root both sides of an inequality if both sides are positive

icy hemlock
#

well think of it this way

keen spire
#

are u familiar with newton sums

icy hemlock
#

lets assume for contradiction, maybe

keen spire
#

for quadratic

icy hemlock
#

that a_n+1 > 2

neon yoke
#

okay

icy hemlock
#

right, because if that was true the problem explodes

neon yoke
#

the question is about a_n tho

icy hemlock
#

and so this probably can't happen

#

yeah ok sure

neon yoke
#

a_n < 2

icy hemlock
#

lets assume a_n >= 2

#

its the same thing

#

it's asking you to prove something for general n

#

does this imply anything about a_n-1

icy hemlock
neon yoke
#

well no?

#

a_n only has a_n+1

#

in its formula

icy hemlock
#

well

#

you can shift it over by one

#

since a_n = a_n+1 ^ 2 -2

#

then you know that a_n-1 = a_n ^2 -2

#

right

icy hemlock
#

the n and n+1 are sort of placeholder

#

you could replace them with n-1 and n

#

or 2n and 2n+1

#

or 49n + 338 and 49n + 339 (i don't know why you'd do either of these though)

neon yoke
#

ok

icy hemlock
#

so

icy hemlock
neon yoke
icy hemlock
#

let's say at some point a_n did actually go over 2 and a_n >= 2

outer lotus
icy hemlock
#

given that a_{n-1} = a_n^2 - 2, what does this mean about a_{n-1}

#

this is true

#

but im not sure if they know induction

outer lotus
icy hemlock
#

yeah

outer lotus
#

Assume it's true for k-th term

#

We must now show that it's true for k+1

neon yoke
#

so induction is thew way

icy hemlock
#

for "prove for all positive integers n" questions induction should be one of the first things you try

outer lotus
icy hemlock
#

it works unreasonably well

glossy valveBOT
#

a handsome russian dude

neon yoke
#

!noans

full forumBOT
#

The purpose of this server is to help you learn; please don't ask for direct answers. Ask for guidance, explanations, or feedback instead.

neon yoke
outer lotus
#

It's not an answer bruh

#

How do you get k+1 here

neon yoke
#

I am getting a_k+1 ^ 2 < 4

outer lotus
#

Right

neon yoke
#

after doing the k+1 step

#

can I square both sides to get 2

#

or do i have to take care of the sign as well

icy hemlock
#

square root probably works better

outer lotus
#

Yeah, take sqrt of both sides

neon yoke
#

what about -2

icy hemlock
#

be a bit careful with square rooting an inequality

icy hemlock
neon yoke
icy hemlock
#

not quite

#

its a bit weird

#

you actually get -2 < a_k+1 < 2

neon yoke
#

a_k+1 < 2 and a_k+1 > -2?

icy hemlock
#

yea

#

exactly

neon yoke
#

well so what do i do with the -2

icy hemlock
#

tbh not much

#

like

#

i think you know pretty well that a_k+1 is never actually going to be < 1

#

but

neon yoke
#

Well I do have a_k+1 < 2 always, cuz it is an AND clause

outer lotus
#

$\sqrt{2 + a_k} < \sqrt{4}$

neon yoke
#

so a_k+1 < 2 always

glossy valveBOT
#

a handsome russian dude

icy hemlock
#

it being -1 or something doesn't break anything

neon yoke
#

so proved?

icy hemlock
#

so like

#

yeah

#

proved

neon yoke
#

cool

#

now move on to c

#

I am getting the difference of squares = 2

#

using the definition

outer lotus
#

Same thing. Prove for n=1, assume true for k. Prove for k+1

neon yoke
outer lotus
#

Idk

#

It's the straightforward one

icy hemlock
#

for most questions involving "prove for all integers"

#

induction works

#

unreasonably well

#

especially when you have a really easy way to relate one case with the one right before it

#

which is the case here, you can kind of turn off your brain a bit

#

alternatively

#

i think you can probably get away with not using induction here

icy hemlock
#

you should expand the RHS

#

and see what you end up getting

#

when you simplify

neon yoke
#

With that I get -(a_n^2 - a_n -2)

#

I should prolly faftorize this

#

-(a_n-2)(a_n+1)

#

alright

#

solved

icy hemlock
#

yeah

neon yoke
#

ty guys

icy hemlock
#

c is kind of

#

dumb

neon yoke
#

now d hehe

icy hemlock
#

the hint does a lot

neon yoke
# icy hemlock the hint does a lot

Well I can say that for a_n+1 - a_n > 0,
a_n+1 ^ 2 - a_n ^ 2 > 0 is also true
Then I can use (c) to get (2-a_n)(1+a_n) > 0
Which leads to
a_n < 2 or a_n < -1

#

Now from (b) I get that a_n < 2 so this clause is always true, (cuz of the OR)

#

So the sequence is strictly inceasing

icy hemlock
#

you should be a bit careful with the last step

#

if a_n < -1 you actually end up getting that (2-a_n)(1+a_n) < 0

#

but this is an easy fix

#

because you know a_n is always > 0 because square roots are positive

neon yoke
#

I got a_n >-1 mb

#

cuz it is (1+a_n) > 0

#

@icy hemlock Now how can I prove convergence and find the limit using these results?

#

Well I have that the sequence is strictly increasing

icy hemlock
#

gonna be honest

#

i dont actually know how/forgot how to formally prove convergence

torn jolt
#

i think i can help here but shall read hold on

icy hemlock
#

so i dont feel comfortable answering with something possibly wrong

#

i will just watch

neon yoke
#

Well I have to find an upper bound for this sequence

zenith kernel
#

You finished b

neon yoke
neon yoke
#

wait so the asnwer is 2

#

the upper bound is 2

zenith kernel
#

I mean you finished b, thus you have an upper bound

#

Yeah

neon yoke
#

dang

#

Why cant i find these connections myself sadcat

steel solar
#

well you gotta look at the whole picture, sometimes zooming out and taking a break helps out

zenith kernel
#

And you finished c, thus it’s monotonically increasing

neon yoke
#

lim to inf of a_n = L

#

I can put this in the recursive definition

zenith kernel
#

Any continuous f, f preserves limits
i.e. lim f(a_n)=f(lim a_n)
Now plug in
f(x)=sqrt(x+2)

#

Yeah

neon yoke
#

why does lim a_n = lim a_n+1

zenith kernel
#

Definition

neon yoke
zenith kernel
#

limit

neon yoke
#

well cuz its the same sequence

#

n is just a placeholder

#

so limit will be same

zenith kernel
#

Any ε>0 there exists Ν>0 such that any n>=N, |a_n -L|<ε
Is the definition of lim a_n =L
Any ε>0, let M=N+1, any n+1>=M, |a_n+1 -L|<ε. Thus lim a_n+1 =L

neon yoke
#

alright

torn jolt
#

may i ask.. what the issue here..

zenith kernel
#

Idk, he halted

torn jolt
#

limit or the prove thing?

zenith kernel
neon yoke
#

its L = 2

zenith kernel
#

Yeah

neon yoke
#

Induction seems rough here

#

for (a)

steel solar
#

use hint perhaps catthink

midnight plover
#

Well, you use AM-GM or calculus for a.

zenith kernel
#

Yeah

neon yoke
#

calc?

#

how

steel solar
#

minima of a one variable function!

neon yoke
#

Why is replacing a_n with x okay?

steel solar
#

a_n is a positive real number

neon yoke
#

could I have done that in this part too?

zenith kernel
#

a_n is in the domain

torn jolt
steel solar
#

we're showing that one part of the recursion has a certain minima, so a_{n+1} would have it as well

zenith kernel
#

inf f on (0, infty)<=inf of f on {a_n: n}

icy hemlock
# neon yoke

oh i did not know the criteria for proving convergence was this simple

#

interesting, i thought it was more complicated

#

anyway sorry

neon yoke
#

and then prove that it is always < 2? (for part b)

steel solar
#

eh, not really, sqrt(2+x) on its own doesn't have a maxima

midnight plover
#

Well in that case, you don't need any calculus

steel solar
#

for x a positive real

midnight plover
#

There induction works well.

neon yoke
midnight plover
steel solar
#

its just convenience here, induction is usually just a one-size-fits-all route

neon yoke
#

how do I use this for the sequence?

midnight plover
#

Well, find it's minimum value

#

(as explained in the hint)

neon yoke
zenith kernel
#

Yeah

midnight plover
#

And if f(x)=1/2(x+3/x) then a_{n+1}=f(a_n).

#

So a_{n}>=root(3)

zenith kernel
neon yoke
#

And if f(x)=1/2(x+3/x) then f(a__n) = a_{n+1}

#

cool

#

got it

neon yoke
#

Now can we say that the limit of this sequence is root 3?

zenith kernel
#

By calculation it’s sqrt(3)

#

Though when doing these exercises, probably it requires you not to omit steps

neon yoke
#

I just used part a and b to infer that limit = sqrt(3)

zenith kernel
#

Okay, whatever works. As long as your steps are valid

midnight plover
#

There are some fancier theorems to conclude this as well in this case, for example sqrt(3) is a fixed point of f(x)=1/2(x+3/x).

zenith kernel
#

Banach fixed-point theorem seems to be an overkill. taking limits both sides like a normal student is fine already I think

neon yoke
zenith kernel
#

You have to have some kind of steps anyway. If not taking limit both sides, what did you do

neon yoke
#

the limit = root 3

zenith kernel
#

It’s false

neon yoke
zenith kernel
#

sqrt(3) is a lower bound, not inf

#

sqrt(3)+1+1/n decreases, and have sqrt(3) as a lower bound

neon yoke
#

After applying limits on both sides

#

i can get L = root 3 from this

zenith kernel
#

Yeah that’s what people usually do

full forumBOT
#

@neon yoke Has your question been resolved?

#
Channel closed

Closed by @neon yoke

Use .reopen if this was a mistake.

#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

brisk minnow
#

Hi, how can I prove this using contradiction?

brisk minnow
#

If x!=y then wither x>y or x<y right

#

But idk what to do w this info

#

Can I have a small hint

jovial junco
brisk minnow
#

n

#

sorry bad handwriting 😭

jovial junco
#

you can find counter examples

brisk minnow
#

I should state x,y>0

jovial junco
brisk minnow
#

Alr I’ll have a go

little prism
#

I suspect the strategy is to suppose x and y are different

#

and then use that x^n-y^n=0

#

factorise...use what you know...prove it's impossible. But need to know the formula of x^n-y^n as a product

brisk minnow
#

Is it common?

#

In real anal

zenith pilot
#

x^n = y^n and x,y > 0
The latter term cannot be zero since x,y > 0. Hence x - y = 0.

little prism
#

Yes, that one...

little prism
brisk minnow
#

Oh 😞 no way I was getting that lol

zenith pilot
#

Yes. The latter term is just a geometric progression.

little prism
#

There's one for sums too, but afaik it needs the exponents to be odd to work (or something like that).

brisk minnow
#

Then that leads us to a contradiction if x!=y

zenith pilot
#

There are other ways too. This isn't the only one.

brisk minnow
#

Oh alr

#

Ty

#

.close

full forumBOT
#
Channel closed

Closed by @brisk minnow

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

full forumBOT
#

Please don't occupy multiple help channels.

tame cradle
#

.close

full forumBOT
#
Channel closed

Closed by @tame cradle

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

tame cradle
#

lets say we define N=p1.p2.p3.....ps-1 + ---- a sum of product of s-1 primes my friend wants to prove whether N-1 can be divisible by b^2 where b has atleast one prime p1,p2 ,p3 ... etc as its factor

grave elm
tame cradle
#

b

#

oh

#

say p1^2

#

or the prime square it shares factor with

grave elm
#

yeah, one of the primes

tame cradle
#

yes

#

so?

grave elm
#

N-1 is p1 * p2 * ... * ps - 2

#

so this has to be divisible by one of the primes

#

can you see sth from here?

#

Can e.g.
5 * 3 * 7 * 11 - 2 be divisible by 7?
(without calculating it)

tame cradle
#

its product of s-1 primes

#

i can understand this that sum is of s terms so s-1 terms would have p1 in denom and two would have 1/p1^@

tame cradle
#

lmao

#

distribute

#

-2mod7

#

oh shi

grave elm
tame cradle
#

but man hey lets not get excited here we have (1 term -1) mod p1 here

grave elm
#

p | kp + a iff p | a

tame cradle
#

yes

tame cradle
#

look i understand but what about term which does not have p1

#

eg

#

p2.p3...ps-1mod p1

grave elm
#

oh wait, i mightve misunderstood the question

tame cradle
#

understand you are right s-1 terms would become 0 mod p1

#

would about sth term and -1 mod p1

#

:.

#

:>

#

(p2....ps-1) mod p1 - 1 mod p1

#

wait

#

i got it

grave elm
#

oh i understand the question

tame cradle
#

(p2...ps-1) is always odd

#

and - 1 would be eveb

#

so even cannot be divided by odd

#

wait

#

are we right bro

#

?

grave elm
#

because each one is -1 mod p

tame cradle
#

why

#

look s-1 terms have

#

p1 in prod

#

so they will god 0 mod p1

grave elm
#

oh god

tame cradle
#

last term does not have

#

p1 and a -1

grave elm
#

you meant p1.p2.p3.....p_(s-1)

tame cradle
#

yes

grave elm
#

okay now i get it

tame cradle
#

yes

grave elm
#

i thought it was (p1.p2....) - 1

tame cradle
#

oh

#

lmao

#

no no

#

look we would remain with (p2.....ps-1 - 1) mod p1

#

this is an even number

#

:>

#

:>

#

:>

#

say it

grave elm
#

so its not divisible by p

tame cradle
#

:>

grave elm
#

i still dont get the question tho

tame cradle
#

look my friend wants to prove

#

if k is a odd number

grave elm
#

sum of product of s-1 primes
what does this mean

tame cradle
#

it means p1.p2.....ps-2 + p2.......ps-1 + -----

#

sum of s terms where each term is a product of s-1 primes

#

:>

grave elm
#

oh so you always leave out 1 prime?

tame cradle
#

yes

#

my friend gave me this

grave elm
#

so there are s-1 terms?

tame cradle
#

he wants to show this is not divisible by an odd number b if any prime is a factor

#

:>

tame cradle
#

oh wait

#

yes s-1

#

:>

grave elm
#

what if one of the primes is 2?

tame cradle
#

man

#

wait let me ask him

grave elm
#

it wouldnt be an even number

tame cradle
#

why

#

s-2 terms are 0 mod p1

#

last term - 1

grave elm
#

oh and even number mod p can also be 0

tame cradle
#

mod p1

grave elm
#

14 mod 7 is 0

tame cradle
#

i forgot

#

lmao i feel sorry for him

#

i laughed at my friend

#

after which he got angry and then now i realise

#

why he was so troubled

#

even can also be divided by odd

#

how can we prove any idea

grave elm
tame cradle
#

b

#

man if its not divisible by b

#

how it can be by b^@

#

b^@

#

b^2 :>

grave elm
#

look we would remain with (p2.....ps-1 - 1) mod p1

#

where did we get that -1 from?

tame cradle
#

it was

#

he wants to prove N-1

#

is divisible by b or not

grave elm
#

oh

#

yeah

#

3*5 - 1 is divisible by 2

tame cradle
#

:,

#

:<

grave elm
#

so if you choose p1 = 2, p2 = 3, p3 = 5, it doesnt work

tame cradle
#

wait understand

#

its of the form 2k-1

grave elm
#

oh

tame cradle
#

when is 2k-1 div by p

#

no wait

#

one sec

#

one sec

#

its of the form 2k

grave elm
#

2*3 - 1 is divisible by 5 (choose p1 = 5, p2 = 2, p3 = 3)

tame cradle
#

2k div by p

#

its only possible if

#

k is div by [

#

p

grave elm
#

it just doesnt seem like it could work

tame cradle
#

any lemma

#

If (2k-1) is prime, then (k) has no other prime divisors than 2.

glossy valveBOT
#

CØSMOS

tame cradle
#

;-;

#

lmao we are on a deadend

#

lets leave it :<

grave elm
#

False, 2*3 - 1 = 5

#

its just false

tame cradle
#

thats why i said

#

any way how we can

grave elm
#

Take any product of any primes - 1. Imagine if we were able to prove that this isn't divisible by any other prime p1 (then it couldnt be divisible by any prime at all)

#

it literally has to be divisible by one of them

tame cradle
#

proof by contradiction?

#

okay

#

lets us say

#

if its divisible by b

#

then we can say the p1.p2.p3.... last - 1 term is 0 mod p1

#

or its kp1+1

#

now

#

can a product of odd terms be kp1 + 1?

#

aah yes if k is even

#

fuck

grave elm
tame cradle
#

look if this sum has to be divisible by p

#

last term has to be

#

kp1+1

#

lmao

#

oof

grave elm
#

But the p1 is completely independent of the last term

#

and the last term has to be divisible by some prime

#

and that prime cant be p2, p3, ..., ps-1

#

so it has to be divisible by some other prime

#

so if you choose p1 to be that prime, you get a counterexample

tame cradle
#

look

grave elm
#

so i can literally choose any possible last term, and i'll be able to construct a counterexample by choosing appropriate p1

tame cradle
#

(p1.p2.... should be kp1+1 where k is even

tame cradle
#

ok

#

then any conditions do we have lmao

#

when this would be not div

grave elm
#

if the last term isnt divisible by p1

#

thats probably the best thing you can do

tame cradle
#

look we can say one thing

grave elm
#

any condition you can possibly make will involve p1

tame cradle
#

lets say each prime is

#

2k+x1 form

#

2^s-1(k+x1/2)(k+x2/2)... can we think of something like this maybe

#

we can distribute mod

grave elm
#

most of that stuff will be fractions

tame cradle
#

(2^s-1)mod p1 (k+x1) mod p1 .... and so on

grave elm
#

you cant mod fractions

tame cradle
#

bruh

#

we can

grave elm
#

no

tame cradle
#

a/b mod c exists if gcd(b,c)=1

#

its simply amod c b inverse mod c

#

we can

grave elm
#

i dont think that modular fractions combine with normal fractions this nicely

tame cradle
#

look

#

it would be

#

mostly odd/2

#

now we have gcd(2,p1)=1

#

we can maybe try of

#

some shit

#

wait the hell

#

wait wait

#

we can

#

one sec

tidal coral
#

can we get some people to help-2

#

he has proof to check

grave elm
#

i dont understand what kind of condition do you expect to get... give me any primes p2, p3, ..., p_(s-1) and ill always find a counterexample p1

tame cradle
#

bro

#

so what should i say

grave elm
#

ur friends conjecture is wrong

#

present him with few counterexample

#

for extra magic points, let him choose the primes p2, p3, p4...

#

ill show u how it works

#

give me some primes

#

any small primes you want, i wont do big prime stuff

#

okay, say the primes are 7, 11, 13

#

,calc 71113-1

glossy valveBOT
#

Result:

1000
grave elm
#

oh nice lol

#

i choose p1 = 5 and b = 25

tame cradle
#

look

#

(p2.p3......ps1) mod p1 - 1 mod p1

#

now

#

this means

#

we would get at last

#

kp1+1 mod p1 - 1 mod p1

#

so this needs checking by prime p1

#

:>

#

@grave elm

#

can we but prove for b^2

#

an odd square is off the form 4m+1

grave elm
tame cradle
grave elm
#

nope, we cant

#

still false

#

3*7*11 - 1 = 1000, choose b = 5. Then b^2 = 25 and it is divisible by that

#

finding any pattern in this would probably get you fields medal

tame cradle
#

lmao

grave elm
#

it would be a pretty significant pattern in primes

tame cradle
#

lmao

#

the actual lmao

#

lmao

#

my friend lmao

#

lmao

#

lemme tell him this

#

one sec

#

lmao

#

he is sad man

#

bro went to sleep

grave elm
#

the conjecture is false, it works only if p2 p3 p4 ... ps-1 - 1 has no square factors

tame cradle
#

lmao

#

lmao

#

this is the original problem

#

:>

#

.close

full forumBOT
#
Channel closed

Closed by @tame cradle

Use .reopen if this was a mistake.

full forumBOT
#
Available help channel!

Send your question here to claim the channel.

Remember:
Ask your math question in a clear, concise manner.
Show your work, and if possible, explain where you are stuck.
Do not immediately ping people or roles. After 15 minutes, feel free to ping <@&286206848099549185> once.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!

Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.

quartz flare
#

Back with my book again for feedback

full forumBOT
quartz flare
#
\begin{proof}[Proof of Correctness of Algorithm 4]
We will use induction on $n$ and denote the input sequence $\{a_1, a_2, \dots, a_n\}$ as $\{a\}$.

If $n = 2$, then the outer \textbf{for} loop is executed once, executing the inner \textbf{for} loop once, which checks if $a_1 > a_2$ and interchanges them if so. Thus, if $a_1 > a_2$, the algorithm yields the sequence $\{a_2, a_1\}$, and if not (i.e., $a_1 \leq a_2$), the algorithm yields $\{a_1, a_2\}$. In both cases, these are in increasing order.

Now suppose that for $n = k$, Algorithm 4 yields $\{a\}$ in ascending order, and let $n = k+1$.
The difference between execution when $n = k+1$ and when $n=k$ is one extra iteration of the outer \textbf{for} loop, and one extra comparison in the inner \textbf{for} loop.
In the inner \textbf{for} loop, the extra comparison of $a_k$ and $a_{k+1}$ places the greater as the $k+1$th element of the sequence (as shown in the $n = 2$ base case above).
At each iteration, then, the last two elements remain correctly ordered, and the first $k$ elements remain ordered because the algorithm yields the correct answer in the $n = k$ case.
Finally, in the last iteration of the outer \textbf{for} loop, when $i = k$, the inner \textbf{for} loop runs from $j = 1$ to $n - i = (k+1) - k = 1$, so only elements $a_1$ and $a_2$ are compared. As shown in the base case, these end up in the correct order.

Therefore, after the final iteration, all elements end in the correct (increasing) order, and so Algorithm 4 always produces the correct output.
\end{proof}
delicate torrent
#

ooh

#

that's an easy to understand proof im reading here

quartz flare
#

Added a line

glossy valveBOT
#

Coolempire2026

quartz flare
delicate torrent
#

but you know this algorithm is not efficient

#

$O(n^2)$

glossy valveBOT
#

1 divided by 0 equals Infinity

quartz flare
#

Yes 😆 I probably would have a lot more trouble writing a proof for a more efficient algorithm, so I'm just doing the simple ones to get the hang of it

rare dock
#

coolemplud

quartz flare
#

layla 💃

quartz flare
delicate torrent
rare dock
#

too hard for me to follow at this point

delicate torrent
rare dock
#

it can be killed at any time by many people

delicate torrent
rare dock
#

that's what you think

delicate torrent
rare dock
#

little do you know...

delicate torrent
#

?

rare dock
delicate torrent
#

?

rare dock
delicate torrent
rare dock
quartz flare
delicate torrent
rare dock
#

shocking really

quartz flare
#

I assume there's some more standard way to approach a proof like this

delicate torrent
twilit leaf
#

arr.sort() just magically appeared on everyones computers, good thing it works

delicate torrent
twilit leaf
#

oof your code has an std, better get that checked out

twilit leaf
# glossy valve **Coolempire2026**

i think youre over compkicating this because once you finish the first iteration of the outer for loop, it reduces to the induction hypothesis

full forumBOT
#

@quartz flare Has your question been resolved?

full forumBOT
#

@quartz flare Has your question been resolved?

spiral vigil
#

i have a hard time following your proof because of the formatting, but the main thing to show here is that n-1 iterations are actually enough

#

i think with boba sort you have that the top part of the array is sorted after each iteration

maiden vapor
#

the first k elements remain ordered because the algorithm yields the correct answer in the n = k case.
That statement does not follow. Bubble sort on k+1 elements is not equivalent to Bubble sort on the first k elements, and then do extra comparison with a_{k+1}..

quartz flare
#

I'm back

#

,ti

glossy valveBOT
#

The current time for coolempire93 is 12:08 AM (EST) on Thu, 01/01/2026.

quartz flare
#

I knew you would have interesting things to say

maiden vapor
#

happy new year coolemplud

quartz flare
#

I didn't want to ping you but I did check your time 😂

maiden vapor
quartz flare