Evaluate an integral over a triangle

In summary: Thanks! If all you want to do is evaluate the 2D-integral, then going over to polar coordinates is just about the hardest way to do it. Much better: stay with cartesian coordinates, but change variables to ##u = x+y, v = x-y##. The integration region in ##(u,v)##-space is nice, and integrating first over ##v## and then over ##u## is simple.
  • #1
JD_PM
1,131
158

Homework Statement


Let D be the triangle with vetrices ##( 0,0 ) , ( 1,0 )\mbox{ and } ( 0,1 )##. Evaluate the integral :

$$\iint_D e^{\frac{y-x}{y+x}}$$

Homework Equations

The Attempt at a Solution


[/B]
The answer to this problem is known ( https://math.stackexchange.com/ques...forming-to-polair-coo?answertab=votes#tab-top ), but I am trying to understand some steps:

Screenshot (124).png


How could we get ##sin \theta + cos \theta = 2 cos (\theta - \pi / 4)## ?

I do not how to get from 2 to 3 neither.

Thanks.
 

Attachments

  • Screenshot (124).png
    Screenshot (124).png
    11.3 KB · Views: 624
Physics news on Phys.org
  • #2
JD_PM said:
How could we get ##sin \theta + cos \theta = 2 cos (\theta - \pi / 4)## ?
We don't. The trig identity used is that

##\sin \theta + \cos \theta = \sqrt2 \cos (\theta - \pi / 4)##

and it comes from the trig identity:

##\cos(a+b) = \cos a\cos b - \sin a\sin b##
 
  • Like
Likes JD_PM
  • #3
andrewkirk said:
We don't. The trig identity used is that

##\sin \theta + \cos \theta = \sqrt2 \cos (\theta - \pi / 4)##

and it comes from the trig identity:

##\cos(a+b) = \cos a\cos b - \sin a\sin b##

OK Thanks. Now I know that the following change of variables follows:

$$\phi = \theta - \pi / 4$$

And knowing that the cosine is an even function and sine an odd one:

TR.ID.COFUNCTIONS.png

We get to 3
 

Attachments

  • TR.ID.COFUNCTIONS.png
    TR.ID.COFUNCTIONS.png
    9.3 KB · Views: 303
  • #4
But now I do not know how to get to

$$\int_{-\pi/4}^{\pi/4} d(\tan{\phi}) e^{\tan{\phi}}$$

Is it another change of variables?
 
  • #5
JD_PM said:
But now I do not know how to get to

$$\int_{-\pi/4}^{\pi/4} d(\tan{\phi}) e^{\tan{\phi}}$$

Is it another change of variables?
Sort of. It's an ordinary substitution, with ##u = \tan(\phi), du = \sec^2(\phi)d\phi##. The integral just before that line, slightly rewritten, is
$$\int e^{\tan(\phi)} \sec^2(\phi) d\phi$$
 
  • Like
Likes JD_PM
  • #6
JD_PM said:

Homework Statement


Let D be the triangle with vetrices ##( 0,0 ) , ( 1,0 )\mbox{ and } ( 0,1 )##. Evaluate the integral :

$$\iint_D e^{\frac{y-x}{y+x}}$$

Homework Equations

The Attempt at a Solution


[/B]
The answer to this problem is known ( https://math.stackexchange.com/ques...forming-to-polair-coo?answertab=votes#tab-top ), but I am trying to understand some steps:

View attachment 239373

How could we get ##sin \theta + cos \theta = 2 cos (\theta - \pi / 4)## ?

I do not how to get from 2 to 3 neither.

Thanks.

If all you want to do is evaluate the 2D-integral, then going over to polar coordinates is just about the hardest way to do it. Much better: stay with cartesian coordinates, but change variables to ##u = x+y, v = x-y##. The integration region in ##(u,v)##-space is nice, and integrating first over ##v## and then over ##u## is simple.
 
  • Like
Likes JD_PM

FAQ: Evaluate an integral over a triangle

1. What is the definition of an integral over a triangle?

An integral over a triangle is a mathematical process that calculates the area under a function within the boundaries of a triangle.

2. How is an integral over a triangle different from a regular integral?

An integral over a triangle involves evaluating the function over a specific geometric shape, whereas a regular integral involves evaluating the function over a specific interval on the number line.

3. What are the steps involved in evaluating an integral over a triangle?

The steps involved in evaluating an integral over a triangle include:

  1. Identifying the boundaries of the triangle
  2. Setting up the integral using the appropriate formula
  3. Evaluating the integral using techniques such as substitution or integration by parts

4. What are some common applications of evaluating an integral over a triangle?

Some common applications of evaluating an integral over a triangle include calculating the area of a triangle, finding the center of mass of a triangular object, and determining the work done by a force over a triangular path.

5. Are there any limitations to evaluating an integral over a triangle?

Yes, there are some limitations to evaluating an integral over a triangle. One limitation is that the function being integrated must be continuous over the boundaries of the triangle. Additionally, the boundaries of the triangle must be well-defined and cannot intersect or overlap each other.

Back
Top