• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:30
CEST 17:30
KST 00:30
  • 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
[ASL22] Ro4 Preview: Mirror Mirror4[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10
Community News
Weekly Cups Results (Sep 28-Oct 4)0SC4ALL: II SC2 Complete Invited Player Lineup10StarCraft II 5.0.17 PTR Patch Notes (Sept 30, 2026)74Weekly Cups (Sept 21-27): herO and ByuN double2Weekly Cups (Sep 13-20): herO scores triple3
StarCraft 2
General
StarCraft II 5.0.17 PTR Patch Notes (Sept 30, 2026) How do you feel about the mass reverts in the 5.0.17 PTR? Weekly Cups Results (Sep 28-Oct 4) SC4ALL: II SC2 Complete Invited Player Lineup Back to SC2 after 14 years - Protoss CTRL groups?
Tourneys
Stellar Fest TWO the Moon (Dec 16-20) Sparkling Tuna Cup - Weekly Open Tournament 2026 GSTL Grand Finals Sea Duckling Open (Global, Bronze-Diamond) SC2 INu's Battles#21 [ 3-Days tournament ]
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
Mutation # 546 Catch the Train The PondCast: SC2 News & Results Mutation # 545 And Drops and Rifts Mutation # 544 Double Trouble
Brood War
General
Sagi.gg Launcher Released 20-year-old Valorant player starting StarCraft BGH Auto Balance -> http://bghmmr.eu/ Fantasy returning? BSL Season 23
Tourneys
[ASL22] Semifinal B [ASL22] Semifinal A [Megathread] Daily Proleagues [ASL22] Ro8 Day 4
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do? Simple Questions, Simple Answers
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread Total Annihilation Zero
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread Dating: How's your luck? Artificial Intelligence Thread
Fan Clubs
Serral Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Escaping Into Video Games: G…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Regacy Esports:Our Goa…
regacyesports
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9339 users

The Math Thread - Page 10

Forum Index > General Forum
Post a Reply
Prev 1 8 9 10 11 12 32 Next All
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 04 2017 15:56 GMT
#181
Ah right, no, I think you've given me the description I need.

They are probably looking for "reflection over the line x=y" (or whatever axis labels you are using)
Melliflue
Profile Joined October 2012
United Kingdom1389 Posts
September 04 2017 16:39 GMT
#182
A geometric description is something like a rotation/reflection/translation. They are almost certainly looking for the word "reflection" and what the axis of reflection is.

What do you mean by "or whatever axis labels you are using"? Using x and y is universal for the horizontal and vertical axes in R^2 afaik. Although it is weird that they would also use 'x' for a generic vector.

For Simberto; Spiegelung = reflection here. We don't have a special word for the x=y line.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
September 04 2017 16:55 GMT
#183
In my book they tend to label the axes x_1, x_2... x_n
DarkPlasmaBall
Profile Blog Joined March 2010
United States46498 Posts
September 04 2017 17:12 GMT
#184
On September 05 2017 00:56 travis wrote:
Ah right, no, I think you've given me the description I need.

They are probably looking for "reflection over the line x=y" (or whatever axis labels you are using)


That's the explanation I would give as well: reflection over y=x.
"There is nothing more satisfying than looking at a crowd of people and helping them get what I love." ~Day[9] Daily #100
Melliflue
Profile Joined October 2012
United Kingdom1389 Posts
September 04 2017 18:27 GMT
#185
On September 05 2017 01:55 travis wrote:
In my book they tend to label the axes x_1, x_2... x_n

That generalises to arbitrarily many dimensions, but using x_1, x_2 is unnecessary for R^2. Tbh, I don't think I often see the axes labelled for R^n. I think it was always referred to as the i^th coordinate or i^th axis. That keeps x = (x_1, .. , x_n) free to use as an arbitrary point in R^n.

Then the way to refer to a line in the space is by using a scaling variable. You can always describe a line by giving one point p on the line and the gradient vector v, making the line r v + p for all real r. So the line y=x would be r (1,1).

Anyhoo, this is all about notation, rather than anything useful for the question and may have just confused matters more
Simberto
Profile Blog Joined July 2010
Germany12019 Posts
September 04 2017 19:12 GMT
#186
Notation is boring, and usually people know what you mean regardless. The people who worry about notation are usually those who are very uncertain about the subject matter at hand. People who know their shit usually just swap notation on the fly to whatever fits better for the current situation.
Melliflue
Profile Joined October 2012
United Kingdom1389 Posts
September 05 2017 15:17 GMT
#187
On September 05 2017 04:12 Simberto wrote:
Notation is boring, and usually people know what you mean regardless. The people who worry about notation are usually those who are very uncertain about the subject matter at hand. People who know their shit usually just swap notation on the fly to whatever fits better for the current situation.

I had a course with a lecturer who wrote all functions on the right and all group actions as right actions. It got very messy and confusing. Even if you knew what was going on and what you wanted to say it could be very difficult to write it properly.

Notation is just another form of language and - just like language - some people are very fussy and pedantic and others are not. If you are too careless with notation/language then it can make things harder to understand and explain. If you are too pedantic then you can drown in details. Most people are somewhere in the middle.
jrkirby
Profile Blog Joined August 2010
United States1510 Posts
September 05 2017 16:17 GMT
#188
So, I've been thinking a bunch about array signal processing, or about a specific problem, and the closest math I can find to it is array signal processing.

The problem is thus: Assume you have a regular grid of points p_m. Each point has a value v_m. You have N sensors s_n at known positions. You can measure each sensor s_i, and the result is the sum, for all points, p_j / dist(p_j->s_i)^2 .

Given the measurements at each sensor, how well can you guess the values at each point? I think the main difference between this and traditional array processing is that we assume M >> N, and we aren't concerned with the positions of the points, as we assume them to be static and known.

Does anybody have any recommendations of stuff I could look up to learn more about this? Any terms that relate to this subproblem specifically?

Also, I've got a couple basic questions that might be answerable by anyone knowing any array signal processing at all. Of course if you make your sensors more spread out, you can get a better approximation. And if you get more sensors, over the same area, you get a better approximation. But can anyone give me a rough idea how much each of these helps? Like is it doubling the spread halves the error on far points, and squaring the number of sensors halves the error on far points?
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
September 05 2017 21:29 GMT
#189
On September 04 2017 23:40 travis wrote:
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.

Sounds like a rotation.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2017-09-12 21:11:42
September 12 2017 21:09 GMT
#190
Question on probabilities:

You have one die. If you roll a 1, you win the prize. If you roll anything else, you don't win the prize but you are free to roll again. If your next roll is a number higher than your last, or is a 1, you win. Otherwise, you roll again. You continue rolling until you win.

I'm trying to figure out how to calculate with high precision (without simulating) the expected number of rolls it takes on average to win the prize. I know there are ways like markov chains that allow you calculate the chances of having won after x rolls, but I'm looking for the number of rolls on average to win. Any help would be appreciated, thank you.
Dark_Chill
Profile Joined May 2011
Canada3353 Posts
September 12 2017 21:27 GMT
#191
On September 13 2017 06:09 enigmaticcam wrote:
Question on probabilities:

You have one die. If you roll a 1, you win the prize. If you roll anything else, you don't win the prize but you are free to roll again. If your next roll is a number higher than your last, or is a 1, you win. Otherwise, you roll again. You continue rolling until you win.

I'm trying to figure out how to calculate with high precision (without simulating) the expected number of rolls it takes on average to win the prize. I know there are ways like markov chains that allow you calculate the chances of having won after x rolls, but I'm looking for the number of rolls on average to win. Any help would be appreciated, thank you.


This definitely isn't the right way to go about it, but:
1/6 chance to win immediately. If not, then 15 out of 30 of your second rolls will result in a win. So, half of your second rolls will win it for you, and with if you add your 1/6 to it, then you have higher than 50% to win on your second roll, so on average you win by roll 2.
CUTE MAKES RIGHT
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2017-09-12 21:36:04
September 12 2017 21:35 GMT
#192
On September 13 2017 06:27 Dark_Chill wrote:This definitely isn't the right way to go about it, but:
1/6 chance to win immediately. If not, then 15 out of 30 of your second rolls will result in a win. So, half of your second rolls will win it for you, and with if you add your 1/6 to it, then you have higher than 50% to win on your second roll, so on average you win by roll 2.

I need it in high precision though, say three past the decimal point. I can easily simulate it: after 10 million games I win on average 2.441 times. Just trying to figure out how to calculate that.

I've tried blowing it out to all possibilities and averaging the number of turns it took to win for each possibility, but I'm always stumped with how to measure those where you haven't yet won. They can't be 0, otherwise that would be as if you won without even playing, and they can't be infinity as that would just be silly. I'm sure there's a better way to do it.
raNazUra
Profile Joined December 2012
United States10 Posts
Last Edited: 2017-09-13 07:31:34
September 12 2017 23:47 GMT
#193
On September 13 2017 06:35 enigmaticcam wrote:
Show nested quote +
On September 13 2017 06:27 Dark_Chill wrote:This definitely isn't the right way to go about it, but:
1/6 chance to win immediately. If not, then 15 out of 30 of your second rolls will result in a win. So, half of your second rolls will win it for you, and with if you add your 1/6 to it, then you have higher than 50% to win on your second roll, so on average you win by roll 2.

I need it in high precision though, say three past the decimal point. I can easily simulate it: after 10 million games I win on average 2.441 times. Just trying to figure out how to calculate that.

I've tried blowing it out to all possibilities and averaging the number of turns it took to win for each possibility, but I'm always stumped with how to measure those where you haven't yet won. They can't be 0, otherwise that would be as if you won without even playing, and they can't be infinity as that would just be silly. I'm sure there's a better way to do it.


Consider the expected number of rolls required after you roll a 2, call it E[2]. We know that it'll take at least one more roll and then there will be two situations, based on whether you roll a 1,3-6 or a 2.

E[2] = 1 + 0*5/6 + E[2]*1/6
E[2] = 1.2

So once a 2 is rolled, it'll take an expected number of 1.2 more rolls to win the game. Similarly for 3, but now we know the expected number of rolls we would need if we rolled a 2 next:

E[3] = 1 + 0*4/6 + E[2]*1/6 + E[3]*1/6
E[3] = 1 + 0.2 + E[3]*1/6
E[3] = 1.44

You can continue this reasoning up to E[6], but it essentially works out to E[X] = 1.2**(X-1)

Then remember that these are expected number of rolls after the first roll, and you can use your classic expectation definition:

E[#rolls] = 1/6(1) + 1/6(1+E[2]) + 1/6(1+E[3]) + ... + 1/6(1+E[6])
= 2.48832

or, in Python terms: sum([1+1.2**i for i in range(1,6)] + [1])/6

This should be an exact answer.

(There's a bunch of stuff regarding Bernoulli distributions and things that I think you could set up if you wanted to keep it all purely symbolic, but I'm 98% confident that this simple approach is completely valid, and that I'm not cheating anywhere. I'd love to be informed if that's not the case!)
Speak the truth, even if your voice shakes
FiWiFaKi
Profile Blog Joined February 2009
Canada9859 Posts
Last Edited: 2017-09-13 06:07:18
September 13 2017 03:53 GMT
#194
Answer is converging, so set inf to be really large number to calculate, and you'll get more or less the exact answer, with only 100, my error is on the scale of 1E-69.

# of sides on die = n
G = (S1, S2, ... S_n-1] )

S1(1, 2, ... , inf) = 1
S2(1, 2, ... , inf) = (SUM(S1[1:1]), SUM(S1[1:2]), ... , SUM(S1[1:inf]))
S3(1, 2, ... , inf) = (SUM(S2[1:1]), SUM(S2[1:2]), ... , SUM(S2[1:inf])
S4(1, 2, ... , inf) = (SUM(S3[1:1]), SUM(S3[1:2]), ... , SUM(S3[1:inf])
S5(1, 2, ... , inf) = (SUM(S4[1:1]), SUM(S4[1:2]), ... , SUM(S4[1:inf])

TL(1, 2, ... , inf) = (SUM(G[1]), SUM(G[2]), ... , SUM(G[inf]))
TC(1, 2, ..., inf) = n*S_n-1(1, 2, ... , inf)
L% = TL(1, 2, ... inf) / TC(1, 2, ... , inf)
W%(1, 2, ... inf) = 1 - L%(1, 2, ..., inf)
W%Real (1, 2, ..., inf) = ( W%[1]*PRODUCT( L%[1]:L%[1] ), W%[2]*PRODUCT ( L%[1]:L%[2] ), ... , W%[inf]*PRODUCT ( L%[1]:L%[inf] )

DO CHECK: SUM( W%Real(1): W%Real(inf)) = 1 , good.

W%weighted (1, 2, ... , n) = (1*W%Real, 2*W%Real, ... , inf*W%Real)
AVERAGE = SUM( W%weighted(1): W%weighted(inf)) = 2.48832 (truncating after the first 100 rolls)

Well, I spent a good 3 hours doing this, not very rigorous at all, but I'm 99.99% sure the answer is right. I'm curious to see the mathematically beautiful way to get this answer if there is one.

[image loading]

In life, the journey is more satisfying than the destination. || .::Entrepreneurship::. Living a few years of your life like most people won't, so that you can spend the rest of your life like most people can't || Mechanical Engineering & Economics Major
Acrofales
Profile Joined August 2010
Spain18453 Posts
Last Edited: 2017-09-13 05:48:19
September 13 2017 05:48 GMT
#195
@fiwi: a mathematically elegant way of doing it is in the answer above yours.
FiWiFaKi
Profile Blog Joined February 2009
Canada9859 Posts
Last Edited: 2017-09-13 05:57:15
September 13 2017 05:49 GMT
#196
On September 13 2017 14:48 Acrofales wrote:
@fiwi: a mathematically elegant way of doing it is in the answer above yours.


Oh, I'm just too dumb to understand it, I see.

edit: Oh nevermind, I get it. I read the problem and I got too excited about trying to solve it rather than properly reading the comments that followed.

A right answer is a right answer Shows the difference between how an engineer vs how a mathematician approaches a problem.
In life, the journey is more satisfying than the destination. || .::Entrepreneurship::. Living a few years of your life like most people won't, so that you can spend the rest of your life like most people can't || Mechanical Engineering & Economics Major
AbouSV
Profile Joined October 2014
Germany1278 Posts
September 13 2017 15:34 GMT
#197
On September 13 2017 14:49 FiWiFaKi wrote:
Show nested quote +
On September 13 2017 14:48 Acrofales wrote:
@fiwi: a mathematically elegant way of doing it is in the answer above yours.


Oh, I'm just too dumb to understand it, I see.

edit: Oh nevermind, I get it. I read the problem and I got too excited about trying to solve it rather than properly reading the comments that followed.

A right answer is a right answer Shows the difference between how an engineer vs how a mathematician approaches a problem.


i.e. Python vs Excel :p
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2017-09-13 17:04:48
September 13 2017 17:02 GMT
#198
Thank you all for your help!
On September 13 2017 08:47 raNazUra wrote:Consider the expected number of rolls required after you roll a 2, call it E[2]. We know that it'll take at least one more roll and then there will be two situations, based on whether you roll a 1,3-6 or a 2.

E[2] = 1 + 0*5/6 + E[2]*1/6
E[2] = 1.2

How did you figure out what E[2] is in this equation? I'm not sure how you got from "E[2] = 1 + 0*5/6 + E[2]*1/6" to "E[2] = 1.2".
raNazUra
Profile Joined December 2012
United States10 Posts
Last Edited: 2017-09-13 18:03:18
September 13 2017 18:00 GMT
#199
On September 14 2017 02:02 enigmaticcam wrote:
Thank you all for your help!
Show nested quote +
On September 13 2017 08:47 raNazUra wrote:Consider the expected number of rolls required after you roll a 2, call it E[2]. We know that it'll take at least one more roll and then there will be two situations, based on whether you roll a 1,3-6 or a 2.

E[2] = 1 + 0*5/6 + E[2]*1/6
E[2] = 1.2

How did you figure out what E[2] is in this equation? I'm not sure how you got from "E[2] = 1 + 0*5/6 + E[2]*1/6" to "E[2] = 1.2".


E[2] is, at the end of the day, some number. That means that I can treat it like I treat any other variable and do standard algebra to solve for it:

E[2] = 1 + 0*5/6 + E[2]*1/6
E[2] = 1 + E[2]/6 #Clean up
E[2]*5/6 = 1 #subtract E[2]/6 from each side
E[2] = 1.2 #multiply by 6/5

Probably would have been more clear had I not switched from fractions to decimals halfway through.
Speak the truth, even if your voice shakes
raNazUra
Profile Joined December 2012
United States10 Posts
Last Edited: 2017-09-13 18:02:41
September 13 2017 18:02 GMT
#200
Double post
Speak the truth, even if your voice shakes
Prev 1 8 9 10 11 12 32 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 8h 30m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech146
UpATreeSC 27
StarCraft: Brood War
Calm 5258
Bisu 2494
Soulkey 1590
Jaedong 689
EffOrt 534
Mini 496
Horang2 422
Larva 308
actioN 271
ggaemo 243
[ Show more ]
ZerO 238
Yoon 139
Dewaltoss 97
Mind 92
sorry 85
hero 74
Sharp 72
Shinee 63
Snow 63
Pusan 58
Barracks 55
Hyun 43
Bale 33
ToSsGirL 26
Trap 22
Terrorterran 18
Rock 16
scan(afreeca) 15
NaDa 13
Sacsri 12
Noble 8
zelot 8
ajuk12(nOOB) 7
Dota 2
Gorgc5555
qojqva2595
Dendi1250
420jenkins229
League of Legends
Reynor7
Counter-Strike
fl0m2724
Fnx 720
x6flipin523
edward2
Other Games
Liquid`RaSZi944
hiko939
B2W.Neo474
crisheroes295
DeMusliM251
XBOCT237
Liquid`VortiX201
Livibee193
QueenE94
Mew2King43
ZerO(Twitch)19
Organizations
Dota 2
PGL Dota 2 - Main Stream29
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 75
• mYiSmile137
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• HerbMon 40
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV652
League of Legends
• Nemesis3272
• TFBlade546
• Noizen93
Other Games
• Shiphtur381
Upcoming Events
PiGosaur Cup
8h 30m
Patches Events
1d
The PondCast
1d 18h
INu's Battles
1d 19h
Percival vs TBD
Zoun vs herO
OSC
2 days
Replay Cast
2 days
OSC
3 days
BSL: Ladder Tournament
4 days
Sparkling Tuna Cup
4 days
Patches Events
4 days
[ Show More ]
BSL Open Qualifier
5 days
BSL Open Qualifier
5 days
WardiTV Weekly
6 days
Liquipedia Results

Completed

CSL 2026 AUTUMN (S22)
Blizzard Classic Cup 2026
Copium Cup

Ongoing

ASL Season 22
Super Anchor Qualifying S3
Acropolis #5
Acropolis #5 - GSB
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual

Upcoming

Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
HCC Season 3
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
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.