• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 03:33
CET 09:33
KST 17:33
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)15Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1833
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Stellar Fest "01" Jersey Charity Auction Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
OSC Season 13 World Championship SC2 AI Tournament 2026 Sparkling Tuna Cup - Weekly Open Tournament $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) $25,000 Streamerzone StarCraft Pro Series announced
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
[ASL21] Potential Map Candidates BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ A cwal.gg Extension - Easily keep track of anyone Potential ASL qualifier breakthroughs?
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Awesome Games Done Quick 2026! Beyond All Reason Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Urbania on Rent in Delhi Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
Innova Crysta on Hire
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1254 users

The Math Thread - Page 9

Forum Index > General Forum
Post a Reply
Prev 1 7 8 9 10 11 32 Next All
Kleinmuuhg
Profile Blog Joined September 2010
Vanuatu4091 Posts
June 27 2017 20:43 GMT
#161
Alright travis. I am going to split my answer into two parts. I think if you understand the logic behind Gauss sum, you can very easily apply the same logic to your original problem and arrive at the formulas you desire.

We will only regard even n in the following as the gauss sum for uneven n directly follows.

1) Gauss sum
The idea behind Gauss sum is to make pairs: You take the first and the last element (1 and n) , the second and the second to last element (2 , n-1) and so on. Notice that all these pairs have sum n+1. Now you have the n elements split up into n/2 pairs of sum n+1, whence the whole sum is (n+1)*n/2 , gauss sum.

2) partial sums
I advise you that if you understand 1), try to apply the same logic yourself before simply reading the solution.
+ Show Spoiler +

Now instead of summing 1+2+...+n you just havfe the sum 1+2+...n/2 . This means our pairs are (1 +n/2), (2+n/2 - 1) and so on. There are (n/2)/2 number of pairs as you have n/2 elements. this leaves us with (n/4)*(1+ n/2)=1/8 * n * (n+2)

This is our town, scrub
Kleinmuuhg
Profile Blog Joined September 2010
Vanuatu4091 Posts
June 27 2017 20:58 GMT
#162
Also I wanted to share in this thread one of my favorite proofs. The problem is very simple and so is the proof, once you see it, though it takes a lot of creativity to solve it yourself. I dare you to try before reading the solution

"For all prime numbers n with n greater or equal to 5 holds (n^2) - 1 is dividable by 24."

( In other words (n^2) - 1 mod 24 = 0 )

Proof+ Show Spoiler +

First we note that (n+1)*(n-1) = (n^2)-1. (*)
as n is prime we know that n is uneven. As every second even number (4,8,12,...) is dividable by 4, we know that either
n+1 or n-1 is divided by 4 and the other by 2. Hence we know that 8 divides (*). Now we regard n-1,n,n+1 as 3 neigbours. for three neighboured natural numbers, exactly one of them is divided by 3. And it is not n as n is prime, hence is is n-1 or n+1 . Therefore (*) is also divided by 3, therefore by 3*8=24.



I really like it because you can explain it to friends or family who dont know maths to explain what a proof is (or you can be that guy at a party).
This is our town, scrub
Piledriver
Profile Blog Joined August 2010
United States1697 Posts
Last Edited: 2017-06-27 21:16:13
June 27 2017 21:15 GMT
#163
On June 28 2017 05:58 Kleinmuuhg wrote:
Also I wanted to share in this thread one of my favorite proofs. The problem is very simple and so is the proof, once you see it, though it takes a lot of creativity to solve it yourself. I dare you to try before reading the solution

"For all prime numbers n with n greater or equal to 5 holds (n^2) - 1 is dividable by 24."

( In other words (n^2) - 1 mod 24 = 0 )

Proof+ Show Spoiler +

First we note that (n+1)*(n-1) = (n^2)-1. (*)
as n is prime we know that n is uneven. As every second even number (4,8,12,...) is dividable by 4, we know that either
n+1 or n-1 is divided by 4 and the other by 2. Hence we know that 8 divides (*). Now we regard n-1,n,n+1 as 3 neigbours. for three neighboured natural numbers, exactly one of them is divided by 3. And it is not n as n is prime, hence is is n-1 or n+1 . Therefore (*) is also divided by 3, therefore by 3*8=24.



