Average Value of f(x,y)=sin(x+y) Over a Rectangle

Click For Summary
SUMMARY

The average value of the function f(x,y) = sin(x+y) over the rectangle defined by 0 ≤ x ≤ π and 0 ≤ y ≤ π is calculated using double integration. The correct approach involves evaluating the integral 1/π² ∫₀^π ∫₀^π sin(x+y) dy dx, which simplifies to 1/π² ∫₀^π 2 cos(x) dx. The area A of the rectangle is π², leading to the final average value being 0, as the integral evaluates to zero. The initial claim of an average value of 1/π is incorrect due to a miscalculation in the integration process.

PREREQUISITES
  • Understanding of double integrals in calculus
  • Familiarity with trigonometric identities, specifically sin(x+y)
  • Knowledge of integration techniques for definite integrals
  • Ability to manipulate LaTeX for mathematical expressions
NEXT STEPS
  • Study the evaluation of double integrals in rectangular coordinates
  • Learn about trigonometric identities and their applications in integration
  • Practice solving integrals involving sine and cosine functions
  • Explore the use of LaTeX for formatting mathematical equations
USEFUL FOR

Students studying calculus, mathematics educators, and anyone interested in mastering double integrals and trigonometric integration techniques.

chevy900ss
Messages
16
Reaction score
0

Homework Statement



Find the average value of f(x,y)=sin(x+y) over the rectangle 0 ≤ x ≤ pi, 0 ≤ y ≤ pi.

Homework Equations


I need to know if this is the right answer please.


The Attempt at a Solution


I got 1/pi as a answer.
 
Physics news on Phys.org
You're not going to make us work this out, are you? Show us how you got it.
 
well i don't no how to show the symbols
 
Just click on the integral below, and a window will open with the LaTeX code. All you need to do is fill in where there are question marks.
For pi, use \pi. A is the area of your region. If you want to switch the order of integration, change the bottom limit from x to y and vice-versa, and switch the dx and dy.
\frac{1}{A}\int_{x = ?}^? \int_{y = ?}^? sin(x + y) dy~dx
 
\frac{1}{A}\int_{x = 0}^\pi \int_{y = 0}^\pi sin(x + y) dy~dx
 
yeah i can't figure out how to make it look like yours. It just stays in the formula form
 
chevy900ss said:
\frac{1}{A}\int_{x = 0}^\pi \int_{y = 0}^\pi sin(x + y) dy~dx
It needs to be inside [ tex] [ /tex] tags (without the space I added). Like so:
\frac{1}{A}\int_{x = 0}^\pi \int_{y = 0}^\pi sin(x + y) dy~dx

OK, so what do you get for the integral, and what do you get for A?
 
For A i get pi^2
 
the end integral i get
1/pi^2[-cosx-x(from 0 to pi)] which i get -1/pi
 
  • #10
chevy900ss said:

Homework Statement



Find the average value of f(x,y)=sin(x+y) over the rectangle 0 ≤ x ≤ pi, 0 ≤ y ≤ pi.

Homework Equations


I need to know if this is the right answer please.

The Attempt at a Solution


I got 1/pi as a answer.

I tried it and got 0. Can you show us what you got after evaluating the inner integral?

P.S. This is almost immediate if you use

\sin(x+y) = \sin(x)\cos(y) + \cos(x)\sin(y)

and break the integral into two parts, integrating the cosine term first in each case (trivial if you use symmetry).
 
Last edited:
  • #11
The area is correct, but I'm pretty sure you made an error in calculating the integral. How did you get -cosx -x?
 
  • #12
[math]
\frac{1}{pi^2}\int_0^pi\int_0^pi sin(x+y)dydx=\frac{1}{pi^2}\int_0^pi sin(x)[-cosy|_0^pi] dx=\frac{1}{pi^2}\int_0^pi (sinx-1)dx=\frac{1}{pi^2}[-cosx-x|_0^pi]=\frac{-pi}{pi^2}=\frac{-1}{pi}
[/math]
 
  • #13
<br /> \frac{1}{pi^2}\int_0^pi\int_0^pi sin(x+y)dydx=\frac{1}{pi^2}\int_0^pi sin(x)[-cosy|_0^pi] dx=\frac{1}{pi^2}\int_0^pi (sinx-1)dx=\frac{1}{pi^2}[-cosx-x|_0^pi]=\frac{-pi}{pi^2}=\frac{-1}{pi}<br />
 
  • #14
<br /> \frac{1}{\pi^2}\int_0^\pi\int_0^\pi sin(x+y)dydx=\frac{1}{\pi^2}\int_0^\pi sin(x)[-cosy|_0^\pi] dx=\frac{1}{\pi^2}\int_0^\pi (sinx-1)dx=\frac{1}{\pi^2}[-cosx-x|_0^\pi]=\frac{-\pi}{\pi^2}=\frac{-1}{\pi}<br />
 
  • #15
chevy900ss said:
<br /> \frac{1}{\pi^2}\int_0^\pi\int_0^\pi sin(x+y)dydx=\frac{1}{\pi^2}\int_0^\pi sin(x)[-cosy|_0^\pi] dx<br />

I'm not sure what you did in this step. Here is how I did it:

\begin{align*}\int_{0}^{\pi} \int_{0}^{\pi} \sin(x+y) dy dx<br /> &amp;= \int_0^{\pi}\int_{0}^{\pi} \sin x \cos y dy dx + \int_0^{\pi}\int_{0}^{\pi} \cos x \sin y dy dx \\<br /> &amp;= \int_0^\pi \sin x \left(\int_0^\pi \cos y dy \right) dx + \int_0^\pi \sin y \left(\int_0^\pi \cos x dx \right) dy \\<br /> &amp;= \int_0^\pi (\sin x) (0) dx + \int_0^\pi (\sin y) (0) dy \\<br /> &amp;= 0<br /> \end{align*}

You can also do it without using the trig identity; I highly recommend doing so. (The answer is still 0.)
 
  • #16
i see i was just no where near the right answer.
 
  • #17
chevy900ss said:
<br /> \frac{1}{\pi^2}\int_0^\pi\int_0^\pi sin(x+y)dydx=\frac{1}{\pi^2}\int_0^\pi sin(x)[-cosy|_0^\pi] dx<br />

Wait... are you assuming here that

\sin(x+y) = \sin(x) \sin(y)?

It seems that you are, but that's wrong. The inner integral should be

\int_0^\pi \sin(x+y) dy = [-\cos(x+y)]|_{y=0}^{y=\pi} = -\cos(x+\pi) + \cos(x) = \cos(x) + \cos(x) = 2\cos(x)

Now do the outer integral:

\frac{1}{\pi^2} \int_0^\pi 2 \cos(x) dx
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K