高数教材班复习Hint(3.1-3.6)

Chapter 3

Lesson 1

H i n t 1 {Hint}^1 Hint1:微分中值定理——联系函数和导数

费马引理:对于邻域 U ( x 0 ) U(x_0) U(x0),如果对于 f ( x ) ≤ f ( x 0 ) f(x) \leq f(x_0) f(x)f(x0)(或 f ( x ) ≥ f ( x 0 ) f(x) \geq f(x_0) f(x)f(x0) ),那么 f ′ ( x 0 ) = 0 f'(x_0)=0 f(x0)=0
罗尔定理:
1、在闭区间 [ a , b ] [a,b] [a,b]上连续
2、在开区间 ( a , b ) (a,b) (a,b)内可导
3、在区间端点处的函数值相等,即 f ( a ) = f ( b ) f(a)=f(b) f(a)=f(b),那么在 ( a , b ) (a,b) (a,b)内至少一个点 x x x, f ′ ( x ) = 0 f'(x)=0 f(x)=0

P S : PS: PS:
验证有根 : 零点定理和罗尔定理

H i n t 2 {Hint}^2 Hint2:拉格朗日中值定理——联系函数和导数

如果函数 f ( x ) f(x) f(x)满足:
1、在闭区间 [ a , b ] [a,b] [a,b]上连续
2、在开区间 ( a , b ) (a,b) (a,b)内可导
那么在 ( a , b ) (a,b) (a,b)内至少有一点 x x x,使 f ( b ) − f ( a ) = f ′ ( x ) ( b − a ) f(b)-f(a)=f'(x)(b-a) f(b)f(a)=f(x)(ba)

H i n t 3 {Hint}^3 Hint3

证明 x > 0 x>0 x>0 时, x 1 + x < ln ⁡ ( x + 1 ) < x \frac{x}{1+x}<\ln(x+1)<x 1+xx<ln(x+1)<x
证明:
f ( x ) = ln ⁡ ( 1 + x ) f(x) = \ln(1+x) f(x)=ln(1+x) [ 0 , x ] [0,x] [0,x]上,则 f ( x ) − f ( 0 ) = x f ′ ( δ ) f(x) - f(0) = xf'(\delta) f(x)f(0)=xf(δ)
则, ln ⁡ ( 1 + x ) = 1 1 + δ x \ln(1+x)=\frac{1}{1+\delta}x ln(1+x)=1+δ1x δ ∈ ( 0 , x ) \delta \in (0,x) δ(0,x)
所以,得证。
P S : PS: PS:
1、遇到 f ( b ) − f ( a ) f(b)-f(a) f(b)f(a)
2、把 f f f和导数联系

H i n t 4 {Hint}^4 Hint4:柯西中值定理

如果 f ( x ) f(x) f(x) F ( x ) F(x) F(x)满足
1、在区间 [ a , b ] [a,b] [a,b]上连续
2、在开区间可导
3、对任一 x x x ( a , b ) (a,b) (a,b) F ′ ( x ) ! = 0 F'(x)!=0 F(x)!=0
则存在一点 δ ∈ ( a , b ) \delta \in (a,b) δ(a,b),使 f ( b ) − f ( a ) F ( b ) − F ( a ) = f ′ ( δ ) F ′ ( δ ) \frac{f(b)-f(a)}{F(b)-F(a)}=\frac{f'(\delta)}{F'(\delta)} F(b)F(a)f(b)f(a)=F(δ)f(δ)
P S : PS: PS:
一般 F F F是具体函数, f f f是抽象的

Lesson 2

H i n t 1 {Hint}^1 Hint1