I really like it because you can explain it to friends or family who dont know maths to explain what a proof is (or you can be that guy at a party).


By extension of your proof, its applicable to all odd numbers that are indivisible by 3 and not necessarily prime.
Envy fan since NTH.
Kleinmuuhg
Profile Blog Joined September 2010
Vanuatu4091 Posts
June 27 2017 21:18 GMT
#164
sure, but that doesnt sound as nice ^^
This is our town, scrub
Shalashaska_123
Profile Blog Joined July 2013
United States142 Posts
June 28 2017 10:54 GMT
#165
Hey, travis.

On June 28 2017 04:43 travis wrote:
Could someone help me with summation algebra

I keep getting problems where I am summing to some portion of n, say

the sum from i=1 to (n/2) of i

now, I know that the sum i=1 to n of i is gauss sum:
1/2n(n+1)

I know this because I have memorized it

but when we sum to n/2 it becomes 1/8n(n+2)

I know this because wolfram alpha tells me so

but how can I manually solve this sum? Is there some rule for what happens to the sum when I only sum to a portion of my "n" ?


It really isn't complicated. The formula for the finite sum as you know is this.

[image loading]

If the upper limit of the sum changes to n/2, then wherever we see an n in the formula, we replace it with n/2. Factor out a 1/2 to get Mathematica's answer.

[image loading]

Sincerely,
Shalashaska_123
thePunGun
Profile Blog Joined January 2016
598 Posts
Last Edited: 2017-06-28 23:11:46
June 28 2017 23:05 GMT
#166
That's why math and physics are awesome, so I thought I'd leave this here!
YT video: Math vs Physics - Numberphile
Check it out, if you have 13 minutes and 52 seconds to spare.
"You cannot teach a man anything, you can only help him find it within himself."
HKTPZ
Profile Joined May 2017
105 Posts
July 28 2017 13:52 GMT
#167
How do you differentiate x^x with respect to x?

Do you - if so how - apply the chain rule?
Oshuy
Profile Joined September 2011
Netherlands529 Posts
July 28 2017 14:00 GMT
#168
On July 28 2017 22:52 HKTPZ wrote:
How do you differentiate x^x with respect to x?

Do you - if so how - apply the chain rule?


You re-write your function as e^f(x) and you should be able to go on from there.
Coooot
HKTPZ
Profile Joined May 2017
105 Posts
July 28 2017 15:08 GMT
#169
Ah of course thx
HKTPZ
Profile Joined May 2017
105 Posts
August 02 2017 20:55 GMT
#170
I tried my luck googling and going through youtube videoes but I couldnt find anything so here goes:

When you are solving a seperable differential equation by seperating the variables, how is splitting up dy/dx justified (apart from the fact that the technique is without a doubt producing the right answer) and what is happening? Do you multiply each side of the equation by an infinitely small change of x?
Warfie
Profile Joined February 2009
Norway2846 Posts
Last Edited: 2017-08-02 22:00:37
August 02 2017 21:58 GMT
#171
On August 03 2017 05:55 HKTPZ wrote:
I tried my luck googling and going through youtube videoes but I couldnt find anything so here goes:

When you are solving a seperable differential equation by seperating the variables, how is splitting up dy/dx justified (apart from the fact that the technique is without a doubt producing the right answer) and what is happening? Do you multiply each side of the equation by an infinitely small change of x?

Ah yes, this question touches on higher level calculus and my uni professor's answer to it in a calculus class was more or less "don't worry about it". If you want a fairly abstract and readable discussion on it, I'd recommend this stackexchange answer, or, if you prefer, this more technical blogpost.
neptunusfisk
Profile Blog Joined July 2012
2286 Posts
August 02 2017 23:33 GMT
#172
On August 03 2017 06:58 Warfie wrote:
Show nested quote +
On August 03 2017 05:55 HKTPZ wrote:
I tried my luck googling and going through youtube videoes but I couldnt find anything so here goes:

