• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:28
CEST 22:28
KST 05:28
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition32
StarCraft 2
General
Revisiting the game after10 years and wow it's bad The New Patch Killed Mech! TL.net Map Contest #21: Voting Stellar Fest: StarCraft II returns to Canada herO Talks: Poor Performance at EWC and more...
Tourneys
SC2's Safe House 2 - October 18 & 19 Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st) WardiTV Mondays RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BW General Discussion BSL Season 21 BGH Auto Balance -> http://bghmmr.eu/ BW caster Sayle BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Semifinal B [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN [ASL20] Semifinal A
Strategy
Current Meta BW - ajfirecracker Strategy & Training Relatively freeroll strategies Siegecraft - a new perspective
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Path of Exile Nintendo Switch Thread ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1535 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
Germany11593 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
Germany11593 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
Germany11593 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
IPSL
19:00
Ro24 Group D
Sziky vs Havi
Artosis vs Klauso
Airneanach51
Liquipedia
Safe House 2
17:00
Playoffs
TriGGeR vs Cham
Astrea vs TBD
ZombieGrub962
TKL 324
3DClanTV 83
EnkiAlexander 83
CosmosSc2 79
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ZombieGrub931
TKL 318
JuggernautJason96
CosmosSc2 79
ProTech76
Railgan 23
StarCraft: Brood War
Larva 861
Barracks 294
Dewaltoss 146
Hyun 127
Mong 51
NaDa 29
scan(afreeca) 12
Counter-Strike
fl0m2861
Stewie2K440
Heroes of the Storm
Liquid`Hasu542
Khaldor502
Other Games
Grubby2463
ScreaM1499
Pyrionflax206
ArmadaUGS123
Organizations
Other Games
gamesdonequick3250
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Adnapsc2 15
• Migwel
• AfreecaTV YouTube
• intothetv
• sooper7s
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• blackmanpl 19
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler64
Other Games
• imaqtpie2476
• Shiphtur149
Upcoming Events
Replay Cast
13h 32m
Monday Night Weeklies
19h 32m
WardiTV Invitational
1d 14h
WardiTV Invitational
1d 18h
Tenacious Turtle Tussle
3 days
The PondCast
3 days
WardiTV Invitational
4 days
Online Event
4 days
RSL Revival
5 days
RSL Revival
5 days
[ Show More ]
WardiTV Invitational
5 days
Afreeca Starleague
6 days
Snow vs Soma
Sparkling Tuna Cup
6 days
WardiTV Invitational
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
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 © 2025 TLnet. All Rights Reserved.