• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:42
CET 16:42
KST 00:42
  • 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
[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy5ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool36Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12Blizzard Classic Cup - Tastosis announced as captains18
StarCraft 2
General
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Potential Updates Coming to the SC2 CN Server Weekly Cups (March 2-8): ByuN overcomes PvT block Weekly Cups (August 25-31): Clem's Last Straw? Weekly Cups (March 9-15): herO, Clem, ByuN win
Tourneys
World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament WardiTV Team League Season 10 KSL Week 87
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 517 Distant Threat Mutation # 516 Specter of Death Mutation # 515 Together Forever
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ JaeDong's form before ASL [ASL21] Ro24 Preview Pt1: New Chaos ASL21 General Discussion Gypsy to Korea
Tourneys
[Megathread] Daily Proleagues [BSL22] Open Qualifiers & Ladder Tours Small VOD Thread 2.0 IPSL Spring 2026 is here!
Strategy
Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
YouTube Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [Manga] One Piece
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2268 users

Scouting vs. Random analysis

Forum Index > SC2 General
Post a Reply
Normal
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 01:19:12
April 20 2010 20:49 GMT
#1
Preamble:

As far as the search goes, there hasn't been a clear answer to this question: when do I scout against random?

I provide here a small analysis which, not necessarily says anything groundbreaking, but shows the implications in terms of mineral advantage when you scout.
Note: for these calculations we assume that the random player scouts after 10

Proof:
+ Show Spoiler +

Scenario: You send one of your first 6 SCVs to scout

Let us assume that for the first 10~ scvs, your mineral income per minute per scv can be represented as this:

g(n) = k*n

where k is an arbitrary value of the average income each scv makes per second. depending on the type of speed you play SC on, it is around 2/3.

Of course, as soon you add in more than 10 scvs, this function needs a piecewise-representation, as the return diminishes the more scvs you have. Furthermore, this function assumes there is a linear relationship of the amount of minerals recieved for the first 10 scvs, which does create a margin of error, but it is not that bad.

Thus, we say that:

[image loading]


Now, when you scout, you are effectively down by one scv, let us define the income of the opponent as

[image loading]


If we assume that both players continuously pump scvs for the first 10 supply, we can say that the number of SCVs with respect to time (in minutes) can be modelled by the function:

[image loading]


That is to say, number of SCVs for the first 100 seconds of the game can be calculated by floor(time / 20).
Because it takes 20 seconds to build an scv. I put a restriction of 100 seconds because in 100 seconds 5 scvs are produced, which brings our total count of SCVs to 11. However, one will be surely sent to build a structure by then, which fulfills our restriction of a maximum of 10 scvs mining the minerals at a time.

which we can substitute:

[image loading]


Now that we have the rate of income at time t of each player, we can integrate and find the total amount of money each player has gotten (from the new scvs), with respect to time

Thus now we can approximate the accumlated minerals gathered (by the new scvs) for the first 100 seconds can be modelled like this for each player.

[image loading]



We can find the advantage of Player 1's total minerals over Player 2's total minerals if player two starts off with 1 less scv (scout) by

[image loading]


If we plot this graph, we can see how big of an advantage, that your opponent has over you, if you sent one of your first 6 SCVs out right away. For these plots we will assume K = 4/6 minerals per second

+ Show Spoiler +
[image loading]


Thus if player two sends one of his initial six scvs to scout, by the 100 second mark, player one will have a 200/3 mineral advantage over player one.

This indeed makes sense, seeing as if the opponent has an extra scv over me for 100 seconds, and the scv gains an average of 4/6 minerals a second, he should have 4/6 * 100 minerals over me. This case is proven true.

But now we want to know, what happens if I send the 7th scv instead of the 6th? Or the 8th? Or the 9th?

Then we can model MY income by:

[image loading]


Where x is the time for which I sent my scouting SCV out. If it my 7th SCV, this is 20 seconds into the game. 8th SCV, 40 seconds in. Etc.

This makes sense because my income and my opponents income are exactly the same (note the f(x) part) up until i send my scout out (at time x). Then my mineral income diverges from my opponents, and I have the g(t) function which implies i have 1 less scv thereafter.

This creates the relationship of my total gathered minerals versus the total gathered minerals of my opponent. obviously, the later i send my scout out, the closer my mineral income is to his:

+ Show Spoiler +
[image loading]


Now for the real stuff; I want to know 100 seconds in, how much each of these options costs me, so I can draw some sort of application.

My opponents final income will always be the best case scenario, lets say f(100) in this case. I want to know how much greater his income will be over me depending on when I send my SCV scout out.

+ Show Spoiler +
[image loading]


There you have it; If i send one of my first 6 SCV scouts i will be at a defecit of 200/3 minerals by the 100 second mark. And so on...



Observations:
This creates the table:

[image loading]

From the 100 second point and onwards, my opponent suffers diminishing returns, and thus his advantage will slowly converge to zero.

Note: this is assuming your opponent does NOT send a scout until at least 11 scvs have been produced. (Which is usually the case when you play vs random)


personally, since im terran, scouting at 7 catches two bases before I decide whether or not i want to tech/mass/FE. At a loss of 40 minerals, doesnt seem like a bad idea.

More implications:

Question:
On April 21 2010 06:35 puckthecat wrote:
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.

Proof:

+ Show Spoiler +
Lets say we don't scout until after 10;

80 seconds in you have made 4 scvs, which brings you to a total of 10. You start with 50 minerals. 4 Scvs also cost 50 minerals each. By the time your 10th scv is out, you have gained f(80) minerals.

Thus, how much minerals you have when your 10th SCV comes out is:

f(80) + 50 - 50*4 = 350/3 = 117


This means, under optimal conditions, as soon as your 10th SCV pops out, you should have 117 minerals ready to spend on the first supply depot. I can spare 17 minerals without losing any efficiency.

So if i decide to scout at 6, when my 10th scv comes out, I will have this many minerals:

b(0,80) + 50 - 4*50 = 190/3 or 64 minerals.
Thus, I am behind by 36 minerals to making my supply depot.

Currently, I have 9 SCVs mining. If my rate of income is g(t) = [(2/3)*t]*9, and g(t) = 36, then t must be 6 seconds.

I will have to wait 6 extra seconds to make my supply depot if i scout on 6.

Similarily, we can continue this for every individual variable for which SCV scout was sent.


This creates the following table:

[image loading]
nedsat
Profile Joined April 2010
27 Posts
Last Edited: 2010-04-20 21:03:25
April 20 2010 21:02 GMT
#2
Good reading. You did a fine job sir.
I would have thought you would lose more scouting already at 7-8.
Sentient
Profile Joined April 2010
United States437 Posts
April 20 2010 21:14 GMT
#3
Thank you, this is very useful. I'm always hesitant to send an early scout, but it seems the cost isn't as much as I thought it was.
puckthecat
Profile Joined April 2010
United States18 Posts
April 20 2010 21:35 GMT
#4
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.
Clearout
Profile Blog Joined April 2010
Norway1060 Posts
April 20 2010 21:48 GMT
#5
Wow well done
really?
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 20 2010 21:49 GMT
#6
On April 21 2010 06:35 puckthecat wrote:
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.


Very keen observation
Lets say we don't scout until after 10;

80 seconds in you have made 4 scvs, which brings you to a total of 10. You start with 50 minerals. 4 Scvs also cost 50 minerals each. By the time your 10th scv is out, you have gained f(80) minerals.

Thus, how much minerals you have when your 10th SCV comes out is:

f(80) + 50 - 50*4 = 350/3 = 117


This means, under optimal conditions, as soon as your 10th SCV pops out, you should have 117 minerals ready to spend on the first supply depot. I can spare 17 minerals without losing any efficiency.

So if i decide to scout at 6, when my 10th scv comes out, I will have this many minerals:

b(0,80) + 50 - 4*50 = 190/3 or 64 minerals.
I am behind by 36 minerals to making my supply depot. Currently, I have 9 SCVs mining. If my rate of income is g(t) = 2/3*t/9, and g(t) = 36, then t must be 6 seconds.

I will have to wait 6 extra seconds to make my supply depot if i scout on 6.
Stopdroproll
Profile Joined March 2010
United States101 Posts
April 20 2010 22:13 GMT
#7
Very interesting, I've always wondered how early scouting can affect minerals mining.
But at what cost?
mOnion
Profile Blog Joined August 2009
United States5657 Posts
Last Edited: 2010-04-20 22:18:50
April 20 2010 22:16 GMT
#8
awwwww I LOVE all these math wizards who are figuring all this shit out!

great read! ^__^

this is actually more interesting for scouting against players who's race you know, because then you have more of an emphasis on your economy as you already know what race your opponent is

but for random players you wanna see what you're up against asap even if it means sacking some econ.
☆★☆ 7486!!! Join the Ban mOnion Anti-Trolling Initiative! - Caller | "on a scale of machine to 10, how bad is that Zerg?" - LZgamer | you are the new tl.net bonjwa monion, congrats - Rekrul | "Cheeseburgers dynamite lilacs" - Chill
DrSmoke
Profile Joined April 2010
United States175 Posts
April 20 2010 22:18 GMT
#9
Wow holy math batman!

"The more you know..."
Osmoses
Profile Blog Joined October 2008
Sweden5302 Posts
April 20 2010 22:19 GMT
#10
Just thought I'd drop in and let you know the thread title reads "Scouting vs. Random anal" in the menu bar. Other then that, I think this information is pretty interesting, I've often found myself scewing up my builds because I forgot what race I was playing against and had to early scout.

Carry on.
Excuse me hun, but what is your name? Vivian? I woke up next to you naked and, uh, did we, um?
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 20 2010 23:06 GMT
#11
On April 21 2010 07:19 Osmoses wrote:
Just thought I'd drop in and let you know the thread title reads "Scouting vs. Random anal" in the menu bar. Other then that, I think this information is pretty interesting, I've often found myself scewing up my builds because I forgot what race I was playing against and had to early scout.

Carry on.


Lol youre right

If i could edit the threads name I would, its not even named well :x
Been in a rush to move out, just jotted stuff down asap.
Husky
Profile Blog Joined May 2009
United States3362 Posts
April 20 2010 23:08 GMT
#12
I never scout that early against random. Then again I'm really bad.

+ Show Spoiler +
I love random anal
Commentaries: youtube.com/HuskyStarcraft
No_Roo
Profile Joined February 2010
United States905 Posts
Last Edited: 2010-04-21 00:20:58
April 20 2010 23:39 GMT
#13
Haha, yes this was some tragic thread title truncation, was going to screenshot it on the main page but looks like every one else already noticed it.

Good thread though, nice to see the numbers.


EDIT: Reminds me of a programming class I had to take last year...
+ Show Spoiler +
[image loading]
(US) NoRoo.fighting
junemermaid
Profile Joined September 2006
United States981 Posts
April 20 2010 23:47 GMT
#14
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.
the UMP says YER OUT
zomgzergrush
Profile Joined August 2008
United States923 Posts
April 20 2010 23:53 GMT
#15
Nice read, but how does map specifics play into this? 1v1 maps, 4p maps, various scouting path distances, etc?
Bronze skipping straight to Diamond in 40 games retail release. Bnet 2.0 ladder really takes it's sweet time to think about that league placement.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 21 2010 00:15 GMT
#16
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.

yeah there would be a couple ways.

the "easiest" would probably be empirical data, but a 30 minute write-up along with half an hour of testing would take much longer than just a 30 minute write-up

another way you can do it is by using differential equations, but thats more advanced than just integration, especially with floor calls

I realize i made it seem very complicated, truth is its just one small integration problem, then using relations between the functions to get what you want. im bad at writeups when im in a hurry.

Don't really know another way i could've made these conclusions without using these methods.

I chose my method because I thought itd be the easiest to express, and this way we get pretty graphs where we can pinpoint things and see relations

not to mention, by using functions its easier (at least for me) to see some of the connections

either way, thanks ^^
Chronopolis
Profile Joined April 2009
Canada1484 Posts
April 21 2010 00:32 GMT
#17
The word Analaysis has turned to anal in the sidebar countless times lol. @ the OP, while the mineral loss for early scout is small @ 100 seconds, if it delays a key building it will slow down the entire build by that much.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
April 21 2010 23:00 GMT
#18
All done moving...

Anyways, since i dont have the SC2 beta, it would be great if someone could give me some of the following information so i can make more conclusions:

Time it takes to scout each base on a map,
Ie. On lost temple, scouting close would take X time,
scouting second closest would be Y time
Scouting across would be Z time

etc.

I would also like to know for three player and two player maps (if they exist)



Erucious
Profile Joined March 2010
Norway393 Posts
April 21 2010 23:14 GMT
#19
i didnt read it all... But the math in this thread just got me REALLY hard.

<3
I'm Norwegian/Dutch. Just the awesome parts of them though :D
Amazn
Profile Joined March 2010
United States83 Posts
April 21 2010 23:32 GMT
#20
You baneling busted by brain
Let fear be your compass.
Irrelevant
Profile Blog Joined June 2009
United States2364 Posts
April 21 2010 23:36 GMT
#21
goddamn sc math gets me hard
prototype.
Profile Blog Joined July 2009
Canada4215 Posts
April 21 2010 23:36 GMT
#22
On April 21 2010 09:32 Chronopolis wrote:
The word Analaysis has turned to anal in the sidebar countless times lol. @ the OP, while the mineral loss for early scout is small @ 100 seconds, if it delays a key building it will slow down the entire build by that much.

sounds alot better than going for a build you're not even sure is viable against a certain race...
( ・´ー・`)
Mutaahh
Profile Joined June 2007
Netherlands859 Posts
April 21 2010 23:43 GMT
#23
I always wondered how this worked in Starcraft, now with SCII incoming its nice to see someone finally took the time to figure this out.

Thanks!
I want to fly
Deleted User 48059
Profile Blog Joined May 2009
86 Posts
April 21 2010 23:50 GMT
#24
Wow. Nice maths, and a nice post.
It's good to have an indication of exactly how much econ. is being sacced in return for the early info.


Also, gotta love the words 'random anal...' in the sidebar.

Kev
ilnp
Profile Joined December 2002
Iceland1330 Posts
May 09 2010 17:07 GMT
#25
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.


you're an egotistical asshole and besmirch others for their research and willingness to share because not only can your tiny brain not even equal a task of the OP's doing, but it can't even figure out how to use this information or that it's even useful at all.

regardless, thought provoking post and i'm glad we can share the same internet space
8===D~~
Louder
Profile Blog Joined September 2002
United States2276 Posts
May 09 2010 17:09 GMT
#26
Nice
Synwave
Profile Joined July 2009
United States2803 Posts
May 09 2010 17:29 GMT
#27
Thanks OP!
Oh spiffy, I am one of those that thought pre-10th scout really hurt me but now I know better.
And knowing is half the battle GI Jooooooooooe =D

♞Nerdrage is the cause of global warming♞
s031720
Profile Joined December 2009
Sweden383 Posts
May 09 2010 17:39 GMT
#28
The question that comes to my mind is why send an early scout? Surely its bad if it hits to early aswell as to late, if it arrives before any useful information can be won, you need to spend more APM to keep it alive, etc.

So I think instead of asking how much does it cost to send an early scout, a bette question would be how much would I gain and would it be worth it? Personally I send my scout on 11 on most maps and that is usually a good timing for me to collect the information I need in time to adjust my build.
Just another noob
OPSavioR
Profile Joined March 2010
Sweden1465 Posts
May 09 2010 17:42 GMT
#29
this is why random is OP
i dunno lol
Synwave
Profile Joined July 2009
United States2803 Posts
May 09 2010 17:44 GMT
#30
On May 10 2010 02:42 OPSavioR wrote:
this is why random is OP


No its because we get a cool panda decal at 50 wins =D
♞Nerdrage is the cause of global warming♞
Gont
Profile Joined March 2010
Germany239 Posts
May 09 2010 20:08 GMT
#31
LOL AT THAT MATH :D

good to know thx for doing this =)

Evoke
Profile Joined April 2010
New Zealand50 Posts
May 09 2010 20:30 GMT
#32
Last night, I scouted a random opponent, and as soon as my SCV got there, he called me a noob. Later I asked him why it was noob and he said it's a waste of time and resources. /confused
Oracle
Profile Blog Joined May 2007
Canada411 Posts
May 09 2010 22:32 GMT
#33
On May 10 2010 05:30 Evoke wrote:
Last night, I scouted a random opponent, and as soon as my SCV got there, he called me a noob. Later I asked him why it was noob and he said it's a waste of time and resources. /confused


Lol did you win?
Hold-Lurker
Profile Joined October 2007
United States403 Posts
May 09 2010 23:51 GMT
#34
Excuse my ignorance, it's been years since I've done any integrals, but why does the integral of Kt/20 + K equal Kt^2/20 + Kt rather than Kt^2/40 + Kt?

Also, are you using game time or real time? The time to make an SCV should be 17 seconds of game time and roughly 12 seconds of real life time I think. I don't know how that impacts any of the numbers, probably by some constant.
Narwhal
Profile Joined September 2009
United Kingdom314 Posts
May 09 2010 23:54 GMT
#35
Thanks for making me feel like a total dumbass.

No really good job though.
When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.
Megalisk
Profile Blog Joined October 2008
United States6095 Posts
May 09 2010 23:57 GMT
#36
Check your PM MY BROTHER!~!

Tear stained american saints and dirty guitar dreams across a universe of desert and blue sky , gas station coffee love letters and two dollar pistol kisses from thirty five dollar hotel room stationary .
igotmyown
Profile Blog Joined April 2009
United States4291 Posts
May 10 2010 00:25 GMT
#37
On May 10 2010 02:07 ilnp wrote:
Show nested quote +
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.


you're an egotistical asshole and besmirch others for their research and willingness to share because not only can your tiny brain not even equal a task of the OP's doing, but it can't even figure out how to use this information or that it's even useful at all.

regardless, thought provoking post and i'm glad we can share the same internet space


No, unfortunately I have to agree. It was an overcomplicated way of showing that
minerals lost = mining rate x ( 100 - time sent out ).

The step of after the integrals
A(t) = f(t) - g(t)
= K([t/20]+1) - K ( [t/20] )
=K
that is, the difference between the rate of mining being down 1 scv is ...
the mining rate of one scv

The integrals are never used, and furthermore, we could simply have added together an arithmetic series if we ever did want to calculate the total number of minerals mined.


What would be more useful is calculating how fast an expansion (gold or not) will pay for itself, which represents your window to be rushed. Or if you called supply instead of a mule to get an expansion faster, how many scvs would you have to maynard to pull ahead of the mule (assuming your main is fully saturated) in income, if it is possible. Or by map how many minerals do you lose maynarding.

Or for scouting, how much money do you save by sending a marine/zealot/reaper scout instead of an scv, assuming they will die. Of course you won't scout cheese...
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 00:47:21
May 10 2010 00:42 GMT
#38
On May 10 2010 09:25 igotmyown wrote:
Show nested quote +
On May 10 2010 02:07 ilnp wrote:
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.


you're an egotistical asshole and besmirch others for their research and willingness to share because not only can your tiny brain not even equal a task of the OP's doing, but it can't even figure out how to use this information or that it's even useful at all.

regardless, thought provoking post and i'm glad we can share the same internet space


No, unfortunately I have to agree. It was an overcomplicated way of showing that
minerals lost = mining rate x ( 100 - time sent out ).

The step of after the integrals
A(t) = f(t) - g(t)
= K([t/20]+1) - K ( [t/20] )
=K
that is, the difference between the rate of mining being down 1 scv is ...
the mining rate of one scv

The integrals are never used, and furthermore, we could simply have added together an arithmetic series if we ever did want to calculate the total number of minerals mined.


What would be more useful is calculating how fast an expansion (gold or not) will pay for itself, which represents your window to be rushed. Or if you called supply instead of a mule to get an expansion faster, how many scvs would you have to maynard to pull ahead of the mule (assuming your main is fully saturated) in income, if it is possible. Or by map how many minerals do you lose maynarding.

Or for scouting, how much money do you save by sending a marine/zealot/reaper scout instead of an scv, assuming they will die. Of course you won't scout cheese...


Sorry, I totally messed up the notation.

If Function a(t) was the advantageous RATE at which player one has over player two, then simply K is correct.
However, i described a(t) as the advantageous AMOUNT of minerals that player one has over player two, thus a correction is in order:

a(t) = int(f(t)) - int(g(t))

Sorry, thanks for pointing out that typo!

And this is affirmed from the screenshots with the graph,
for example: http://i42.tinypic.com/x2l7x2.png
You see that f(t) and g(t) are infact int(g(t)) and int(f(t))

So yes, the integrals ARE used. Why would I integrate for no reason?
I'll fix those images right now, thanks for that!

As for your other comment, please refer to this reply:


On April 21 2010 09:15 Koltz wrote:
Show nested quote +
On April 21 2010 08:47 junemermaid wrote:
Don't want to be a debbie downer here, but you didn't need integrals and fancy equations to figure this out...

Regardless, cool implications and well done.

yeah there would be a couple ways.

the "easiest" would probably be empirical data, but a 30 minute write-up along with half an hour of testing would take much longer than just a 30 minute write-up

another way you can do it is by using differential equations, but thats more advanced than just integration, especially with floor calls

I realize i made it seem very complicated, truth is its just one small integration problem, then using relations between the functions to get what you want. im bad at writeups when im in a hurry.

Don't really know another way i could've made these conclusions without using these methods.

I chose my method because I thought itd be the easiest to express, and this way we get pretty graphs where we can pinpoint things and see relations

not to mention, by using functions its easier (at least for me) to see some of the connections

either way, thanks ^^


I did go through the other ways of doing this, and I agree series can be used to find this data out, however the closed form formula for that series would involve the integration itself.

I like to have closed results, such that I can find whatever I want, whenever I want. This method worked best. I get graphs and functions which I can use to find other things, such as part B of the opening post.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 00:48:15
May 10 2010 00:44 GMT
#39
On May 10 2010 08:51 Hold-Lurker wrote:
Excuse my ignorance, it's been years since I've done any integrals, but why does the integral of Kt/20 + K equal Kt^2/20 + Kt rather than Kt^2/40 + Kt?

Also, are you using game time or real time? The time to make an SCV should be 17 seconds of game time and roughly 12 seconds of real life time I think. I don't know how that impacts any of the numbers, probably by some constant.


There is a floor function involved;

In case you don't know what floor is:
http://en.wikipedia.org/wiki/Floor_and_ceiling_functions

so floor(1.6) = 1
floor(2.1) = 2
floor(5) = 5

They aren't brackets, that notation indicated the floor function

And yeah, I didnt have the beta at the time so I thought SCVs took 20 seconds to make... woops
pyr0ma5ta
Profile Joined May 2010
United States458 Posts
May 10 2010 00:44 GMT
#40
<3 random anal
"I made you a zergling, but I eated it." - Defiler
Hold-Lurker
Profile Joined October 2007
United States403 Posts
May 10 2010 01:18 GMT
#41
I totally missed the floor function, sorry! Thanks for explaining.

Does the SCV build time change much?
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2010-05-10 01:25:36
May 10 2010 01:21 GMT
#42
Update: Added another table and chart for more examples of the first implication that I found, check it out

it doesn't change anything at all, actually. Well, forgoing mathematical -> reality error. Since all of it was relative to another, it would still say the same. Except it wouldn't be mineral defecit at "100 second mark", but rather the 85th second mark.

Either way, i used the 100 seconds to notate the moment when I have 11 SCVs out. Or, in other words, simply replace that header with "Mineral deficit at 11 supply"
Ballistixz
Profile Joined January 2010
United States1269 Posts
May 10 2010 01:54 GMT
#43
On April 21 2010 05:49 Koltz wrote:
Preamble:

As far as the search goes, there hasn't been a clear answer to this question: when do I scout against random?

I provide here a small analysis which, not necessarily says anything groundbreaking, but shows the implications in terms of mineral advantage when you scout.
Note: for these calculations we assume that the random player scouts after 10

Proof:
+ Show Spoiler +

Scenario: You send one of your first 6 SCVs to scout

Let us assume that for the first 10~ scvs, your mineral income per minute per scv can be represented as this:

g(n) = k*n

where k is an arbitrary value of the average income each scv makes per second. depending on the type of speed you play SC on, it is around 2/3.

Of course, as soon you add in more than 10 scvs, this function needs a piecewise-representation, as the return diminishes the more scvs you have. Furthermore, this function assumes there is a linear relationship of the amount of minerals recieved for the first 10 scvs, which does create a margin of error, but it is not that bad.

Thus, we say that:

[image loading]


Now, when you scout, you are effectively down by one scv, let us define the income of the opponent as

[image loading]


If we assume that both players continuously pump scvs for the first 10 supply, we can say that the number of SCVs with respect to time (in minutes) can be modelled by the function:

[image loading]


That is to say, number of SCVs for the first 100 seconds of the game can be calculated by floor(time / 20).
Because it takes 20 seconds to build an scv. I put a restriction of 100 seconds because in 100 seconds 5 scvs are produced, which brings our total count of SCVs to 11. However, one will be surely sent to build a structure by then, which fulfills our restriction of a maximum of 10 scvs mining the minerals at a time.

which we can substitute:

[image loading]


Now that we have the rate of income at time t of each player, we can integrate and find the total amount of money each player has gotten (from the new scvs), with respect to time

Thus now we can approximate the accumlated minerals gathered (by the new scvs) for the first 100 seconds can be modelled like this for each player.

[image loading]



We can find the advantage of Player 1's total minerals over Player 2's total minerals if player two starts off with 1 less scv (scout) by

[image loading]


If we plot this graph, we can see how big of an advantage, that your opponent has over you, if you sent one of your first 6 SCVs out right away. For these plots we will assume K = 4/6 minerals per second

+ Show Spoiler +
[image loading]


Thus if player two sends one of his initial six scvs to scout, by the 100 second mark, player one will have a 200/3 mineral advantage over player one.

This indeed makes sense, seeing as if the opponent has an extra scv over me for 100 seconds, and the scv gains an average of 4/6 minerals a second, he should have 4/6 * 100 minerals over me. This case is proven true.

But now we want to know, what happens if I send the 7th scv instead of the 6th? Or the 8th? Or the 9th?

Then we can model MY income by:

[image loading]


Where x is the time for which I sent my scouting SCV out. If it my 7th SCV, this is 20 seconds into the game. 8th SCV, 40 seconds in. Etc.

This makes sense because my income and my opponents income are exactly the same (note the f(x) part) up until i send my scout out (at time x). Then my mineral income diverges from my opponents, and I have the g(t) function which implies i have 1 less scv thereafter.

This creates the relationship of my total gathered minerals versus the total gathered minerals of my opponent. obviously, the later i send my scout out, the closer my mineral income is to his:

+ Show Spoiler +
[image loading]


Now for the real stuff; I want to know 100 seconds in, how much each of these options costs me, so I can draw some sort of application.

My opponents final income will always be the best case scenario, lets say f(100) in this case. I want to know how much greater his income will be over me depending on when I send my SCV scout out.

+ Show Spoiler +
[image loading]


There you have it; If i send one of my first 6 SCV scouts i will be at a defecit of 200/3 minerals by the 100 second mark. And so on...



Observations:
This creates the table:

[image loading]

From the 100 second point and onwards, my opponent suffers diminishing returns, and thus his advantage will slowly converge to zero.

Note: this is assuming your opponent does NOT send a scout until at least 11 scvs have been produced. (Which is usually the case when you play vs random)


personally, since im terran, scouting at 7 catches two bases before I decide whether or not i want to tech/mass/FE. At a loss of 40 minerals, doesnt seem like a bad idea.

More implications:

Question:
Show nested quote +
On April 21 2010 06:35 puckthecat wrote:
The key with this will be how it affects your gathering enough minerals to make essential early structures and still maintain constant worker production. If you have to delay or cut a worker in order to make a Depot or Barracks, the ultimate costs will be more significant than what's shown above.

Proof:

+ Show Spoiler +
Lets say we don't scout until after 10;

80 seconds in you have made 4 scvs, which brings you to a total of 10. You start with 50 minerals. 4 Scvs also cost 50 minerals each. By the time your 10th scv is out, you have gained f(80) minerals.

Thus, how much minerals you have when your 10th SCV comes out is:

f(80) + 50 - 50*4 = 350/3 = 117


This means, under optimal conditions, as soon as your 10th SCV pops out, you should have 117 minerals ready to spend on the first supply depot. I can spare 17 minerals without losing any efficiency.

So if i decide to scout at 6, when my 10th scv comes out, I will have this many minerals:

b(0,80) + 50 - 4*50 = 190/3 or 64 minerals.
Thus, I am behind by 36 minerals to making my supply depot.

Currently, I have 9 SCVs mining. If my rate of income is g(t) = [(2/3)*t]*9, and g(t) = 36, then t must be 6 seconds.

I will have to wait 6 extra seconds to make my supply depot if i scout on 6.

Similarily, we can continue this for every individual variable for which SCV scout was sent.


This creates the following table:

[image loading]



"wow now i know!"

"and knowing is half the battle!"

"G.I JOOOOOOOOOOOOOOOOOOE!"
mrproper
Profile Joined April 2010
Romania93 Posts
May 13 2010 10:00 GMT
#44
Thread title made me think something along the lines: Go see what he might throw at you later vs. Prepare for what he may trow at you based on timings... so you can maybe make counters blindly...
KrevanSerKay
Profile Joined August 2010
2 Posts
August 08 2010 21:29 GMT
#45
Nice post... i actually read it all and i'm pretty sure i understand everything. Well done
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 18m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 276
trigger 79
Vindicta 45
StarCraft: Brood War
Britney 44001
Calm 3155
Jaedong 1885
Larva 714
Mini 560
Hyuk 412
Shuttle 411
Light 343
Flash 316
JulyZerg 268
[ Show more ]
Soma 249
EffOrt 233
Rush 232
firebathero 208
BeSt 179
actioN 127
hero 121
Sea.KH 54
sorry 37
Aegong 34
Nal_rA 30
Yoon 23
GoRush 21
IntoTheRainbow 19
zelot 18
Shine 17
Free 16
910 15
Terrorterran 15
SilentControl 10
ivOry 6
eros_byul 1
Dota 2
Gorgc7045
BananaSlamJamma144
League of Legends
JimRising 480
Counter-Strike
fl0m4785
Fnx 2818
byalli69
Super Smash Bros
hungrybox508
Heroes of the Storm
Khaldor369
Liquid`Hasu316
Other Games
singsing2628
B2W.Neo1191
Liquid`RaSZi1087
Beastyqt383
Hui .193
Fuzer 192
Happy187
Mlord140
FrodaN26
Rex25
Organizations
Dota 2
PGL Dota 2 - Main Stream68
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH271
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos4948
Upcoming Events
LAN Event
18m
BSL
4h 18m
Replay Cast
17h 18m
Afreeca Starleague
18h 18m
Sharp vs Scan
Rain vs Mong
Wardi Open
20h 18m
Monday Night Weeklies
1d 1h
Sparkling Tuna Cup
1d 18h
Afreeca Starleague
1d 18h
Soulkey vs Ample
JyJ vs sSak
Replay Cast
2 days
Afreeca Starleague
2 days
hero vs YSC
Larva vs Shine
[ Show More ]
Kung Fu Cup
2 days
Replay Cast
3 days
KCM Race Survival
3 days
The PondCast
3 days
WardiTV Team League
3 days
Replay Cast
4 days
WardiTV Team League
4 days
RSL Revival
5 days
Cure vs Zoun
herO vs Rogue
WardiTV Team League
5 days
Platinum Heroes Events
5 days
BSL
6 days
RSL Revival
6 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
6 days
Liquipedia Results

Completed

Jeongseon Sooper Cup
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

ASL Season 21
Acropolis #4 - TS6
2026 Changsha Offline CUP
CSL 2026 SPRING (S20)
CSL Season 20: Qualifier 1
Acropolis #4
IPSL Spring 2026
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 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 © 2026 TLnet. All Rights Reserved.