• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:31
CET 23:31
KST 07:31
  • 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] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down23ISSL (IntoTheTV x SOOP SC2 League): Premier7Weekly Cups (October 12-18): 5.0.17 era begins1
StarCraft 2
General
No more SC2 streamers on team liquid? Username Change Request - Toxickej Kapr [D] Hacker peak in sc2 ? Liquibets sc2 season 30 Evil Geniuses - shutting down
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays ISSL (IntoTheTV x SOOP SC2 League): Premier Stellar Fest TWO the Moon (Dec 16-20) RSL goes to London! 2026 Offline Finals Nov 21-22
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
Starcraft 2 Advance [D] the control group Simple Questions/Answers [G] How to playtest arcade maps
External Content
Mutation # 550 Graveyard Shift The PondCast: SC2 News & Results Mutation # 549 Endless Sparkles Mutation # 548 Shining Bright
Brood War
General
SC4ALL II Brood War Complete Invited Player Lineup Rollback Netcode in Brood War BGH Auto Balance -> http://bghmmr.eu/ Sagi.gg Launcher Released Top Players of October 2026 (EBPD Rankings)
Tourneys
[Megathread] Daily Proleagues KCM Race Survival 2026 Season 4 [Mixed-Gender CK] Rush+4 vs Best+4 [BSL23] RO24 Group F - Sunday 21:00 CET
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Deus Ex 3!? Mobile Legends: Bang Bang Armies of Exigo - YesYes?
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
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 Things Aren’t Peaceful in Palestine The Chess Thread
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 23834 users

math help :(

Blogs > Mr.Maestro
Post a Reply
Mr.Maestro
Profile Blog Joined September 2009
42 Posts
October 25 2009 05:34 GMT
#1
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance




PokePill
Profile Blog Joined March 2009
United States1048 Posts
October 25 2009 05:36 GMT
#2
On October 25 2009 14:34 Mr.Maestro wrote:
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance



plz red the forum rules, ill let u off with ust a warning dont let it happen again
BluzMan
Profile Blog Joined April 2006
Russian Federation4235 Posts
October 25 2009 05:38 GMT
#3
On October 25 2009 14:36 PokePill wrote:
Show nested quote +
On October 25 2009 14:34 Mr.Maestro wrote:
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance



plz red the forum rules, ill let u off with ust a warning dont let it happen again

Please read the forum rules, I'll let you off with just a warning for now, but don't let it happen again/
You want 20 good men, but you need a bad pussy.
illu
Profile Blog Joined December 2008
Canada2531 Posts
Last Edited: 2009-10-25 05:41:44
October 25 2009 05:41 GMT
#4
Write a and b in unique factorization, and the proof is obvious. Basically you cannot get new factors by squaring.
:]
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
October 25 2009 05:44 GMT
#5
On October 25 2009 14:36 PokePill wrote:
Show nested quote +
On October 25 2009 14:34 Mr.Maestro wrote:
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance



plz red the forum rules, ill let u off with ust a warning dont let it happen again


He didn't ask us to do his homework. He was just asking for help. At least he is actually trying to do it. Another thing, you're not staff.
Life?
Mr.Maestro
Profile Blog Joined September 2009
42 Posts
October 25 2009 05:47 GMT
#6
On October 25 2009 14:36 PokePill wrote:
Show nested quote +
On October 25 2009 14:34 Mr.Maestro wrote:
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance



plz red the forum rules, ill let u off with ust a warning dont let it happen again



How am i violating the forum rules? I posted a homework question and i made a sincere effort of my own to attempt to solve it. I'm just asking for some clarification on how I should carry out a step in my solution. How is that wrong?
DivinO
Profile Blog Joined July 2009
United States4796 Posts
October 25 2009 06:02 GMT
#7
On October 25 2009 14:47 Mr.Maestro wrote:
Show nested quote +
On October 25 2009 14:36 PokePill wrote:
On October 25 2009 14:34 Mr.Maestro wrote:
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance



plz red the forum rules, ill let u off with ust a warning dont let it happen again



