• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:26
CEST 12:26
KST 19:26
  • 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: Voting6[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
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)76Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
Revisiting the game after10 years and wow it's bad 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting The New Patch Killed Mech! Ladder Impersonation (only maybe)
Tourneys
LiuLi Cup - September 2025 Tournaments SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Tenacious Turtle Tussle
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BW caster Sayle Map with fog of war removed for one player? BW General Discussion Pros React To: BarrackS + FlaSh Coaching vs SnOw After 20 seasons we have a lot of great maps
Tourneys
[ASL20] Semifinal A [ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues
Strategy
Relatively freeroll strategies Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective
Other Games
General Games
Dawn of War IV Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Path of Exile
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
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread 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
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1127 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
Calgary25986 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
Calgary25986 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
The PondCast
10:00
Episode 67
CranKy Ducklings20
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 124
StarCraft: Brood War
Calm 1538
Mind 781
BeSt 461
EffOrt 397
Soma 331
PianO 314
Flash 284
Stork 231
Killer 179
Mini 139
[ Show more ]
Light 86
Hyun 80
Shinee 77
Last 68
ZerO 53
ggaemo 53
Aegong 49
zelot 48
Soulkey 42
Sharp 38
Rush 36
Pusan 32
IntoTheRainbow 12
Hm[arnc] 8
SilentControl 7
Shine 4
Zeus 1
Sea 0
Dota 2
XcaliburYe786
BananaSlamJamma543
XaKoH 410
League of Legends
JimRising 513
Reynor83
Counter-Strike
olofmeister2983
shoxiejesuss481
x6flipin194
byalli128
Other Games
summit1g6291
singsing1537
ceh9585
crisheroes197
DeMusliM109
Mew2King68
Fuzer 25
rGuardiaN22
ZerO(Twitch)10
Organizations
Counter-Strike
PGL14974
Other Games
gamesdonequick769
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• LUISG 34
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1844
• Lourlo337
Upcoming Events
OSC
1h 34m
Wardi Open
1d
CranKy Ducklings
1d 23h
Safe House 2
2 days
Sparkling Tuna Cup
2 days
Safe House 2
3 days
Tenacious Turtle Tussle
6 days
The PondCast
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
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
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
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.