#help-27
1 messages · Page 372 of 1

@orchid umbra Has your question been resolved?
wait is this accurate
yeah seems right
ty
It's easier to understand if you see it in a graph.
@orchid umbra Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
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.
Please don't occupy multiple help channels.
@austere sluice Has your question been resolved?
What have you tried?
Resolving vectors etc
@austere sluice Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
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.
When to prove a sequence is Cauchy why its fine to suppose n>m or m>n
@vestal ferry Has your question been resolved?
Ass helpers
Look - I can just speak for myself but: If I wanted help, insulting the people who are voluntarily going to help you isn't going to make them help you faster. You can ping the Helper role after 15 minutes, but that comment is just unnecessary.
Sorry i love you bro
also I would say the answer to your question lies in symmetry.
|am-an| = |an-am|
Closed due to timeout
Use .reopen if this was a mistake.
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.
Can someone help with quadratic eqn 2x^2-3x+9
this is not an equation. an equation always has an equals sign.
did you mean: 2x^2 - 3x + 9 = 69 ?
@merry ridge
I mean 2x^2-3x+9=0
ok
and what do you need to do with that? just solve it? or find its sum of roots or something?
and also, tell us how much you've progressed on your own thus far. if you haven't, then just say you have no progress (no shame at all)
yes, solving it
Using factorisation didn't work
Completing square too hard
do you have access to the quadratic formula
Forgot it
do you have it in your notes and/or a textbook on hand
You used chatgpt
if not then ig i will have to be a stand-in for google since you didnt think to look it up
for the equation $ax^2+bx+c=0$ the two roots are given by $$x = \frac{-b\pm\sqrt{b^2-4ac}}{2a}$$
Ann
@merry ridge
@vestal ferry @lapis quarry figure out yalls shit in #discussion or #chill please
idc whos right and whos wrong but we got a help channel going rn and i would like it uninterrupted, capisce?
Nope. Covered that topic myself a few weeks ago so still know it ;-) But please can we move on to the current question of this channel? Thanks.
Si
No problem bro i love you
Pls go or i'll close the chanel
was not addressed to you
@vestal ferry @lapis quarry please leave this channel at once. go to #discussion, #chill, or DMs.
@merry ridge do you still need help here or can you continue on your own with the formula?
@merry ridge For any quadratic equation, you can always use this formula. You'll surely learn the small formula too, but from my experience, it's practical to remember this formula by heart, as it helps you to solve all quadratic equations.
So a normal quadratic equation is ax^2+bx+c = 0. What would you put in for a, b and c in your case?
op gone again
@merry ridge Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
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.
Oh yeah your original post got archived
I solved that
In that question,lambda=1/k eqn turns to x²-4kx+9k=0 leading coefficient is 1 so D must be perfect square integer
My brain is lwk malfunctioning rn
No problem someone else will help
@paper prism what have you done in parts B and further.
Lemme tell
When u simply the first inequality in part B u get (x-k-1)(x-3k+1)>=0
B doesn't seem too bad?
Inequalities aren't too bad but when I jumped in into that question,I felt stuck
Second inequality in part B is (x-k)²+k>=0
when k>=0 second set in B is R,so whatever be the soln to first inequality u will get it
But I am stuck at k<0 case
So just to be clear, In the first one we have x^2 + O(x) >= 0, so solution set is everything not between the roots, yeah?
same for the second
Why do you need to make separate cases for polynomials?
Idk man, he has the most cursed questions.
Sometimes he really does need to make separate cases, but either way it doesn't hurt
fair
You just need to show that both roots lie in the interval between k+1 and 3k-1, given that k<0, we can have 3k-1 < k+1 that range becomes [3k-1, k+1]
see?
(-inf,3k-1]U[k+1,inf)
That is the part that is excluded except the endpoints which you have included, which are included.
I didnt get it
You find the solution set of the second one and then solve the inequality where it lies in the bounds specified by CyclicTree
Now I get it
So,just f(k+1)>=0 and f(3k-1)>=0 where f(x)= first one
x^2 - 2kx + (2k + k^2) = 0
x = (2k +- sqrt(4k^2 - 8k - 4k^2))/2 = k +- sqrt(-2k)
oh?
am I right?
oh yeah k is negative
I think I did wrong
I did opposite maybe
Lemme check
I think I got it
Tell me where I am wrong if I am
k<0 case
Call the second inequality g(x)>=0
g(3k-1)>=0 and g(k+1)>=0
I think I am right
That would be sufficient condition
Isn't it?
it could have a root to the right of k+1
Thanks a lot
I'm not gonna check if it does or not, but I'm assuming you are correct about that. How do you actually solve the ineqs?
I mean we have to apply that inequality and find intersection with other 2 inequalites
How do you find the set of k, for which g(3k-1) >= 0?
just plug it in
U get quadratic in k
What's rubber duck debugging btw?
Rubber duck debugging (or rubberducking) is a debugging technique in software engineering, wherein a programmer explains their code, step by step, in natural language—either aloud or in writing—to reveal mistakes and misunderstandings.
The name is a reference to a story in the book The Pragmatic Programmer. It tells a story of a developer wh...
I mean The questions I am solving are slightly good level.sometimes,I get stuck and ask here.i reveal my thoughts and further get help
Anyways,thanks
@paper prism Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
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.
i have to solve this limit
am i doing it right ?
is that $\lim_{x\to0}\sin(8x)\cot(3x)$
there is easier way
try putting all in sinx/x form
CherryMan
yessir
thas what am tryna do
i have solved it already
sinx^2?
but i wanna know if we can reach the solution from the circled part
?
should be 3/8 btw
8/3 is correct tho
or am i tripping
nops
yes you are :p
where did that come from?
sin8x . cos3x/sin3x right?
just divide by 8x and multiply by 8x
mb
same with 3x
i took out the 8 and then multiplied and dividen the numerator and denominator by x
you cant take the 8 out of sin (8x)
huh
and also you multiplied x inside the sine and the other x outside the sine in the denominator, right?
new to calc T~T. Dont they take out the real part ?
sin x times x upon 1 times x
pardon my foolish ideas
x can also be 8x
how ?
its not complusory for it to be x
Where are you from?
how did you end up on the conclusion that I 'seem' like an Indian ?
ahhh
Nothing brother
Where are you from? ×2
earth
😹 crazy but i meant from which country
Would you
india brotha
I knew it 😎
anyways, help with limits ?
no shit sherlock
so technically everything i did just went in vain ? 😫
tf ? brother grow up (seriously)
<@&268886789983436800> really bad word damn
Bro it's means "come"
fr
we all know what you meant
Bro it's not i can tell you
im indian
yes it was wrong
nahhhhhhhhhhhhhhh (peak math ragebait)
sin(ax) is not a sin(x)
thanks for help tho !!!
ahhh i see
so when they talk about taking the real part out what does that refer to ?
either way, not an appropriate convo topic for a help chanenl, and seemingly none of your interactions in help channels so far @smoky slate have been appropriate so far so take a day to review #rules
it would be helpful if you could specify the context they said that in
why havent you done the taylor series of sin in 0 ?
24hrs mute ?
We do not discuss a user's moderation actions with other users
ouuu okok ic
but the property applies sin(ax)/ax = 1
da hail is tha ???
like whenever dealing with limits we take the real part out, ig they meant like 2 sin(2x) then we take out 2 and it becomes 2 lim sin(2x)
idk none of that bro sorry
i only know who taylor swift is ✊😔(not a swiftie tho)
you can say that $\lim_{x\to 0} \frac{\sin(ax)}{x} = a$
wait
oh, it's very useful to calculate hard limit, especially in 0
mhm
CherryMan
i thought the a was in denominator
is this correct ?
yes
how ?
$\lim_{x\to 0} \frac{\sin(ax)}{x} = \lim_{x\to 0} \frac{\sin(ax)}{ax} \cdot a = 1 \cdot a$
uh
CherryMan
also another mistake you did
was writing sin x as sin(x^2)/x
which is incorrect. you can write sin x as sin(x) *x /x but not the former
i see
my bad
but ig the other method is correct ?
yes
Closed by @plucky siren
Use .reopen if this was a mistake.
cherryman
yea?
i needed help with real analysis
#math-discussion or a help channel?
here?
this is a help channel that will end soon, lets at least go to #math-discussion
oh it didnt end damn ok
.reopen
✅ Original question: #help-27 message
Closed by @plucky siren
Use .reopen if this was a mistake.
ill have to open a new channel to post a new qn ?
yea
ok
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.
Channel closed due to the original message being deleted.
If you did not intend to do this, please open a new help channel,
as this action is irreversible, and this channel may abruptly lock.
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.
@spring oasis Has your question been resolved?
Do you know how to construct a lagrangian?
Im guessing you need to find the extremas
@spring oasis Has your question been resolved?
Can't you just go through the cases?
kind of yes
but to be honest would like to start from scratch
because now I have more of a solid understanding of what I need to do
like, let me explain, it seems like lagrange multipliers only apply when the constraints are equalities
having said that, the region that is given here is different, is made out of the intersection of an elliptic disk and a plane. if we were about to use lagrange multipliers the constraints needs to be an ellipse and a line here
having said that, if we were about to use lagrange multipliers for the frontiers of this region (aka when the inequalities are equalities), the intuition is that the maximum and minimums if they exist will lie in the frontiers themselves, not in the interior of the region, that is why we need to find the critical points of f and evaluate the critical points of f and see if they lie inside the interior of the region, in the frontier or outside the region, if they fall outside the region we discard them, if they fall in the frontier of the region we discard them because we will find them when we are using lagrange multipliers on the frontiers, and if they fall in the interior of the region then we save them, and that's how we analyze all the maximum and minimums in this region
the whole point of lagrange is to convert these inequality problems into equality ones
care to elaborate?
apparently you use something called slack variables to turn inequality constraints to equality constraints
generally these variables are positive and so they are written as $s^2$
Katharine
@spring oasis Has your question been resolved?
wait. let me check this
whaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat?
tbh i dont know how to do lagrangian but i found the extrema pretty easily just by following the same process as the other time
still requires for you to parametrize correctly tho
all my classmates are using lagrange multipliers
well is not too hard though the issue is
yeah, probably its quite easy, but i have personally never done it
we have inequality constraints not equalities
esto sigue aplicando:
f'(x) = 0
∄f'(x)
La frontera de la region A
Bueno, casi, en realidad usas el gradiente
pero si, es lo mismo
either the inequality is satisfied with slackness or it is tight
if it is tight, then that is an equality
you get quite a lot of points to go through tho in this problem
if it is slacked, then it is as if it was never there
why is that
The specific shape of the surface you get
care to elaborate?
what?
looks something like this, you can see one of the sides is almost flat, so you get a lot of slope 0 points at the edge.
what is this
the surface you get out of this f(x,y) and restrictions
what?
the f(x,y) is a quadric surface
the A is a region of points
This is the surface made by f(x,y) = x^3 - y^2
The restriction of A basically makes a cutout of it
okay
the red surface is x^3 - y^2 without the restriction, the blue is with the restrictions
Remember, A is basically a projection from xy to the surface.
So you get only the points that xy coordinates satisfy the restrictions of A
what?
This is the curve that determines the frontier of A
right?
Is basically the half of an ellipse.
Well, this is the red and blue surfaces seen from above alongside that curve
how?
amogus
how
Same thing we did last time
You get two inequations
$$y\geq\sqrt2 x$$
$$\frac{x^2}{2}+\frac{y^2}{4}\leq1$$
The first is everything above the line y = sqrt2 x
and the second is an ellipse with sqrt2 width and 2 height
my point is
we dont need the geometrical intuition
if you would have a picture of the situation you can see exactly where the maximums and minimums are
The picture is just for reference, i can do the algebra of it using the curves purely algebraically.
you get
c1=(t,sqrt2 t) [-1,1]
c2=(sqrt2cos t,2sin t) [arccos(1/sqrt2), arccos(1/sqrt2)+pi]
replace these back into f(x,y) = x^3 - y^2, to make it into F(t) and take a derivative with respect to t
solve for F'(t) = 0
The method of Lagrange multipliers also works with inequalities. In this case, instead of φ_k(x, y)=0 we have λ_k φ_k(x, y) = 0 with λ_k >= 0
For reference, it's often called Karush–Kuhn–Tucker theorem
@spring oasis Has your question been resolved?
yes but this is killing a fly with a bazuka
in order to remove the case work and have an easier time with the system solving, we can do the following, use lagrange multipliers to look for possible extreme values in the frontier of the region and in the interior of the region use regular old way of finding extrema, by finding when the gradient is zero and using determinant of the hessy, that way the case work of the kurash kuhn tucker problem reduces to just finding critical points of f(x,y), and those critical points we evaluate them to see if they either fall inside the interior of the region, outside the region, or in the frontier of the interior, if it falls outside the region we discard them, if it falls in the frontier of the region then we ignore them because we are guaranteed to find them again when we use lagrange multipliers to analyze the frontier of the region, and if they fall inside the interior of the region then we save them because they can be used for later, what I am saying is, is we do this, then the problem becomes a regular problem of finding extrema for f + lagrange multiplier problem for two equality constraints insteaad of a kurash kuhn tucker problem when we have to do multiple casework for the multipliers, also, there is guaranteed that the maximum and minimum both lie inside the region because the region is a compact set, and f is a continous function, so using weierstrass theorem we know this global maxima and global minima will be attained either in the interior of the region or on the boundary
@fiery marten
This is exactly the same amount of case work though
KKT is almost literally what you've just described
When both λ1=λ2=0 we're essentially in the situation where we just find extrema of f without any constraints, and then we check whether they are inside the region or not
When some λ is not zero, it corresponds to the situation when we investigate the boundary
- Extrema in the interior <=> λ1=λ2=0
- On bounding curve № 1 <=> λ1>0, λ2=0
- On bounding curve № 2 <=> λ1=0, λ2>0
- On the intersection of bounding curves <=> λ1>0, λ2>0
But of course you can choose the most comfortable approach for you
I'm just explaining that KKT is essentially the same thing you described
we can also find the intersection outside lagrange by finding the intersection between the boundaries
Yes, and this is what KKT leads to when λ1>0, λ2>0
In that case our system of equations contains φ1(x,y)=0, φ2(x,y)=0
Which is precisely the intersection of 2 curves
sure, but instead of solving for multiple use cases we reduce the case work is what I am saying, just setting the boundaries of the region equal to each other outside lagrange instead of analyzing the cases λ1>0, λ2>0 and solving the system which is arguibly harder
How is it harder if it's the same thing?
Like, in both approaches you just solve a system of 2 eqs in 2 vars
well in one case we have lambdas lying around, and if we find the intersection between the boundaries of the region outside lagrange then we have no lambdas lying around
life is already hard by itself we dont have to make it harder is what I am saying
Yes, but then you have to manually check whether each intersection point attains an extrema or not
This is the same amount of work as to find lambdas and check their signs
I get it, you're convinced that KKT is hard, but what I'm saying is that it's the same exact thing as the one you want to do
It's just that previously you didn't see the geometry behind the case work
And now you saw it, and realized that life isn't hard afterall
life is hard choosing whatever method we choose
all I am saying is, messing with lagrange multipliers is already hard by default
using kkt is just the cherry on top
but we can do in whatever way you like, I dont really mind anymore, I just feel this problem is being overcomplicated from the start
if we do the interior + boundary + intersection way, then we separate the problem into three smaller problems
if we use kkt evertything is smashed together into one big and hard system to solve
@fiery marten is what I am saying
4*
We have 2 different curves forming the boundary
Okay, feel free to use the approach you're most comfortable with
i still need handholding
I have spent long time trying to understand this problem but never really solved it in the first place
Okay, start with finding the extrema of f without any constraints
fx = 3x^2
fy = -2y
the gradient is zero at (x,y) = (0,0)
and this point is inside the compact region
furthermore, is it a maxima or a minima? @fiery marten
fxx = 6x
fyy = -2
fxy = 0
det(H(x,y)) = fxx * fyy - (fxy)^2
The task doesn't ask us to specify the type of the extrema
ok
Although I don't know the exact translation of the task
det(H(x,y)) = (6x)(-2) - 0^2
Renato
@fiery marten
why not
(0,0) is an extremum anyways
Maybe local max, maybe local min, maybe saddle
But it's an extremum either way
we only care about evaluating that on f(x,y) and comparing it with the other extremas
Ah, so "absolute extrema" means global min and global max?
Yes, then it's sufficient to compare f at every critical point against every other critical point
i think so, yes
how to proceed with the other shit
If I understood correctly, you wanted to consider different boundary curves separately
Let's see whether we have any extrema on the ellipse
Being on an ellipse means 1/2 x² + 1/4 y² - 1 = 0
Now do Lagrange multipliers with one equality constraint
L = x³ - y² + λ(1/2 x² + 1/4 y² - 1)
Solve dL/dx=0, dL/dy=0, dL/dλ=0
is doing lagrange multipliers with one equality constrained any simpler than iwth 2 constraints? and what about the intersection points of the boundaries of the region
i thought we needed a lambda0 for the lagrangian
Depends on which constraints you mean
If you want both of them to be equality constraints, like φ(x,y)=0, ψ(x,y)=0, then it corresponds to corners of the region, and we have only 2 corners so it's easier to find them right away
If you mean inequality constraints, then we're back at KKT
equalitiy constrains i mean
forget about inequality constraints now that we analyzed the interior of the region as of now with the first step we did
If λ0=0, then we don't get anything meaningful in this particular case, so we can assume λ0≠0 and immediately assume λ0=1 (we can skip λ0=-1 because it doesn't affect the equations; we can just multiply all equations by -1; also here λ is any real number, we don't have non-negativity)
ok lets continue
If both equality constraints hold, then we're in one of the corners
At this point just calculate the corners, there're just 2 of them
help please
how do I do this
If one curve is defined by φ(x, y)=0, and the other one is defined by ψ(x, y)=0, how do you find the intersection points of these curves?
Yes, and we set them equal to zero
2x^2 + y^2 -4 = sqrt(2)x - y = 0
Yes, so what are the boundary curves?
@fiery marten
2x^2 + y^2 -4 = sqrt(2)x - y = 0
Correct
,, \begin{cases} 2x^2 + y^2 - 4 = 0 \ \sqrt{2}x - y = 0 \end{cases}
Renato
@fiery marten help
Express y in terms of x, sub into first equation, solve for x as a standard quadratic equation
Amazing
now wat
how
You wrote (x-1)(x+1)=0 and y=sqrt(2)x
ok
2 solutions then
x1 = 1
x2 = -1
y1 = sqrt(2)
y2 = -sqrt(2)
Correct
candidates = {(0,0), (1, sqrt(2)), (-1, -sqrt(2))}
We care only about a point where f has the greatest value among 3 and the lowest value
we still need to do lagrangian magic
Yes, but we can already discard one candidate
care to elaborate on that?
also, maybe shouldnt we do the discarding at the end? lets try to be organized
f(0, 0)=0
f(1, sqrt(2))=-1
f(-1, -sqrt(2)) =-3
Okay
I was trying to be optimized
this one is discardede right away
f(1, sqrt(2))=-1
help
.
shouldnt we make the lagrangian have two equality constraints?
We have a function of 3 variables, we want to find where all 3 partial derivatives are zero
No, why?
theres. two constraints in the region
care to elaborate before we start with lagrange
Okay, so let's see what are these two constraints you're talking about
- 1/2 x² + 1/4 y² - 1 = 0
- y - sqrt(2)x = 0
I didn't write inequalities because we collectively decided to avoid them
Because they'd lead to KKT
Instead we decided to explicitly separate the problem into 4 cases
I mean the two equalities
- Interior extrema [done]
- Boundary extrema, curve № 1 (ellipse)
- Boundary extrema, curve № 2 (line)
- Boundary extrema, corners [done]
forget about inequalities alltogether
Yes, so we're here:
Do you see that if these 2 equalities hold simultaneously, we're sitting in the corners?
And here are these equalities, you wrote them yourself:
this is why we do lagrangian with just one constraint equality?
wait, but we are just going to do one lagrangian
Two, here's the second one:
x³ - y² + λ(sqrt(2)x - y)
or two separate lagrangians
Yes!
ok ok, lets proceed with the first one
.
L = x³ - y² + λ(1/2 x² + 1/4 y² - 1)
@fiery marten
Indeed
now what
As prescribed by the method, find where dL/dx=0 & dL/dy=0 & dL/dλ=0
As prescribed by the method, find where dL/dx=0 & dL/dy=0 & dL/dλ=0
how do I even do the last one
Lλ = 1/2 x² + 1/4 y² - 1 = 0
Treat λ like a variable, just like you did with x and y
this?
this is the part that sucks ass
Probably the easiest way is to express λ in terms of x using the first equation
Then sub to the second and express y in terms of x
Then third becomes a quadratic
,, \begin{cases} 3x^2 + \lambda x = 0 \\-2y + \frac{1}{2} \lambda y = 0 \\ \frac{1}{2}x^2 + \frac{1}{4} y^2 - 1 = 0 \end{cases}
Renato
isnt this assuming x is not 0 and y is not zero
@fiery marten
ah, we already captured the point (x,y)=(0,0) so we dont give a damn
Correct, x=0 is a separate case
no because if x = 0 then y = 0 if I am not missing any shit
Yes, we don't care about x=y=0 anymore, but there're cases when x=0, y≠0 and vice versa
From the third equation y can't be 0 if x is 0
Otherwise the eq doesn't hold
λx = -3x^2
λ = -3x
care to elaborate?
Sub x=0 into third eq and solve for y
y = 2 or y = -2
i think life is good now that you mention it
λx = -3x^2
λ = -3x
-4y + λy = 0
λy = 4y
λ = 4
4 = -3x
x = -4/3
@fiery marten
2x^2 + y^2 - 4 = 0
2(16/9) + y^2 - 4 = 0
y^2 = -(32/9) + 4
y^2 = -32/9 + 36/9
y^2 = 4/9
y = +- 2/3
@fiery marten
candidates = {(0,0), (1, sqrt(2)), (-1, -sqrt(2))}
how did this shit happen? and when
First let's discard those that don't belong to our region
We've solved the system
These are all the solutions (λ omitted)
help please
yes, when did we captured this?
here
yes
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(0,2)
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(0,-2)
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(sqrt(2),0)
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(-sqrt(2),0)
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(-4/3, 2/3)
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(-4/3, -2/3)
candidates = {(0,0), (1, sqrt(2)), (-1, -sqrt(2))}
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(0,0)
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(1, sqrt(2))
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(-1, -sqrt(2))
candidates = {(0,0), (1, sqrt(2)), (-1, -sqrt(2)), (-4/3, -2/3), (-4/3, 2/3), (-sqrt(2),0), (0,2)}
f(x,y) = x^3 - y^2
,w evaluate x^3 - y^2 with (x,y)=(0,0)
,w x^3 - y^2 with (x,y)=(1, sqrt(2))
,w x^3 - y^2 with (x,y)=(-1, -sqrt(2))
,w x^3 - y^2 with (x,y)=(-4/3, -2/3)
,w x^3 - y^2 with (x,y)=(-4/3, 2/3)
,w x^3 - y^2 with (x,y)=(-sqrt(2),0)
,w x^3 - y^2 with (x,y)=(0,2)
candidates = {(0,0), (1, sqrt(2)), (-1, -sqrt(2)), (-4/3, -2/3), (-4/3, 2/3), (-sqrt(2),0), (0,2)}
f(x,y) = x^3 - y^2
f(0,0) = 0
f(1, sqrt(2)) = -1
f(-1, -sqrt(2)) = -3
f(-4/3, -2/3) = -76/27
f(-4/3, 2/3) = -76/27
f(-sqrt(2), 0) = -2sqrt(2)
f(0,2) = -4
@fiery marten
,calc 76/27
Result:
2.8148148148148
,calc 2sqrt(2)
Result:
2.8284271247462
x³ - y² + λ(sqrt(2)x - y)
candidates = {(0,0), (0,2)}
x³ - y² + λ(sqrt(2)x - y)
Lx = 3x^2 + λsqrt(2)
Ly = -y - λ
Lλ = sqrt(2)x - y
,, \begin{cases} 3x^2 + \lambda\sqrt{2} = 0 \ -y - \lambda = 0 \ \sqrt{2}x - y = 0 \end{cases}
Renato
if x = 0 then y = 0 I think
if y = 0 then x =0. I think
λsqrt(2) = -3x^2
λ = (-3x^2) /sqrt(2)
-y = λ
(-3x^2) /sqrt(2) = -y
3x^2 / sqrt(2) = y
sqrt(2)x - (3x^2 / sqrt(2) ) = 0
2x - 3x^2 = 0
x(2-3x) = 0
x1 = 0
2-3x = 0
2 = 3x
x2 = 2/3
,w (-3x^2) /sqrt(2) = -y where x = 2/3
(x1,y1) = (0, 0)
(x2, y2) = (2/3, 2sqrt(2)/3)
,w x^3 - y^2 where (x,y)=(2/3, 2sqrt(2)/3)
,calc -16/27
Result:
-0.59259259259259
,w x^3 - y^2 where (x,y)=(0,2)
@fiery marten
hey friend, i really appreciate your help....
you had helped me with some hard ass elementary linear algebra questions aswell last year
like some change of basis for linear transformation shenanigans
this year with lagrange multipliers aswell, you really helped me a ton today
IMHO, separating this KKT problem into simpler subproblems that we can solve easier is the best approach instead of using kkt theorem
you say its the same, but in the other scenario we had a bunch of λk laying around
it really made everything simpler when we do it like this, it becames a normal lagrange multipliers problem instead of a KKT problem
other than that, I have been struggling with this kind of problems for such a long time sir, I really appreciate the time you took for helping me out here
just like I was having troubles with change of basis for linear transformations last year in pre university, after someone explains it to you once clearly I think everything becomes clear and everything becomes simple aswell, but when you are on the other side of the wall things can really look dark, if you know what I mean
You probably meant -2y - λ = 0
Other than that it looks like you really have some grasp of the method now, congrats
I will have a look at your illustration in a minute
Of course, learning any topic for the first time can be challenging and confusing at times. It can get even worse if one has certain gaps in required preliminary knowledge
Which seems to he the case with you, tbh. I suggest revising the geometric meaning of systems of equations
Lx = 3x^2 + λsqrt(2)
Ly = -2y - λ
Lλ = sqrt(2)x - y
wdym?
,, \begin{cases} 3x^2 + \lambda\sqrt{2} = 0 \ -2y - \lambda = 0 \ \sqrt{2}x - y = 0 \end{cases}
Renato
jesus christ what sort of forbidden conjecture is being proved here? this channel has been open for 3 days lol
Renato is learning optimization with constraints
sqrt(2)x - 3x^2 / 2sqrt(2) = 0
2x - 3x^2 = 0
x(2 - 3x) = 0
x1 = 0
2-3x = 0
2/3 = x2
Remember we discussed today that intersection of 2 curves = solutions of a system of 2 equations? I'm not sure you understood that fully
If that's the case, my suggestion holds: revise/learn what systems of equaitons do gemoetrically
That'll be very helpful in the future
very nice
geometrically no I dont follow, but for example if you find the points that constitute the intersection of two curves, then those points satisfy those two equations, which is equivalent to finding the solution set of a system of two equations, no? maybe I am tripping . . .
You're not tripping, this is correct intuition for 2 curves on a plane
y = sqrt(2) x
lambda = -2 sqrt(2) x
3 x^2 - 4 x = 0
Hence x=0 or x=4/3
If x=0, then y=0 which we already considered
If x=4/3, then y = 4 sqrt(2) / 3
strange
wait a second
,w 2x^2 + y^2 <= 4 and y >= sqrt(2)x , for (x,y)=(4/3,4 sqrt(2) / 3)
luckily is discarded
hehehehehehehehehhe
because it is not inside the region, no?
anyways this should be it @fiery marten no more solutions exists for x,y in this system
its either (0,0) or (4/3, 4sqrt(2)/3) for this system
so thats it
correct
seems so, yeah
I mean, the only thing that is still dangling around for me is why we do two separate langrangians instead of one lagrangian with two constraints
You should ask yourself what lagrange method does in that particular case
When we introduce two constraints like g1(x, y)=0, g2(x, y)=0, and apply lagrange blindly, what are we doing, essentially?
We're asking "dear Lagrange, we're trying to find min and max of f(x, y) on a set of points carved by these two equations: g1(x, y)=0, g2(x, y)=0"
Since our equations define an ellipse and a line, I'm pretty sure Lagrange would give us a confused look and say something like "bro, these two curves intersect at only 2 points, just find them"
And he would be damn right
Because equations 1/2 x^2 + 1/4 y^4 = 1 and y = sqrt(2) x yield precisely 2 points
So lagrange with 2 lambdas is an overkill
I see
yes
we can still do it though, is just that doing lagrange with more than one constraint yields a harder linear system because we have more equations and more unknowns
Technially yes
i mean we still have x and y, but now we have λ1 and λ2
yep
Although lambda1 and lambda2 don't have any constraints (like being non-negative), and the equations including them will be linear in lambda1, lambda2. And this linear system will be non-degenerate and hence have a solution
So we can just forget about lambda1 and lambda2
And lagrange with 2 constraints just becomes a task of finding intersections of curves
So once again we see how different methods do the same thing
A common thing in math
¯_(ツ)_/¯
what if my region has 3 constraints, the intersection of the three might be empty but there could be intersection between two of them and such
As long as you're in 2d you can avoid lagrange multipliers with 2+ constraints, because you can always just calculate all intersection points instead
However, if you're in 3d+, then dealing with 2 constraints using lagrange method is reasonable
the pairwise intersections?
yes
it is possible that the triple intersection is empty
It's almost always the case
but the pairwise intersections are not
Of course, consider a circle and 2 lines that intersect it
As long as these lines do not meet on the circle the triple intersection is empty
your point?
the thing is, is strange as to why we look for intersection between the two constraints when they are equal to zero when we have two constraints but when we have three or more we look for the pairwise intersections between the constraints when they are equal to zero
any logical explanation to that?
In dimension 2, two curves typically intersect at a finite number of points. If you intersect more than 2 curves, you will end up at a smaller finite set. Because adding a third curve is basically like "which of these points from the finite set belong to the 3rd curve?"
Basically what I'm saying is that in 2d intersections of 3 curves don't yield new points. They only yield subsets of intersections of 2 curves
Amazingly, this generalises to higher dimensions
In n-dimensional case, intersection of n hypersurfaces typically is a finite set of points. Adding more surfaces to the intersection will just reduce this finite set (maybe even make it empty) and won't give us any new points
it will be empty if and only if the pairwise intersections between the curves are empty
no
Not if and only if
If pairwise intersections are empty, then of course triple intersection is empty
But not vice versa
i see
I will look for exercises with 3 or more constraints to practice this topic
but most likely in the exam two constraints will appear
.solved
Closed by @spring oasis
Use .reopen if this was a mistake.
I appreciate it 🙏
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.
Find a number, 𝑎, such that 𝑎^{2} ≡ 2 mod 5, or show that no such number exist.
I just want to make sure I'm doing this correctly? You should go through all the possible remainders and check to see if which one fits, right? So r = {0, 1, 2, 3, 4}? Thank you.
yup, nothing wild in this
Ok, thank you, sorry, I'm really bad at math, so I just want to make sure I'm not doing this incorrectly.
I'm also wanting to make sure about this, am I correct in saying that these are congruent and therefore you can do what I'm doing in the second picture? Because if r divides by 14 and the remainder's 5, it has to be the same as 5 mod 14 because that's also 5.
if r leaves a remainder of 5 on division by 14, r is indeed congruent to 5 mod 14, yes.
Ok, thank you. For some reason it's just hard for me to wrap my head around what congruence is.
congruence is a fancy way of saying remainders
it might help if you think $r \equiv 5 (\mod 14)$ is the same thing as $r=14k+5$ for some integer $k$
And finally:
Find the lcm and gcd of the following numbers by the Euclidean Algorithm
I think I got this right, unless I screwed up how the Euclidean algorithm works.
726=|4 step 3D lattice trails|
Thank you, let me paste that in a note.
seems like they all look fine
Ok, thank you so much.
,w gcd(355,603)
Thank you for checking too
ok just wanted to make sure with that one
Yea, I think I got it wrong beforehand, when I was looking back at it to double check I realised I wrote 365 for some reason and did the Algorithm. 🤣
Ok, thank you very much you two. Have a good day/night.
.close
Closed by @drifting relic
Use .reopen if this was a mistake.
you too
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.
hey, ive just got a few specific questions on my study guide for my upcoming exam. Can someone hop in vc to answer a few questions?
We don't do VCs. If you have a specific question, send a clearer photo and someone will help you
Which question
No one's not gonna walk you through 12 multi-part questions. If you have a specific question, zoom in on it, explain what you've tried so far and where you got stuck, and what you need help with.
write out f(x) i can't see it
Yes, now "zoom in on it, explain what you've tried so far and where you got stuck, and what you need help with."
$\frac{x}{x^2 + 1}$
Miyamoto
do you know how to find the derivative
yea
do you know how to find the critical points
i think i just dont know what to do after
uhmm
not with the derivative i have]
can we do whiteboard?
what is whiteboard
oh nvm
its disabled
it just shows shared writing
wait ill send a pic of my derivative
okay did you do the quotient rule to get that
yes
nice
uh
u made a mistake in your algebra skills
oh
around the middle you have 2x*x = 2x
yea i just realized that
yes
yeah you know
The denominator cannot be negative
it isnt
because the denominator is always positive for any value of x
The interval is from negative infinity to positive infinity for this question
mhm
so in the case of x^2 = 1
You would square root both sides to remove the square on x
but the issue is that you need to include all values which make this true
if x^2 = 1 then inputting -1 into this x value is still true
because -1 * -1 = positive 1
yeah
i forgor
it would be correct if the interval was not including -1
so how owuld i put that on a sign chart if i have -inf and inf
i cant plug any number in
tbh idk what a sign chart is . Do you want to test for values between these and show if the result is negative or positive y value?
yes
you have the critical points you could chose arbitrary values between (-inf, -1) and (-1,1) and (1,inf)
for example -2, 0, and 2
ok
this will tell you the slope of f(x) at those points
what is it
oh
does it make sense that the derivative of f(x) results in a function that gives you the slope values of f(x)
your welcome
i think i can try the rest
okay nice
ok cya
cya
.close
Closed by @sand knot
Use .reopen if this was a mistake.
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.
Need help with this calculus problem
Problem 5
I know that e^x doesn’t have an absolute min or max, but I think I need to prove why it doesn’t.
Where do I start?
Well have you taken the derivative?
Start by listing the critical points of g, as the question states.
Not yet
That would be a start then
Then find critical points and classify them using sign tables or the second derivative.
the derivative is e^x - 1 correct?
Yes
Ok
Then I set that = to 0?
I forgot how this works. I have a test on integrals next week but these are the review questions assigned
is it x = 0?
great, so to find whether that is a local minimum, local maximum, or neither, you could find the 2nd derivative and then check its sign
W helpers, yall are on it today hahaha
alright so I derive e^x-1?
yep
isn't that just e^x
then set that to 0?
no
yes
(How did I never find this🤌😭)
give me a minute
yep!
at 0,1?
okay, but note that it's asking you whether there is an absolute max and min
yes
Well I don't think its an absolute min, because its just a change in direction
as I see on the calculator
what do you mean by that?
like both sides go up to infinity but the "min" is the only a change in direction
idk if that does anything
like there is only one change in direction
The graph is kinda like this
yeah! okay so you've plotted the graph
whether that point is an absolute minimum is asking you if there's any lower y-value
Nah I used a calculator, because our professor allows calculators on the the test
well no, so it is an absolute min
yep
ah that's good
so the red point isn't an absolute minimum, just to clarify
ye its a local min
if there is an absolute minimum, find it
so you've found that already
but as for the absolute maximum, that doesn't exist (it's +infinity)
yeah so you need to give a brief reason for why
wait so do I explain why it exists?
or do I just give the answer
the wording on this problem is confusing me
Ok I got it
thank you!
.close
Closed by @torn loom
Use .reopen if this was a mistake.
I'll be here
explain why the absolute maximum doesn't exist
I see u typing
something like $\lim_{x \to \infty} e^x - 1 \to + \infty$ (the derivative goes to $+\infty$), or '$e^x$ grows much faster than $x$', should do
The absolute max doesn't exist because both sides of the function rise to infinite and never change direction where the derivative is = to 0
that actually doesn't answer the question
if you zoom out enough on the graph, the function might not actually be increasing
it might have some turning point really far away
(hey, I think the channel's not reopened yet, fyi)
.reopen
✅ Original question: #help-27 message
south
.close
Closed by @torn loom
Use .reopen if this was a mistake.
👀
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.
I really just don’t understand how to do these
for q5 and 6, you are given two pieces of info. an xy coordinate of your graph and a derivative (slope of tangent line of graph) at a point
your task is to approximate two values of the function around the given point
have you learned what linearization is?
Q.5 and Q.6 are telling you aproximately which line (y = mx + c) the function looks like
nope
are you familiar with the equation of a line?
hint: shuba mentioned it
y=mx+c?
yes, and do you know what m and c stand for?
M = slope and c I don't remember what it stands for, but I remember what it does, kinda
but how do i solve?
i used mx+b lol
?
- use the information given to aproximate the straight line the function looks like
- use that line to aproximate the answer
i dont understand
sorry
You've been given y and m at a certain point, you can find the equation of a line throught that
Consider f(x) = x^2, but we're only given f(1) = 1 and f'(1) = 2. I can say the function looks like g(x) = 2x - 1 near x = 1, so f(1.1) is aproximately g(1.1) = 2*1.1 - 1 = 1.2, which it indeed is f(1.1) = 1.1^2 = 1.21.
You can also use $\frac {y2 - y1}{x2 - x1} = m$ to find f(1.9) and f(2.1)
doctorstrangejr
.close
Closed by @scenic hollow
Use .reopen if this was a mistake.
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.