# Local Max/Min, Critical points of integral

Given $$f(t) = \int_0^t \frac{x^2+14x+45}{1+\cos^2(x)}dx$$

I need to find the local max of f(t). Well here using the fundamental theorem of calculus, I know I can just replace the $x$ with $t$. But I do not remember how to find the local max/min and if I remember correctly critical points were in the same context, So some insight on critical points would be good too. Thank you.

-

Hint: What is $f'(t)$? When is it zero? – Alexander Thumm Jan 28 at 7:33

## 2 Answers

Just find $f''(t)$ and then see the sign of $f''(t)$ at the critical points. You should get $f''(-5)>0$ which tells you $x=-5$ is a minima and $f''(-9)<0$ which tells you $x=-9$ is a maxima. See second derivative test.

-

I occasionally, use this test in the class. +1 – Babak S. Jan 28 at 8:13
@BabakSorouh: Thank you. – Mhenni Benghorbal Jan 28 at 8:26

The minimum, maximum and inflection points will be at the points in which the derivative, in your case the integrand is equal to zero.

In your case, these are simply the solutions to: $$x^2+14x+45=0$$ Namely, $x=-9, -5$. To find which is a minimum / maximum, I would just evaluate the integrand at some sample points such as $x=0,-2\pi,-3\pi$. You get that for instance: $$f'(0) = \frac{45}{2} >0$$ And that: $$f'(-2\pi) = \frac{4\pi^2-28\pi+45}{2} <0$$ This means the point $x=-5$ is a minimum, since the derivative is increasing at between $-2\pi$ and $0$. A similar calculation follows for the point $x=-9$.

-
@BabakSorouh - actually I'm having doubts. The integrand isn't defined at $x=\pi(n-1/2)$.. – nbubis Jan 28 at 7:43
So, those points would be regarded as critical points. – Babak S. Jan 28 at 7:44
@BabakSorouh - the OP changed the question, and everything shold be defined properly. – nbubis Jan 28 at 7:49

1
Confused: I need to find where my solution = 0 ? where did $x = -7 +-2sqrt(6)$ come from ? – Reza M. Jan 28 at 7:50

1
@RezaM. - you need to find where the derivative, in this case the integrand is zero. the solution come from equating the integrand, and therefore the parabola to zero. Also fixed the solution according to 45 and not 25.. – nbubis Jan 28 at 7:51
show 5 more comments
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 17, "mathjax_display_tex": 4, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9215037226676941, "perplexity_flag": "head"}