14.分别在下面的范围内,求函数$y=x^2 -2x -3$的最大值或最小值.
(1)$0<x<2$;
(2)$2≤ x≤3$.
(1)$0<x<2$;
(2)$2≤ x≤3$.
答案
(1) 最小值$-4$,无最大值
(2) 最小值$-3$,最大值$0$
(2) 最小值$-3$,最大值$0$
15.当$a≤ x≤ a+1$时,函数$y=x^2-2x+1$的最小值为1,则$a$的值是多少?
答案
15. 解: 当 $y=1$ 时, 有 $x^2-2x+1=1$, 解得 $x_1=0$,$x_2=2$,
$\because$ 当 $a≤ x≤ a+1$ 时, 函数有最小值 1, $\therefore a=2$ 或 $a+1=0$,
$\therefore a=2$ 或 $a=-1$. 故答案为 2 或 $-1$.
$\because$ 当 $a≤ x≤ a+1$ 时, 函数有最小值 1, $\therefore a=2$ 或 $a+1=0$,
$\therefore a=2$ 或 $a=-1$. 故答案为 2 或 $-1$.
16. 二次函数$y=-x^2+bx+c$($b,c$为常数)的图象经过点$(0,-3),(-6,-3)$。
(1)求$b,c$的值。
(2)当$-4≤ x≤0$时,求$y$的最大值。
(3)当$m≤ x≤0$时,若$y$的最大值与最小值之和为2,求$m$的值。
(1)求$b,c$的值。
(2)当$-4≤ x≤0$时,求$y$的最大值。
(3)当$m≤ x≤0$时,若$y$的最大值与最小值之和为2,求$m$的值。
答案
16. 解:(1)把$(0,-3)$,$(-6,-3)$代入 $y=-x^2+bx+c$, 得
$b=-6$,$c=-3$.
(2) $\because y=-x^2-6x-3=-(x+3)^2+6$,
又 $\because -4≤ x≤ 0$, $\therefore$ 当 $x=-3$ 时, $y$ 有最大值为 6.
(3) ①当 $-3<m≤ 0$ 时,
当 $x=0$ 时, $y$ 有最小值为 $-3$,
当 $x=m$ 时, $y$ 有最大值为 $-m^2-6m-3$,
$\therefore -m^2-6m-3+(-3)=2$,
$\therefore m=-2$ 或 $m=-4$(舍去).
②当 $m≤ -3$ 时,
当 $x=-3$ 时 $y$ 有最大值为 6,
$\because y$ 的最大值与最小值之和为 2,
$\therefore y$ 最小值为 $-4$,
$\therefore -(m+3)^2+6=-4$,
$\therefore m=-3-\sqrt{10}$ 或 $m=-3+\sqrt{10}$(舍去).
综上所述, $m=-2$ 或 $m=-3-\sqrt{10}$.
$b=-6$,$c=-3$.
(2) $\because y=-x^2-6x-3=-(x+3)^2+6$,
又 $\because -4≤ x≤ 0$, $\therefore$ 当 $x=-3$ 时, $y$ 有最大值为 6.
(3) ①当 $-3<m≤ 0$ 时,
当 $x=0$ 时, $y$ 有最小值为 $-3$,
当 $x=m$ 时, $y$ 有最大值为 $-m^2-6m-3$,
$\therefore -m^2-6m-3+(-3)=2$,
$\therefore m=-2$ 或 $m=-4$(舍去).
②当 $m≤ -3$ 时,
当 $x=-3$ 时 $y$ 有最大值为 6,
$\because y$ 的最大值与最小值之和为 2,
$\therefore y$ 最小值为 $-4$,
$\therefore -(m+3)^2+6=-4$,
$\therefore m=-3-\sqrt{10}$ 或 $m=-3+\sqrt{10}$(舍去).
综上所述, $m=-2$ 或 $m=-3-\sqrt{10}$.
登录