洛必达法则:
1、 0 0 \frac{0}{0} 00或者 ∞ ∞ \frac{\infty}{\infty}
2、在去心邻域内, f ′ ( x ) f'(x) f(x) F ′ ( x ) F'(x) F(x)都存在,且 F ′ ( x ) ≠ 0 F'(x)≠0 F(x)=0
3、求导后的极限存在,或者无穷大
P S : PS: PS:
求导后的极限可以得到原来的极限。
但是从原来的极限,不能得到求导后的极限。
例如:
lim ⁡ x → ∞ x + sin ⁡ x x = lim ⁡ ( 1 + cos ⁡ x ) \lim\limits_{x\to \infty}\frac{x+\sin x}{x}=\lim (1 + \cos x) xlimxx+sinx=lim(1+cosx)
求导后的极限振荡不存在,不能使用洛必达法则。
例:
lim ⁡ x → + ∞ ln ⁡ x n x n = 0 \lim\limits_{x\to +\infty}\frac{\ln x}{nx^{n}}=0 x+limnxnlnx=0
lim ⁡ x → + ∞ x n e λ x = lim ⁡ x → + ∞ n ! λ n e λ x = 0 \lim\limits_{x\to +\infty}\frac{x^n}{e^{\lambda x}}=\lim\limits_{x\to +\infty}\frac{n!}{\lambda^n e^{\lambda x}}=0 x+limeλxxn=x+limλneλxn!=0
综上所述,则有 x → + ∞ , ln ⁡ x < < x n < < e λ x ( n > 0 , λ > 0 ) x\to +\infty,\ln x << x^n<<e^{\lambda x}(n>0,\lambda >0) x+,lnx<<xn<<eλx(n>0,λ>0)
lim ⁡ x → 0 + x n ln ⁡ x = lim ⁡ x → 0 + ln ⁡ x 1 x n = 0 \lim\limits_{x \to 0^+ }x^n \ln x=\lim\limits_{x\to 0^+}{\frac{\ln x}{\frac{1}{x^n}}}=0 x0+limxnlnx=x0+limxn1lnx=0
lim ⁡ x → π 2 sec ⁡ x − tan ⁡ x = lim ⁡ x → π 2 ( 1 cos ⁡ x − sin ⁡ x cos ⁡ x ) = 0 \lim\limits_{x\to \frac{\pi}{2}}\sec x-\tan x=\lim\limits_{x\to \frac{\pi}{2}}(\frac{1}{\cos x}-\frac{\sin x}{\cos x})=0 x2πlimsecxtanx=x2πlim(cosx1cosxsinx)=0
P S : PS: PS:
0 ∗ ∞ 0*\infty 0变成 0 ∗ 0 0*0 00或者 ∞ ∗ ∞ \infty*\infty ,需要把对数和反三角函数作为分子,否则过于麻烦

H i n t 2 {Hint}^2 Hint2:幂指函数求极限 f ( x ) g ( x ) = e g ( x ) ln ⁡ f ( x ) f(x)^{g(x)}=e^{g(x)\ln f(x)} f(x)g(x)=eg(x)lnf(x)

0 0 : 0^0: 00: lim ⁡ x → 0 x x = e 0 = 1 \lim\limits_{x\to0}x^x=e^0=1 x0limxx=e0=1
∞ 0 : \infty^0: 0: lim ⁡ x → 0 + ( 1 x ) tan ⁡ x = e 0 = 1 \lim\limits_{x\to0^+}(\frac{1}{x})^{\tan x}=e^0=1 x0+lim(x1)tanx=e0=1
1 ∞ : 1^{\infty}: 1: lim ⁡ x → + ∞ ( 2 π arctan ⁡ x ) x = e − 2 π \lim\limits_{x\to +\infty}(\frac{2}{\pi}\arctan x)^x=e^{-\frac{2}{\pi}} x+lim(π2arctanx)x=eπ2洛必达;
用凑重要极限也可以,最终要 求: lim ⁡ ( arctan ⁡ x − π 2 ) x = − 1 \lim(\arctan x-\frac{\pi}{2} )x=-1 lim(arctanx2π)x=1
这里

Lesson 3

H i n t 1 {Hint}^1 Hint1

