Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - phenomist

Pages: [1] 2 3 ... 10
1
Math and Science / Re: You think you know this riddle...
« on: December 01, 2012, 12:23:53 am »
4 doors: Well, at least nobody's going to kill you for asking tricky questions. So let's ask them.

1) (Are you lying on this question) XOR (Is the safe door either door 1 or 2)?
2) (Are you lying on this question) XOR (Is the safe door either door 1 or 3)?

2
Math and Science / Re: Unique Representation of Cube Configurations
« on: December 01, 2012, 12:14:06 am »
My guess: http://en.wikipedia.org/wiki/Polycube

Good luck with 6 :P

3
Math and Science / Re: Error-correction Hamming codes question...
« on: November 10, 2012, 05:51:03 pm »
5 mod 2 = 1
6 mod 2 = 0
7 mod 2 = 1
5 mod 2 = 1

4
Math and Science / Re: Error-correction Hamming codes question...
« on: November 10, 2012, 03:46:49 pm »
I think you can just check the parity of the resultant product, so [[5][6][7][5]] = [[1][0][1][1]], as desired. This is because xor on bits is basically addition mod 2.

5
Math and Science / Re: Why doesn't zero divided by zero work
« on: February 27, 2012, 09:34:02 pm »
Was going to throw in L'Hopital's rule, but there's already an enlightening section on that on page 2.

It all depends on the context of the 0's, really, and simply putting "0" isn't giving the context. Hence its undefinability.

6
Math and Science / Re: Rewriting Formulas
« on: February 02, 2012, 12:53:28 am »
Not sure if this works, but you could treat each exponent as a number and add/subtract.

7
Also, ln(x)=-ln(1/x)

If x is not between -1 and 1, take its reciprocal. (I'd also like to note that ln(negative number) is a bad idea.)

8
Math and Science / Re: A Page of My Notes
« on: December 01, 2011, 09:52:01 pm »
Well, the gamma function is a real extension of the factorial function used to define combinations, so I suppose it can be done. Only theoretical for now, though things like fractional derivatives are applicable in fields like fluid dynamics.

9
Math and Science / Re: A Page of My Notes
« on: December 01, 2011, 12:20:18 am »
More generally, the number of k-dimensional subcomponents in a n-dimensional hypercube is 2n-k*nCk.

With the gamma function we can easily analyze non-integer dimension hypercubes :D

10
Math and Science / Re: Math problem: odd digits and probability
« on: December 01, 2011, 12:16:34 am »
If you need a closed form expression...

Note that {ai}i=1 = {ei}i=1 via symmetry, and likewise {b} = {d}. We can consider the finite state diagram
a <-> b <-> c <-> d <-> e which is symmetric on c.

Now, we may reexpress each recursion:
an+1=bn
bn+1=an+cn
cn+1=2bn

Notably, this means we can express a and c directly in terms of sequence b. So it logically follows that we should try substituting those out in the recursion for b:
bn+1=3bn-1

The characteristic polynomial of this recursion is λn+1=3λn-1 => λ2-3=0.

In other words the roots are λ = sqrt(3) and -sqrt(3). What does this mean?

Well, this means that we can express sequence b in terms of a linear combination of exponential functions, namely sqrt(3)n and (-sqrt(3))n.
In layman terms, bn=A*sqrt(3)n+B*(-sqrt(3))n.

It is not hard to calculate this; we already know that b1=1 and (easily computed) b2=2.

So we just solve a system of linear equations;
1=A*sqrt(3)-B*sqrt(3) => sqrt(3)/3 = A-B

2=3A+3B => 2/3 = A+B
resulting in A=(2+sqrt(3))/6 and B=(2-sqrt(3))/6.

Thus we have
bn=(2+sqrt(3))/6*sqrt(3)n+(2-sqrt(3))/6*(-sqrt(3))n.

But the million dollar question remains. We don't want the value of an, bn, OR cn; we want the sum!

Well, we add 2an+2bn+cn; the 2 is because we copied d and e over. We reexpress the a and c terms into b because we already have a form ready.

So we have
Σn=2bn+4bn-1=[(2+sqrt(3))/6*(2+4/sqrt(3))]*sqrt(3)n+[(2-sqrt(3))/6*(2-4/sqrt(3))]*(-sqrt(3))n

=[4/3+7sqrt(3)/9]*sqrt(3)n+[4/3-7sqrt(3)/9]*(-sqrt(3))n

(Caveat; Σ1=5, not 14/3; this occurs because the formulas for sequence b refers to a term 2 terms in advance, effectively drawing from the -1st term which is obviously invalid)

The sequence goes: 5,8,14,24,42,72,126,216,378,648,1134,...

Notice anything interesting? No?

I'll show it again. 5,8,14,24,42,72,126,216,378,648,1134,...

Ohey, every other term it triples! Partially due to how the structure of the recursion itself (with λ2-3=0 as a characteristic polynomial), but there in fact is a combinatorial interpretation! (Not all the algebraic sludgework QQ)

It all lies in PARITY. In fact, there are two mechanisms syncing together, digit parity and positional parity. While in the traditional sense, parity refers to evenness or oddness of numbers, since all digits are odd that's not going to be of much use. Instead we consider mod 4 parity, which helps separate the digits better (so 159 and 37). Positional parity refers to the evenness/oddness of the positional index of a particular string.

Well, as luck would have it, you're colorbound like a bishop on a chessboard! Congratulations. As a visual:
..13579
A■□■□■
B□■□■□
A = odd position
B = even position

As it turns out, if you start at a black square, you're condemned to the color that you start on, as each consecutive digit means a position change, and since they differ by 2, it's also digit parity change! So the two color-changing operations cancel out and you're back to square one.

This makes our task easier.

..13579
A■□■□■
B□■□■□
C■□■□■

Without loss of generality, assume that you start on a white square. As symmetry applies, both A3 and A7 have the same number of possibilities. Starting from A3 you can either go A3-B3-C3, A3-B5-C3, or A3-B5-C7. Starting from A7, you can get to C7 twice and C3 once. Adding them up, you round out to C3 receiving a path thrice, and C7 also receiving a path thrice. Hence the number triples every two turns.

The only thing is, that you can't really start on a black square and immediately expect a triple; the mechanism doesn't quite work like that. You have to wait until the second turn before you start tripling.

11
News / Re: Tales of the Lost Post Ratings
« on: November 30, 2011, 11:20:37 pm »
Are there plans to extend this to a "Ratings Per Post Scoreboard Automater" ;)

12
Math and Science / Re: A simple problem
« on: September 23, 2011, 07:32:14 pm »
Also note that f(1)=e :P

13
Math and Science / Re: Calculus help?
« on: September 23, 2011, 01:20:47 am »
Another method might be to note that both parabolas have the same curvature, only negated. Their vertex points are at (0,0) and (3,4). Hence, any line tangent to both parabolas must lie on the midpoint of their vertices (1.5,2), which can be easily shown by rotating the diagram.

Considering the tangent line at (a,a^2) has a slope of 2a, we can equate slopes:
(a^2-2)/(a-1.5)=2a => a^2-2 = 2a^2-3a => a^2-3a+2=0 => a=1 or 2.

These generate the desired lines, of slopes 2 and 4.

14
TI Z80 / Re: Zedd Physics Library (BETA)
« on: September 21, 2011, 04:25:11 pm »
Whoa, conveyor belts!

15
Math and Science / Re: A Math... Question :)
« on: September 21, 2011, 01:06:53 am »
Wait, how would you quickly test primality for 120000-digit numbers? If we could reliably do that, then let's go get that Ti-Nspire key now.


Pages: [1] 2 3 ... 10