[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Are you good at math /r9k/? - Actual solution

This is a red board which means that it's strictly for adults (Not Safe For Work content only). If you see any illegal content, please report it.

Thread replies: 4
Thread images: 2

This problem intrigued me so much that I decided to ACTUALLY solve it.
The analytical answer, and how to reach it.

The way we will tackle this question is by using recursive logic.
P(n) indicates the probability of extinction given that n aliens are alive.
P(0)=1, if we have 0 aliens
P(1) is what we are looking for, since we start with 1 alien
P(2) is the probability of the aliens going extinct if there are currently two of them
and so on
P(inf)=0 this will help us solve this problem like a boundary value problem

We have this recursive relation
P(n)=0.25*(P(n-1)+P(n)+P(n+1)+P(n+2))
We want to solve this "difference equation" subject to the boundary conditions P(0)=1 and P(inf)=0
We can use characteristic equation method to solve this
https://en.wikipedia.org/wiki/Characteristic_equation_(calculus)

If you understand that method, you'd see that if we name roots of the equation 1-3z+z^2+z^3 as r1, r2 and r3 (slightly more complicated if r1 r2 r3 are not distinc)
ANY function P(n) in the form P(n)=c1*r1^n+c2*r2^n+c3*r3^n will be a solution, where c1 c2 c3 are arbitrary constants
We need to find the values of c1 c2 c3 that will fit the boundary conditions P(0)=1 and P(inf)=0
r1=1
r2=-1-sqrt2~-2.41
r3=-1+sqrt2~0.41

clearly, the coefficients c1 and c2 must be 0, since those roots can never become 0 when raised to the power of infinity
To fit P(0)=1, c3=1
So P(n)=(sqrt2-1)^n
and the answer to our problem is P(1)=sqrt2-1~0.414214
>>
File: 1486007649855.png (18KB, 678x640px) Image search: [Google]
1486007649855.png
18KB, 678x640px
face it you got nerdsniped
>>
haha fucking dweeb
*shoves into locker*
>>
>>35127886
Or just less than 25%
Thread posts: 4
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.