• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:48
CEST 15:48
KST 22:48
  • 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
Power Rank - Esports World Cup 202568RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16
Community News
Google Play ASL (Season 20) Announced7BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8
StarCraft 2
General
What tournaments are world championships? Server Blocker #1: Maru - Greatest Players of All Time THE BEST CRYPTOCURRENCY RECOVERY EXPERTS/GOTO WIZA Power Rank - Esports World Cup 2025
Tourneys
Esports World Cup 2025 FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Sea Duckling Open (Global, Bronze-Diamond)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava
Brood War
General
Google Play ASL (Season 20) Announced Simple editing of Brood War save files? (.mlx) BGH Auto Balance -> http://bghmmr.eu/ Ginuda's JaeDong Interview Series [Update] ShieldBattery: 2025 Redesign
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
[G] Mineral Boosting Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever Nintendo Switch Thread [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Post Pic of your Favorite Food!
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[\m/] Heavy Metal Thread Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Eight Anniversary as a TL…
Mizenhauer
Customize Sidebar...

Website Feedback

Closed Threads



Active: 613 users

The Math Thread - Page 27

Forum Index > General Forum
Post a Reply
Prev 1 25 26 27 28 29 32 Next All
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
April 16 2019 21:13 GMT
#521
oh yeah im dumb its just k-->2^k, right?
Melliflue
Profile Joined October 2012
United Kingdom1389 Posts
April 17 2019 06:36 GMT
#522
On April 17 2019 06:13 travis wrote:
oh yeah im dumb its just k-->2^k, right?

Yep. 2^j x 2^k = 2 ^(j+k) so it is a group homomorphism.

Btw, if a map f between groups satisfies f(gh)=f(g)f(h) for all g,h then it must map the identity to the identity since f(1)f(g)=f(1g)=f(g).
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
April 17 2019 12:41 GMT
#523
ok cool

I have another question, to compute 101^(4,800,000,023) (mod 35) by hand


I honestly can't figure out how to do this one. I had a feeling, so I checked 101^10 mod 35 and saw that it is 1. So I can do 101^23 mod 35 to get my answer. I can just do that by using powers of two.


But... I only know that 101^10 mod 35 is 1 because I checked with wolfram alpha (I had a suspicion).
By hand, it's not like I would just be checking every power.. Icouldn't.

So how am I supposed to do this one?
mahrgell
Profile Blog Joined December 2009
Germany3943 Posts
April 17 2019 14:24 GMT
#524
On April 17 2019 21:41 travis wrote:
ok cool

I have another question, to compute 101^(4,800,000,023) (mod 35) by hand


I honestly can't figure out how to do this one. I had a feeling, so I checked 101^10 mod 35 and saw that it is 1. So I can do 101^23 mod 35 to get my answer. I can just do that by using powers of two.


But... I only know that 101^10 mod 35 is 1 because I checked with wolfram alpha (I had a suspicion).
By hand, it's not like I would just be checking every power.. Icouldn't.

So how am I supposed to do this one?

ab mod n = (a mod n) (b mod n) mod n
a^b mod n = ((a mod n) ^ b) mod n
a^(b+c) = (a^b)(a^c)
a^(bc) = (a^b)^c

Those rules are enough to do it in only few steps.
Simberto
Profile Blog Joined July 2010
Germany11507 Posts
April 17 2019 14:47 GMT
#525
Basic idea would be to first calculate 101 mod 35, because there is no reason to ever have a number above 34 if you are calculating mod 35 anyways.

This is 31 or -4

Then you just calculate the first few powers of 31 that a bit to see when it ends up at 1. You will at most ever need the modulo number in steps due to stuff that you should have proven in group theory at some point.

You can then simply remove any multiples of this number from the exponent without problems, as they are 1s.

Solution:

+ Show Spoiler +


^1 : -4
^2 : 16
^3 : -64 = -29 = 6
^4 : -24 = 11
^5 : -44 = -9
^6 : 36=1

(I might have calculated something incorrectly here, because that means that 101^10 is not 1 (mod 35)
You can then simply remove any multiples of this number from the exponent without problems.

So in your case, you can remove 4800000018 from the exponent, because that is dividable by 6

Meaning your result is 31^5 mod 35, which we already know is -9 = 26 due to the calculations we did above.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
April 17 2019 15:31 GMT
#526
Here is a c# function that can do it:

// Calculate x^y % z
public static ulong Exp(ulong num, ulong exponent, ulong mod) {
if (exponent == 0) {
return 1;
} else if (exponent == 1) {
return num % mod;
} else if (exponent % 2 == 0) {
return Exp((num * num) % mod, exponent / 2, mod);
} else {
return (num * Exp((num * num) % mod, (exponent - 1) / 2, mod)) % mod;
}
}
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2019-04-17 17:13:07
April 17 2019 16:57 GMT
#527
On April 17 2019 23:47 Simberto wrote:
Basic idea would be to first calculate 101 mod 35, because there is no reason to ever have a number above 34 if you are calculating mod 35 anyways.

This is 31 or -4

Then you just calculate the first few powers of 31 that a bit to see when it ends up at 1. You will at most ever need the modulo number in steps due to stuff that you should have proven in group theory at some point.

You can then simply remove any multiples of this number from the exponent without problems, as they are 1s.

Solution:

+ Show Spoiler +


^1 : -4
^2 : 16
^3 : -64 = -29 = 6
^4 : -24 = 11
^5 : -44 = -9
^6 : 36=1

(I might have calculated something incorrectly here, because that means that 101^10 is not 1 (mod 35)
You can then simply remove any multiples of this number from the exponent without problems.

So in your case, you can remove 4800000018 from the exponent, because that is dividable by 6

Meaning your result is 31^5 mod 35, which we already know is -9 = 26 due to the calculations we did above.


err yeah sorry, it was 101^10 mod 35 was 11 not 1

your solution is probably exactly right, ill verify it

and I think I could see that to reach the identity we would need to raise to a power of a number that divides 24 right?
using euler's theorem, we can take 35 = 7*5 = order of (7-1)*(5-1) = 24

I think this is correct application?


EDIT: after going through your solution I see what you did, you used the -4 all the way through... that's really cool lol
Simberto
Profile Blog Joined July 2010
Germany11507 Posts
April 17 2019 17:19 GMT
#528
Yes, that sounds right. You need to verify that 35 and 101 are coprime for this to work, which they are.

So you can also just remove any multiples of 24 from the exponent without even doing any work whatsoever. That still leaves the 23 as an exponent, which is equal to ^-1. So you just need to find the inverse of 31, if you want to go about it that way. But looking for inverses in modulo groups was pretty annoying and basically involved just testing all group members until you find one that works, if i recall correctly.
Mafe
Profile Joined February 2011
Germany5966 Posts
April 17 2019 20:06 GMT
#529
On April 18 2019 02:19 Simberto wrote:
+ Show Spoiler +
Yes, that sounds right. You need to verify that 35 and 101 are coprime for this to work, which they are.

So you can also just remove any multiples of 24 from the exponent without even doing any work whatsoever. That still leaves the 23 as an exponent, which is equal to ^-1. So you just need to find the inverse of 31, if you want to go about it that way.
But looking for inverses in modulo groups was pretty annoying and basically involved just testing all group members until you find one that works, if i recall correctly.

You can use the extended euclidean algorithm to do that.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
April 22 2019 20:59 GMT
#530
I was given a math question and I was hoping you guys could help me understand it.

It says, Suppose G is an abelian group and α : G --> G is defined by α(G) = G^2

a.) show that α is a homomorphism.
b.) identify ker α and α(G) in the case where: 1.)G = U(11) and 2.)G = U(15)


