Với sự giúp đỡ của sympy. Derivative[], chúng ta có thể tạo một dẫn xuất chưa được đánh giá của một biểu thức SymPy. Nó có cùng cú pháp với phương thức diff[]. Để đánh giá một đạo hàm chưa được đánh giá, hãy sử dụng phương thức doit[]
cú pháp. Đạo hàm [biểu thức, biến tham chiếu]
Thông số.
expression – Một biểu thức SymPy có đạo hàm chưa đánh giá được tìm thấy.
biến tham chiếu – Biến đối với đạo hàm được tìm thấy.trả lại. Trả về một đạo hàm chưa đánh giá của biểu thức đã cho
Ví dụ 1
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 22
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 23
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 24
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 25
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 27
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 20
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 21
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 22
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 23
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 25_______26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 222
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 222
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 227
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 228
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 229____230
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 231
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 232
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 233
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 234
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 235
________ 236 ________ 29 ________ 238
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 239
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 228
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 229____242
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 231
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 232
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 245
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 228
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 229____248
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 231
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 232
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 251
đầu ra
Expression : x**2 + y**3 + 2*y Derivative of expression with respect to x : Derivative[x**2 + y**3 + 2*y, x] Value of the derivative : 2*x
Ví dụ #2
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 22
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 23
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 24
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 25
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 27
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 20
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 21
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 22
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 23_______29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 222
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 25_______26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 28
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 222
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 25
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 29
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 25
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 227
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 222
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 26
Expression : x**3*y**3 + x**2*y**2 + 2*x*y Derivative of expression with respect to x : Derivative[x**3*y**3 + x**2*y**2 + 2*x*y, x, y] Value of the derivative : 9*x**2*y**2 + 4*x*y + 227