主要内容
二阶偏导数测试
一个对二阶偏导数的简短回顾, 混合偏导数的对称, 和高阶偏导数.
背景:
概括二阶导数
思考一个有着二维输入值的函数,类似
f, left parenthesis, x, comma, y, right parenthesis, equals, x, squared, y, cubed.
它的偏导数 start fraction, \partial, f, divided by, \partial, x, end fraction 和 start fraction, \partial, f, divided by, \partial, y, end fraction 在同一二位输入值 left parenthesis, x, comma, y, right parenthesis 上推导:
所以,我们也可以求偏导数的偏导数。
这些被称为二次偏导数,在单变量微积分中与一般二次导数表达方式 start fraction, d, squared, f, divided by, d, x, squared, end fraction 类似。
使用 f, start subscript, x, end subscript 来表达偏导数(在这里是关于x),你可能也会看到写成这样的二次偏导数:
牵涉到多个不同的输入变量的二次偏导数,例如 f, start subscript, start color #bc2612, y, end color #bc2612, start color #0c7f99, x, end color #0c7f99, end subscript and f, start subscript, start color #0c7f99, x, end color #0c7f99, start color #bc2612, y, end color #bc2612, end subscript, 叫做”混合偏导数“。
例 1: 树
问题:求出f, left parenthesis, x, comma, y, right parenthesis, equals, sine, left parenthesis, x, right parenthesis, y, squared 的所有二次偏导数。
解:首先,求出两个偏导数:
然后将两个偏导数各自写出来:
二阶导数的对称
注意,在以上的例题中,两个混合偏导数 start fraction, \partial, squared, f, divided by, \partial, x, \partial, y, end fraction 和 start fraction, \partial, squared, f, divided by, \partial, y, \partial, x, end fraction 是一样的。这不是巧合;这几乎在你遇到的所有练习题里都会出现。例如,看看在一般多项式 x, start superscript, n, end superscript, y, start superscript, k, end superscript 上会发生什么:
通常来说,二次导数的对称不是一直一样的。根据施瓦兹定理或克莱罗定理,如果二次偏导数在一个点周围是连续的,二次导数的对称性会一直在这个点上。为了真正了解这个精华,我们需要一些实际分析。
你应该时刻记住有例外的存在,但是二次导数的对称性对于所有你将看到的”一般“函数都有用。
示例 2:更高阶的导数
为什么在二次偏导数就停下了?我们应该求五个关于不同输入值变量的偏导数。
问题: 如果 f, left parenthesis, x, comma, y, comma, z, right parenthesis, equals, sine, left parenthesis, x, y, right parenthesis, e, start superscript, x, plus, z, end superscript, f, start subscript, z, y, z, y, x, end subscript 是多少?
解: f, start subscript, z, y, z, y, x, end subscript 的表达方式是 left parenthesis, left parenthesis, left parenthesis, left parenthesis, f, start subscript, z, end subscript, right parenthesis, start subscript, y, end subscript, right parenthesis, start subscript, z, end subscript, right parenthesis, start subscript, y, end subscript, right parenthesis, start subscript, x, end subscript 的简写,所以我们关于 z 求导,然后关于 y, 然后 z, 然后 y, 然后 x. 简洁的说,我们从左到右读。
值得一提的是在其他表达方式中有不同的阶。
所以分母从左到右的顺序决定了求导的阶。
无论如何,回到我们的问题。这是你应该挽起袖子前进的任务之一,但是为了方便,让我们用有颜色的 start color #11accd, x, end color #11accd, comma, start color #e84d39, y, end color #e84d39, comma, start color #0d923f, z, end color #0d923f 来追踪它们在哪里。
最后一步是使用延申乘积法则。
天呐!这真是一个冗长乏味的例题。但是如果你能坚持跟下来,求多个偏导数对你来说将不成问题。它是比任何别的更需要记忆的东西之一。