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

Click For Summary

Homework Help Overview

The discussion revolves around finding the average value of the function f(x,y)=sin(x+y) over the rectangle defined by the bounds 0 ≤ x ≤ π and 0 ≤ y ≤ π. Participants are exploring the calculations involved in evaluating the integral necessary for this average value.

Discussion Character

  • Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to evaluate the double integral of sin(x+y) over the specified rectangle and are discussing the correct setup for the integral. There are questions about the area of the rectangle and the evaluation of the integral itself.

Discussion Status

Some participants have provided their attempts at calculating the integral, while others are questioning the correctness of these attempts. There is a mix of approaches being discussed, including the use of trigonometric identities and the evaluation of integrals. Guidance has been offered regarding the proper setup of the integral and the evaluation process.

Contextual Notes

There are indications of confusion regarding the application of trigonometric identities and the evaluation of integrals, with some participants expressing uncertainty about their results. The discussion reflects a collaborative effort to clarify these mathematical concepts without reaching a definitive conclusion.

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.
[tex]\frac{1}{A}\int_{x = ?}^? \int_{y = ?}^? sin(x + y) dy~dx[/tex]
 
\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:
[tex]\frac{1}{A}\int_{x = 0}^\pi \int_{y = 0}^\pi sin(x + y) dy~dx[/tex]

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

[tex]\sin(x+y) = \sin(x)\cos(y) + \cos(x)\sin(y)[/tex]

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
[tex] \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}[/tex]
 
  • #14
[tex] \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}[/tex]
 
  • #15
chevy900ss said:
[tex] \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[/tex]

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

[tex]\begin{align*}\int_{0}^{\pi} \int_{0}^{\pi} \sin(x+y) dy dx<br /> &= \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 /> &= \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 /> &= \int_0^\pi (\sin x) (0) dx + \int_0^\pi (\sin y) (0) dy \\<br /> &= 0<br /> \end{align*}[/tex]

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:
[tex] \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[/tex]

Wait... are you assuming here that

[tex]\sin(x+y) = \sin(x) \sin(y)[/tex]?

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

[tex]\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)[/tex]

Now do the outer integral:

[tex]\frac{1}{\pi^2} \int_0^\pi 2 \cos(x) dx[/tex]
 

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
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K