Maximum value of this integral

  • #1
Kqwert
160
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?
 

Answers and Replies

  • #2
FactChecker
Science Advisor
Gold Member
7,126
3,013
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:
  • #3
Kqwert
160
3
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.
 
  • #4
FactChecker
Science Advisor
Gold Member
7,126
3,013
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:
  • #5
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,573
1,167

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
  • #6
FactChecker
Science Advisor
Gold Member
7,126
3,013
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.
 
  • #7
Kqwert
160
3
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?
 
  • #8
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,573
1,167
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.
 

Suggested for: Maximum value of this integral

Replies
5
Views
1K
Replies
2
Views
2K
Replies
6
Views
4K
Replies
1
Views
1K
  • Last Post
Replies
10
Views
945
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
666
Replies
18
Views
905
Top