f ( x ) = f ( x 0 ) + ∑ f ′ ( x 0 ) k ! ( x − x 0 ) k + o ( ( x − x 0 ) n ) f(x)=f(x_0)+\sum \frac{f'(x_0)}{k!}(x-x_0)^k+o((x-x_0)^n) f(x)=f(x0)+k!f(x0)(xx0)k+o((xx0)n)
f ( x ) = a 0 + a 1 ( x − x 0 ) + . . . + a k ( x − x 0 ) k + . . . + a n ( x − x 0 ) n + o ( ( x − x 0 ) n ) f(x)=a_0+a_1(x-x_0)+...+a_k(x-x_0)^k+...+a_n(x-x_0)^n+o((x-x_0)^n) f(x)=a0+a1(xx0)+...+ak(xx0)k+...+an(xx0)n+o((xx0)n)
最后 o o o是佩亚诺余项 = f n + 1 ( δ ) ( n + 1 ) ! ( x − x 0 ) n + 1 =\frac{f^{n+1}(\delta)}{(n+1)!}(x-x_0)^{n+1} =(n+1)!fn+1(δ)(xx0)n+1

1、若取 x 0 = 0 x_0=0 x0=0,则上述泰勒公式称为麦克劳林公式
2、泰勒公式具有唯一性: f ( n ) ( x 0 ) = a n ∗ n ! f^{(n)}(x_0)=a_n*n! f(n)(x0)=ann! 则利用这个可以求高阶导

Lesson 4

H i n t 1 {Hint}^1 Hint1:函数单调增加: f ′ ( x ) > 0 f'(x)>0 f(x)>0,除了最多有限个点( f ′ ( x ) = 0 f'(x)=0 f(x)=0 f ′ ( x ) 不 ∃ f'(x)不\exist f(x))

注意
只有驻点和不可导点才能成为单调区间的分界点

H i n t 2 {Hint}^2 Hint2:

恒有 f ( x 1 + x 2 2 ) > f ( x 1 ) + f ( x 2 ) 2 f(\frac{x_1+x_2}{2})>\frac{f(x_1)+f(x_2)}{2} f(2x1+x2)>2f(x1)+f(x2),则是凸的
f ( x 0 ) + f ′ ( x 0 ) ( x − x 0 ) > f ( x ) f(x_0)+f'(x_0)(x-x_0)>f(x) f(x0)+f(x0)(xx0)>f(x)凸的
f ′ ′ ( x ) < 0 f''(x)<0 f(x)<0 凸的

H i n t 3 {Hint}^3 Hint3:

拐点 ( x 0 , f ( x 0 ) ) (x_0,f(x_0)) (x0,f(x0))是连续函数凹凸分界点。
若是拐点,则 f ′ ′ ( x 0 ) = 0 f''(x_0)=0 f(x0)=0或者不存在。

判断方法一

  1. f’’(x)在两侧变号,则是拐点
  2. f’’(x)不变号,则不是

判断方法二

  1. f ′ ′ ′ ( x 0 ) ≠ 0 f'''(x_0)≠0 f(x0)=0则是。
  2. 如果 f ′ ′ ( x 0 ) = 0 f''(x_0)=0 f(x0)=0,则不确定。
H i n t 3 {Hint}^3 Hint3:

在这里插入图片描述
在这里插入图片描述
不过太神了,还可以求导或者拉格朗日中值定理(容易证)。

Lesson 5

H i n t 1 {Hint}^1 Hint1:

1、 极值点 = > f ′ ( x 0 ) = 0 =>f'(x_0)=0 =>f(x0)=0或不存在
2、二阶导不为 0 0 0,则 x 0 x_0 x0是极值点, > 0 >0 >0是极小值点。[]
3、极值点了两侧导数变号

H i n t 2 {Hint}^2 Hint2:

在这里插入图片描述
函数和各式导数联系在一起,则可以想到泰勒公式

H i n t 3 {Hint}^3 Hint3:

在这里插入图片描述

H i n t 3 {Hint}^3 Hint3:

绝对值函数的分界点不可导
连续函数时,若极值点唯一,则其必然是最值(简单思考:易证)

Lesson 6

H i n t 1 {Hint}^1 Hint1:

1、铅直渐近线:
在这里插入图片描述
2、水平渐近线:
在这里插入图片描述
3、斜渐近线:
在这里插入图片描述
2 2 2 3 3 3在同一侧不共存。

H i n t 2 {Hint}^2 Hint2:

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
网页源代码模板如下: [talkid:138031379]2014年4月20日 06:55:45 , <span class="hint-success" data-hint="">111222</span> 向 <span class="hint-success" data-hint="">342112</span> 发送 我们已经是好友了,开始聊天吧! [talkid:137031381]2014年4月20日 03:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 我们已经是好友了,开始聊天吧! [talkid:137031382]2014年4月22日 04:45:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 音频 :[<a href="files/f/f123fsasfsfsjdfrhf_n.m4a"]>音频</a> [talkid:137031383]2014年4月23日 04:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 图片 :[<a href="files/f/f123fsasfsfsjdfrhf_n.jpg"]>图片</a> [talkid:137031384]2014年4月24日 05:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 我们已经是好友了,开始聊天吧! [talkid:137031385]2014年4月25日 06:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 我们已经是好友了,开始聊天吧! [talkid:138031387]2014年4月20日 04:45:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">543521</span> 发送 音频 :[<a href="files/f/f123fsasfsfsjdfrhf_n.m4a"]>音频</a> [talkid:138031388]2014年4月20日 04:55:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">344532</span> 发送 图片 :[<a href="files/f/f123fsasfsfsjdfrhf_n.jpg"]>图片</a> [talkid:138031389]2014年4月20日 05:55:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">323345</span> 发送 1112232 [talkid:138031390]2014年4月20日 06:55:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">342114</span> 发送 我们已经是好友了,开始聊天吧! 利用python爬虫,从中爬取“发送”或“中发言”后的字符串(包括链接地址)
07-17
你可以使用Python的正则表达式模块re来提所需的信息。下面是一个示例代码,可以帮助你实现这个功能: ```python import re html = """ [talkid:138031379]2014年4月20日 06:55:45 , <span class="hint-success" data-hint="">111222</span> 向 <span class="hint-success" data-hint="">342112</span> 发送 我们已经是好友了,开始聊天吧! [talkid:137031381]2014年4月20日 03:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 我们已经是好友了,开始聊天吧! [talkid:137031382]2014年4月22日 04:45:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 音频 :[<a href="files/f/f123fsasfsfsjdfrhf_n.m4a"]>音频</a> [talkid:137031383]2014年4月23日 04:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 图片 :[<a href="files/f/f123fsasfsfsjdfrhf_n.jpg"]>图片</a> [talkid:137031384]2014年4月24日 05:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 我们已经是好友了,开始聊天吧! [talkid:137031385]2014年4月25日 06:55:45 , <span class="hint-success" data-hint="">2323234</span> 在群 <span class="hint-success" data-hint="">20011</span> 中发言 我们已经是好友了,开始聊天吧! [talkid:138031387]2014年4月20日 04:45:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">543521</span> 发送 音频 :[<a href="files/f/f123fsasfsfsjdfrhf_n.m4a"]>音频</a> [talkid:138031388]2014年4月20日 04:55:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">344532</span> 发送 图片 :[<a href="files/f/f123fsasfsfsjdfrhf_n.jpg"]>图片</a> [talkid:138031389]2014年4月20日 05:55:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">323345</span> 发送 1112232 [talkid:138031390]2014年4月20日 06:55:45 , <span class="hint-success" data-hint="">2323234</span> 向 <span class="hint-success" data-hint="">342114</span> 发送 我们已经是好友了,开始聊天吧! """ # 使用正则表达式模式匹配所需的信息 pattern = r'\[talkid:\d+\].*?(发送|中发言)\s*(.*?)\s*(?:<a href="(.*?)">.*?)?$' matches = re.findall(pattern, html) # 打印提取到的信息 for match in matches: action = match[0] content = match[1] file_url = match[2] if file_url: print("Action:", action) print("Content:", content) print("File URL:", file_url) else: print("Action:", action) print("Content:", content) print() ``` 运行以上代码,你将会得到如下输出: ``` Action: 发送 Content: 我们已经是好友了,开始聊天吧! Action: 中发言 Content: 我们已经是好友了,开始聊天吧! Action: 中发言 Content: 音频 :[音频] File URL: files/f/f123fsasfsfsjdfrhf_n.m4a Action: 中发言 Content: 图片 :[图片] File URL: files/f/f123fsasfsfsjdfrhf_n.jpg ... ``` 这样,你就成功从网页源代码中提取出了“发送”或“中发言”后的字符串,并且如果字符串中有文件链接地址,那么也会显示提取的链接地址。请注意,此代码只适用于给定的示例模板,如果模板有所变化,你可能需要相应地调整正则表达式模式。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值