Testwiki:Reference desk/Archives/Mathematics/2011 April 26

From testwiki
Revision as of 09:21, 22 February 2022 by imported>MalnadachBot (Fixed Lint errors. (Task 12))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < April 25 ! width="25%" align="center"|<< Mar | April | May >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


April 26

Integration

Suppose you have to evaluate the integral of f(s) wrt s around the closed contour C numerically, and you don't actually have the entire curve C, merely a, rather large, number of discrete points on C. how do you proceed? Just for the record, I can evaluate a contour integral analytically but this has to be done with a computer, a realm in which my skills do not lie. Thanks. 131.111.55.91 (talk) 09:17, 26 April 2011 (UTC)

Of the top of my head: Let z1,zn be your points where z1 is the least according to the lexicographical order. Starting from i=1 do the following: Consider a circle of sufficiently big radius centered around zi which definitely is big enough to enclose (or contain on the boundary) some other zj. Consider the circle of radius |zizj| now. Does it contain some other zt? If so consider the circle of radius |zizt|. Iteratively, consider circles inside previously considered circles such that all of them are centered around zi until you have found the zp which is closest to zi. Put zi ,zp in an array. Go on to zp and strike i out of the list of yet to be considered values amongst 1,2,...n . Keep on repeating until the list is empty and in this new reordering call the values Z1,Zn. This procedure would give you Zi's arranged such that each point is followed by the point closest to it. Now you can use the sum i=1n1f(zi)|ZiZi+1| as an approximation to the integral.-Shahab (talk) 11:13, 26 April 2011 (UTC)
I think it should be Zi+1Zi, not |ZiZi+1|. Looie496 (talk) 16:35, 26 April 2011 (UTC)
It depends on whether it's a line integral wrt arc length, or a proper contour integral in the sense of complex variables. I don't feel like the OP gives enough context to decide which. In either case, I don't see why there is any fussing over the order of the points: they need to be given in the order they appear on the curve. Sławomir Biały (talk) 16:46, 26 April 2011 (UTC)
And it's suspicious that the value f(zn) isn't used. To estimate a complex line integral I think a better formula is i=1n12(f(Zi)+f(Zi+1))(Zi+1Zi) where Zn+1=Z1 (wrap around). That is, compute the integral over a closed polygon, and approximate the value along each segment by the average of its endpoint values. 98.248.42.252 (talk) 15:32, 27 April 2011 (UTC)

Showing p is of first category in r for r > p (and a second query on weak convergence)

Hi all,

I want to show that the sequence space pr for 1p,p<r is of first category in r under the standard r norm. My thought was to write p=n{xp:xpn} and then find for a given x,xpn, some y with yp>n, xyr<ϵ, i.e. given any arbitrary ball in one of the closed sets {xp:xpn}, we have some y not in that set contained in the ball. However, I'm failing to find such a y for a given x: if this is the right method, could anyone suggest anything? Otherwise, what am I doing wrong? I also wanted to find out what happened in the case r = p: is there anything different going on then? Delaypoems101 (talk) 16:49, 26 April 2011 (UTC)

This should work. The trick is to modify the tail of xp so that yp>n but xyr<ϵ. Sławomir Biały (talk) 14:49, 28 April 2011 (UTC)
I'm afraid I've also come across a second question I'm having trouble on in the meantime, it's not going very well! I wasn't sure whether to ask in a separate question or not, given it's on a similar topic: I'm very sorry if this is all too much. If X is a complex Banach space, we say a sequence xi ∈ X converges to x ∈ X weakly if ϕ(xi)ϕ(x)ϕX*, the dual space of X. I want to show that if X is 2, then if xi1i, then there is a subsequence converging weakly to x ∈ X with x1, and if X is 1, xi converges to some x ∈ X weakly iff it converges to x in the usual sense. For the first part of this, I tried using the fact that every coordinate is bounded and thus has a convergent subsequence (is a bounded sequence), so find a convergent subsequence in the first coordinate, then find a convergent subsequence of that sequence in the second coordinate, and then a convergent subsequence of that sequence in the third coordinate, and so on. Then take the n-th term from the n-th subsequence, and this gives you a sequence converging eventually in all coordinates: this seemed like the 'logical' subsequence. However, it isn't obvious to me whether or not it converges weakly, and if so why it only converges weakly. Similarly in the second part, it's obvious if it converges it converges weakly, but why is it that if it converges weakly it must converge, when this doesn't hold in 2? Why do these behave differently? Many, many thanks for your help Delaypoems101 (talk) 17:51, 26 April 2011 (UTC)
In 2, this argument doesn't work basically for the reason you have stated. A modification will work, though: produce convergence on each element of a countable dense subset of 2 by using this kind of diagonalization argument. (This is the sequential Banach-Alaoglu theorem.) This technique fails in 1 because the dual space, , is not separable. Sławomir Biały (talk) 14:49, 28 April 2011 (UTC)