for part a I put α(a*b) = (ab)^2 = a^2b^2 = α(a)α(b)

correct?


and then for part B i don't even understand how to answer. Am I listing out the case for each member of G?



Simberto
Profile Blog Joined July 2010
Germany11507 Posts
Last Edited: 2019-04-22 21:31:58
April 22 2019 21:25 GMT
#531
a is correct.

In b, you need to understand what "ker(alpha)" and alpha(G) means. Those are not statements that talk about single elements of the group. the ker is everything that maps onto 1 via this homomorphism, and the image alpha(G) is everything that you can reach by starting with an element of G and using this homomorphism.

And yes, basically the easiest way to get this is to simply calculate alpha of each member of G, there are not that many in both groups anyways and alpha is not that hard to calculate. Figure out which go onto 1, and which of the members of G are actually something that can be reached via this homomorphism. Those are your two answers.

Edit Example:

1*1=1
===> 1€ker(alpha) and 1€alpha(G)
2*2=4
===> 2 not€ker(alpha) because it doesn't map onto 1 and 4€alpha(G) because 2 maps onto 4
(In both groups)
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
April 23 2019 00:00 GMT
#532
thanks, makes perfect sense

question for everyone: anyone around these parts have a good grasp of circumscription? (like in logic and reasoning, for an AI class).

