Wikipedia:Reference desk/Archives/Mathematics/2007 November 13

Mathematics desk
< November 12 << Oct | November | Dec >> November 14 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 13 edit

fridaythethirteenthnumbersequencethingy edit

Hi. I've discovered a possible repeating pattern of numbers, which depicts the number of Friday the thirteenths in a given year. I start the sequence when there is four of two of Friday the Thirteenths in the years. Here's the sequence: 2222112213112212122131132131. This comes from listing the number of Friday the Thirteenths from 1920 to 2019. The only year that breaks the pattern in these years is 1926, which has the wrong number of F13s from the number that it should have. Do anomalies such as these increase as you move farther forwards or backwards in time from this set of years? Can this be added to the article to provide the user with a good idea for how to calculate the number of F13s? What are some other years that have this anomaly? Or, could either I or the printer of the book have made a mistake? Oh, and please don't use this as your password or hash chain. Do leap years, especially centuarinary leap years, influence this number? Thanks. ~AH1(TCU) 01:11, 13 November 2007 (UTC)[reply]

Well the number of F13 depends on whether January 1st is Monday and whether this year is a leap year. If we didn't have centuarinary leap years, I would expect the period of this sequence to be 7*4=28. With centuarinary leap years, I would expect the period to be 7*400. (Igny 03:19, 13 November 2007 (UTC))[reply]
The Gregorian calendar repeats every 400 years. So the period of the sequence must be a factor of 400. --Spoon! 09:10, 13 November 2007 (UTC)[reply]
I meant to say that there are a whole number of weeks in the Gregorian cycle of 400 years. --Spoon! 09:42, 13 November 2007 (UTC)[reply]
Are you sure that 1926 was an exception ? Since 2000 was a leap year, there is a leap year every four years between 1901 to 2099, and you would expect the cycle of Friday 13th counts to repeat every 28 years between these dates. Our Friday the 13th article gives a 28 year cycle from 2001 to 2028 that is essentially the same as your cycle, with an offset - your cycle starts in 2017 - and it says that this cycle repeats every 28 years between 1901 and 2099. I wouldn't expect the 28 year cycle to fail until 2100. Gandalf61 13:02, 13 November 2007 (UTC)[reply]
The sequence starting 2222 and ending 2131 applies to the years from 1933 to 1960 in your interval from 1920 onwards. Counting back, the year 1926 should have just one Friday the 13th, which it did, in August. So, no anomaly.→81.154.106.140 11:55, 14 November 2007 (UTC)[reply]
I suspect you've coined a new word "centuarinary" there, Igny. Congratulations. -- JackofOz 23:44, 14 November 2007 (UTC)[reply]

This sequence from OEIS [1] gives the pattern for the 400-year cycle, where the values represent the 14 different annual calendars (7 for non-leap years, 7 for leap years). Each year number corresponds consistently to a particular number (1, 2 or 3) of Friday 13ths.81.153.220.176 22:30, 15 November 2007 (UTC)[reply]

Functional Analysis edit

Okay, I was reading this grad level functional analysis book and came across this statement.

"For a sequence   in an inner product space (real or complex), the conditions   and   imply convergence  . This statement has a special case in the complex plane."

My questions is how do we prove the first part and then what is this special case in the complex plane?

Another statement was that,

Let   be a bounded linear operator on a complex inner product space  . If   for all  , then  .

Is this true (a proof perhaps)? The reason I ask is because there is no proof in the book and I know that this is false in the case of a real inner product space with rotation. Rotation is a linear (non-zero) operator in  . So if I take two orthogonal vectors and rotate them, they are still orthogonal.
A Real Kaiser 04:12, 13 November 2007 (UTC)[reply]

For the first question: remember that   means that  . Using the two givens, this can be shown by expanding out  
For the second, note that if   for all x,y, then T = 0. Over the complex numbers we can pull a trick to show that this is implied by   for all x. To do this, consider that   (expand this out). If you do this for   and for  , you'll see that   (you'll also show   at the same time). kfgauss 09:27, 13 November 2007 (UTC)[reply]

