• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:50
CEST 14:50
KST 21:50
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris32Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Greatest Players of All Time: 2025 Update #1: Maru - Greatest Players of All Time A Eulogy for the Six Pool Geoff 'iNcontroL' Robinson has passed away #2: Serral - Greatest Players of All Time
Tourneys
Esports World Cup 2025 Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
Post ASL20 Ro24 discussion. No Rain in ASL20? BSL Polish World Championship 2025 20-21 September BGH Auto Balance -> http://bghmmr.eu/ ASL Season 20 Ro24 Groups
Tourneys
[ASL20] Ro24 Group F [Megathread] Daily Proleagues [ASL20] Ro24 Group E [IPSL] CSLAN Review and CSLPRO Reimagined!
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV 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 Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2623 users

Math problem, please help :(

Blogs > stafu
Post a Reply
1 2 3 Next All
stafu
Profile Blog Joined January 2009
Australia1196 Posts
Last Edited: 2010-07-09 11:36:21
April 20 2010 20:45 GMT
#1


**
DeathByMonkeys
Profile Blog Joined March 2008
United States742 Posts
April 20 2010 20:49 GMT
#2
AB is perpendicular to CH, I suggest you use projections.
Tex
Profile Blog Joined January 2010
United States126 Posts
April 20 2010 20:55 GMT
#3
Doooooot Proooooodd.

Proooojections.

By the looks of it, yeah, H is the projection of C onto the plane that is shared by A, B, and H.
Impossible is a word that people use so they don't feel bad when they quit.
DeathByMonkeys
Profile Blog Joined March 2008
United States742 Posts
Last Edited: 2010-04-20 21:17:22
April 20 2010 20:57 GMT
#4
Ok, I was pretty vague and useless last time, let me elaborate a bit...

So you know the points of A, B, C, therefore you can find the distance from B to C using the distance formula sqrt( (x2 - x1)^2 + (y2 - y1)^2 + (z2 - z1)^2 ) where x2, x1, y2, ect turn out to just be whatever the variables you choose for the points B and C such as (Bx, By, Bz) and (Cx, Cy, Cz).

Then you use the same method for finding the distance from A to B.


From there you have everything you need, and can simply use the Scalar Projection formula:

comp of BC onto AB = ((A vector) (dot product) (B vector)) / (magnitude of A vector)
stafu
Profile Blog Joined January 2009
Australia1196 Posts
April 20 2010 20:58 GMT
#5
So how would I solve for H? By the way, thanks for the replies/help
Antimage
Profile Blog Joined March 2010
Canada1293 Posts
April 20 2010 20:58 GMT
#6
AB is perpendicular to CH. Use either dot product or cross product to solve for the perpendicular vector identity.

Excuse me for being vague, I'm an accounting student and haven't done real math for 3+ years =/
stafu
Profile Blog Joined January 2009
Australia1196 Posts
April 20 2010 20:59 GMT
#7
Thanks DeathByMonkeys, now to see if I can get my head around this hehe. Life saver.
MER
Profile Joined June 2008
Bulgaria125 Posts
Last Edited: 2010-04-20 21:00:55
April 20 2010 21:00 GMT
#8
The point H is the projection of C on the plane. But your plane is not defined because you have only 2 points on it. so you can't solve the problem. There are infinite planes that go through the points A and B.
Tex
Profile Blog Joined January 2010
United States126 Posts
April 20 2010 21:01 GMT
#9
I see right triangles and am wondering if that would simplify anything at all. Or not since its in 3d.
Impossible is a word that people use so they don't feel bad when they quit.
EtherealDeath
Profile Blog Joined July 2007
United States8366 Posts
April 20 2010 21:02 GMT
#10
I was about to say what the above said, but then, since 3 points are needed to determine the plane, the plane is in effect undetermined, therefore H may be wherever we wish it to be. Suppose H = C. Then this is distance 0. Of course this is not allowed by the problem. So then we choose H to be arbitrarily close to C, so that given any H = (x,y,z), we can find a closer H to C.

A most trivial case is where A = (0,0,0), B = (1,0,0), C = (0.5,1,1). There can be no explicit solution for H in terms of A,B,C since in this case there is no H closest to C, because we can arbitrarily change the angle between the xy axis and the plane to have the plane approach C.

Could be full of shit though, at first I thought it was a trivial projection problem :/ back to foods.
Chill
Profile Blog Joined January 2005
Calgary25981 Posts
April 20 2010 21:08 GMT
#11
Just using common sense I don't see any reason C can't be 0.00000000000000000000000001 units away from H. Seems like a retarded question.
Moderator
DeathByMonkeys
Profile Blog Joined March 2008
United States742 Posts
Last Edited: 2010-04-20 21:16:02
April 20 2010 21:13 GMT
#12
On April 21 2010 05:59 stafu wrote:
Thanks DeathByMonkeys, now to see if I can get my head around this hehe. Life saver.


Actually I messed up. You don't need to know the distance between AB and BC, just the vectors.

So disregard the distance formula part.

AB will simply be = (Bx - Ax, By - Ay, Bz - Az)
BC will simply be = (Cx - Bx, Cy - By, Cz - Bz)

Now you can use the projection formula I provided earlier where you project BC onto AB.

So...

comp of BC onto AB = ((AB vector) (dot product) (BC vector)) / (magnitude of AB vector)

This resultant scalar is the distance from B to H.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 20 2010 21:16 GMT
#13
On April 21 2010 06:08 Chill wrote:
Just using common sense I don't see any reason C can't be 0.00000000000000000000000001 units away from H. Seems like a retarded question.


The "Shortest distance to point C" statements implies that H and C are perpendicular. C can be epsilon units away from H but that doesn't mean anything.
]343[
Profile Blog Joined May 2008
United States10328 Posts
Last Edited: 2010-04-20 21:19:09
April 20 2010 21:17 GMT
#14
On April 21 2010 06:08 Chill wrote:
Just using common sense I don't see any reason C can't be 0.00000000000000000000000001 units away from H. Seems like a retarded question.


they're asking what the projection of C onto AB is, for general A, B, C

which is ... dot product

specifically, the length of (C-A) projected onto (B-A) is [(C-A) . (B-A)]

so we multiply this by unit vector in direction of (B-A) and then add A
Writer
EtherealDeath
Profile Blog Joined July 2007
United States8366 Posts
April 20 2010 21:20 GMT
#15
On April 21 2010 06:17 ]343[ wrote:
Show nested quote +
On April 21 2010 06:08 Chill wrote:
Just using common sense I don't see any reason C can't be 0.00000000000000000000000001 units away from H. Seems like a retarded question.


they're asking what the projection of C onto AB is, for general A, B, C

which is ... dot product

specifically, the length of (C-A) projected onto (B-A) is [(C-A) . (B-A)]

so we multiply this by unit vector in direction of (B-A) and then add A


That's not what they ask for. If you pick H along the projection of C onto AB, then A,B,C,H will be on the same plane, which they mentioned C is NOT on the same plane as A,B,H.
Severedevil
Profile Blog Joined April 2009
United States4839 Posts
Last Edited: 2010-04-20 21:30:04
April 20 2010 21:29 GMT
#16
The unknown point H is located at the shortest distance from Point C.


The shortest distance from point C to what?

If it's the shortest distance from point C to line AB, this is trivial as a lot of people have pointed out. Project C onto AB and you have H. (As has also been pointed out, all four points would be coplanar.)

If it's the shortest distance from point C to the plane containing AB, well... that's a problem, because the plane isn't specified in the problem.
My strategy is to fork people.
QuickStriker
Profile Blog Joined January 2009
United States3694 Posts
April 20 2010 21:31 GMT
#17
I can't help ya since I'm not experienced in this but I have to say, I am very impressed of the manpower and help TL always deliver. This is why I love TL, this is what TL truly is: giving and sharing. Another reason why I feel TL is the best community of the entire world!
www.twitch.tv/KoreanUsher
Chill
Profile Blog Joined January 2005
Calgary25981 Posts
April 20 2010 21:33 GMT
#18
On April 21 2010 06:17 ]343[ wrote:
Show nested quote +
On April 21 2010 06:08 Chill wrote:
Just using common sense I don't see any reason C can't be 0.00000000000000000000000001 units away from H. Seems like a retarded question.


they're asking what the projection of C onto AB is, for general A, B, C

which is ... dot product

specifically, the length of (C-A) projected onto (B-A) is [(C-A) . (B-A)]

so we multiply this by unit vector in direction of (B-A) and then add A

I guess I don't understand but I'd like to have it explained for my own sake.

ABH is a triangle (or line) in a plane. C is not in that plane but is the closest distance to H possible. To me, the closest distance possible is like right beside it but not in the other plane so it would be 0.00000000000000000_1 units perpendicular from the plane ABC lies in. I feel like there's a line missing or I'm misunderstanding the question entirely.
Moderator
Kentor *
Profile Blog Joined December 2007
United States5784 Posts
April 20 2010 21:36 GMT
#19
[image loading]
stafu
Profile Blog Joined January 2009
Australia1196 Posts
April 20 2010 21:37 GMT
#20
No, H is the closest distance on the place to C possible, not the other way around.
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
WardiTV Summer Champion…
11:00
Playoffs Day 3
Clem vs ClassicLIVE!
MaxPax vs TBD
WardiTV1129
TKL 272
IndyStarCraft 152
Rex133
IntoTheiNu 36
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 272
Harstem 252
Lowko218
IndyStarCraft 152
Rex 133
SC2_NightMare 20
StarCraft: Brood War
Britney 95037
Calm 5734
Sea 2490
Rain 1507
Horang2 1453
Jaedong 1305
Bisu 1209
Flash 927
EffOrt 674
firebathero 438
[ Show more ]
Larva 425
Stork 400
Mini 329
Aegong 283
BeSt 266
hero 202
Last 201
Zeus 197
ggaemo 151
Light 143
Snow 134
Nal_rA 108
Soma 108
Mind 100
Mong 84
NaDa 76
Hyuk 76
ZerO 71
Soulkey 69
Liquid`Ret 69
TY 65
Movie 49
Rush 49
JulyZerg 38
Sharp 37
Sea.KH 36
Sacsri 24
Icarus 23
Sexy 15
scan(afreeca) 14
Terrorterran 13
Noble 12
sas.Sziky 12
[sc1f]eonzerg 12
IntoTheRainbow 11
ajuk12(nOOB) 9
Bale 7
HiyA 5
ivOry 3
Dota 2
Dendi1321
Gorgc1146
XcaliburYe446
420jenkins272
XaKoH 158
Counter-Strike
olofmeister1631
x6flipin583
zeus390
byalli279
oskar206
markeloff81
edward31
Other Games
singsing2122
B2W.Neo1460
hiko484
crisheroes341
DeMusliM327
Fuzer 222
Hui .157
SortOf101
rGuardiaN30
ArmadaUGS8
ZerO(Twitch)8
Organizations
Other Games
Algost 2
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• iHatsuTV 9
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1215
• WagamamaTV554
League of Legends
• Jankos1554
Upcoming Events
Replay Cast
11h 10m
LiuLi Cup
22h 10m
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
1d 3h
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
1d 3h
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
1d 6h
Team Hawk vs Team Dewalt
BSL Team Wars
1d 6h
Team Hawk vs Team Bonyth
SC Evo League
1d 23h
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
2 days
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
2 days
SC Evo League
2 days
[ Show More ]
Maestros of the Game
3 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
3 days
Team Bonyth vs Team Sziky
BSL Team Wars
3 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
4 days
Replay Cast
4 days
Sparkling Tuna Cup
4 days
Replay Cast
6 days
The PondCast
6 days
RSL Revival
6 days
Maru vs SHIN
MaNa vs MaxPax
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
WardiTV Summer 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 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.