#$&* course Mth 174 7/28 8 Calculus IIAsst # 16
.............................................
Given Solution: We first shift the interval (- pi , pi) to the interval (0, 1). To shift the interval (-pi, pi) to (-1/2, 1/2) you would replace x by 2 pi x. To then shift the interval to (0, 1) you would in addition substitute x-1/2 for x. The function sin(k x) would become sin(2 pi k ( x - 1/2) ) = sin(2 pi kx - k pi). For even k this would be just sin(2 pi k x); for odd k this would be -sin(2 pi k x). (recall that replacing x with x - b shifts the graph b units in the x direction) The integral of the function itself over the interval is 1, so you would have a0 = 1/2. The integral of x * sin(2 pi k x) from 0 to 1 is easily found by integration by parts to be 1 / (2 pi k) (details of the integration: let u = x, dv = sin(2 pi k x) dx; v = -1 / (2 pi k) cos(2 pi k x), so the integral of v du is a multiple of sin(2 pi k x) and hence yields 0 at both limits; the u v term is -x cos(2 pi k x) / (2 pi k), which yields 0 at the left limit and -1 / (2 pi k) at the right limit).
......!!!!!!!!...................................
17:19:41 student solution: f has period b = 1, so I let x = bt/2'pi = t/2'pi &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Self-critique (if necessary): I’m confused about what you meant by this: u v term is -x cos(2 pi k x) / (2 pi k), which yields 0 at the left limit and -1 / (2 pi k) at the right limit). ------------------------------------------------ Self-critique Rating:
......!!!!!!!!...................................
21:32:53 YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY Your solution: int(cos^2(mx), x , -pi, pi) = 1 / (2 m) cos(mx) sin(mx) + x / 2 Evaluated from -pi to pi: pi / 2 - (-pi / 2) = pi
.............................................
Given Solution:
.........................................
21:32:53 ......!!!!!!!! STUDENT QUESTION on Problem #18: """"Justify the formula b(sub k) = (1/pi)integral f(x)sin(kx) dx (-pi to pi)..."""" I was able to complete this problem using the methodology on p.511-512. But I don't totally understand their justification for reducing the right side to one term (section above first boxed formula on p. 512. sin(kx) cos(mx) is the product of an even and an odd function, so is itself an odd function. Its integral over any region symmetric with respect to the origin must be 0. Note that cos(kx) goes through k complete cycles between x = -pi and x = pi, while cos(mx) goes through m complete cycles. Assuming k > m (which can be assumed without loss of generality since the values of k and m can be interchanged without changing the integrand), cos(kx) and cos(mx) will go 'in and out of phase' k - m times between x = -pi and x = pi, each time on an interval of length 2 pi / (k - m). This is easy to see by graphing two cosine functions for different integer values of k and m. Partition the interval [-2 pi, 2 pi] into subintervals each having length 2 pi / (k - m). On each such subinterval the product cos(kx) * cos(m x) is antisymmetric with respect to the midpoint of the interval and hence contributes 0 to the integral. Since the interval [-pi, pi] is partitioned into such subintervals, the integral from -pi to pi is 0. This can be easily but somewhat messily 'nailed down' with algebraic-trigonometric manipulations, which however don't add much to this geometric explanation. The function depicted below is a superposition of sine and cosine functions. The function is defined on the interval -pi < x < pi, which corresponds to the interval between the vertical lines near the left and right sides of the picture.  By the methods of this section we can find the Fourier series for this function, which has coefficients a_1 = 1 and a_5 = .3. All other coefficients are 1. Thus the Fourier series for this function is f(x) = 1 cos(1x) + .3 cos(5x), or just f(x) = cos(x) + .3 cos(5x). Here's a graph of y = cos(x):  Here's a graph of y = .3 cos(5x)  Here's a graph of both functions together. If the y coordinates of each point of this graph are added they will give us the y coordinates of the original graph, so we say that the sum of these two graphs is the original graph.  The amplitude of the cos(x) term is greater than that of the cos(5x) term, so we say that the cos(x) term has more energy. The energy is in fact determined by amplitude. The first term has amplitude 1, so its energy relative energy is 1. The first term has amplitude .3, so its relative energy is .3. If we had a general Fourier series with a_k and b_k terms, then they would be the coefficients of a cosine and a sine function. • Think of the cosine and the sine contributions as being represented by the legs of a right triangle. The hypotenuse represents what we get when we combine them. The hypotenuse would be sqrt(a_k^2 + b_k^2). • The actual argument is a little more specific than this, but this at least makes it plausible that the energy term is sqrt(a_k^2 + b_k^2). The energy for the k = 0 term is simply sqrt(A_0^2). &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Self-critique (if necessary): Why is there no a_0 and why did you only use a_1 and a_5? ------------------------------------------------ Self-critique Rating: