• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:25
CET 10:25
KST 18:25
  • 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: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Weekly Cups (Nov 3-9): Clem Conquers in Canada1SC: Evo Complete - Ranked Ladder OPEN ALPHA5StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7[BSL21] RO32 Group Stage4
StarCraft 2
General
SC: Evo Complete - Ranked Ladder OPEN ALPHA Weekly Cups (Nov 3-9): Clem Conquers in Canada Mech is the composition that needs teleportation t Craziest Micro Moments Of All Time? RotterdaM "Serral is the GOAT, and it's not close"
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions Where's CardinalAllin/Jukado the mapmaker?
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group A - Saturday 21:00 CET [BSL21] RO32 Group B - Sunday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Path of Exile Dawn of War IV
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 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
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1809 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
Calgary25988 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
Calgary25988 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
Next event in 2h 36m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 1730
Yoon 429
Zeus 291
Stork 211
Rush 103
Free 78
ToSsGirL 42
Shine 41
Sharp 32
Killer 26
[ Show more ]
Sexy 10
Terrorterran 7
Noble 5
Dota 2
XaKoH 376
League of Legends
JimRising 469
Counter-Strike
shoxiejesuss641
olofmeister630
allub278
Other Games
summit1g16703
ceh9534
Happy245
NeuroSwarm46
Organizations
Other Games
gamesdonequick582
BasetradeTV40
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH238
• LUISG 27
• Light_VIP 22
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt654
Other Games
• Scarra1292
Upcoming Events
WardiTV Korean Royale
2h 36m
OSC
7h 36m
Replay Cast
13h 36m
Replay Cast
23h 36m
Kung Fu Cup
1d 2h
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
1d 13h
The PondCast
2 days
RSL Revival
2 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
2 days
WardiTV Korean Royale
2 days
[ Show More ]
PiGosaur Monday
2 days
RSL Revival
3 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
3 days
CranKy Ducklings
4 days
RSL Revival
4 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
4 days
BSL 21
4 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
5 days
RSL Revival
5 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
BSL 21
5 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
IEM Chengdu 2025
PGL Masters Bucharest 2025
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

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals 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.