How am i violating the forum rules? I posted a homework question and i made a sincere effort of my own to attempt to solve it. I'm just asking for some clarification on how I should carry out a step in my solution. How is that wrong?


You aren't. Don't worry. PokePill is not an admin here.

What is the definition of a|b? Which math is this? I may be able to help you if I know which math this is, haha.
LiquipediaBrain in my filth.
Omni
Profile Joined May 2009
United States72 Posts
October 25 2009 06:05 GMT
#8
As illu said, all you gotta do is write the unique factorizations of a and b, and notice that squaring doesn't add different prime factors.
BisuDagger
Profile Blog Joined October 2009
Bisutopia19399 Posts
October 25 2009 06:05 GMT
#9
Take the 3rd derivative.
ModeratorFormer Afreeca Starleague Caster: http://afreeca.tv/ASL2ENG2
calvinL
Profile Joined October 2007
Canada416 Posts
October 25 2009 06:07 GMT
#10
its algebra, a divides b

sorry though, don't really remember it too much right now
KonekoTyriin
Profile Joined March 2008
United States60 Posts
October 25 2009 06:24 GMT
#11
One approach is to divide by a^2 and take the square root. Then sqrt(m) = b/a, b and a both integers.

What do you know about the relationship between square roots and rational numbers?
...though, perhaps this hasn't come up in your class yet. Sorry if that's the case.
THIS COURAGE OF MINE BURNS WITH AN AWESOME COURAGE
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
October 25 2009 06:25 GMT
#12
prime factorizationnnnnnnnnnnnnnnnnn
Whenever I encounter some little hitch, or some of my orbs get out of orbit, nothing pleases me so much as to make the crooked straight and crush down uneven places. www.day9.tv
Kentor *
Profile Blog Joined December 2007
United States5784 Posts
October 25 2009 06:28 GMT
#13
On October 25 2009 15:25 Day[9] wrote:
prime factorizationnnnnnnnnnnnnnnnnn

math gosu
igotmyown
Profile Blog Joined April 2009
United States4291 Posts
Last Edited: 2009-10-25 06:54:01
October 25 2009 06:29 GMT
#14
How directly can you use prime factorization?

