1 | initial version |

You have to use the distributive property. Using Sage

```
var('x')
expand((3 + x)/x^2)
```

the output you get is

```
1/x + 3/x^2
```

and using substitute

```
expand((3 + x)/x^2).substitute(x=2)
```

you will get

```
5/4
```

which is the correct answer.

2 | No.2 Revision |

You have to use the distributive property. Using Sage

```
var('x')
expand((3 + x)/x^2)
```

the output you get is

```
1/x + 3/x^2
```

and using substitute

```
expand((3 + x)/x^2).substitute(x=2)
```

you will get

```
5/4
```

which is the correct ~~answer.~~answer. What you probably meant is

3 * x/x^2 == 3/x

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.