Partial deriviative equation edit

I have an equation which is function of two variables c and phi. I need to find a c that will make both equations equal to 0 at a certain phi value.

Or in math terms:

Fk(phi,c) = ... dFk(phi,c) = ... // dFk = diff(Fk,phi)

Fk(phi,c) = dFk(phi,c) = 0 => c = ?

The actual equation is this one: Fk1 = c1*hmax*(1 - (phi-pi)/beta1 + delta/hmax) - (hmax/2*pi) * ((((2*pi)^2*m1*omega^2)/beta1^2) - c1) * sin(2*pi*(phi-pi)/beta1);

Note that c1 (unknown), hmax, beta1, delta, m1 and omega are known constants. phi >= pi && <= 73deg. c1 is around 470E3.

Although, I can find a suitable value of c numerically, I'd like to try an analytical solution. Any insight? Thanks! --83.233.147.22 15:24, 13 November 2007 (UTC)[reply]

Let's get that in LaTex:  . (Feel free to edit if I've made a mistake). Looks like a lot of work to me. Have you tried a system like Mathematica, to do it automatically? risk 16:06, 13 November 2007 (UTC)[reply]
If I understand correctly you are looking for a   that makes   and   vanish. Start by calculating the derivative. You must then solve for   a system of two linear equations. From there you obtain a solution for   as well as a condition on the constants which guarantees the existence of a solution.
I obtain
 

I haven't calculated the existence condition. Morana 18:39, 13 November 2007 (UTC)[reply]

Thanks for your help, although your final result does not seem to work once you put in the constants. I've tried to solve it using Maple but it gives me junk result as well.

restart;

Fk1 := c*hmax*(1-(phi-Pi)/beta+delta/hmax)-(1/2)*hmax*Pi*((2*Pi)^2*m*omega^2/beta^2-c)*sin(2*Pi*(phi-Pi)/beta);

dFk1 := diff(Fk1, phi)

a := dsolve({Fk1, dFk1}, [c, phi])

Strangely, if I solve using [phi, c] instead, it tells me that c = c... or if I use solve instead of dsolve. If I try to substitute the constants for their real values, Maple gives me "Solutions may have been lost a:=0".

  (sorry, Maple is not exporting right)

I'm curious as to why we have different results, how did you find c?

Here's an image of the function: [[2]] Note that phi has been converted to degrees for display purposes and c is at 470E3. There is also an absolute function to make the graph symmetric. Just assume that we want to find a c value that will make the minimum on the right coincide with the x axis.

This should be simple...Argh! --83.233.147.22 20:17, 13 November 2007 (UTC)[reply]

I have obtained this solution by solving   for  . If you then substitute this solution into   you obtain a condition for the existence of a solution. As I said, I haven't calculated this condition but I have the impression that it is non-trivial, and that it probably doesn't hold for many choices of constants.
It would help if you gave the value of all the constants, and an example of a   pair, where   is a solution. Morana 23:44, 13 November 2007 (UTC)[reply]
 .
At   and  ,   and  .
Thanks for your help. --83.233.147.22 08:22, 14 November 2007 (UTC)[reply]

Unknown f(x) edit

 

What sort of function could this be? it appears to be exponential on both sides, but I don't see how to join them both in a single function of x. Takk Rós 21:05, 13 November 2007 (UTC)[reply]

Finding a function that fits these data is not the problem. for example, if all else fails, you can use Lagrange interpolation, or guess that it is a polynomial of some degree and find the coefficients that minimize the error. Or, if you have other reasons to believe it should be exponential, you can try to fit a function of the form   or something similar. The problem is that there are too many possibilities, and there doesn't seem to be enough data to be sure which one is better.
If you can provide a numerical representation of the data (as will as any additional information or predictions you might have), I can try to find a good fit. -- Meni Rosenfeld (talk) 21:42, 13 November 2007 (UTC)[reply]

I see two possiblities that might be reasonably correct. One it is a skewed version of a Normal distribution or two it is an algebraic function with a horzontal asymptote as   and a slant asymptote as   A math-wiki 23:57, 13 November 2007 (UTC)[reply]

Do you have the data available in numeric form?  --Lambiam 01:20, 14 November 2007 (UTC)[reply]
Some context would also help tremendously. Where does this data come from? Why do you want to fit a curve to it? risk 02:13, 14 November 2007 (UTC)[reply]

Poisson distribution or maybe Rayleigh distribution can have shapes similar to that. - Rainwarrior 07:32, 14 November 2007 (UTC)[reply]

Or maybe a black body spectrum - see Planck's law. Gandalf61 10:18, 14 November 2007 (UTC)[reply]
The data don't seem to be discrete, so the Poisson distribution is probably inappropriate. If we do assume the function starts at (0,0) and only defined on  , an obvious simple choice is  . -- Meni Rosenfeld (talk) 13:53, 14 November 2007 (UTC)[reply]

Math help edit

What is(-x^2)(y)(2xy)(-4y) in simplest form? Sseballos 21:47, 13 November 2007 (UTC)[reply]

What have you tried thus far to solve it?—Cronholm144 21:55, 13 November 2007 (UTC)[reply]
Is it (8)(x^3)(y^3), (-8)(-x^3)(y^3) or (8)(x^3)(-y^3)? Sseballos 21:58, 13 November 2007 (UTC)[reply]
Your original expression has two negative values, and the product of two negatives is always positive. --LarryMac | Talk 22:05, 13 November 2007 (UTC)[reply]
So is it my first answer? Sseballos 22:06, 13 November 2007 (UTC)[reply]
Yes. Jix2 22:11, 13 November 2007 (UTC)[reply]

I'm curious, is (-x^2)

(a) -(x^2)

or

(b) (-x)^2

202.168.50.40 23:27, 13 November 2007 (UTC)[reply]

It would be A since the exponent has priority over the minus. See Order of operations. --83.233.147.22 23:35, 13 November 2007 (UTC)[reply]
It can be ambiguous. binary and unary minus have different priorities and unary minus has priority over multiplication, so 1+2*-3 is 1+(2*(-3)). Quite how the priority of unary minus and power is not particularly well defined. The normal mathematical interpretation is (a), different programming languages have different standard, notably Excel has -x^2 = (-x)^2, matlab has -x^2 = -(x^2). There is a certain logic to excels choice as then all unary operations have the highest priority. --Salix alba (talk) 19:36, 14 November 2007 (UTC)[reply]

I think it would be best to review the idea of simplest form first and then avoid skipping steps if your unsure of how it calculates out. First off there is always many (in fact an infinite number) of ways to write a given expression (this can be proved by showing that   etc. etc. if the denominators are not zero). So what is simpler, well in laymans terms were trying to write it with the minimum number of mathematical symbols (includes numbers). Technically there are some specific rules such as (in elementry (high school) algebra) you must remove any (square) roots from the bottom of any fractions. Now for our specific case, since - in a product is shorthand for the factor -1. Pull out the two -1's,   so with the negatives out of the way it's a simple algebraic product. we can drop the parenthesis (and in doing so multiply the 2 and (now positive) 4 together and then add exponents for x and y. (Do note that   is   not  ) A math-wiki 00:09, 14 November 2007 (UTC)[reply]

Actually to be pedantic, it is not the case that   Since each expression is equal to 1 for all x except for a single point, which varies with each expression. Donald Hosek 00:14, 14 November 2007 (UTC)[reply]
And a much simpler way to get an infinitude of expressions of equal value is 0 = 0 + 0 = 0 + 0 + 0 = ... .  --Lambiam 01:11, 14 November 2007 (UTC)[reply]

Indeed those are better examples, but mine is true for all x not an integer. I wanted to show how algebraic expressions can change through many different forms without changing the value of the expression for a given x value. (non-integer x's in this case) A math-wiki 00:03, 15 November 2007 (UTC)[reply]