1 | initial version |

In addition, symbolic functions have an **integrate** method. For example, given the function $latex f(x) = \sin(x)\tan(x)$,

```
sage: var('x')
sage: f = sin(x)*tan(x)
```

its symbolic integral is calculated like so:

```
sage: f.integrate(x)
-1/2*log(sin(x) - 1) + 1/2*log(sin(x) + 1) - sin(x)
```

Be sure to provide the variable you wish to integrate with respect to as an argument to **integrate**.

2 | No.2 Revision |

In addition, symbolic functions have an **integrate** method. For example, given the function ~~$latex f(x) ~~$$f(x) = ~~\sin(x)\tan(x)$,~~\sin(x)\tan(x)$$,

```
sage: var('x')
sage: f = sin(x)*tan(x)
```

its symbolic integral is calculated like so:

```
sage: f.integrate(x)
-1/2*log(sin(x) - 1) + 1/2*log(sin(x) + 1) - sin(x)
```

Be sure to provide the variable you wish to integrate with respect to as an argument to **integrate**.

3 | No.3 Revision |

In addition, symbolic functions have an **integrate** method. For example, given the function ~~$$f(x) ~~$f(x) = ~~\sin(x)\tan(x)$$,~~\sin(x)\tan(x)$,

```
sage: var('x')
sage: f = sin(x)*tan(x)
```

its symbolic integral is calculated like so:

```
sage: f.integrate(x)
-1/2*log(sin(x) - 1) + 1/2*log(sin(x) + 1) - sin(x)
```

Be sure to provide the variable you wish to integrate with respect to as an argument to **integrate**.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.