#import "/src/lib.typ": ( cetz, choice-placeholder, exam, figure-style, fill-placeholder, oblique-project, plot, question, section, step, subquestion, ) #show: exam.with( subject: "数学", year: 2018, type: "普通高等学校春季招生统一考试", name: "上海卷", source: "https://github.com/deekur/gaokaomath/blob/main/春季高考/2018/2018春季上海.pdf", regions: ("上海",), ) #let cuboid() = cetz.canvas(length: 11mm, { import cetz.draw: * let a = (0, 0, 0) let b = (3, 0, 0) let c = (3, 4, 0) let d = (0, 4, 0) let a1 = (0, 0, 5) let b1 = (3, 0, 5) let c1 = (3, 4, 5) let d1 = (0, 4, 5) let o = (1.5, 2, 5) oblique-project((1, 0), (0.35, 0.35), (0, 1), { set-style(stroke: (thickness: figure-style.thickness, join: "round")) line(a, b, c, c1, d1, a1, a) line(a1, b1, c1) line(b, b1) line(a, d, c, stroke: (dash: figure-style.dash)) line(d, d1, stroke: (dash: figure-style.dash)) line(a1, c1) line(o, b1, a) line(a, o, stroke: (dash: figure-style.dash)) for (p, label, anchor) in ( (a, $A$, "north-east"), (b, $B$, "north"), (c, $C$, "west"), (d, $D$, "south-west"), (a1, $A_1$, "east"), (b1, $B_1$, "west"), (c1, $C_1$, "south-west"), (d1, $D_1$, "south"), (o, $O$, "south"), ) { content(p, label, anchor: anchor, padding: 3pt) } }) }) #let blind-zone() = cetz.canvas(length: 2.4mm, { import cetz.draw: * set-style(stroke: figure-style.thickness) line((0, 0), (20, 0), (20, 20), (0, 20), close: true) circle((10, 10), radius: 1) circle((10, 10), radius: 0.12, stroke: none, fill: black) line((0, 6), (20, 16)) for (p, label, anchor) in ( ((0, 0), $A$, "north-east"), ((20, 0), $B$, "north-west"), ((20, 20), $C$, "south-west"), ((0, 20), $D$, "south-east"), ((10, 10), $O$, "north-west"), ((0, 6), $P$, "east"), ((20, 16), $Q$, "west"), ) { content(p, label, anchor: anchor, padding: 3pt) } }) #let triangular-prism() = cetz.canvas(length: 19mm, { import cetz.draw: * let a = (0, -1, 0) let b = (calc.sqrt(3), 0, 0) let c = (0, 1, 0) let a1 = (0, -1, 2) let b1 = (calc.sqrt(3), 0, 2) let c1 = (0, 1, 2) oblique-project((0.3, -0.3), (1, 0), (0, 1), { set-style(stroke: (thickness: figure-style.thickness, join: "round")) line(a, b, c, c1, a1, a) line(a1, b1, c1) line(b, b1) line(a, c, stroke: (dash: figure-style.dash)) line(b, c1) for (p, label, anchor) in ( (a, $A$, "east"), (b, $B$, "north"), (c, $C$, "west"), (a1, $A_1$, "south-east"), (b1, $B_1$, "north-east"), (c1, $C_1$, "south-west"), ) { content(p, label, anchor: anchor, padding: 3pt) } }) }) #let swept-segment() = cetz.canvas(length: 5mm, { import cetz.draw: * set-style(stroke: figure-style.thickness, axes: ( stroke: figure-style.thickness, padding: 0, overshoot: 0.15, shared-zero: false, )) plot.plot( size: (12, 18), axis-style: "school-book", x-min: -7, x-max: 5, y-min: -9, y-max: 9, x-label: $x$, y-label: $y$, x-tick-step: none, y-tick-step: none, { plot.annotate(resize: false, { line((0, 0), (3, 4), (3, -4), close: true) line((0, 0), (-6, 8), (-6, -8), close: true) content((-0.9, 0.15), $A$, anchor: "south-east") circle((2, 0), radius: 0.05, stroke: none, fill: black) content((2, 0), $B$, anchor: "north", padding: 3pt) content((3, 4), $(3,4)$, anchor: "south-west", padding: 3pt) content((-6, 8), $(-6,8)$, anchor: "south", padding: 3pt) content((3, -4), $(3,-4)$, anchor: "north-west", padding: 3pt) content((-6, -8), $(-6,-8)$, anchor: "north", padding: 3pt) }) }, ) }) #let lights() = cetz.canvas(length: 10mm, { import cetz.draw: * set-style(stroke: (thickness: figure-style.thickness, join: "round")) scope({ rect((0, 0), (3.8, 3.8)) for center in (1, 2.8) { let points = range(61).map(i => { let x = -0.8 + 1.6 * i / 60 (center + x, 3.2 - 4.375 * x * x) }) line(..points, close: true, fill: luma(90%)) circle((center, 4), radius: 0.12, fill: black) line((center, 3.8), (center, 3.6)) } content((1.9, -1.55), [图 1(示意)]) }) scope({ translate((5.1, 0, 0)) let points(center) = range(61).map(i => { let x = -0.9 + 1.8 * i / 60 (center + x, 3.6 - 5 * x * x) }) line(..points(0), stroke: (dash: figure-style.dash)) line(..points(1.8)) line((1.8, 3.6), (1.8, 0)) let r = calc.sqrt(3.6 / 5) line((1.8 - r, 0), (1.8 + r, 0)) line((1.64, 0), (1.64, 0.16), (1.8, 0.16)) for (p, label, anchor) in ( ((1.8, 3.6), $O$, "south"), ((1.8 - r, 0), $A$, "north-east"), ((1.8 + r, 0), $B$, "north-west"), ((1.8, 0), $C$, "north"), ) { content(p, label, anchor: anchor, padding: 3pt) } content((0.9, -1.55), [图 2]) }) scope({ translate((11, 0, 0)) let r = 1.5 let h = 1.5 * calc.sqrt(35) let s = (0, 0, h) let c = (0, 0, 0) let a = (0, r, 0) let b = (0, -r, 0) let d = (-r, 0, 0) let e = (r, 0, 0) let o = (r / 2, 0, h / 2) let point(t) = (r * calc.cos(t), r * calc.sin(t), 0) let alpha = calc.asin(r * 0.6 / (h * 0.45 * calc.sqrt(1.1225))) let first = -calc.atan(0.35) + alpha let last = -calc.atan(0.35) + 180deg - alpha let curve(y) = ( (r * r - y * y) / (2 * r), y, h * (r * r - y * y) / (2 * r * r), ) oblique-project((1, 0), (-0.35, 0.6), (0, 0.45), { line(point(first), s, point(last)) line( ..range(101).map(i => point(last + (first + 360deg - last) * i / 100)), ) line( ..range(101).map(i => point(first + (last - first) * i / 100)), stroke: (dash: figure-style.dash), ) line(d, s, e) line(s, c, o, stroke: (dash: figure-style.dash)) line(a, b, stroke: (dash: figure-style.dash)) line(d, e, stroke: (dash: figure-style.dash)) line(..range(61).map(i => curve(-r + r * i / 60))) line(..range(61).map(i => curve(r * i / 60)), stroke: ( dash: figure-style.dash, )) for (p, label, anchor) in ( (s, $S$, "south"), (c, $C$, "north-east"), (a, $A$, "south-east"), (b, $B$, "north"), (d, $D$, "east"), (e, $E$, "west"), (o, $O$, "south-west"), ) { content(p, label, anchor: anchor, padding: 3pt) } }) content((0, -1.55), [图 3]) }) }) #section[填空题:本题共 12 小题,共 54 分。第 1—6 题每小题 4 分,第 7—12 题每小题 5 分。] #question( "fill-in", score: 4, stem: [不等式 $|x|>1$ 的解集为#fill-placeholder()。], answers: ([$(-infinity,-1) union (1,+infinity)$],), explanation: [$|x|>1$ 等价于 $x< -1$ 或 $x>1$,故解集为 $(-infinity,-1) union (1,+infinity)$。], ) #question( "fill-in", score: 4, stem: [计算:$lim_(n -> infinity) (3n-1)/(n+2)=$#fill-placeholder()。], answers: ([$3$],), explanation: [$(3n-1)/(n+2)=3-7/(n+2) -> 3$。], ) #question( "fill-in", score: 4, stem: [设集合 $A={x | 04/3$。两根互为共轭复数,由韦达定理,$|z|^2=m^2-1>1/3$,且能取遍 $(1/3,+infinity)$,故 $|z| in (sqrt(3)/3,+infinity)$。], ) #question( "fill-in", score: 5, stem: [设 $a>0$,函数 $f(x)=x+2(1-x)sin(a x)$,$x in (0,1)$,若函数 $y=2x-1$ 与 $y=f(x)$ 的图象有且仅有两个不同的公共点,则 $a$ 的取值范围是#fill-placeholder()。], answers: ([$(11pi/6,19pi/6]$],), explanation: [两函数相等,得 $(1-x)(2sin(a x)+1)=0$。由 $x in (0,1)$,可化为 $sin(a x)=-1/2$。令 $t=a x$,则 $t in (0,a)$。$sin t=-1/2$ 的前三个正根为 $7pi/6,11pi/6,19pi/6$,故恰有两个交点的条件为 $11pi/6 3t^2+16t-128<=0. $ 结合时间范围,得 $0<=t<=8(sqrt(7)-1)/3$,故时长为 $8(sqrt(7)-1)/3 approx 4.4$ 秒。], ) #section[选择题:本题共 4 小题,每小题 5 分,共 20 分。每小题只有一项符合题目要求。] #question( "single-choice", score: 5, stem: [下列函数中,为偶函数的是#choice-placeholder()。], choices: ([$y=x^(-2)$], [$y=x^(1/3)$], [$y=x^(-1/2)$], [$y=x^3$]), answers: ([A],), explanation: [$y=x^(-2)$ 的定义域为 $RR without {0}$,且 $(-x)^(-2)=x^(-2)$,故为偶函数。选项 B、D 中的函数为奇函数,选项 C 的定义域 $(0,+infinity)$ 不关于原点对称。], ) #question( "single-choice", score: 5, stem: [如图,在直三棱柱 $A B C-A_1 B_1 C_1$ 的棱所在的直线中,与直线 $B C_1$ 异面的直线的条数为#choice-placeholder()。#figure(triangular-prism())], choices: ([$1$], [$2$], [$3$], [$4$]), answers: ([C],), explanation: [过 $B$ 的 $A B,B C,B B_1$ 及过 $C_1$ 的 $A_1 C_1,B_1 C_1,C C_1$ 都与 $B C_1$ 相交。其余三条棱所在直线 $A C,A_1 B_1,A A_1$ 均与 $B C_1$ 既不平行也不相交,所以共有 $3$ 条异面直线。], ) #question( "single-choice", score: 5, stem: [设 $S_n$ 为数列 ${a_n}$ 的前 $n$ 项和,“${a_n}$ 是递增数列”是“${S_n}$ 是递增数列”的#choice-placeholder()。], choices: ( [充分非必要条件], [必要非充分条件], [充要条件], [既非充分又非必要条件], ), answers: ([D],), explanation: [取 $a_n=n-10$,则 ${a_n}$ 递增,但 $S_2-S_1=a_2=-8<0$,故不充分。取 $a_n=1/n$,则 $S_(n+1)-S_n=a_(n+1)>0$,但 ${a_n}$ 递减,故不必要。], ) #question( "single-choice", score: 5, stem: [已知 $A,B$ 为平面上的两个定点,且 $|arrow(A B)|=2$,该平面上的动线段 $P Q$ 的端点 $P,Q$ 满足 $|arrow(A P)|<=5$,$arrow(A P) dot arrow(A B)=6$,$arrow(A Q)=-2arrow(A P)$,则动线段 $P Q$ 所形成图形的面积为#choice-placeholder()。], choices: ([$36$], [$60$], [$72$], [$108$]), answers: ([B],), explanation: [取 $A(0,0),B(2,0)$,设 $P(x,y)$。由 $2x=6$ 与 $x^2+y^2<=25$,得 $P(3,y)$,$-4<=y<=4$,且 $Q(-6,-2y)$。 $A$ 在线段 $P Q$ 上,线段扫过的区域是以 $A$ 为公共顶点的两个三角形,分别以 $x=3,-6$ 上长为 $8,16$ 的线段为底。故总面积为 $1/2 times 8 times 3+1/2 times 16 times 6=60$。 #figure(swept-segment())], ) #section[解答题:本题共 5 小题,共 76 分。解答应写出文字说明、证明过程或演算步骤。] #question("solution", score: 14, stem: [已知 $f(x)=cos x$。], parts: ( subquestion( score: 6, stem: [若 $f(alpha)=1/3$,且 $alpha in [0,pi]$,求 $f(alpha-pi/3)$ 的值。], answers: ([$(1+2sqrt(6))/6$],), explanation: [由 $cos alpha=1/3$,$alpha in [0,pi]$,得 $sin alpha=(2sqrt(2))/3$。故 $f(alpha-pi/3)=cos alpha cos(pi/3)+sin alpha sin(pi/3)=1/6+sqrt(6)/3=(1+2sqrt(6))/6$。], ), subquestion( score: 8, stem: [求函数 $y=f(2x)-2f(x)$ 的最小值。], answers: ([$-3/2$],), explanation: [$y=cos 2x-2cos x=2cos^2 x-2cos x-1=2(cos x-1/2)^2-3/2>=-3/2$。当 $cos x=1/2$ 时等号成立,故最小值为 $-3/2$。], ), )) #question( "solution", score: 14, stem: [已知 $a in RR$,双曲线 $Gamma:x^2/a^2-y^2=1$。], parts: ( subquestion( score: 6, stem: [若点 $(2,1)$ 在 $Gamma$ 上,求 $Gamma$ 的焦点坐标。], answers: ([$(-sqrt(3),0),(sqrt(3),0)$],), explanation: [将 $(2,1)$ 代入,得 $4/a^2-1=1$,故 $a^2=2$。由 $c^2=a^2+1=3$,得焦点坐标为 $(-sqrt(3),0),(sqrt(3),0)$。], ), subquestion( score: 8, stem: [若 $a=1$,直线 $y=k x+1$ 与 $Gamma$ 相交于 $A,B$ 两点,且线段 $A B$ 中点的横坐标为 $1$,求实数 $k$ 的值。], answers: ([$(sqrt(5)-1)/2$],), explanation: [联立方程,得 $(1-k^2)x^2-2k x-2=0$。有两个不同交点要求 $k^2!=1$ 且 $Delta=8-4k^2>0$。 由韦达定理,中点横坐标为 $k/(1-k^2)=1$,故 $k^2+k-1=0$,解得 $k=(-1 plus.minus sqrt(5))/2$。结合 $|k|0$)。由对称性,$C$ 为 $A B$ 的中点,故 $B(1.5,4.5)$。代入得 $1.5^2=2p times 4.5$,即 $p=1/4$,所以焦点到准线的距离为 $1/4$ 米。], ), subquestion( score: 7, stem: [在图 3 中,已知 $O C$ 平行于圆锥的母线 $S D$,$A B,D E$ 是圆锥底面的直径,求圆锥的母线与轴的夹角的大小(精确到 $0.01degree$)。], answers: ([$9.59degree$],), explanation: [由 $A B,D E$ 为直径及 $C$ 为 $A B$ 的中点,知 $C$ 是底面圆心,也是 $D E$ 的中点。在 $triangle S D E$ 中,$C O parallel D S$,故 $O$ 为 $S E$ 的中点,$S D=2C O=9$ 米。 设母线与轴的夹角为 $theta$。在直角三角形 $S C D$ 中,$sin theta=(C D)/(S D)=1.5/9=1/6$,故 $theta=arcsin(1/6) approx 9.59degree$。], ), ), ) #question( "solution", score: 16, stem: [设 $a>0$,函数 $f(x)=1/(1+a dot 2^x)$。], parts: ( subquestion( score: 4, stem: [若 $a=1$,求 $f(x)$ 的反函数 $f^(-1)(x)$。], answers: ([$f^(-1)(x)=log_2 ((1-x)/x)$,$0=2$,当且仅当 $x=0$ 时等号成立,故 $y<=1/(1+a)^2$,最大值为 $1/(1+a)^2$。], ), subquestion( score: 6, stem: [设 $g(x)=f(x)-f(x-1)$,若对任意 $x in (-infinity,0]$,$g(x)>=g(0)$ 恒成立,求 $a$ 的取值范围。], answers: ([$(0,sqrt(2)]$],), explanation: [令 $u=a dot 2^x$,则 $0=h(a)$。若 $a>sqrt(2)$,取 $u=sqrt(2)$,则 $h(u)=9$ 时,$S_m>=9$。因此不存在 $S_m in [6,9)$,故 ${S_n}$ 不是 ${d_n}$ 的分隔数列。], ), subquestion( stem: [设 $c_n=a q^(n-1)$,$T_n$ 是 ${c_n}$ 的前 $n$ 项和,若数列 ${T_n}$ 是 ${c_n}$ 的分隔数列,求实数 $a,q$ 的取值范围。], answers: ([$a>0$,$q>=2$。],), explanation: [#step[由递增性确定符号][由 ${c_n}$ 严格递增,得 $a>0,q>1$ 或 $a<0,00,q>1$。] #step[必要性][此时 ${T_m}$ 严格递增,且 $T_m>=c_m$。对任意 $n$,前 $n$ 个互不相交的区间 $[c_1,c_2),dots,[c_n,c_(n+1))$ 都须各含至少一个部分和。 若 $T_n>=c_(n+1)$,则从 $T_n$ 起的所有部分和均不在这些区间内,只剩 $n-1$ 个部分和,不可能满足条件。因此必须对所有正整数 $n$ 都有 $ T_n=(a(q^n-1))/(q-1) (2-q)q^n<1. $ 当 $1 +infinity$,不可能恒小于 $1$,故 $q>=2$。] #step[充分性][若 $a>0,q>=2$,则对任意正整数 $n$,都有 $T_n>=c_n$,且由 $(2-q)q^n<=0<1$ 得 $T_n0,q>=2$。]], ), ), )