I can't make heads or tails of it, we were given little resources with which to learn it and I find the notation in the homework to be incredibly confusing
brian
Profile Blog Joined August 2004
United States9618 Posts
April 24 2019 16:44 GMT
#533
i have a dumb question that i couldn’t google.

what are the odds that in two million coin flips, i have a result of 54% or greater in favor of heads? (and specifically not tails, though that would be a follow up question. what if i wanted 54% or greater in either direction, is it just twice the probability?)
Acrofales
Profile Joined August 2010
Spain17983 Posts
April 24 2019 16:54 GMT
#534
On April 25 2019 01:44 brian wrote:
i have a dumb question that i couldn’t google.

what are the odds that in two million coin flips, i have a result of 54% or greater in favor of heads? (and specifically not tails, though that would be a follow up question. what if i wanted 54% or greater in either direction, is it just twice the probability?)

Knock yourself out:

https://stattrek.com/online-calculator/binomial.aspx
brian
Profile Blog Joined August 2004
United States9618 Posts
Last Edited: 2019-04-24 17:11:02
April 24 2019 17:02 GMT
#535
On April 25 2019 01:54 Acrofales wrote:
Show nested quote +
On April 25 2019 01:44 brian wrote:
i have a dumb question that i couldn’t google.

what are the odds that in two million coin flips, i have a result of 54% or greater in favor of heads? (and specifically not tails, though that would be a follow up question. what if i wanted 54% or greater in either direction, is it just twice the probability?)

Knock yourself out:

https://stattrek.com/online-calculator/binomial.aspx


nice! but, it only goes to 100,000 trials , and i don’t understand how it would tell me the odds of getting 54% or better i guess. it’s been a decade since i’ve been into math.

oh i can see, i put in 54,000 success and take the probability of it being greater. sweet. halfway there.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2019-04-24 17:13:14
April 24 2019 17:12 GMT
#536
Question on something I've been struggling with. If I have a line with a slope of x, and this line reflects off a mirror with a slope of y, is it possible to calculate the slope of the reflected line using basic algebra without trig?
Melliflue
Profile Joined October 2012
United Kingdom1389 Posts
April 24 2019 17:31 GMT
#537
On April 25 2019 01:44 brian wrote:
i have a dumb question that i couldn’t google.

what are the odds that in two million coin flips, i have a result of 54% or greater in favor of heads? (and specifically not tails, though that would be a follow up question. what if i wanted 54% or greater in either direction, is it just twice the probability?)

For that many coin flips I think you can safely use a normal distribution because of the central limit theorem. Make a head 1 and a tail 0 so that the final number is how many heads you got.

But I think the answer will be so close to zero as to be negligible.

