Tìm GTLN của hàm số y=(x+1)(2-x) trên [-1;2]
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
24.
\(cos\left(x-\dfrac{\pi}{2}\right)\le1\Rightarrow y\le3.1+1=4\)
\(y_{max}=4\)
26.
\(y=\sqrt{2}cos\left(2x-\dfrac{\pi}{4}\right)\)
Do \(cos\left(2x-\dfrac{\pi}{4}\right)\le1\Rightarrow y\le\sqrt{2}\)
\(y_{max}=\sqrt{2}\)
b.
\(\dfrac{1}{2}sinx+\dfrac{\sqrt{3}}{2}cosx=\dfrac{1}{2}\)
\(\Leftrightarrow cos\left(x-\dfrac{\pi}{6}\right)=\dfrac{1}{2}\)
\(\Leftrightarrow\left[{}\begin{matrix}x-\dfrac{\pi}{6}=\dfrac{\pi}{3}+k2\pi\\x-\dfrac{\pi}{6}=-\dfrac{\pi}{3}+k2\pi\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\dfrac{\pi}{2}+k2\pi\\x=-\dfrac{\pi}{6}+k2\pi\end{matrix}\right.\)
\(a,\dfrac{x^2+x+2}{\sqrt{x^2+x+1}}=\dfrac{x^2+x+1+1}{\sqrt{x^2+x+1}}=\sqrt{x^2+x+1}+\dfrac{1}{\sqrt{x^2+x+1}}\left(1\right)\)
Áp dụng BĐT cosi: \(\left(1\right)\ge2\sqrt{\sqrt{x^2+x+1}\cdot\dfrac{1}{\sqrt{x^2+x+1}}}=2\)
Dấu \("="\Leftrightarrow x^2+x+1=1\Leftrightarrow x^2+x=0\Leftrightarrow\left[{}\begin{matrix}x=0\\x=-1\end{matrix}\right.\)
Lời giải:
TXĐ: $[-1;1]$
$y'=\frac{1}{2\sqrt{x+1}}-\frac{1}{2\sqrt{1-x}}+\frac{x}{2}$
$y'=0\Leftrightarrow x=0$
$f(0)=2$;
$f(1)=f(-1)=\sqrt{2}+\frac{1}{4}$
Vậy $f_{\min}=2; f_{\max}=\frac{1}{4}+\sqrt{2}$
Do \(\left\{{}\begin{matrix}x\ge-1\Rightarrow x+1\ge0\\\sqrt{x^2+1}>0\end{matrix}\right.\) \(\Rightarrow y\ge0\)
\(y_{min}=0\) khi \(x=-1\)
Lại có: \(y^2=\dfrac{\left(x+1\right)^2}{x^2+1}=\dfrac{x^2+2x+1}{x^2+1}=\dfrac{2\left(x^2+1\right)-x^2+2x-1}{x^2+1}=2-\dfrac{\left(x-1\right)^2}{x^2+1}\le2\)
\(\Rightarrow y\le\sqrt{2}\)
\(y_{max}=\sqrt{2}\) khi \(x=1\)
\(y=f\left(x\right)=\left(x+1\right)\left(2-x\right)=-x^2+x+2\)
\(\Rightarrow maxf\left(x\right)=max\left\{f\left(-1\right);f\left(2\right);f\left(\dfrac{1}{2}\right)\right\}=f\left(\dfrac{1}{2}\right)=\dfrac{9}{4}\)