f(x) =  -2x  on the interval (-pi, 0)

           2x on the interval (0, pi)
in Calculus Answers by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

The two pieces of the function are represented graphically by two slanting lines. -2x for x between -(pi) and zero produces f(x) values +2(pi) to 0 as a line sloping from left to right downwards (negative gradient), and the other piece of the function produces values 0 to +2(pi) sloping from left to write upwards (positive gradient). The whole function represents a V shape. The point (0,0) is defined by both pieces. The sine function resembles this shape approximately for x values between -(pi) and +(pi). The whole of the function lies above the x-axis. Since sin x is 1 at x=(pi)/2 and -(pi)/2, but f(x) requires its value to be 2(pi) for these limits, then we must halve x in sin x and multiply sin x by 2(pi) to emulate f(x). That is, 2(pi)sin(x/2). When x=-(pi), this function becomes 2(pi)sin(-(pi)/2) = 2(pi); when x=0 it's zero; and when x=(pi), it becomes 2(pi). That would be a first approximation to f(x) as a harmonic function.

To proceed we note that the total range is 2(pi), the period of the function. The general infinite Fourier series becomes:

f(x)=a[0]+a[1]cos x + b[1]sin x + a[2]cos 2x + b[2]sin 2x +... to infinity, where I've used square brackets to distinguish between the different constants for the a and b series. This can be written compactly as:

f(x)=a[0]/2 + (sum for n between 1 and (infinity) of){a[n]cos(nx)+b[n]sin(nx)}, where:

a[0]=1/(pi)(integral over the period of)f(x)dx

a[n]=1/(pi)(integral over the period of)f(x)cos(nx)dx

b[n]=1/(pi)(integral over the period of)f(x)sin(nx)dx

But f(x) is in pieces so we must be careful about the limits of integration.

For the piecewise solution, we have to consider separately the left and right components of the function. By left I mean the the left leg of the V graph (where x is between -(pi) and zero) and the right leg (where x is between zero and (pi)). The period of the function, 2(pi), is split between the left and right components, each contributing a range of (pi).

It's useful to prepare for the integration process by writing down the required functions and their derivatives. x^2 has the derivative (dy/dx) 2x, which is the basis of the original function, f(x). We also need -(cos(nx))/n, for which dy/dx is (sin(nx)); (sin(nx))/n, for which dy/dx is cos(nx); 2 is dy/dx of 2x.

We'll be integrating by parts, so the formula (integral between limits A and B of)u.dv/dx.dx=[u.v](between A and B) - (integral between limits A and B of)v.du/dx.dx will be used, where u and v are functions of x.

From these we can see that, putting u=2x and v=(sin(nx))/n, (integral of)2xcos(nx)dx=(2xsin(nx))/n-(integral of)2(sin(nx))/n.dx = (2xsin(nx))/n+2cos(nx))/n^2. Also, putting u=2x and v=(cos(nx))/n, (integral of)2xsin(nx)dx=(2xcos(nx))/n-(integral of)2(cos(nx)/n.dx = (2xcos(nx))/n-2sin(nx))/n^2. These integrals are general and I've omitted limits because these will depend on whether we're looking at the left or right components of the function.

More to follow...

by Top Rated User (1.1m points)
edited by

Related questions

1 answer
1 answer
asked Jul 1, 2014 in Trigonometry Answers by Prabha Karan | 2.8k views
0 answers
1 answer
asked Oct 29, 2012 in Calculus Answers by anonymous | 3.2k views
0 answers
asked Aug 20, 2012 in Calculus Answers by anonymous | 864 views
0 answers
2 answers
asked Nov 10, 2011 in Trigonometry Answers by anonymous | 4.3k views
0 answers
asked Feb 21, 2014 in Other Math Topics by logeshwari Level 1 User (120 points) | 532 views
0 answers
asked Feb 21, 2014 in Other Math Topics by logeshwari | 957 views
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!

Most popular tags

algebra problems solving equations word problems calculating percentages math problem geometry problems calculus problems math fraction problems trigonometry problems rounding numbers simplifying expressions solve for x order of operations probability algebra pre algebra problems word problem evaluate the expression slope intercept form statistics problems factoring polynomials solving inequalities 6th grade math how to find y intercept equation of a line sequences and series algebra 2 problems logarithmic equations solving systems of equations by substitution dividing fractions greatest common factor square roots geometric shapes graphing linear equations long division solving systems of equations least to greatest dividing decimals substitution method proving trigonometric identities least common multiple factoring polynomials ratio and proportion trig identity precalculus problems standard form of an equation solving equations with fractions http: mathhomeworkanswers.org ask# function of x calculus slope of a line through 2 points algebraic expressions solving equations with variables on both sides college algebra domain of a function solving systems of equations by elimination differential equation algebra word problems distributive property solving quadratic equations perimeter of a rectangle trinomial factoring factors of a number fraction word problems slope of a line limit of a function greater than or less than geometry division fractions how to find x intercept differentiation exponents 8th grade math simplifying fractions geometry 10th grade equivalent fractions inverse function area of a triangle elimination method story problems standard deviation integral ratios simplify systems of equations containing three variables width of a rectangle percentages area of a circle circumference of a circle place value solving triangles parallel lines mathematical proofs solving linear equations 5th grade math mixed numbers to improper fractions scientific notation problems quadratic functions number of sides of a polygon length of a rectangle statistics zeros of a function prime factorization percents algebra 1 evaluating functions derivative of a function equation area of a rectangle lowest common denominator solving systems of equations by graphing integers algebra 2 diameter of a circle dividing polynomials vertex of a parabola calculus problem perpendicular lines combining like terms complex numbers geometry word problems converting fractions to decimals finding the nth term range of a function 4th grade math greatest to least ordered pairs functions radius of a circle least common denominator slope unit conversion solve for y calculators solving radical equations calculate distance between two points area word problems equation of a tangent line multiplying fractions chemistry binomial expansion place values absolute value round to the nearest tenth common denominator sets set builder notation please help me to answer this step by step significant figures simplifying radicals arithmetic sequences median age problem trigonometry graphing derivatives number patterns adding fractions radicals midpoint of a line roots of polynomials product of two consecutive numbers limits decimals compound interest please help pre-algebra problems divisibility rules graphing functions subtracting fractions angles numbers discrete mathematics volume of a cylinder simultaneous equations integration probability of an event comparing decimals factor by grouping vectors percentage expanded forms rational irrational numbers improper fractions to mixed numbers algebra1 matrices logarithms how to complete the square mean statistics problem analytic geometry geometry problem rounding decimals 5th grade math problems solving equations with variables solving quadratic equations by completing the square simplifying trigonometric equation using identities
87,447 questions
99,052 answers
2,422 comments
4,785 users