Jump to content

Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 99.240.177.206 (talk) at 18:37, 18 February 2008 (→‎Math Riddle: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Welcome to the mathematics section
of the Wikipedia reference desk.
Select a section:
  • [[:|{{{1}}}]]
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:


February 12

Is there are transition point between the spirals in the image when applying a Möbius transformation to spirals?

Hello,

this question has been bugging me for some time now. Let us consider a spiral in the complex plane, starting in zero and moving "towards infinity". A Möbius transformation will be a curve, acting like a spirak initially, and then at infinity approaching another point in the complex point, again like a spiral (but this time, it's turning in the other direction).

But... is there a "transition point"? A point where the curve stops being "like the first spiral" and becomes "the second spiral"? I've been trying to pinpoint this point, I tried to come up with definitions or even ways to calculate it, but the more and more I'm experimenting, the more I'm wondering whether or not there really is a point like that? Can anyone help? Thanks!

Evilbu (talk) 11:48, 12 February 2008 (UTC)[reply]

The transition point would be a point of inflexion, wouldn't it? They aren't usually hard to find. --Tango (talk) 13:40, 12 February 2008 (UTC)[reply]
Yeah. I think the choice of transition point has mostly to do with personal preference, but the inflection point (the point where the spiral changes direction of rotation) is probably the most obvious one. To find it, first find the equation of the transformed spiral, and then find the point where the ratio of the first and second derivatives has an imaginary part of 0. This will guarantee that the ratio is real, thus the second derivative (acceleration) has the same direction as the first (velocity), thus there is no rotation component and this is an inflection point. -- Meni Rosenfeld (talk) 14:14, 12 February 2008 (UTC)[reply]
I'm not so sure. I tried taking and a Mobius transformation and came out with the only point where the equation of the transformed spiral is 0 is which lies outside the given range of r. -mattbuck (Talk) 23:24, 12 February 2008 (UTC)[reply]
I think you misunderstood. The transformed spiral probably won't go through 0, and the ratio of the second and first derivatives probably won't go through 0, but the ratio will cross the real axis. -- BenRG (talk) 02:21, 13 February 2008 (UTC)[reply]
I'll take this opportunity to mention that I wasn't completely accurate in my post. For a smooth curve, the criterion I have given is necessary, but not sufficient, for inflection. However, for the curve in question there will usually be only one point satisfying it, so it can be used to identify the point. -- Meni Rosenfeld (talk) 08:46, 13 February 2008 (UTC)[reply]

Oblique Asymptote

Is there a way to find the oblique asymptote of a polynomial function without using polynomial long division or calculus? Acceptable (talk) 23:52, 12 February 2008 (UTC)[reply]

Polynomials don't have asymptotes, do you mean a rational function? [1] has a good method - basically, you just take the limit of the function as x tends to infinity to find the gradient, and then take the limit of the function minus the bit you just found to find the constant term. --Tango (talk) 00:11, 13 February 2008 (UTC)[reply]
Sorry my bad, I indeed meant rational functions. Acceptable (talk) 01:23, 13 February 2008 (UTC)[reply]
There is actually a much simpler way. Just take the two highest terms of the numerator and divide them by the highest term of the denominator. For example, the asymptote of is . -- Meni Rosenfeld (talk) 08:34, 13 February 2008 (UTC)[reply]
Does that always work? It looks like a rough method of taking limits, but I think it only works on that function because the degree of the numerator is one higher than that of the denominator. You would need to adjust that method to work for other degrees. You also still need to find the constant term. --Tango (talk) 14:52, 13 February 2008 (UTC)[reply]
That's true. I did assume that the function satisfies this condition, as this is the usual case where the term "oblique asymptote" would be used. For finding the asymptote in a more general case, you need to take the terms of the numerator from the degree of the denominator and upwards. This still avoids limits, derivatives, or polynomial long division. -- Meni Rosenfeld (talk) 15:06, 13 February 2008 (UTC)[reply]
Don't think it works if the difference in degree is >1. e.g. yields by your method. However, a quick long division yields , i.e. an asymptote of x^2-x+8. Long division is the easiest method in such cases, methinks. --PalaceGuard008 (Talk) 22:19, 13 February 2008 (UTC)[reply]
You are of course absolutely right. Not one of my best days, apparently. -- Meni Rosenfeld (talk) 22:43, 13 February 2008 (UTC)[reply]


February 13

THE PHYSICS MAGAZINE GUY,WITH AN ALGEBRA QUESTION FROM AN ALGEBRA MAGAZINE

Hey,guys I`ve got a sequence question the sequence for the first problem is 1,1 over two,one over three,one over four. I need the sequence completed.I also have a problem involving The Fibanocci Sequence. the numbers are 1,2,3,5,8,13.I also have to draw the next three figures in a sequence in which there are oval with one side,shaded black.Another,one with the top side shaded black.And,one last one with the right side black. Also,another one with a line through the circle.Another,with a cross in it,Another with several spokes. There,is a triangle with no lines One with a triangle going through it. And a last one with three across from the left. —Preceding unsigned comment added by Yeats30 (talkcontribs) 00:10, 13 February 2008 (UTC)[reply]

You want to know what comes next in the sequence ? I think you can work that out for yourself... You haven't actually said what the second question is. And picture questions aren't really going to work unless you can reproduce the picture, however they aren't usually that difficult - some general advice: try to break the sequence down into different things that are changing (the shape, the colour, the orientation, etc.) and consider each separately. --Tango (talk) 00:16, 13 February 2008 (UTC)[reply]
Bullshit this is from an algebra magazine. If you read an algebra magazine, you are capable of working out a simple sequence like this. Stop asking wikipedia users to do your homework for you. -mattbuck (Talk) 01:56, 13 February 2008 (UTC)[reply]
Mattbuck, please try to keep civil even when dealing with someone who isn't following the rules themselves (i.e. posting homework questions). Did anybody bother to notify the user on his talk page that he'd been outed? No, so I'm going to do so now. Confusing Manifestation(Say hi!) 05:38, 13 February 2008 (UTC)[reply]
Sorry, I kind of figured he'd have read the countless people who have outed him in his questions, since if he asks them, he presumably wants answers and thus reads the responses. -mattbuck (Talk) 10:27, 13 February 2008 (UTC)[reply]
I like how he uses the winning formula of "magazines". "HI HERE'S A HOMEWORK QUESTION FROM A HOMEWORK MAGAZINE" =) --PalaceGuard008 (Talk) 11:06, 13 February 2008 (UTC)[reply]
I particularly liked his question about how much someone weighs in a lift which climbs five floors. The carpet was made of broccoli. -mattbuck (Talk) 11:28, 13 February 2008 (UTC)[reply]

Predicate logic

I'm not 100% of the "rules" of manipulating predicates but I have this problem and I want to see if I've manipulated it correctly:

R, P, Q are all in the same domain. Use rules of inference and logical equivalence to prove that these premises together lead to a contradiction.


A =


B =


Starting with A:


1. Premise
2. Implication
3. Negation
4. Negation of existential quant.


Now here comes the bit I'm not sure about:


5. Distribution on 4, then commutative rearrangement.


Supposing I can distribute as demonstrated in 5., I now have A looking similar to B:


A =


B =


If I have made it thus far with no mistakes, I would like to know where to take this next. I can "see" that these two statements could contradict but I'm unsure how to prove it. If there is an error in my working so far, please let me know! Damien Karras (talk) 08:51, 13 February 2008 (UTC)[reply]

All that predicate stuff is making my head spin (I only did the tiniest bit of it), but what happens if you use the definition on, say, B, and then bring the second negation throughout the expression? Confusing Manifestation(Say hi!) 11:27, 13 February 2008 (UTC)[reply]
Sorry, I know it's hard to follow but I'm trying to do it step by step so that you can see how I arrived at the conclusion. I hope I am right in assuming that if I rearrange B's existential quantifier to I will have B as:



Which is almost the negation of A save for the part! Damien Karras (talk) 12:57, 13 February 2008 (UTC)[reply]

I'm not sure how rigorous this is, but it seems to work intuitively, at least, so might help. A implies:

You can then use those implications to substitute into B, getting:

Which is clearly false. I'm fairly sure that's all true, but I may have missed out a few too many steps by just using intuition... --Tango (talk) 14:43, 13 February 2008 (UTC)[reply]

The step you're asking about is correct. You're almost there. You just have to pull the "not" out all the way to the left. When you do, you'll get A as equivalent to precisely notB. Or, to shorten the proof, you could have pulled it out to begin with and rearranged the inside separately. Black Carrot (talk) 18:51, 13 February 2008 (UTC)[reply]
If you want to look up the rules, Laws_of_classical_logic has a list of them. Black Carrot (talk) 18:53, 13 February 2008 (UTC)[reply]
Yes, when I said "clearly false" I was assuming people could perform that one last manipulation themselves. It's the splitting of the implication and the substitutions that I thought might need to be done in more steps to be completely rigorous. --Tango (talk) 19:32, 13 February 2008 (UTC)[reply]
I was talking to the OP. Your solution is good too, though. Black Carrot (talk) 07:17, 14 February 2008 (UTC)[reply]
Just to check, this is in reference to the distributive step 5 further back, right? I have to try and extract all those "nots" out of A and I'll get something that looks identical to "not" B? Damien Karras (talk) 08:20, 14 February 2008 (UTC)[reply]
That's right. And by definition, the statement "B and notB" is a contradiction. Black Carrot (talk) 07:44, 15 February 2008 (UTC)[reply]
Alrighty then, going back to A and B in the equivalent forms:
A =
B =


Now, if I extract the "nots" in A to the left, I have:


A =


Going back to the previous point that is equivalent to , I can write B as:


B =


The two statements are almost a contradiction aside from the fact that is not equivalent to , correct? Damien Karras (talk) 09:47, 15 February 2008 (UTC)[reply]
You're right, sorry. The existential bit doesn't work out quite right. I was thinking of
A =
B = ,
but I thought the ends would be the same. You can get a contradiction from this, but it's not as pretty as "B and notB". Since the problem is all the way on the inside, it'll have to be pulled out. Let's do it for B, starting from where I wound up.
B =
B =
B =
Then for A,
A =
A =
A =
A = .
From here, I think it's easiest to combine the two. Since the original assumption is A AND B, that's not hard to do. A AND B = C,
C = .
Commute and distribute, to get
C =
Since that bit towards the middle is a contradiction in its proper form, it's automatically equal to False, and since it's one side of an OR, the other side absorbs it.
C =
C =
I commute and distribute the exists-Q bit the same as the previous bit, and get
C =
Commute,
C =
As long as there's a y in the universe to act on, the right side is false, so the entire thing is false, and equivalent to a contradiction. That's not quite the same as saying it is a contradiction, since there's nothing to stop y from ranging over an empty set, but they probably want that case excluded. Black Carrot (talk) 04:13, 16 February 2008 (UTC)[reply]
On the other hand, if the universe is empty, then the left side is false instead. So I guess it works. I can't figure out how to get an actual contradiction-type contradiction, though, and I'm not certain it's possible with formal manipulations. Black Carrot (talk) 04:56, 16 February 2008 (UTC)[reply]


February 14

Three calculus problems (studying for a test)

1. I need to evaluate the indefinite integral ∫x2√(1-x)dx. I tried using u-substitution:
u = 1 - x
x = 1 - u
du = -dx
dx = -du


∫(1 - u)2u1/2•-du + C
-∫(1 - 2u + u2)u1/2du + C
-(∫u1/2du - ∫2u3/2du + ∫u5/2du) + C
-∫u1/2du + ∫2u3/2du - ∫u5/2du + C
-2u3/2/3 + 4u5/2/5 - 2u7/2/7 + C
-2(1 - x)3/2/3 + 4(1 - x)5/2/5 - 2(1 - x)7/2/7 + C


The textbook says the answer is -2/105(1 - x)3/2(15x2 + 12x + 8) + C. Is this just an equivalent form that I'm not recognizing?


2. This time it's a definite integral: ∫19 1/[(√x)(1 + √x)2]dx. Again I tried u-substitution:
u = 1 + √x
du = (1/2)x-1/2dx = [1/(2√x)]dx


2∫u(1)u(9) u-2du
2∫24 u-2du
2•(u-3/-3)]24
2[4-3/-3 - 2-3/-3] -(2/3)(1/64 - 1/8)


But the book claims that the answer is 1/2! (That exclamation mark denotes my frustration, not a factorial.)


3. I need to find the value of c guaranteed by the mean-value theorem for integrals for the function f(x) = 2sec2 x over the interval [-π/4, π/4].
f(c) = [1/(b - a)]∫abf(x)dx
f(c) = [1/(π/4 - [-π/4])]∫-π/4π/4(2sec2) x)dx
f(c) = [1/(π/2)]2 • (tan x)]-π/4π/4
f(c) = (4/π)[tan (π/4) - tan (-π/4)]
f(c) = (4/π)[1 - (-1)]
f(c) = 8/π


Yet the official answer given is ±arccos (√π)/2 ≈ ±0.4817 ... what am I doing wrong??


Any help is much appreciated. Thanks so much. --anon


Hello. Yes, the first is an equivalent form - just factor out the (1-x)1.5 and it should be obvious. In the second, the substitution is fine, but you integrated u-2 to give u-3/-3, when the correct integral is -u-1 since you add one to the power, then divide through by it. As for question 3, your derivation is correct, but you missed the final step. You say f(c) = 8/pi, but you're asked to give c, not f(c).
Hope this helps. -mattbuck (Talk) 01:29, 14 February 2008 (UTC)[reply]
Dude, I love you. --anon —Preceding unsigned comment added by 141.155.31.240 (talk) 02:24, 14 February 2008 (UTC)[reply]

Surd Troubles

I've tried and i thought i did it correctly but as it seems i did not =[. Some help would be appreciated.

  • Problem 1




    but the textbook says
  • Problem 2 - Simplify



  • Problem 3 - Simplify





textbook says
Thanks for the help =] !. —Preceding unsigned comment added by 121.219.227.217 (talk) 07:52, 14 February 2008 (UTC)[reply]

In problem 1, it's probably supposed to be a plus sign. In problem 2, since 49 is a square you can simplify it further. In problem 3, I think you should just do it more carefully. Black Carrot (talk) 08:02, 14 February 2008 (UTC)[reply]

Ah i figured out problem 2 and possibly 1( before i noticed your comment that'll teach me to refresh eh) [Note:In problem 1 a minus sign is written in the text book]
  • Problem 2 - Simplify




(this is the answer in the text book)

  • Problem 1



( i know it isnt simplifying it but its all i could think of)

And i got futher on problem three but still hit a snag..
  • Problem 3 - Simplify




(Why isnt this 6!) textbook says
—Preceding unsigned comment added by 121.219.227.217 (talk) 08:25, 14 February 2008 (UTC)[reply]

For problem 1 - just because the textbook made a mistake, doesn't mean you have to, too. is equal to . If the textbook says something else then it is wrong, and you shouldn't invent new math rules to cover up for it.
For problem 3 - take a closer look at your very first step. -- Meni Rosenfeld (talk) 08:33, 14 February 2008 (UTC)[reply]
Ah i see the problem i didn't know you had to do that, well i did learn something new now.




Thanks Guys =] you've been a big help! —Preceding unsigned comment added by 121.219.227.217 (talk) 08:49, 14 February 2008 (UTC)[reply]

Of the three expressions above, the first and last are equal, but the middle one is different. There are too many root signs there.  --Lambiam 18:37, 14 February 2008 (UTC)[reply]
Something else seems wrong, problem 1 says: , do they want you to simplify the left side or solve for x on the right (they're very different problems). If the book answer is to be believed then I suspect they asked you to simplify . A math-wiki (talk) 02:17, 15 February 2008 (UTC)[reply]
I suspect this was indeed the question, but is not equal to . -- Meni Rosenfeld (talk) 09:21, 15 February 2008 (UTC)[reply]
You seem to be having trouble formatting your equations. Do you need any help? Black Carrot (talk) 07:57, 15 February 2008 (UTC) 07:48, 15 February 2008 (UTC)[reply]

relation between arithmatic mean, median and mode

what is the relation between arithmatic mean,median and mode? what are its limitations?please explain in detail how the relation is derivedKasiraoj (talk) 14:18, 14 February 2008 (UTC)[reply]

Mode (statistics), Arithmetic mean, Median explains what each is (in the first paragraph).. They are different measures of an 'average' - there is no arithmetic relationship between them - that depends on what you are measuring - sometimes they can all be the same, sometimes widely different.. 'Arithmetic mean' is the one most closely similar to someones concept of an average. The 'mode' can be used on non-numerical sets of data - such as popular names.
Do a search outside wikipedia should give less technical descriptions of these things and their uses..87.102.114.215 (talk) 14:56, 14 February 2008 (UTC)[reply]
You can find out something about the skewness of a distribution by comparing the mean, median and mode - I can't remember the details, but that article gives some explanation of it (most of it rather technical, though). --Tango (talk) 17:06, 14 February 2008 (UTC)[reply]
Mean, median and mode are central tendency measures: They show where data concentration occur.
The mean is the most frequently used of the three concepts. The fact of its taking into account every point of information is its great advantage, but it also could be a drawback, especially whenever outliers are present. In such cases, usually the median is used as a central tendency measure.
As Tango points out, mean, median and mode relate to skewness. Right-skewed distributions have a mean greater in value than the median, and viceversa for negative-skewed distributions. Usually the mode is located in such a way that the median stands between mode and mean. The article on skewness has a section that deals with Pearson skewness coefficients, measures which elaborate on this fact. Pallida  Mors 18:11, 14 February 2008 (UTC)[reply]
The article Mode (statistics) also gives a comparison of mean, median and mode.  --Lambiam 18:41, 14 February 2008 (UTC)[reply]

On Average

How many different measures of the "average" of a set of data are there? I know about the mean, median, and mode, are there any others? --Carnildo (talk) 21:23, 14 February 2008 (UTC)[reply]

Average has a list of measures of central tendency. --PalaceGuard008 (Talk) 21:28, 14 February 2008 (UTC)[reply]

February 15

Simple question on exponents

With an expression like 4^3^2, does one consider this as (4^3)^2 or 4^(3^2)? Myles325a (talk) 00:32, 15 February 2008 (UTC)[reply]

In what context? TeX doesn't seem to like it at all: <math>x^y^z</math> yields an error message (Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. upstream connect error or disconnect/reset before headers. reset reason: connection termination"): {\displaystyle x^{y}^{z}} ).
There's a good argument for treating it as right-associative: if you wanted (x^y)^z you'd be better off writing it as x^(y*z) but if you want x^(y^z) there's no alternative. That's how it's interpreted in some programming languages, Perl for example, although the operator is spelled ** because ^ means something else. The double-asterisk comes from FORTRAN, which also treats it as right-associative. --tcsetattr (talk / contribs) 01:11, 15 February 2008 (UTC)[reply]
In TeX you typeset it as , which makes it obvious what is intended when you look at the source. But you have to know the convention (which, as you say, is quite standardly right-associative; there's no ambiguity whatsoever) to interpret the output. --Trovatore (talk) 01:25, 15 February 2008 (UTC)[reply]

Proof by contradiction

In the article about mathematical proofs, there is a proof that is irrational, this proof assumes that if a2 is even then a must also be even. My question is : can you prove that if (a2 is even ) then (a must also be even ) even if is rational ? --George (talk) 02:51, 15 February 2008 (UTC)[reply]

Sure, that's easy to prove. Assume a is odd. Then it is of the form , for some integer n. (I take this as the definition of an odd number; if you use a different definition the proof will be slightly different.) Then . If n is an integer, then is also an integer, so is odd by definition. But this contradicts the fact that is even, so the assumption that a was odd must have been false. —Keenan Pepper 03:58, 15 February 2008 (UTC)[reply]

I changed the question , can you take another look at it ? Thanks--George (talk) 04:01, 15 February 2008 (UTC)[reply]

Um, it seems like you just removed the phrase "for any integer a" from the hypothesis. This makes the statement false, because as far as I know even and odd apply only to integers. If , then is the even integer 2, but a itself is neither even nor odd because it is not an integer. Am I missing something? —Keenan Pepper 04:11, 15 February 2008 (UTC)[reply]

I don't know what's wrong, but it doesn't seem right. I'll think about it again, maybe I am missing something.--George (talk) 04:32, 15 February 2008 (UTC)[reply]

As User:Keenan Pepper writes, we assume you must be talking about integers. And note that any integer is either of the form 2b for some b or else of the form 2c+1 for some c, call them type-0 and type-1 integers, respectively, for what gets added in either case to the multiple of 2. Any type-1 integer 2c+1 will have square equal to 4c2+4c+1. But if we define d to be 2c2+2c, then we can see that the type-1 integer has a square of the form 2d+1, so the square, too, is type-1. So, because all type-1 integers have type-1 squares, no type-1 integers have type-0 squares. Thus if a2 is type-0—and therefore not type-1—neither can a itself be type-1; the only possible type for a is thus 0. (P.S. - feel free to replace type-0 with even and type-1 with odd. Furthermore, the proof made no mention at all of )—PaulTanenbaum (talk) 04:34, 15 February 2008 (UTC)[reply]

Urgent integration question!

This is for school. I need to find the area bounded by the graphs of f(y) = -y2 + 2y and g(y) = -y. I equated them and got the intersection points (0,0) and (3,-3). I'm supposed to find the area by integrating in terms of y, so based on what the graphs look like, I guess it should be ∫-30(-y2 + 2y - [-y]) = ∫-30(-y2 + 3y), which would then give me
(-y3/3 + 3y2/2)]-30. The upper limit yields only zero values, so this should be equal to -(-(-3)3/3 + 3(-3)2/2) = -(9 + 27/2) = -22.5. Aside from the disconcerting fact that this "area" value is negative (though I know that can happen), it seems far too large to be reasonable. What am I doing wrong? My utmost thanks for any help, anon.

The problem is with the integration limits. Maybe you got confused because the independent variable is called "y" here? Given your intersection points (y,f(y))=(0,0) and (3,-3), think again about what range of y you should integrate over. --mglg(talk) 06:16, 15 February 2008 (UTC)[reply]
Also, make sure you are subtracting the small function from the large one - if you do the opposite you will get a negative result. -- Meni Rosenfeld (talk) 09:15, 15 February 2008 (UTC)[reply]
It helps to draw a rough graph with these kinds of questions. Then you can see how to use the intersection points and what to integrate. --Tango (talk) 13:43, 15 February 2008 (UTC)[reply]

Number of solutions for a system of linear equations over finite fields.

How can we find out the number of solutions for a system of linear equations over finite fields. Are there any results giving the number of solutions in terms of the number of unknowns, "rank", etc.? 210.212.228.94 (talk) 05:58, 15 February 2008 (UTC)[reply]

I think Gaussian elimination still works. Black Carrot (talk) 07:56, 15 February 2008 (UTC)[reply]
Yeah, according to the article Gaussian elimination can be performed over any field. Black Carrot (talk) 08:16, 15 February 2008 (UTC)[reply]
Yes; but what about the number of solutions? Is there any result giving any bounds for it? ( in terms of the number of variables, rank, q and n if our field is GF(qn). 210.212.228.94 (talk) 10:23, 15 February 2008 (UTC)[reply]
Exactly the same results hold as for infinite fields (that's the beauty of linear algebra). If we have m equations in n unknowns, then this is the same as a matrix equation Ax=b where A is an m x n matrix, of rank r say and nullity n-r. If b is outside the image of A then there are no solutions, otherwise there is an (n-r)-dimensional space of them. If the ground field has q elements, then the solution space has qn-r. Algebraist 12:22, 15 February 2008 (UTC)[reply]

Sobolev Spaces

Okay, so in my graduate PDE class we are working with the Sobolev Space denoted by which consists of all square integrable functions (over the interval (0,1)) such that their first derivatives are also square integrable over (0,1). Since this is our first introduction to Sobolev Spaces, our teacher gave us a few functions to determine if they are in or not. My question is that, is it just enough to show that the first derivative of the function is square integrable or do we have to show that the function itself is also square integrable? Because I think that there is some theorem in analysis which says that if a function's derivative is square integrable, then the function itself is also square integrable. If not, then does anyone have any example of a function (could be multi-variable) whose derivative is square integrable but the function itself is not?A Real Kaiser (talk) 08:22, 15 February 2008 (UTC)[reply]

How about ? 134.173.92.17 (talk) 08:45, 15 February 2008 (UTC)[reply]
Erm, you probably wanted a bounded domain. Scratch that. 134.173.92.17 (talk) 08:55, 15 February 2008 (UTC)[reply]
You want what is called the Poincare inequality: , where is the average value of f on [0,1], and C is some constant independent of f.
Basically this says that for functions in a sobolev space on a bounded domain (finite volume), the sobolev norm up to the first derivative is equivalent to the norm of the first derivative. In an unbounded domain this is not true, as the previous example 1/sqrt(x) on [1,oo) shows. JackSchmidt (talk) 18:21, 15 February 2008 (UTC)[reply]
In case you actually needed a proof. If g is a continuous function on [0,1], then m(t)=g(0)+t*(g(1)-g(0)) has the property that f=g-m is square integrable if and only if g is, f'=g'-(g(1)-g(0)) is square integrable if and only if g' is, and f(0)=f(1)=0. Then where the first inequality is the fundamental theorem of calculus, and the second is cauchy-schwarz applied to f'*1 (you can use Hoelder inequality in general), so after squaring both sides and replacing the factors on the right with their maxes. Integrating over x=0..1 gives the result:
Note that one used that the volume of the domain was 1 really quite a few times, so for a more general domain there will be some constants. For the complete proof you might need some density arguments to say that it is ok to only have considered C^1 functions, and you need to handle switching from f to g if you want an explicit inequality. On wikipedia, I think this version is called the Friedrichs' inequality, but it and several others were called Poincare in our analysis class. JackSchmidt (talk) 18:59, 15 February 2008 (UTC)[reply]

Wow, thanks! This is exactly what I was looking for.A Real Kaiser (talk) 06:18, 16 February 2008 (UTC)[reply]

relation between A.M, Median and Mode

in acadamic books it is given that the relation between arithmatic mean, median and mode is mode = 3MEDIAN - 2 A.M Please explain this and explain any limitations for it because for some uni-model group of values this formula is not working out. F0r example

0, 0, 0, 2, 2, 3, 18

its mean is 12.5, meadian is 2, mode is 0 which do not satisfy the above relation: Please explain in detailKasiraoj (talk) 08:22, 15 February 2008 (UTC)[reply]

It is definitely not true in general; and I have never heard of it. What book is this and what exactly does it say? --Spoon! (talk) 09:06, 15 February 2008 (UTC)[reply]
You should have read the links provided to you earlier (and followed up there instead of posting a new question). This relation is just an empirical rule of thumb that has been found to approximately hold in some distributions commonly encountered in practice - as I understand, in particular those that resemble the normal distribution (and yet have some asymmetry). -- Meni Rosenfeld (talk) 09:12, 15 February 2008 (UTC)[reply]

Arithmetic mean = Sum of all items divided by number of items
Median = The number with the middle value
Mode = The number that appears most in the list
(I think you know that^)
The book should give the limitations for the equation. If not, the book should be wrong. Visit me at Ftbhrygvn (Talk|Contribs|Log|Userboxes) 03:51, 16 February 2008 (UTC)[reply]

Percentage Calculator

I'm looking for a calculator online that can perform this simple function: I have two (or more) values. I want the calculator to add up the values and tell me what the percentage of each value is compared to the total value. Basically, I'm trying to calculate vote totals from election websites that list vote amounts but not the percentages, and I know there's got to be an easier way than using a calculator and adding up the values and dividing manually. — Preceding unsigned comment added by Rc251 (talkcontribs)

You could try using a spreadsheet (Excel or similar). --Tango (talk) 16:01, 15 February 2008 (UTC)[reply]
This online spreadsheet is easy to learn and to use. --hydnjo talk 04:10, 16 February 2008 (UTC)[reply]

Or use google and just type in the calculation. For example '50/95*100' in google will return a 'google calculator' answer (http://www.google.co.uk/search?hl=en&q=50%2F95*100&btnG=Search&meta=) not a search result. ny156uk (talk) 10:30, 16 February 2008 (UTC)[reply]

which number is higher?

hi there, which number or fractions is higher? 3.5%(7/2), 3.4%(17/5), 4.3%(43/10), 3.1%(31/10), 1.8%(9/5), or 5.4%(27/5)? —Preceding unsigned comment added by Don Mustafa (talkcontribs) 15:41, 15 February 2008 (UTC)[reply]

You've already got them in decimal form, so you can easily which is the bigger number. Start by looking at the whole part (ie. the bit before the decimal point), and see which is larger. If there is one with a whole part larger than all the others, that number is larger. If there are two (or more) the same, then you look at the fractional parts (ie. the bits after the decimal points) of them and see which of them is larger, and then that number is the larger (if they have the same number of digits after the point, it's just like with whole numbers, if they have different numbers of digits, add 0's to the end of the shorter to make them the same length, and then it's just like whole numbers). Alternatively, you can write all the numbers in a column making sure to line up the decimal points above each other (and make each digit the same size so they all line up - squared paper might help), then start with the column of digits furthest left, and see which is larger (if a number doesn't have a digit in that column, you know it's smaller), if two have the same digit, compare the next digits until you find ones that are different, and the number with the large digit is the larger number. Hope that helps. --Tango (talk) 15:59, 15 February 2008 (UTC)[reply]
You got to be kidding me right?. Which number is larger? 3.5 , 3.4 , 4.3 , 3.1 , 1.8 or 5.4 . This seems to be such an easy question. 122.107.129.141 (talk) 23:05, 15 February 2008 (UTC)[reply]
Hi. Please don't make any assumptions about the OP's (what does OP mean anyway) age or mathematical abilities. Thanks. ~AH1(TCU) 02:58, 16 February 2008 (UTC)[reply]
It means Original Poster, and it's necessary to make assumptions to even provide an answer. Black Carrot (talk) 04:19, 16 February 2008 (UTC)[reply]

I got the numbers from [[2]] [[3]] and [[4]]. Please, have a look the deep red colored ones and calculate the percentages into numbers. —Preceding unsigned comment added by Don Mustafa (talkcontribs) 01:46, 18 February 2008 (UTC)[reply]

Please tell us what it is exactly that you want to find out. I understand you are trying to do some comparison involving minority populations in Toronto, but the questions you have asked so far are pretty much meaningless. -- Meni Rosenfeld (talk) 10:10, 18 February 2008 (UTC)[reply]

Look, All I want is you to look at these sites and look at the deep red ones and they have the numbers in decimals and at the bottom of the screen, bottom-left, they have the legends of the colours with numbers and the numbers that are high are deep red. All I want you to do is convert the decimals into the actual numbers like the ones at the bottom of the screen. —Preceding unsigned comment added by Don Mustafa (talkcontribs) 16:52, 18 February 2008 (UTC)[reply]

Can you not do this yourself? Oh, and please remember to sign your posts. -mattbuck (Talk) 16:56, 18 February 2008 (UTC)[reply]
It looks like they are different data: the colours code the actual number of persons, while the percentage (3.3, 0.5 etc.) give the same figures as percentage of population. So by combining the two data you might find an approximation of the population of the counties/districts/quarter(?), but probably this are data available elsewhere. If you are only interested in the data about the minority there is no computation to be done. Just notice that in a populous county there might be more Arabs even if they constitute a lesser percentage, and viceversa. Goochelaar (talk) 17:37, 18 February 2008 (UTC)[reply]

which number is higher? 2

Which number is higher? 23.5%, 26.9% or 20.1%? —Preceding unsigned comment added by Don Mustafa (talkcontribs) 15:49, 15 February 2008 (UTC)[reply]

Ignore the percent sign and just treat them as you would any other numbers (see above). --Tango (talk) 15:59, 15 February 2008 (UTC)[reply]
Is this a joke? Surely someone who can type with capitals and know that "2" is bigger than "1" can read numbers... --PalaceGuard008 (Talk) 02:50, 16 February 2008 (UTC)[reply]

February 16

Coordinate system

Hello friends. I have a cartesian coordinate system, where four points are given: (0|0), (0|1), (1|0), (1|1). You have now to move these points so that at the end these points are at (0|0), (1|3)(1|1), (3|0), (2|-1). But there's one rule given: One point can only be moved, if there is another point between its old place and its new place. Now my question: Is it possible to get this latter layout from the first one? --85.178.63.105 (talk) 10:30, 16 February 2008 (UTC)[reply]

Sounds similar to Hi-Q, but without removals. Here's a solution. I don't guarantee it's minimal. It was easy enough (working backwards from the goal to the starting position) that I wonder if there is some other constraint you forgot to mention. Each of my moves jumps over a point that is exactly halfway to the destination, which you didn't even ask for, so call that a bonus.
(0,1) -> (2,-1) -- the (1,0) peg is in the middle of the jump.
(1,1) -> (1,-1) -- the (1,0) peg is in the middle.
(1,0) -> (1,-2) -- the (1,-1) peg is in the middle.
(1,-2) -> (3,0) -- the (2,-1) peg is in the middle.
(1,-1) -> (5,1) -- the (3,0) peg is in the middle.
(5,1) -> (-1,-3) -- the (2,-1) peg is in the middle.
(-1,-3) -> (1,3) -- the (0,0) peg is in the middle.
--tcsetattr (talk / contribs) 10:57, 16 February 2008 (UTC)[reply]
Oh, I'm so much sorry I do not mean (1|3) but (1|1) at the end. Can you write the solution again for this way please? --85.178.63.105 (talk) 11:10, 16 February 2008 (UTC)[reply]
In that case, assuming the middle peg has to be halfway between the starting and ending positions, it's not hard to show that there's no solution. I'll withhold the details for the moment since this looks like the kind of problem that might be assigned as math homework. Try starting with the ending position and seeing where you can go from there to get a feel for what's going on. -- BenRG (talk) 19:09, 16 February 2008 (UTC)[reply]
No, this is not a homework or something like that. My friend told me if I want to puzzle over something and gave me this exercise for the weekend. Now I don't want to tell him that I failed to do this [and I want to get a beer for free]. So please can you give me please the solution? --85.178.32.123 (talk) 23:22, 16 February 2008 (UTC)[reply]
You want me to help you defraud your friend out of a beer? I'll give you a hint. Take a checkerboard with red and white squares and put some tokens on red squares. Now move the tokens around according to the rules of this game. You will never be able to move a token onto a white square (do you see why?). This means if your friend had told you to go from, say, (0|1), (0|-1), (1|0), (-1|0) to (0|0), (0|1), (1|0), (1|1), you would know it was impossible, because the former positions are all on the same color and the latter positions aren't. It's also impossible to do it in the other direction, because all of the moves in this game are reversible. That coloring argument doesn't work for the problem he actually gave you, but a slightly different coloring does work. To figure out that coloring, start with the pieces in the ending position of your friend's problem and try moving them around until you can see which squares are reachable and which aren't. -- BenRG (talk) 00:22, 17 February 2008 (UTC)[reply]
Something I'm not clear on: is this confined to the integer lattice? If not, it can still be solved. Black Carrot (talk) 02:37, 18 February 2008 (UTC)[reply]
You're right, it was never completely clear what the rules were. My comments above only apply if the rules say that you can only move a piece from (a|b) to (c|d) if there's a piece at (½(a+c) | ½(b+d)). In that case, of course, the pieces are confined to the lattice even if the rules don't explicitly say so. If you're allowed to move whenever there's a piece on the open segment (a|b)–(c|d), then the problem seems easily solvable even on the lattice: (1|0) → (−1|0) → (3|0) then (0|1) → (4|1) → (2|−1). -- BenRG (talk) 11:25, 18 February 2008 (UTC)[reply]

February 17

Functions with different arguments

Is there a standard notation to distinguish different arguments/formulations of a given function that is usually expressed as a single argument? For example:

If you are given , it could be either or ! Would you incorporate the constant as a coargument——e.g., or , or something else?
In the case where the function, itself, is an argument of another function, expressed either singularly or as a bivariable, it would seem perfectly proper to express it likewise:

 ~Kaimbridge~00:44, 17 February 2008 (UTC)[reply]

I really can't understand what this question is asking. If , then . That's the substitution property of equality. Introducing a system of notation that breaks this rule is an awful idea. If you want to have one definition and to have a different definition, then you're really talking about two different functions, and you need to give them two different names. —Keenan Pepper 01:19, 17 February 2008 (UTC)[reply]
I think Kaimbridge is working with some already awful notation commonly used in some subject, and trying to modify it to make more sense. If so, it would help to see a reference where this notation is used. -- Meni Rosenfeld (talk) 15:18, 17 February 2008 (UTC)[reply]
Using functions like that is an abuse of notation. It's quite common in science where the difference between a physical value and the function for calculating that value is rather blurred (hence the common shorthand for "position is determined by time" of "r=r(t)", the first r is a physical value, the second r is a function). The idea is that it's obvious from context what you mean, if it isn't, you need a better notation. In formal mathematics, you should give different functions different names, so you should have a and a or something. Two functions are equal if and only if they give the same result for any given input, which your two forms of clearly don't, so they aren't the same function, so they shouldn't have the same name. (You can get away with using the same name if you can distinguish the functions by number of variables, since that removes the ambiguity, but it's often best to distinguish them more clearly.) --Tango (talk) 15:51, 17 February 2008 (UTC)[reply]

Okay, let me give you the actual scenerio.
For Earth, is geographic latitude and is the reduced latitude. At the same time, is the spherical/geographical azimuth and is the transverse geographical colatitude (likewise, and are the elliptical equivalent, based on ). My particular question had to do with derivative. With respect to latitude relationship,

But in terms of to latitude conversion,

While the functions equate, the derivatives obviously don't! In the particular situation I am dealing with, the elliptical values are localized, with respect to :

So, .

The ultimate use and purpose for all of this is this equation:

or


Thus is azimuth in nature while is elliptical. Is it just the author's responsibility to effectively distinguish the two via some indexing——e.g., or ——or is there some established special notation?  ~Kaimbridge~16:22, 17 February 2008 (UTC)[reply]

Empty set

One of my fellow ask me a simple question about Empty Set.As we call set that thing if there are some thing in it,eg people,number etc but an empty set is call a "SET" becoz there are nothing in it according to text base definition and i am not mathematician so plz simplefy me. —Preceding unsigned comment added by Usmanzia1 (talkcontribs) 02:26, 17 February 2008 (UTC)[reply]

Yes, an empty set is a set with nothing in it. It is a collection of objects, which makes it a set - just that this collection of objects is empty. x42bn6 Talk Mess 13:55, 17 February 2008 (UTC)[reply]
Try reading our article, Empty set, it should help. It's a rather strange concept to get used to, but it's common throughout maths - the lack of something is an example of a something (The empty product equals 1, the empty sum equals 0, the empty union is the empty set, the empty intersection is the universe, etc. etc.) --Tango (talk) 14:37, 17 February 2008 (UTC)[reply]

and

What is the difference between and ? Thanks, Zrs 12 (talk) 03:21, 17 February 2008 (UTC)[reply]

When they are separate, there is no difference. However, if they are used in the same equation, such as "", it often denotes that if you use + in the first instance, you match it with - in the second. The previous example would generally be used to indicate two possibilities: "" and "". 134.173.92.17 (talk) 03:53, 17 February 2008 (UTC)[reply]
Also see Plus-minus sign#Minus-plus sign. --hydnjo talk 03:58, 17 February 2008 (UTC)[reply]
Thanks, Zrs 12 (talk) 05:17, 17 February 2008 (UTC)[reply]
We want to find the probability that the system is in a given state after a given number of time steps. The set of probabilities for each state after k time steps is given by the probability vector pk. The purpose of the formula is that it gives an expression for the probability vector after k time steps in terms of the initial state vector v and the stochastic matric P - so if we know v and P we can find the probability vector at any subsequent time. The "mathematical induction" part just means that we can derive the general formula for pk by looking at the formulae for p1, p2 etc. and then generalising the pattern that we see to k time steps. Can you see where the formulae that I give above for p1, p2 come from ? Can you see how they lead to a general formula for pk ? Gandalf61 (talk) 09:35, 12 February 2008 (UTC)[reply]

I am assuming the formulae that you gave above for p1, p2 came from Summation? If this is true then can the formula be put in Sigma notation format  ? --Obsolete.fax (talk) 05:28, 17 February 2008 (UTC)[reply]

I can't see any connection with summation at all. Gandalf61 (talk) 15:02, 21 February 2008 (UTC)[reply]
Then could you answer "Can you see where the formulae that I give above for p1, p2 come from ? Can you see how they lead to a general formula for pk?" I don't know. Please help, would really appreciate. --Obsolete.fax (talk) 18:23, 23 February 2008 (UTC)[reply]
Then go back and carefully read the explanations that Lambian gave here and that I gave here. They show how the general formula for pk is derived. If there is a step that you don't understand, then say which step you get stuck on. It is not possible to help you any further unless you say which part of the explanation you don't understand. Gandalf61 (talk) 11:09, 24 February 2008 (UTC)[reply]

Indefinite integral of the Gamma function

Is there any way to integrate (doesn't have to be closed form) Gamma(x)?

--wj32 t/c 10:34, 17 February 2008 (UTC)[reply]

Well, gamma is continuous, so yes, it has an antiderivative. The Integrator gives nothing, so I suspect the antiderivative can't be expressed in terms of functions anyone's bothered naming, but I could be wrong, and don't know anything like enough differential Galois theory to prove such a result. Algebraist 14:50, 17 February 2008 (UTC)[reply]

Factorials

How do you prove, or whats the mathematical proof of O!=1? I've asked this to several math teachers and they always answer someting like: "You just take it for granted", "It's just a rule", etc... —Preceding unsigned comment added by 201.167.101.193 (talk) 21:58, 17 February 2008 (UTC)[reply]

See Factorial#Definition. Basically, it's because it turns out that whenever you come across 0! in some setting, you want it to be equal to 1. For example, n! is the number of ways you can arrange n different objects in a line. How many ways can you arrange zero objects in a line? Well, one—there is one way to arrange zero objects, but that's it. —Bkell (talk) 22:12, 17 February 2008 (UTC)[reply]
It's not something that can be proved, it's simply part of the definition of the function. -mattbuck (Talk) 22:50, 17 February 2008 (UTC)[reply]
Sure, but the reason it's defined that way is because it's the "right" definition to make. Defining 0! to be anything but 1 would break a lot of elegant formulas and identities. —Bkell (talk) 23:16, 17 February 2008 (UTC)[reply]
A better question than "why does 0! equal 1" is "why does 0! exist in the first place", and for that matter, "why does factorial exist in the first place?" It exists, by that I mean it is given its own name and used all over the place, because it is a convenient way of arranging information. 0! is included because in many applications the input winds up as zero in some special cases, and those special cases might as well be dealt with officially. It equals 1 because that's what you'd put as the output in each of those individual cases anyway. (Contrast this with division by zero, where the most convenient answer varies and no single definition would do the job.) At each step, the point is to summarize things as efficiently as possible. To do that, you introduce a structure, and make refinements of it. Only once you have a structure to describe can you start proving things about it. Black Carrot (talk) 23:26, 17 February 2008 (UTC)[reply]
When you're working with natural numbers, it's best to think of the factorial function as counting permutations. That is, n! is the number of distinct ways of arranging n different objects in a line. If you have zero objects, there's only one way to arrange them (don't do anything), so 0! = 1. More formally, if n! is the number of bijections from an n-element set to itself, then 0! = 1 because there is precisely one bijection from the empty set to itself. Michael Slone (talk) 23:39, 17 February 2008 (UTC)[reply]
Another way to think of it is by observing that n!=(n+1)!/(n+1) for all n>1, so extend that for n=0, and you get 0!=1.--Tango (talk) 23:45, 17 February 2008 (UTC)[reply]
And there's the fact that the Gamma function, a beautiful extension of the factorial, has a value of 1 at 1 (Gamma(t+1)=t! for t non-negative integer). Pallida  Mors 03:10, 18 February 2008 (UTC)[reply]

February 18

Cubic function

If you go here and enter as the equation ax3 + bx2 + cx + d = 0 and tell it to solve for x, you get a long expression as the solution. Can someone show algebraically how you can solve ax3 + bx2 + cx + d = 0 for x? Or link to a page that does? Thanks. 70.162.25.53 (talk) 03:39, 18 February 2008 (UTC)[reply]

See cubic function, specifically the Cardano's method section. Be warned, it's not quite as nice as the quadratic formula... 134.173.92.17 (talk) —Preceding comment was added at 03:59, 18 February 2008 (UTC)[reply]
(ec) The Wikipedia article on cubic functions may be of your interest, or at least this subsection of it. Outside Wikipedia, this page from MathWorld is another interesting choice. Pallida  Mors 04:06, 18 February 2008 (UTC)[reply]
I intended a reference to the subsection Root finding in that article, but the link doesn't seem to work fine. Nevermind. Pallida  Mors 04:19, 18 February 2008 (UTC)[reply]

Logic

Does anyone know where I can find a whole bunch of "Knights and Knaves" problems, with answer/explanations/solutions? Thanks. (Joseph A. Spadaro (talk) 07:51, 18 February 2008 (UTC))[reply]

Here's a bunch of problems with a twist. These problems explore the consequences of adding a third type of person, the philosophers. For more traditional questions, a Google search turns up a few pages. —Bkell (talk) 12:40, 18 February 2008 (UTC)[reply]
Also, check out the books of Raymond Smullyan. He has tons of logic puzzles that all can enjoy. –King Bee (τγ) 13:48, 18 February 2008 (UTC)[reply]
I especially recommend "Alice in Puzzleland" by Raymond Smullyan. 129.67.157.6 (talk) —Preceding comment was added at 15:15, 18 February 2008 (UTC)[reply]

Hi. Thanks to all for the input. I guess I should have made my question a little clearer. So, let me re-phrase it. I am looking for Knights and Knaves problems ... that are accompanied by answers / solutions / explanations. Right now, I only want Knight/Knave questions ... and not just logic puzzles in general. Also, I am only looking for the "simple" type (knights and knaves only), where they do not introduce third-parties (spies, randoms, philosophers, etc.) into the equation. Also, I'd like to find this on the Internet --- as I don't have too much time to go out, order a book, wait for its delivery, etc. At some later point, I will probably go out and get some Smullyan books ... but right now, I don't have that time / luxury. Any suggestions? Any good websites out there? I can't seem to find any, with my searches. Many thanks! (Joseph A. Spadaro (talk) 16:33, 18 February 2008 (UTC))[reply]

The Wikipedia article on Knights and Knaves has a few problems with explanations and solutions. There are some pages with individual knights-and-knaves problems (from one site, [5], [6], [7], [8], [9], [10], [11], [12]). —Bkell (talk) 17:46, 18 February 2008 (UTC)[reply]

help with aproof

i need help with how to prove that a number (a) is a zero divisor mod (n) iff gcd(a,n)>1?thank youHusseinshimaljasimdini (talk) 10:52, 18 February 2008 (UTC)[reply]

Think about n/gcd(a,n) - let's call this b. First of all, you can be sure that b is an integer - why ? Secondly, you can be sure that if gcd(a,n) > 1 then b mod(n) is not 0 - why ? Now think about the product ab - what is ab mod(n) ? How does this help you show that a is a zero divisor mod(n) ? Gandalf61 (talk) 12:09, 18 February 2008 (UTC)[reply]

Collecting Terms

i get how to do everything else but i seem to bomb out on collecting the terms forgive me if it is wrong
Simplify:
now im not sure but im pretty sure this is wrong
—Preceding unsigned comment added by 124.176.206.9 (talkcontribs) 12:28, 18 February 2008 (UTC)[reply]

You have one square root of 3, minus two square roots of 2, plus 2 square roots of 3, plus one square root of 2: so in the end how many square roots of 3 do you have, and how many square roots of 2? —Bkell (talk) 12:31, 18 February 2008 (UTC)[reply]
If it helps you, forget for a moment what means, and just think of it as a symbol, like a circle, perhaps. The same thing for : think of that as a triangle. So you have one circle, minus two triangles, plus two circles, plus one triangle. How many circles do you have, and how many triangles? Just be sure to write "" in your answer instead of a triangle, of course. —Bkell (talk) 12:37, 18 February 2008 (UTC)[reply]

so  ? do you just take the sign infront? so that 12a - 10b + 9c + 5b
=12 - 5b + 9c?

Think about this, this is just two applications of the Distributive property. If it's not clear why that works, just try going the other way. (Note that algebraic laws are reversible!)A math-wiki (talk) 12:56, 18 February 2008 (UTC)[reply]
You're right: the simplified answer is . Usually −1 times something is just written −something (for example, −1 × 5 = −5), and when "+−" occurs in a mathematical formula it's usually just written "−" [for example, 3 + (−2) = 3 − 2]. So you can write in a simpler way. —Bkell (talk) 13:56, 18 February 2008 (UTC)[reply]

geometry - spheres and unit cubes

seeing as there's quite a few mathematicians in here i thought i'd ask about a geometry problem i've been having. i think it's quite easy but i don't really have a clue.

imagine a unit cube. now imagine a point within this cube (call it p). i want to place a sphere with its centre at p. how would i work out the radius needed for this sphere so that the intersection volume between it and the cube equals a given value (call it v)? AlmostCrimes (talk) 14:21, 18 February 2008 (UTC)[reply]

If the sphere just intersected one side you could find the volume of the Spherical cap cut off, then subtract this from the volume of the sphere. If the sphere intersects more than one side then things get a little trickier. --Salix alba (talk) 15:07, 18 February 2008 (UTC)[reply]
[ec]It's actually not that simple. To do that you will first need some way to calculate the volume of intersection of a cube and a ball, which is pretty messy. Fortunately this latter problem is one I have worked on a while back, so I have thought of a few approaches. Since none of them is perfect, I can help you more only if you provide more details about your application (with special attention to details such as relative and absolute error tolerance, computational resources, platform on which you will do the calculations, etc.). If the question is purely out of curiosity I suggest you just leave it, though I can describe the general ideas. -- Meni Rosenfeld (talk) 15:10, 18 February 2008 (UTC)[reply]
It's not quite that difficult. If the sphere intersects each side only in the interior of that side, you can add up spherical caps as Salix alba suggested. If it covers an edge or corner, it does get a bit trickier. One way to work it out would be to take the sum of each of the caps, and subtract their intersection, and add the intersections of their intersections. Those can be worked out through some fairly straightforward integrations, if there aren't formulas available for them. Black Carrot (talk) 18:24, 18 February 2008 (UTC)[reply]
To be clearer, that's how you work out the volume of a sphere of given radius at around a given point. That will produce about a half-dozen formulas, fairly compact, each applying within a range of radii. Since they'll flow smoothly from one to the next, one of them will have the right volume. Just find the one that's about what you want and solve algebraically for the exact answer. Black Carrot (talk) 18:25, 18 February 2008 (UTC)[reply]
A small correction. I just looked up the area in a chunk of circle, and it's not as simple as I remembered. (Plug sqrt(a^2 - x^2) into [13]) He's right, you'd have to work it out numerically - that is, get the formula, then use some guess-and-check algorithm to get as many decimal places as you want. Black Carrot (talk) 18:34, 18 February 2008 (UTC)[reply]

Math Riddle

While studying for my math test, I came across this problem:

I am thinking of some polynomial with positive integer coefficients. You can ask me for the value of p[x], where p is the polynomial and x is some positive integer as many times as you want. What is the minimum number of questions you need to ask in order to find out what the polynomial is?

I am unable to figure out the answer. Since it doesnt tell you how many terms or the order of the polynomial, it's hard to find a starting spot. Can anyone help? 99.240.177.206 (talk) 18:37, 18 February 2008 (UTC)[reply]