Opened 13 years ago

Closed 13 years ago

# [with patch, positive review] Ratio of two symbolic expressions involving derivative does not simplify

Reported by: Owned by: gmhossain burcin major sage-4.1.2 symbolics Sage 4.1.2.alpha4 Burcin Erocal Karl-Dieter Crisman

### Description

In new symbolics, ratio of two symbolic expressions involving derivative does not simplify

```sage: f(x) = function('f', x)
sage: g = f(x).diff(x)
sage: h = f(x).diff(x)*sin(x)
sage: h/g
sin(x)*D[0](f)(x)/D[0](f)(x)
```

However, for some ordering it does simplify

```sage: f(x) = function('f', x)
sage: g = f(x).diff(x)
sage: h = sin(x)*f(x).diff(x)
sage: h/g
sin(x)
```

### comment:1 Changed 13 years ago by burcin

• Authors set to Burcin Erocal
• Milestone set to sage-4.1.2
• Owner changed from (none) to burcin
• Status changed from new to assigned
• Summary changed from Ratio of two symbolic expressions involving derivative does not simplify to [with patch, waiting for new pynac] Ratio of two symbolic expressions involving derivative does not simplify

This is fixed in my pynac tree, attachment:trac_6524-fderivative_compare.patch contains doctests for Sage.

I will post a new pynac package and review instructions soon.

### comment:2 Changed 13 years ago by burcin

• Summary changed from [with patch, waiting for new pynac] Ratio of two symbolic expressions involving derivative does not simplify to [with patch, needs review] Ratio of two symbolic expressions involving derivative does not simplify

New pynac package available at #6993.

### comment:3 Changed 13 years ago by kcrisman

• Reviewers set to Karl-Dieter Crisman
• Summary changed from [with patch, needs review] Ratio of two symbolic expressions involving derivative does not simplify to [with patch, positive review] Ratio of two symbolic expressions involving derivative does not simplify

Looks like it's fixed. Pending of course positive review of the Pynac package as a whole.

### comment:4 Changed 13 years ago by mvngu

• Merged in set to Sage 4.1.2.alpha3
• Resolution set to fixed
• Status changed from assigned to closed

### comment:5 Changed 13 years ago by mvngu

• Merged in changed from Sage 4.1.2.alpha3 to Sage 4.1.2.alpha4

There is no 4.1.2.alpha3. Sage 4.1.2.alpha3 was William Stein's release for working on making the notebook a standalone package.

Note: See TracTickets for help on using tickets.