The minimal solution I could find was for primes p
Use p|bc => p|b or p|c if you can (except I can't prove this without directly applying prime factorization...)
Consider minimal elements p[i] s.t. p[i] | a, but ! p[i] | b and there is no p[j] s.t. p[j] | p[i] (use well-ordered principle, basically establishing prime divisors)
p[i]^2 | b*b => p[i] | b*b => p[i] | b, contradiction.

Maybe there's a horrible way to do this by applying WOP to avoid prime factorization.
monkxly
Profile Blog Joined January 2009
Canada241 Posts
October 25 2009 07:00 GMT
#15
as above but in more colloquial terms:

assume a^2 | b^2, suppose a does not divide b, (a|/b). a^2 = b * b * m for some integer m. Therefore a^2 | b => a*a | b. Therefore using prime factorization, either a divides b or a divides b. contradiction since we assumed a|/ b. therefore a^2 | b^2 = > a|b
get a spire
igotmyown
Profile Blog Joined April 2009
United States4291 Posts
October 25 2009 07:45 GMT
#16
Recheck your notation and your argument...

evanthebouncy!
Profile Blog Joined June 2006
United States12816 Posts
Last Edited: 2009-10-25 08:46:31
October 25 2009 08:38 GMT
#17
On October 25 2009 14:34 Mr.Maestro wrote:
Show that for all positive integers a and b, we have a|b if and only if a^2|b^2:

Proof:
(1) a|b => a^2|b^2
since a|b, there exists integer k such that
b = a*k, squaring both sides:
b^2 = a^2 * k^2 , since k^2 is an integer, therefore a^2|b^2.

(2) a^2|b^2 => a|b
since a^2|b^2, there exists integer m such that
b^2 = a^2 * m ....

This is where I'm stuck, i have to show a^2|b^2 implies a|b. From the equation above, i can square root both sides, but "m" doesn't necessarily yield an integer value... does anyone have any suggestion on how i should tackle this step?

thanks in advance




Let's try contrapositive

a^2 | b^2 => a | b
is the same as
a not | b => a^2 not | b^2

if a does not divide b, we can apply the division algorithm, saying b = quotient * divisor + remainder,
or
b = p*a + r where p can be anything and r =/= 0, r < a (1)

then b^2 = p^2 * a ^2 + 2 * p*a * r + r^2 = stuff*a + r^2
if a^2 divides b^2, then r^2 = 0, which it cannot, or r^2 = a*a*shit
r^2 = a*shit = a*a*shit_1*shit_1
then r = a*shit_1
which causes a contradiction since (1) states r<a

haha fuck the argument doesn't work lolol
i thought i was being slick by doing (a*p + r)^2 hahaha
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
evanthebouncy!
Profile Blog Joined June 2006
United States12816 Posts
October 25 2009 08:45 GMT
#18
But contradiction is still the way to go.

a does not divide b, that means if we factor both a and b, we will get
a = p1*p2*...*ps
b = q1*q2*...*qt

if a does not divide b, that means {p1,...,ps} is not contained in {q1,...,qt}
(in the case a>b it's pretty simple, a^2>b^2 then clearly it doesn't divide as well)
in particular, there is a pi that is a factor of a that's not a factor of b

then a^2 = p1^2 * ... * pn^2
and b^2 = q1^2 * ... * qn^2

and we see that pi is still in a^2 and pi is not a factor of b^2
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
BrTarolg
Profile Blog Joined June 2009
United Kingdom3579 Posts
Last Edited: 2009-10-25 10:09:05
October 25 2009 10:02 GMT
#19
I assume this isnt a cyclic group of integers?

Either way if A doesnt divide B then A != B*m => A^2 != B^2m^2 And we have resulted in a contradiction since the question states that A^2 = B^2*N where n = M^2

Gotta be careful with logic here, since we have just disproved that A !=B*m (the implication of the first part is false) and this is equivelant to A divides B, and then there is an axiom you can use (i think it is the fundamental theorem of number theory) that allows you to show the only other case is A = B*m
Please log in or register to reply.
Live Events Refresh
Next event in 29m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 107
mouzStarbuck 68
EmSc Tv 13
EnDerr 6
Dota 2
syndereN322
monkeys_forever166
League of Legends
Doublelift3498
JimRising 358
Counter-Strike
pashabiceps1475
Fnx 1261
zeus209
jkaem82
Other Games
summit1g6982
tarik_tv4660
Grubby2826
Coldzera 829
FrodaN817
singsing806
shahzam302
PiGStarcraft231
Pyrionflax182
XaKoH 168
byalli158
Liquid`Hasu154
C9.Mang0150
NeuroSwarm66
Fuzer 49
ViBE44
Mew2King36
Railgan19
gofns1
Organizations
Other Games
BasetradeTV119
Counter-Strike
PGL113
StarCraft 2
EmSc Tv 13
EmSc2Tv 13
StarCraft: Brood War
lovetv 11
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 71
• davetesta12
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Laughngamez YouTube
• Migwel
StarCraft: Brood War
• HerbMon 7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV469
League of Legends
• Nemesis2972
• Jankos2956
Other Games
• imaqtpie751
• Shiphtur234
Upcoming Events
OSC
29m
IntoTheTV X SOOP
1d 12h
Reynor vs Solar
ByuN vs SHIN
Clem vs MaxPax
herO vs Rogue
IPSL
1d 18h
WorsT vs nOmaD
Dewalt vs andersOn
AI Arena Tournament
1d 20h
IntoTheTV X SOOP
2 days
IPSL
2 days
Azhi_Dahaki vs ggnore13
Double vs WIZARD
Replay Cast
3 days
Replay Cast
4 days
Sparkling Tuna Cup
4 days
WardiTV Invitational
4 days
YoungYakov vs Lambo
SHIN vs TBD
Percival vs Shameless
Solar vs TBD
[ Show More ]
PiGosaur Cup
5 days
The PondCast
6 days
KCM Race Survival
6 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Proleague 2026-11-04
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
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

Upcoming

Sector 951
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
Underdog Cup 2026 Div 2-3
PGL Bucharest 2027
BLAST Bounty Winter 2027
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 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.