Btw, you are correct that it is twice the probability because in general P(A or B) = P(A) + P(B) - P(A and B) and if A is "54% or more heads" and B is "54% or more tails" then P(A and B)=0 because you cannot have both 54% or more of heads and tails. By symmetry P(A)=P(B).
Acrofales
Profile Joined August 2010
Spain17983 Posts
Last Edited: 2019-04-24 17:51:15
April 24 2019 17:45 GMT
#538
On April 25 2019 02:12 enigmaticcam wrote:
Question on something I've been struggling with. If I have a line with a slope of x, and this line reflects off a mirror with a slope of y, is it possible to calculate the slope of the reflected line using basic algebra without trig?


Yes. You can use an affine transformation matrix. Specifically, you can use the Householder transformation: https://en.wikipedia.org/wiki/Householder_transformation

E: just saw the wikipedia page for that is needlessly broad. Just use this: https://en.wikipedia.org/wiki/Transformation_matrix#Reflection
Ciaus_Dronu
Profile Joined June 2017
South Africa1848 Posts
April 24 2019 17:51 GMT
#539
On April 25 2019 02:12 enigmaticcam wrote:
Question on something I've been struggling with. If I have a line with a slope of x, and this line reflects off a mirror with a slope of y, is it possible to calculate the slope of the reflected line using basic algebra without trig?


It requires a bit of 2D geometry, but yes.

This stack exchange post, the second answer in particular, explains how:
Stackexchangeislove

Remember that the 'normal vector' to the 'mirror line' has slope -(1/y).
Simberto
Profile Blog Joined July 2010
Germany11507 Posts
April 24 2019 18:00 GMT
#540
Angles are easy and can be done with simple maths. Slopes you will probably need trig, as you need the tangens to convert the angles into slopes.
Prev 1 25 26 27 28 29 32 Next All
Please log in or register to reply.
Live Events Refresh
CranKy Ducklings
10:00
Master Swan Open #94
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .278
BRAT_OK 75
ProTech65
MindelVK 33
StarCraft: Brood War
Britney 56910
Horang2 3257
Shuttle 2689
Bisu 2549
Barracks 1697
Flash 1632
Jaedong 1471
EffOrt 905
BeSt 729
firebathero 410
[ Show more ]
Larva 327
Soma 264
ToSsGirL 248
sorry 144
Last 126
Soulkey 119
Light 110
Hyun 91
Rush 89
ZerO 57
sas.Sziky 51
Shinee 50
JYJ49
Aegong 46
JulyZerg 42
sSak 21
scan(afreeca) 19
zelot 17
Terrorterran 11
IntoTheRainbow 8
Dota 2
Gorgc5249
qojqva2360
XaKoH 492
XcaliburYe421
420jenkins155
LuMiX1
Counter-Strike
fl0m2567
sgares221
Heroes of the Storm
Khaldor253
Other Games
singsing2177
B2W.Neo1990
Beastyqt1280
crisheroes372
Fuzer 251
ZerO(Twitch)16
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH353
• Adnapsc2 27
• Dystopia_ 4
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2932
League of Legends
• Nemesis1625
Upcoming Events
BSL20 Non-Korean Champi…
13m
CSO Cup
2h 13m
BSL20 Non-Korean Champi…
4h 13m
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
19h 13m
BSL20 Non-Korean Champi…
1d
BSL20 Non-Korean Champi…
1d 4h
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Sparkling Tuna Cup
2 days
Online Event
3 days
uThermal 2v2 Circuit
4 days
The PondCast
4 days
[ Show More ]
Replay Cast
5 days
Korean StarCraft League
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

CSL Xiamen Invitational
Esports World Cup 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
BSL Team Wars
CSLPRO Last Chance 2025
CC Div. A S7
Underdog Cup #2
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

ASL Season 20: Qualifier #1
ASL Season 20: Qualifier #2
ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
HCC Europe
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
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.