• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:48
CEST 23:48
KST 06:48
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
[BSL20] Non-Korean Championship 4x BSL + 4x China1Flash Announces Hiatus From ASL63Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event22Esports World Cup 2025 - Final Player Roster16
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
SC uni coach streams logging into betting site Player “Jedi” cheat on CSL Flash Announces Hiatus From ASL BW General Discussion Practice Partners (Official)
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational The Casual Games of the Week Thread [BSL20] Grand Finals - Sunday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
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 Summer Games Done Quick 2025! Trading/Investing Thread Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 606 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
Calgary25979 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 States4838 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
Calgary25979 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
BSL: ProLeague
18:00
Grand Finals - bo9
Dewalt vs Bonyth
ZZZero.O625
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Livibee 95
ProTech84
StarCraft: Brood War
ZZZero.O 625
Terrorterran 26
League of Legends
Grubby4771
Dendi1544
Counter-Strike
fl0m1720
Super Smash Bros
Mew2King218
Chillindude101
Westballz51
Heroes of the Storm
Khaldor832
Liquid`Hasu679
Other Games
summit1g5289
FrodaN2965
tarik_tv1849
mouzStarbuck321
Pyrionflax211
ViBE111
elazer105
Organizations
Other Games
gamesdonequick44472
EGCTV1256
BasetradeTV46
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• musti20045 66
• Adnapsc2 22
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• 3DClanTV 78
• blackmanpl 10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler149
League of Legends
• masondota2840
Other Games
• imaqtpie2366
• Shiphtur371
Upcoming Events
Wardi Open
13h 12m
Replay Cast
1d 2h
Sparkling Tuna Cup
1d 12h
WardiTV European League
1d 18h
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
2 days
The PondCast
2 days
WardiTV European League
2 days
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
Replay Cast
3 days
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
4 days
[ Show More ]
RSL Revival
4 days
Classic vs Cure
FEL
4 days
RSL Revival
5 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
FISSURE Playground #1
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.