• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:37
CEST 12:37
KST 19:37
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence2Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups1WardiTV TL Team Map Contest #5 Tournaments0SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
Weekly Cups (Sept 8-14): herO & MaxPax split cups {༒.$oporte.$> Client༒ airfrance argentina telefono SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series WardiTV TL Team Map Contest #5 Tournaments Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Cómo comunicarte fácil con Copa airlines guatemala ASL20 General Discussion Playing StarCraft as 2 people on the same network [ASL20] Ro16 Preview Pt2: Turbulence Pros React To: SoulKey's 5-Peat Challenge
Tourneys
[ASL20] Ro16 Group C [ASL20] Ro16 Group B [IPSL] ISPL Season 1 Winter Qualis and Info! Is there English video for group selection for ASL
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Nintendo Switch Thread Path of Exile General RTS Discussion Thread
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread ¿Como telefono American airlines santo domingo? Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1508 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
Afreeca Starleague
10:00
Ro16 Group C
Snow vs Sharp
Jaedong vs Mini
Afreeca ASL 13091
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech82
Rex 9
StarCraft: Brood War
Calm 9220
Bisu 4606
Rain 3865
Flash 3269
Sea 1940
BeSt 1225
EffOrt 653
Hyun 574
actioN 519
Stork 336
[ Show more ]
Zeus 280
Hyuk 220
firebathero 203
Nal_rA 188
Soulkey 130
ggaemo 110
Mind 91
Rush 75
Dewaltoss 69
Mong 62
Liquid`Ret 61
Aegong 58
ZerO 57
JYJ52
PianO 49
Movie 36
yabsab 24
sSak 22
Noble 17
Bale 13
SilentControl 11
Terrorterran 10
Sacsri 8
Hm[arnc] 6
Dota 2
BananaSlamJamma265
singsing62
League of Legends
JimRising 422
Counter-Strike
olofmeister1264
shoxiejesuss428
x6flipin347
Other Games
Happy300
crisheroes275
XaKoH 185
NeuroSwarm48
Mew2King44
Organizations
StarCraft: Brood War
UltimateBattle 334
lovetv 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• LUISG 51
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
Wardi Open
23m
Monday Night Weeklies
5h 23m
OSC
13h 23m
Sparkling Tuna Cup
23h 23m
Afreeca Starleague
23h 23m
Light vs Speed
Larva vs Soma
PiGosaur Monday
1d 13h
LiuLi Cup
2 days
RSL Revival
2 days
Maru vs Reynor
Cure vs TriGGeR
The PondCast
3 days
RSL Revival
3 days
Zoun vs Classic
[ Show More ]
Korean StarCraft League
4 days
RSL Revival
4 days
[BSL 2025] Weekly
5 days
BSL Team Wars
5 days
RSL Revival
5 days
Online Event
6 days
Liquipedia Results

Completed

BSL 20 Team Wars
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Constellation Cup
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries 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.