When you are solving a seperable differential equation by seperating the variables, how is splitting up dy/dx justified (apart from the fact that the technique is without a doubt producing the right answer) and what is happening? Do you multiply each side of the equation by an infinitely small change of x?

Ah yes, this question touches on higher level calculus and my uni professor's answer to it in a calculus class was more or less "don't worry about it". If you want a fairly abstract and readable discussion on it, I'd recommend this stackexchange answer, or, if you prefer, this more technical blogpost.


It could also be fun to note that in algebraic geometry you introduce [Kähler] differentials on curves and surfaces basically by saying "let's consider the vector space of things of the form dx" and just treating it formally, and it ends up behaving quite like the differential geometrical notions you're discussing
maru G5L pls
Simberto
Profile Blog Joined July 2010
Germany11713 Posts
August 03 2017 12:04 GMT
#173
There is a lot of difference between the answers when studying maths and when studying physics. If you are studying physics, the answer is: Because it works.

If you are studying maths, you have to get into what total differentials mean.
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
August 03 2017 18:07 GMT
#174
I'd guess your first step is to learn about limits from a formal perspective, and then to learn about different kinds of spaces and representations of them and how you end up doing limits in them

Maybe a course on analysis is sufficient?
Kleinmuuhg
Profile Blog Joined September 2010
Vanuatu4091 Posts
August 04 2017 16:52 GMT
#175
Actually, mathematically this is not permitted, as it is not formally correct. Often times you would rather use substitutions that are permitted. Or you can (and this is common practice) informally calculate a solution using that trick and then afterwards show that it solves the diff eq. This however is no better than saying:oh look this function magically appeared and now I can prove it solves my issue.
This is our town, scrub
Simberto
Profile Blog Joined July 2010
Germany11713 Posts
August 04 2017 20:06 GMT
#176
On August 05 2017 01:52 Kleinmuuhg wrote:
Actually, mathematically this is not permitted, as it is not formally correct. Often times you would rather use substitutions that are permitted. Or you can (and this is common practice) informally calculate a solution using that trick and then afterwards show that it solves the diff eq. This however is no better than saying:oh look this function magically appeared and now I can prove it solves my issue.


Which for differential equations is usually how it works anyways. You have theorems that prove that if a solution with the necessary amount of degrees of freedom exists, it is the only one. So if you have one, no matter where you got it from, that is all the information you need.

And i think if you interpret the "dx" and "dy" as total differentials, you can actually do make that approach work.
Joni_
Profile Joined April 2011
Germany355 Posts
Last Edited: 2017-08-04 22:11:39
August 04 2017 21:55 GMT
#177
On August 05 2017 05:06 Simberto wrote:
Show nested quote +
On August 05 2017 01:52 Kleinmuuhg wrote:
Actually, mathematically this is not permitted, as it is not formally correct. Often times you would rather use substitutions that are permitted. Or you can (and this is common practice) informally calculate a solution using that trick and then afterwards show that it solves the diff eq. This however is no better than saying:oh look this function magically appeared and now I can prove it solves my issue.


Which for differential equations is usually how it works anyways. You have theorems that prove that if a solution with the necessary amount of degrees of freedom exists, it is the only one. So if you have one, no matter where you got it from, that is all the information you need.

And i think if you interpret the "dx" and "dy" as total differentials, you can actually do make that approach work.

Even if interpreted as total differentials there is no general concept of simplifying differentials in general, I think. Im not quite sure on that though, since "total differential" is something that I dont really meet in the kind of functional analysis im usually concerned with..
I seem to remember an exercise from a couple of years ago that gave an example in which simplifying the application of dx/dy * dy/dz * dz/dx to an equation to 1 would yield a wrong solution. Ill see if I can dig it up.

From my first couple of classes on ordinary differential equations I seem to remember that the proofs of the proper mathematical way of solving these problems involved integration of an inverse function and applying it to the original problem, which relies heavily on the involved functions being smooth homeomorphisms (at least locally) and ranges/domains getting along. These two things are often times not checked at all by engineers/physicists that Ive been working with.

Edit: Found it!
By an application of the implicit function theorem, you can show that for the function F with open domain Omega and for positive constants a,b,R

