#help-41
1 messages · Page 68 of 1
My exact doubt is, for instance if the question was instead "find the vertex of the transformed function y=1/4(x+1/3)" , here 1/4 will become 4 and so 4*5 gives us 20...am I not supposed to work with this logic, so working backwards I should get 1/4 too
Wait why does 1/4 become 4?
Let's work through that one actually
y = 1/4 f(x + 1/3)
You already calculated that x = 13/3
OH
Wait
I'm so sorry man
LMAOOOO😭😭
Bro there ain't no way it just clicked
I confused vertical and horizontal
Oh haha
Well done
Look cuz here
For the last one, this is where I'm supposed to take the reciprocal
Oh damn bro I need to head to sleep seriously
Did you work out what was going on with the first pic you sent?
Don't we all 🥲
No 😭😭 ill try what u told me earlier once I wake up cuz I dint think anythings getting into my head atm
This right?
Alr I'll take a screenshot cuz I'll lose this channel
Okay tysmm bro
Good luck 🙂
Closed by @paper ibex
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
hello
.close
Closed by @honest dagger
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
How do u find the asymptotes of 1/x^2 - 1
$\frac{1}{x^2 -1}$?
riemann
Yes
@lime jasper 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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 somebody help me create a function to model this graph?
I understand va's are +- 3
so in the denominator I will have (something)/(x+3)(x-3)
and the ha is y = 1, so the numerator has to be degree 2 to match the degree 2 denominator
my attempt was something like y = x^2/(x+3)(x-3)
but when i graph this on desmos, it doesn't match the graph
you need something with odd symmetry near x=0
if your numerator was x instead of x^2, that would be true
example:
,w plot -x/((x-3)(x+3))
if you like the general shape but you want the HA to be 1 instead of 0, just add 1
yep
tyty
yw
@rain imp Has your question been resolved?
Closed by @rain imp
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
Im stuck on this equation
The delta is supposed to be 25 and ive got 95
What Did i do wrong?
What exactly is delta denoting?
discriminant i assume
its b squared - 4ac
Im doing quadratic equations
So what's your a, b, and c?
a =1 b = -2 c=-24
That equation says x^2 - 2x - 24, right?
Oh -2
Yeah
Plugging it into the formula, what do you have?
-2^2-4•1•(-24)
1/4?
-4
CaptainNova22
What's -4 * 1 * -24?
96?
-4-96 is 100
Okay so 4+96=100
Yes
delta math?
Discriminant
@umbral osprey
oh
It's also plus and minus
Yeah thats why there are 2 answers
do i multiple it by 2 ?
Can u help me i have no idea how because of the sqrt
Do you know what a sqrt is?
Oh wait nvm i right infront of me
Sorry
i tried to complicate it when the sqrt is 10
thank u very much much i think thats it tbf
im not the sharpest knife in the drawer
.
@split sail 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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 need help. I have fallen, and I can't get back up
tried partial fractions?
.close
Closed by @pallid canopy
Use .reopen if this was a mistake.
more like spinal fractures
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 don't know what they're asking me to do? :')
do you know what a riemann sum is?
well that's basically what you're doing here
Ah ;-;
"assume" the speed from 0-12 is 30, assume speed from 12-24 is 28, etc
this is a left-hand sum if we're using the points on the left to guess at the intervals
if you have the speed at 60 you could do a right-hand sum too
where 0-12 is 28, 12-24 is 25, etc
or you could even average the two but that's not necessary
np
.close
Closed by @nocturne plaza
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
What is the triple angle formula for cos6x
$\cos6x=\cos(2x+4x)$
SWR
Is it 4cos³2x-3cos2x
Or 4cos³3x-3cos3x
6x is triple what angle
Using the idea of cos3x=4cos³x - 3cosx
right ok
what is 6x the triple of
2x?
so that's what should be the 'x' s
cos(3y) = 4cos^3(y) - 3cos(y)
y = 2x
like
using the formula "cos(3x) = 4cos^3(x) - 3cos(x)" is just confusing when you're trying to find cos(6x)
you have to set x = 2x and that doesn't make any sense
!xy
Please show the original problem, exactly as it was stated to you, with the entire original context. A picture or screenshot is best. If the original problem is not in English, then post it anyway! The additional context might still be helpful. Do your best to provide a translation.
so i just changed the formula to use y instead
!nosols
As a helper, please do not give out answers that could be copied as a homework solution. Have the student work through the problem themselves and guide them along the way.
Can't give you soln. But the way to derive it is as Dreyuk suggested
cos 6x = cos 3(2x) = 4cos³2x-3cos2x
and then you use, cos 2x = 2cos² x - 1
Oh I see
I was doing a problem that involved me to use that identity of cos3x then I was just wondering what if we had cos6x
How did he come up with this

