Partial Derivatives

## Description

Sage can calculate partial derivatives. If $f(x,y) = x^2 + 17y^2$, the following Sage commands calculate $\partial f/\partial x$.

## Sage Cell

#### Code

```
x, y = var('x,y')
f = x^2 + 17*y^2
f.diff(x)
```

## Options

None

## Tags

Primary Tags: multivariable calculus, basic calculus commands

Secondary Tags: differentiation

## Related Cells

## Attribute

Permalink:

Author: Sage Tutorial v7.6

Date: 08 Jul 2017 08:27

Submitted by: Tom Judson