The max value of the fourth derivative

Click For Summary
SUMMARY

The maximum value of the fourth derivative of the function \( f(x) = 2.718281828^{\frac{x^{2}}{2}} \) on the interval [0, 2] is determined to be approximately \( 43e^2 \) or 318. The fourth derivative is expressed as \( f^{(4)}(x) = e^{\frac{1}{2}x^2}(x^4 + 6x^2 + 3) \). Evaluating this at the right endpoint \( x = 2 \) confirms that the maximum occurs there, as both components of the derivative are increasing over the interval. The discussion also emphasizes the importance of correctly interpreting the factors in the derivative for accurate error estimation in Simpson's Rule.

PREREQUISITES
  • Understanding of Simpson's Rule for numerical integration
  • Knowledge of derivatives, specifically fourth derivatives
  • Familiarity with exponential functions and their properties
  • Basic graphing skills to analyze polynomial functions
NEXT STEPS
  • Study the application of Simpson's Rule in numerical integration
  • Learn about error estimation in numerical methods
  • Explore the properties of exponential functions and their derivatives
  • Investigate the behavior of polynomial functions and their maxima/minima
USEFUL FOR

Mathematicians, computer scientists, and students involved in numerical analysis, particularly those implementing numerical integration techniques and error analysis in programming.

dpb613
Messages
5
Reaction score
0

Homework Statement


I am trying to write a program to calculate an integral using Simpson's Rule. My program also needs to calculate the error. In the formula for error I need The max value of the fourth derivative. The function is 2.718281828^{\frac{x^{2}}{2}} and the interval is from 0 to 2


Homework Equations


|E|\leq\frac{(b-a)^{5}}{180n^{4}}[max|f^{(4)}(x)|]


The Attempt at a Solution


The fourth derivative of 2.718281828^{\frac{x^{2}}{2}} is approximately
(x^{4}+6x^{2}+3)*2.718281828^{\frac{x^{2}}{2}}
When evaluated at 2 this gives 317.729... Since there is a lot of math involved I would appreciate if someone can review this especially since my program is returning strange results. Also, is there anything I can learn by evaluating the fifth derivative?
 
Physics news on Phys.org
dpb613 said:

Homework Statement


I am trying to write a program to calculate an integral using Simpson's Rule. My program also needs to calculate the error. In the formula for error I need The max value of the fourth derivative. The function is 2.718281828^{\frac{x^{2}}{2}} and the interval is from 0 to 2


Homework Equations


|E|\leq\frac{(b-a)^{5}}{180n^{4}}[max|f^{(4)}(x)|]


The Attempt at a Solution


The fourth derivative of 2.718281828^{\frac{x^{2}}{2}} is approximately
(x^{4}+6x^{2}+3)*2.718281828^{\frac{x^{2}}{2}}
When evaluated at 2 this gives 317.729... Since there is a lot of math involved I would appreciate if someone can review this especially since my program is returning strange results. Also, is there anything I can learn by evaluating the fifth derivative?

It would be better to write your function exactly, as e(1/2)x2. The fourth derivative is e(1/2)x2(x4 + 6x2 + 3).

The first factor is always positive and is increasing, so can be ignored for the time being. What about y = x4 + 6x2 + 3? What does the graph of this function look like on the interval [0, 2]? Can you determine where its max. value is?
 
Mark44 said:
It would be better to write your function exactly, as e(1/2)x2. The fourth derivative is e(1/2)x2(x4 + 6x2 + 3).

The first factor is always positive and is increasing, so can be ignored for the time being. What about y = x4 + 6x2 + 3? What does the graph of this function look like on the interval [0, 2]? Can you determine where its max. value is?

It is certainly helpful to keep it in the form e(1/2)x2 and now I see that the max value of the fourth derivative is 43e2.
I am not sure why the first factor can be ignored, but for y = x4 + 6x2 + 3 I find a max value of 43 @ x=2.

So, which is it 43 or 43e2(317.729)?
 
Last edited:
dpb613 said:
It is certainly helpful to keep it in the form e(1/2)x2 and now I see that the max value of the fourth derivative is 43e2.
I am not sure why the first factor can be ignored
If you'll recall, I said "ignored for the time being."
dpb613 said:
, but for y = x4 + 6x2 + 3 I find a max value of 43 @ x=2.

So, which is it 43 or 43e2(317.729)?
For the max value of f(4)(x), use 43 * e2 ≈ 318.

The reasoning here is that e(1/2)x2 is an increasing function, so the maximum value on an interval is attained at the right endpoint. Presumably your graph of y = x4 + 6x2 + 3 showed that this function also is increasing. As that seems the case, the max value of f(4)(x) occurs when x = 2.
 
Mark44 said:
If you'll recall, I said "ignored for the time being."

For the max value of f(4)(x), use 43 * e2 ≈ 318.

The reasoning here is that e(1/2)x2 is an increasing function, so the maximum value on an interval is attained at the right endpoint. Presumably your graph of y = x4 + 6x2 + 3 showed that this function also is increasing. As that seems the case, the max value of f(4)(x) occurs when x = 2.

OK Now I understand. Thank You.
 

Similar threads

Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K