#Multivariable calc help needed asap plz

112 messages · Page 1 of 1 (latest)

orchid streamBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
raw igloo
#

the gradient P(s,t) = (6000e^t - 4000s, 6000se^t)

#

This is the system of equations I have set up that I need to solve:

6000e^t - 4000s = 2 * lambda * s

6000se^t = lambda*e^t

s^2 + e^t = 11/3
I have no idea how to proceed with solving this after thinking about this for a long time...

#

Please can someone provide the answer with a detailed explanation...

raw igloo
#

@grave tide u mind taking a look at this when ur awake?

grave tide
#

I assume P(s,t)=6000se^t - 2000s^2 + C
L(s,t,λ)=P(s,t)+λ(s^2+e^t-11/3)
∂L/∂s = 6000e^t - 4000s + 2λ = 0
∂L/∂t = 6000se^t + λe^t = 0
∂L/∂λ = s^2 + e^t - 11/3 = 0
then you resolve your values, I got t=ln(8/3), s=1, λ=-6000 as the only valid sol

#

@raw igloo

raw igloo
grave tide
#

the original function

#

you said your gradient was (6000e^t -4000s, 6000se^t) so I derived the original function from that

#

@raw igloo

#

idk whether you had a constant in the original function, but that doesn't affect the Lagrange multipliers

#

cool

raw igloo
#

That was the original function

#

But why r we using the original for lagrange here because they only care about it perpendicular to the boundary

prime apexBOT
#

apex predator

raw igloo
#

Which is just this:

grave tide
#

I didn't read the question 💀

raw igloo
#

They only care about gradient P = lambda*gradientg

grave tide
#

yeah shit

#

I wasted my time 💀

raw igloo
grave tide
#

I should consider reading the question at some point

#

yeah your system looks fine

#

you can divide out e^t in the second part as e^t≠0

raw igloo
#

I did this, but this seems very suspect because my numbers I got in the end r so weird lmao

#

U mind checking if what I did is right?

grave tide
#

6000s=lambda
6000e^t - 4000s = 12000s² and e^t=11/3 - s²
22000-6000s²-4000s=12000s²

raw igloo
#

Where did 22000 come from?

grave tide
#

6000(11/3)

raw igloo
#

Nvm

#

Ye

grave tide
#

then you can use the 6000s=lambda again

#

getting an egregious cubic

#

0=72000s³+6s²+4s-22

raw igloo
#

How do u have 12000s^2* lambda tho? Because we have 2 * lambda * s on the right side
So it should just be 2*(6000s)*s which is just 12000s^2 no?

grave tide
#

where is lambda going?

#

oh yeah I replaced it

#

mb

#

then it's only a square

raw igloo
#

So there should be no cubic cuz we just have, 22000 - 6000s^2 - 4000s = 12000s^2

#

Yeah

#

And then we just apply quadratic formula

grave tide
#

9s²+2s-11=0

raw igloo
#

Uh

#

How did u get that?

grave tide
#

then you can use t=ln(11/3-s²)

grave tide
raw igloo
#

Wow

#

And that gives x = 1 and x = -11/9

#

But we ingore the negative

#

Since the question said only care about s,t >= 0

grave tide
#

yes

raw igloo
#

Bro

#

You are actually such a legend

grave tide
#

ln(8/3) and SUDDENLY

#

you have EXACTLY

#

what I CALCULATED

raw igloo
#

😂

#

Yes just different method

grave tide
#

rumour has it: if your Lagrange multipliers exist on your boundaries then IT'S THE SAME AS BEING PERPENDICULAR!!!!!!

#

anyways, I was waiting to share that

#

learning experience

raw igloo
#

Bro, u are actually a legend. Like actually next lvl talent

#

I was on the other math discord and not 1 out of the 70,000 people

#

Knew multivariable calc

#

Legit no one

grave tide
#

lmao

raw igloo
#

They were all Indians swearing in their language and saying that I'm asking bs questions 😂

grave tide
#

lmao

raw igloo
#

Ok so now that I have that one point of s = 1 and t = Ln (8/3). They asked me to calculate the profit at that point, so I just plugged it into the original profit equation.

#

.

#

Which is this

grave tide
#

yeah

raw igloo
#

They then asked me this final thing:

#

Max value is just the value of P at s = 1 and t = ln(8/3) right?

#

Because Lagrange gives us the max/min value?

grave tide
#

that's not the global max

#

that's the max given the contract s²+e^t=11/3

raw igloo
#

Yeah I think that's what they want

grave tide
#

if it requires you continue with the constraint then yeah

#

positive profit isn't possible

raw igloo
#

Yeah ok

#

That's cuz the max value

#

Is negative right?

grave tide
#

max is negative, yes

raw igloo
#

Wow.

#

Change ur name to Daddy Apex Predator asap

grave tide
#

wait no

#

max is positive

raw igloo
#

Wut

grave tide
#

one sec I might have calculated wrong

raw igloo
#

P(1, ln(8/3)) = 6000(1)e^(ln(8/3)) - 2000 - 120000

grave tide
#

ln(8/3)=t s=1
6000(8/3)-14000=2000

#

it's not 120k it's 12k

raw igloo
#

Ah

#

It is positive indeed

#

The max profit is around 1986

grave tide
#

How'd you get that?

raw igloo
#

6000(1)e^(ln(8/3) = 16000

#

16000 - 2000(1)^2 - 12000

#

= 2000

grave tide
#

so Why'd you get 1986?

raw igloo
#

Nvm I musta misclicked something earlier

#

Lmao

#

Mb

grave tide
#

ok

raw igloo
#

Ok nice nice

#

I can't thank u enough for ur help, rlly do appreciate it. Ur the only person who explains everything so clearly and concisely and correctly everytime

grave tide
#

np

raw igloo
#

+close