6x = 2x + 4x?
It is harder than I expected lol
Nvm it's just 4+2
oops messed it up
ehre it is
Dreyuk
Thank you
np
sorry i dont take friend requests from mathcord helpees
i end up with too many people DMing asking for help
i'd rather just come here and help when i feel like it
Closed by @mossy eagle
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 simpler form of $\neg(\neg P \lor Q) \lor ( P \land \neg R)$
\
$\neg(\neg P \lor Q) \lor ( P \land \neg R) \equiv (P \land \neg Q) \lor (P \land \neg R) \equiv P \land ( \neg Q \lor \neg R) \equiv P \land \neg( Q \land R)$
What a wonderful world!
Is this fine?
Tis okay
Closed by @keen pawn
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
this is super quick, but is #5 the right one to use if I have a 3 in front of the i? Could I just multiply the whole thing by 3? (Included a badly drawn image of the problem I'm working on, haha)
oh, I assumed the a_i disqualified it, but I maybe misinterpreted what they were saying 😅
woops
aight, ty :)
.close
Closed by @nocturne plaza
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
how to find ${d/dr} \fracc{r )1-r)²}$
bagelguy3
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
how to find d/dr r/(1-r)^2 $$
bagelguy3
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
d/dr r / (1-r)
$\frac{d}{dr} (\frac{r}{1-r})$
yes
Yuck
Quotient rule?
.
lmao
how
look
r (1-r)^-1
use power rule
we ge t
(1-r)^-1 + (1-r)^-2
lemme calc g(r) real quick
Yeah you could do that too
see
so u geat
get
wait what
do u agree?
oh wait
I GOTTA MULTIPLY BY R
i forgot
so thats where i went wrong
there shud be a -ve sign too
i see
what -ve?
theres no -ve
i kept forgetting to multiply the second term by r
cuz f(r) is r
g(r) = (1-r)^-1
when u differentiate (1-r)^-1
u get -1.(1-r)^2
oh ye mb
which is -1
mbmbmbmbmb
Closed by @thick canyon
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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
i saw a problem someone here had and tried to solve it
Martin
Now I tried 2 different options and got 2 different results
Martin
Option 2 (discs):
$$V=\int dV, dV=\pi r^2 dz$$
$$r^2=-2\ln{\frac{\pi z}{5}}$$
Martin
Closed by @grizzled crystal
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
Simplify $\neg(\neg P \land Q) \lor (P \land \neg R)$\$\neg(\neg P \land Q) \lor (P \land \neg R) \equiv (P \lor \neg Q) \lor (P \land \neg R) \equiv P \land ( \neg Q \lor \neg R) \equiv P \land \neg ( Q \land R)$
What a wonderful world!
i don't get it
hmm?
is this 4 answers to one question?
Thse are my steps
The connectors should be switched?
So it should be $P \lor ( \neg Q \land \neg R)$
What a wonderful world!
same deal, ~Q was sufficient but not anymore
i dont know
I'm sure it's fine until $(P \lor \neg Q) \lor ( P \land \neg R)$
What a wonderful world!
then P is common, so using the distributive law
So it should be $P \lor ( \neg Q \land \neg R)$
What a wonderful world!
same problem
frownyfrog
i don't know what steps
Closed by @keen pawn
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
is this correct?
because when I ask chatGPT it gives different asnwer
!nogpt
Please do not trust ChatGPT or similar AI tools for mathematical tasks, as they often generate output which "sounds correct" but has numerous factual or logical errors. Use of these AI tools to answer other people's help questions is strictly against server rules (see #rules).
yeha but there is no other help
To ask for mathematics help on this server, please open your own help channel or help thread. See #❓how-to-get-help for instructions.
ain't nobody helps here maybe once in a year so I've gotta ask chat for help
!volunteers
Helpers are just people volunteering their time to help you. Be polite and patient.
Thats what I am sayin there is harly helpers to help I am not saying there are no help but its hard to get helper... so I've gotta ask chat. I post here just in case someone replys
Yes this is correct.
what about this path
If you select the other neighbour at the first step, F -> G -> H -> E -> K -> F is next
But yeah, next we have F G H K E F which indeed is shorter by 10m
but how am I finding that as I start from F, E is in fact shortest path
the "double nearest neighbour" method, apparently requires you to check for "2 nearest (cheapest) neighbors" at each step - so:
F -> E | G, following G, H -> E | K,
there's a simpler way to do this though, let me check my notes for DAA
Use Prim's algorithm
You'll get a minimum cost spanning tree that looks like:
K <- H <- G <- F -> E
And since you require the "shortest trip", connect E -> K and you have a minimum cost trip as required
@torpid cloak Has your question been resolved?
So you get the path F -> G -> H -> K -> E -> F
Could also use Kruskal's but Prim's is convenient here
@torpid cloak.
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
In the second equation in part c the one at the right how would I know whether | 2(5)-b| is positive or negative
a > b and a and b are positive constants
try both options, see which one makes sense
one of them should give you a-b = some value that contradicts what you already know
@split sail Has your question been resolved?
Closed by @dim kiln
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 the sum of all positive integers less than 100 such that they are the diffrence of 2 squares
i mean obv (a-b)(a+b) but i cant think of any ways to progress
maybe there are many terms that cancel out?
do you mean squares
oops
tbh it's low enough that you can just kinda do it by hand
the number needs to break down into two factors that differ by an even number
so it needs to be not prime and either divisible by 4 or odd
2^2-1^2=3 which is prime
blehhh ok yes i forgot about that one
ok i see
All odd numbers are differences of cosecutive squares
ok maybe not the prime bit
so ammount of odds less than 100 is 50 and the number divisible by 4 is 25, so 75?
wait no i forgot what wr were counting
i believe you wanted the sum
yeah whoopie
Also, I dont think multiples of 4 would work. Like difference of which squares is 4?
2^2 and 0^2
Ohh im dumb
total is 100×99/2=4950
any 2 numbers with both their sum and difference even or at least either their sum or difference is divisible by 4 work right
subtract by the 2 mod 4, its 2(25)+(0+24)(25)/2×4=50+1200=1250
so 4950-1250=3700
but ans key is 3695?
._>
wait 1 and 4 cant be written as diffrence of 2 squares
1=1-0, 4=4-0
Maybe constraint is, r, s in r² - s² should be natural numbers
Closed by @lusty pine
Use .reopen if this was a mistake.
you didn't say that 
yeah mb
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
Suppose we have a rectangle ABCD with BC=2cm and AC=4cm (diagonal) where would the point E lie if vector(BE)+vector(BC)=vector(AC)? (they're limiting us to using basic vector addition and difference)
<@&286206848099549185>
The thing is i got vector BA but apparently it may not the answer
So E would've been overlapping with A
remember those are vectors. they don't have an exact position
BE + BC = AC
you can moce vector BC to the position of AD and it's still the same vector
So BE = DC?
They are asking us later what's the nature of triangle ACE and what's its area so it can't be the same point
it is neither the point C nor the Point A, but the vector DC is equal to BE
that gives you that E has to be 2 right from B
that is what moving the vector BC to AD leads to
How did we get this btw?
oh
not exactly though, isn't DC equal to EB?
cause the vector is going from D to C which is left to right
and in BE the vector is going from B to E which is right to left
Honestly I'm still confused
gosh i hate vectors
no,
for graphical vector addition you need to make the vector that is the sum and one of those being added to start at the same point.<
Thats why you move BC to AD
the other vector that you add is the one leading from the tip of the fist vector to the end of the result vector.
@fading cliff Has your question been resolved?
.close
Closed by @fading cliff
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
Just to be clear, what does the diagonal lines between the parabola mean?
Does it mean where the inequality is true?
If you want to know the answer, the fastest way is to test a value between those lines to the inequality
For example, x should be between -3 and 3
So pick a number between it
And also, its a hollow circle so it could only be < or >
Yep
Np
@random lotus Has your question been resolved?
Closed by @random lotus
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
How
$\sqrt[5]{250} ?$
Arya
FIFI27
start with making it in the form x + 1, x << 1
$250 = l^5 + x$
oh
Arya
so 2^5+7
so that, when you take out l from under the root, you're left with (1 + x/l^5) where x/l^5 << 1
then 2*(1+7/5^2)*)1/5)
???? 250 = 32 + 7?
yes, so $\sqrt[5]{250} = 3\sqrt[5]{1 + \frac{7}{3^5}}$
Arya
and now you're good to use (1 + x)^{1/n} series
(@_@;) You need accuracy upto 3 decimal places
,calc 3*(7/243)*(7/243)/25
Result:
9.957831631357e-5
,calc 7/243
Result:
0.02880658436214
since this number is already 0.02880... you won't even need x² term from the taylor series
yeh
just go (1 + x)^n = 1 + nx with this for three decimal places
$3\sqrt[5]{1 + \frac{7}{3^5}} = 3 \cdot \left(1 + \frac{1}{5} \cdot \frac{7}{243}\right)$
Arya
Result:
3.0172839506173
3.017
Closed by @weary shoal
Use .reopen if this was a mistake.
:D
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 explain this to me. I was so confident it was 4
Closed by @silver barn
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
yo
$\log(ab)=\log(a)+\log(b)$
Axe
you can use this property to solve the first one
a and b is anything that's multiplied inside a logarithm
Huh
ab is a product
this property says that you can rewrite it when you have a log of a product
m^4 n^2 is a product
it's a product of m^4 and n^2
a is m^4 and b is n^2
we can use this rule to simplify it
then we can use another rule to simplify it more
but let's take the first step first
So.. what now?
no matter what the first thing & second thing are
now you can take exponents to the front
4logm+2logn
Yea ik
then it's done
Do u mind helping me with the other ones? I'd really appreciate it
sure
(b) right?
Yep
first, the cube root is the same as a (1/3) exponent
so you can use this rule
Why are they 1/3?
$\sqrt{x}=x^{\frac{1}{2}}$\
$\sqrt[3]{x}=x^{\frac{1}{3}}$\
$\sqrt[4]{x}=x^{\frac{1}{4}}$
Axe
Axe
it's the same idea
Oh so whatever number is outside of the sqaure root we just put 1 over it?
Like if it's 6
We put 1/6?
Axe
we call it cube root
well we can distribute the 1/3 exponent if we want
but we can also bring it to the front since it's a log
What's easier?
Axe
Y is wrong?
it's not y⅓
it's y^(2/3)
because you combine the 2 that was already there with the 1/3
here let's take it step by step
so 3xy⅔
yes
Ah alr
ok you got it
So do the 1s just add up up to 2?
no
Or do we use the 2 and 3 from the x and y
i'll show
Alr
$(27x^3y^2)^{\frac{1}{3}}=27^{\frac{1}{3}}(x^3)^{\frac{1}{3}}(y^2)^{\frac{1}{3}}=3x^{3\cdot\frac{1}{3}}y^{2\cdot\frac{1}{3}}$
Axe
yeah
Honestly on the test
Ima just add the 1s
Or the 2s
And use that as my power
Like x³ and y²
So
Just make it
3xy⅔
And the base is 3
So
Logbase3(3xy⅔)
Right?
And than after that I have no idea what to do
after that we can use the first rule i showed you
on the inside you have 3 and x and y^(2/3) all multiplied together
we only had 2 things before
but now we have 3
that's okay, we can still use the rule
so it becomes log + log + log
So it becomes: logbase3³+logbase3^x + logbase3^y⅔
Axe
you can simplify more
To the front
yes you can move 2/3
exactly
and you can also simplify log_3(3)
_3 means base 3
$\log_3(3)=1$
Axe
Oh cuz they cross out?
yes
you're welcome
all right good luck
Closed by @sharp dock
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
hi! i wanna know if the following is correct
k,p,x<n; gcd (x,y)=1. WLOG assume k>p
(k-p)x≡0modn
(k-p)y≡0modn
=>n divides gcd((k-p)x,(k-p)y)
=> n divides k-p
=>(k-p)>=n
a contradiction
How do you figure k-p>n?
2 divides 0, but that doesn't mean 0>2
right, my bad but i forgot to mention k != p
then $(k-p)x\equiv 0$ mod $n\to (k-p)x|n\to x|\frac{n}{k-p}$. But then $y|\frac{n}{k-p}$ too, which contradicts $\gcd(x, y)=1$ unless $n=k-p$, which is not possible if $0<k,p<n$
SWR
(k-p)x=0modn x divides n/(k-p)
but what if n=12, (k-p)=3 x=8 ?
(k-p)x is divisible by n but i don't get how x must divide (n)/(k-p) I think we just get x must divide some integral multiple of n/(k-p)
is my reasoning incorrect?
oh oops I think I had the mod logic backwards
sec
ook
can u tell me if my logic is incorrect?
<@&286206848099549185>
<@&286206848099549185>
@tiny tree is y<n also, or can it be anything?
yes y<n
So, 0<k,p,x,y<n
yesyes
@tiny tree Has your question been resolved?
Closed by @tiny tree
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 I ask anyone a question regarding ordinary least squares
linear regression, but in code
heres a snippet of the data im working with:
MPG,cylinders,displacement,horsepower,weight,acceleration,name
18,8,307,130,3504,12,chevrolet chevelle malibu
15,8,350,165,3693,11.5,buick skylark 320
18,8,318,150,3436,11,plymouth satellite
16,8,304,150,3433,12,amc rebel sst
17,8,302,140,3449,10.5,ford torino
15,8,429,198,4341,10,ford galaxie 500
14,8,454,220,4354,9,chevrolet impala
14,8,440,215,4312,8.5,plymouth fury iii
14,8,455,225,4425,10,pontiac catalina
15,8,390,190,3850,8.5,amc ambassador dpl
15,8,383,170,3563,10,dodge challenger se
14,8,340,160,3609,8,plymouth 'cuda 340```
Im using linear regression to predict the MPG based on weight
# if len(b.shape) != 1:
# raise ValueError("X must be 1d-array")
# if len(X.shape) !=2:
# raise ValueError("X must be 2d-array")
yp = X@b
return yp
X= np.array([[1,0],[1,-1],[1,2]])
b= np.array([0.1,0.3])
linearModelPredict(b, X)
print(f"dimension of the array:", linearModelPredict(b, X).shape)```
and im using mean squared error as my loss function, I also computed gradient
#error checking
if len(beta.shape) != 1 and len(y.shape) != 1:
beta = beta.reshape(-1)
y = y.reshape(-1)
if len(X.shape) != 2:
raise ValueError("X must be 2D array")
#predictions
predictions = linearModelPredict(beta,X)
mse = np.mean((y-predictions)**2)
# print((y-predictions).shape)
# print(X.shape)
gradient = -2*(X.T @ (y-predictions))
return mse, gradient
X= np.array([[1,0],[1,-1],[1,2]])
b= np.array([0.1,0.3])
y = np.array([0,0.4,2])
mse, gradient= linearModelMSE(b,X,y)
print("MSE is:", mse)
print("gradient is:", gradient)```
this is the first question, Use the above functions to fit your model to the car data. Use the MPG as the target (y) variable and only the weight variable as the independent (x). Fit the model with a constant. Then use your model and the fitted parameters to make predictions along a grid of equally spaced weights within the original range of the weight variable. I think my code is right for this
y = df['MPG']
#call the fitting function
r2, beta_optimal = linearModelFit(X, y, linearModelMSE)
plt.scatter(df['weight'], df['MPG'], alpha=0.5, label="given data points")
weight_grid = np.linspace(df.loc[:,'weight'].min(), df.loc[:,'weight'].max(), 100)
new_X = np.column_stack((np.ones_like(weight_grid), weight_grid))
mpg_pred = linearModelPredict(beta_optimal, new_X)
plt.plot(weight_grid, mpg_pred, 'r-', label=(f"R^2 (goodness of fit):{r2:.3f}"))
plt.xlabel('Weight')
plt.ylabel('MPG')
plt.title('Relationship Between Cars\' Weight and MPG')
plt.legend()
print(f"R^2 is: {r2}")```
Second question is: Now use sklearn's linear_model to fit the model with all the available data. Plot the data and add a line for the predicted values as you did in the previous question. Also report the $R^2$ value for the fit. Im not sure what it's asking
Aff07
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
Im not sure how using sklearn's linear model differs from mine, because if Im just looking at weight for x variable, using sklearn's linear model seems to graph the same
unless im understanding the question wwrong, and we're supposed to have an X design matrix with data of cylinders, displacement, horsepower, weight, acceleration
I forgot to mention, I also made my own model fitting function
@twilit cove Has your question been resolved?
@twilit cove Has your question been resolved?
@twilit cove Has your question been resolved?
@twilit cove Has your question been resolved?
.close
Closed by @twilit cove
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
Hellow guys I am a little bit confused by the phrasing of the of equations 2.31 and 2.32. Reversing the roles of t and tau the equations remain the same no?
not unless u*(tau - t) = u*(t - tau)
If I am not mistaken tau is the dummy integration variable in the first equation and so is t in the second.
yea
but if u* is not an even function, then you don't necessarily have u*(tau - t) = u*(t - tau)
yea i'm not sure physically what's going on here but the two integrals won't be the same in general even though they're obviously related
fair enough. Thank you fo rthe advice!
yw
@odd vault Has your question been resolved?
Closed by @odd vault
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
1.For every $\epsilon >0$,there are infinity many n such that the distance between $a_n$ and 0 is less than $\epsilon$.
it should, yeah
Nice
One mroe
2.For every $\epsilon >0$ for all but finitely many n the distance between $a_n$ and 4 is less than $\epsilon$
Banged my head over this problem
An example
So
I have to take an a_n such that the limit at infinity is 4
Yeah 😔
i think you just need to remove "such that"
thanks
Oh yeah
It's more clear now
So I'm guessing I have to take a certain sequence such that it increases for a range of n and then after crossing that range it starts decreasing
Which Is wrong?


But
Wouldn't there be infinitely many n
"for all but finitely many n"
it means for all n with only a few exceptions
can you think of a sequence with 4 as a limit?
a more interesting one?
a_n = 4(1 - [1/n])
[] is just brackets no step function
Lol step means it would just be 4 anyways
if we chose a smaller epsilon then we would have more exceptions but still finitely many
I OVERCOMPLICATED THE QUESTION ITSELF
BRUHHH
Thanks
Oh one more thing
For negation statements
For this one I wrote
1.For atleast one $\epsilon >0$,there are infinity many n such that the distance between $a_n$ and 0 is greater than $\epsilon$.
it should be greater than or equal to
yeah it's a sequence so yeah
wait
no
it's wrong
the negation is this:
For at least one $\epsilon > 0$, there are finitely many $n$ such that the distance between $a_n$ and 0 is less that $\epsilon$
Axe
yeah you can but i might not answer if i'm away
i'll be going to sleep in a few hours
but i don't mind if you ping
when i said "finitely" here i meant "only finitely"
or i should have just said "not infinitely many"
@split sail 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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
lin.fei
Isnt that a standard identity from school syllabus?
$a^3 + b^3 + c^3 - 3abc = (a^2+b^2+c^2-ab-bc-ca) (a+b+c)$
Facter10Br4g
So you dont need to prove it. Just use the result
But, if you feel its appropriate, you can prove it.
But, imo, simply mentioning the identity is enough
Closed by @winged mantle
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
!status
What step are you on?
1. I don't know where to begin.
2. I have begun but got stuck midway.
3. I got an answer but I was told that it's wrong.
4. I got an answer and would like my work checked.
5. I have a question about someone else's work/solution.
6. I have completed the problem and don't need help anymore. Thank you.
7. None of the above
4
im getting
3 times 1/2 and 1 time 5/8 so that becomes , 12 + 5/32 = 17/32
cos three quadrants have half area
and the circle one 4 pieces together are quadrant of a quadrant, i.e 1/16, and then there are 10 of those so
not that easy
sorry for ghosting u btw
the circle one's a bit diffreent
np
what about left top quadrant
thats half
ok
ok now consider the other parts of the top right
yeah
so u got those exact math one more time just not together
tthat makes half of the square
then u get 2 of the piieces instead of 4
so that's half of a quadrant
ie. 1/8
now multiply all by 1/4 bcs quadrant
and 17/32
im not sure tho
cos no ak
if you only consider the top right quadrant for a second, rearrangling we get 1/2 + 1/8
so 5/8 only 2nd quadrant
i gotta catch up
lol
ok so thers are just 1/2s
ye
and we divide by 4 for quadrants
yea
.close
Closed by @wide jackal
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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 all natural solutions for (a,b) such that a!=b^2+44
I have found (6,26) and I guess it is the only solution but how do we prove that?
Well with mod ten we know that b ends with 6
For a ≥ 7, b² + 44 = 0 (mod 7) does not have a solution
!nosols
As a helper, please do not give out answers that could be copied as a homework solution. Have the student work through the problem themselves and guide them along the way.
and 4
From here, can you check for the rest?
since b² + 44 ≥ 44, you have a restriction for "a" as well
Yeah, I think I did somth to delete that
yes, 4! = 24 < 44 ≤ 44 + b². So yeah 4 would not be a soln.
so what values of "a" are you left with
Uhh so b^2=0,1,2,4 but none makes 0(mod7)
You should be checking b² + 44 = 0 (mod 7)
Ok, so none of them makes 0
How do you come up with mod 7?

you need to check mod for a couple numbers before you hit a home run. I checked mod 10 first as well, before switching to mod 7
mod 7 is a good idea after you found your solution with 6
Because we know that we are evaluating a>7, a<7 I have tried
because you know that 7! and every number after that will be divisible by 7, so then it has a different behavior mod 7 compared to before
modulo arguments can only show that there are no further solutions if something "changes" in the modulo setting
So now?
I have tried mod 11 because of 44 but didn’t work
Yeah so only sol 6!! Thank you so muchh!!
Result:
8.7177978870813
Thank so much Aya for your time and patience❤️
.close
Closed by @rough delta
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
man i had to make a second channel cuz i couldnt find the one i just made
legit dissapeared and wouldnt show up on logs
well then
ok so if i had this
then close the other one
no
cuz its gone
its literally dissapeared
i have no idea where it is
FINALLY
alr someone pinged me in it
wtfd
is going on
it keeps closing my channels
i wouldve lost this one too
if it didnt show up on searchbar
F
i think you clocked the portion above the channels
ok but how do i do this?
tyy
what's there to do about?
this
bc i do not know how to simplify it
if it has
a fraction
what do i do if b was a fraction like b/e
Closed by @civic spindle
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.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• 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.
Guys help how to find length ad i already found length ac which is 867
(Our server's bot @amber wasp is currently down, consider using the #1021175428326633542 instead)
what do you do if B was a fraction like B/I e.g., 5/2
I have a big problem. Can i solve this differential equation :
y'' = - a * sin(y)
Please ?
How to get the length of any of these lines
?
i thought i get chat box :c
i need to get the lenght of a line and the same line for the image
Simply use the Pythagorrean theorem
i guess
Do you know vectors ?
uhh
i dont have a , b , or c
Ok
Lets say, to go from U to T, you go 4 units to the right, then 6 units upwards.
Your 4 is the same thing as your a, and the 6 is the same thing as your b
ohhh
With each of these lines, you can draw a right-angled triangle
i got 7.21