Maximum value of this integral

Click For Summary
To maximize the integral of exp(-ax)cos(x) from 0 to infinity, the value of a should be determined. Initially, the approach of plotting the integrand suggested that a should be minimized, but this was a misunderstanding. The correct method involves calculating the integral, which simplifies to a/(a^2 + 1). By taking the derivative of this function with respect to a and finding its maximum, it is confirmed that the optimal value of a is 1. Thus, the integral achieves its highest value when a equals 1.
Kqwert
Messages
160
Reaction score
3

Homework Statement


Find a > 0 so the integral

int(exp(-ax)*cosx)dx from 0 to inf get as high value as possible.

The Attempt at a Solution


My way of solving this is to plot the integrand, i.e. exp(-ax)*cosx and check for different values of a. The larger a is, the smaller the area under the curve from 0 to inf gets, i.e. a should be as small as possible.

Is this the correct way of doing it?
 
Physics news on Phys.org
To find local maximums / minimums of a function, look for the zeros of the derivative.

CORRECTION: This post is wrong. I misunderstood and was thinking about maximizing the range of the integral with a fixed value of a.
 
Last edited:
But how do I do that when a is unknown? I know how to derivate the function, but not what I know from doing that.
 
On homework problems, I can only give hints to guide you. You must show what the derivative is and show some work to determine where the zeros are.
CORRECTION: This post is wrong. I misunderstood and was thinking about maximizing the range of the integral with a fixed value of a.
 
Last edited:
Kqwert said:

Homework Statement


Find a > 0 so the integral

int(exp(-ax)*cosx)dx from 0 to inf get as high value as possible.

The Attempt at a Solution


My way of solving this is to plot the integrand, i.e. exp(-ax)*cosx and check for different values of a. The larger a is, the smaller the area under the curve from 0 to inf gets, i.e. a should be as small as possible.

Is this the correct way of doing it?
The method you use probably should be guided by topics you are currently studying.

It may be more rasonable to do this by evaluating the integral and then finding the maximum of the resulting function of a.
 
  • Like
Likes FactChecker
Kqwert said:
But how do I do that when a is unknown? I know how to derivate the function, but not what I know from doing that.
Sorry, I misunderstood the question. You should calculate the integral and determine the value of a that gives a minimum. To do that, it may be necessary to take the derivative of the integral with respect to a and determine when it is 0.
 
So I calculated the integral, which resulted in a/(a^2+1). This has a maximum value for a = 1, i.e. a should be 1. Is this correct?
 
Kqwert said:
So I calculated the integral, which resulted in a/(a^2+1). This has a maximum value for a = 1, i.e. a should be 1. Is this correct?
Yes, that is correct.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K