F: \R^3\supseteq \Omega \to \R, (p,v,T)\mapsto [p+a/(v^2)](v-b)-RT

the identity
\diff v/\diff T * \diff T/\diff p * \diff p/\diff v = -1

holds on D=\set{ (p,v,T)\in\R^3 : v>b, \diff F/\diff v(p,v,T) \neq 0}\subseteq \Omega.

(Here it is assumed that the function has a zero in D, i think).


Interpreting p as pressure, v as molar volume and T as absolute temperature, the equation F(p,v,T)=0 (or p=RT/(v-b) - a/(v^2) ) should be the Van-der-Vals-equation, which approximates the behaviour of real gases, iirc.

So yeah, in this case, the differentials cannot be simplified, as that would yield 1 instead of -1 in the above equation.
bITt.mAN
Profile Blog Joined March 2009
Switzerland3693 Posts
August 05 2017 01:44 GMT
#178
TL are my bros so yall get this secret:
The best math resource I have EVER found is this blog:
https://betterexplained.com/cheatsheet/
(I have a Masters in Chemistry with Math and moonlight as a high school Math teacher, and this shit is so legit it helps my students and helps me like crazy)

If we want science to go really fast, and get to the future sooner, we need to massively speed up our math education (especially in the West). We have the Education knowledge of 'how to teach well', we just need to apply that to our math classes.
This BetterExplained blog does that brilliantly, and I strongly suggest everyone check it out.
BW4LYF . . . . . . PM me, I LOVE PMs. . . . . . Long live "NaDa's Body" . . . . . . Fantasy | Bisu/Best | Jaedong . . . . .
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 04 2017 14:40 GMT
#179
Back in school, doing a linear algebra review assignment.

It has me plot a couple vectors in R2 and then the vectors under a transformation.

The transformation matrix is [0 1; 1 0] --->(the ; denotes the next line of the matrix)

So I can see that what is happening to my vectors is that the x and y coordinates are swapped.

The assignment wants me to "Describe geometrically what T does to each vector x in R2". Is my answer that the coordinates are swapped an acceptable answer? Is there some other way to describe what this transformation matrix is doing? Thank you.
Simberto
Profile Blog Joined July 2010
Germany11713 Posts
Last Edited: 2017-09-04 15:49:57
September 04 2017 15:49 GMT
#180
Swapping coordinates doesn't sound very geometrically.

I assume the answer that is expected is "mirrored on the straight line that goes from (0/0) to (1/1) (and further)" (Don't know what it is called in english, it has a special name in german. Could be something like "first Median")

Obviously any other straight line that goes in a 45° angle between the coordinate axis would also be fine if you are only talking about vectors. If you are talking about points, you need exactly that one.
Prev 1 7 8 9 10 11 32 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 3h 27m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
actioN 649
Zeus 311
Larva 310
BeSt 125
Leta 113
Soma 111
Bale 99
Sharp 98
Shuttle 84
ZergMaN 58
[ Show more ]
EffOrt 47
JulyZerg 31
GoRush 26
Mong 17
NotJumperer 16
Sacsri 12
League of Legends
C9.Mang0494
JimRising 442
Counter-Strike
shoxiejesuss109
Other Games
summit1g4088
ceh9245
Livibee92
Mew2King86
NeuroSwarm58
Happy12
Organizations
Other Games
gamesdonequick1318
StarCraft: Brood War
UltimateBattle 67
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• LUISG 17
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV113
League of Legends
• Jankos806
• Lourlo797
• Stunt468
Upcoming Events
OSC
3h 27m
SKillous vs ArT
ArT vs Babymarine
NightMare vs TriGGeR
YoungYakov vs TBD
All-Star Invitational
17h 42m
INnoVation vs soO
Serral vs herO
Cure vs Solar
sOs vs Scarlett
Classic vs Clem
Reynor vs Maru
uThermal 2v2 Circuit
1d 3h
AI Arena Tournament
1d 11h
All-Star Invitational
1d 17h
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
2 days
OSC
2 days
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
The PondCast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-01-14
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
Escore Tournament S1: W4
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
SC2 All-Star Inv. 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.