Evaluate an integral over a triangle

Click For Summary
The integral to evaluate is over a triangle defined by the vertices (0,0), (1,0), and (0,1). A key discussion point is the transformation of variables, where the substitution to polar coordinates is deemed complex compared to using Cartesian coordinates with a change to variables u = x+y and v = x-y. The trigonometric identity used in the transformation is clarified, correcting a misunderstanding about the relationship between sine and cosine. Additionally, the process of changing variables to reach the integral involving tan(phi) is explained as a standard substitution. Overall, the discussion emphasizes the importance of choosing the right method for evaluating the integral efficiently.
JD_PM
Messages
1,125
Reaction score
156

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: 685
Physics news on Phys.org
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
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: 360
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?
 
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
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
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
12
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
10
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
3
Views
2K