derive 1/x
To simplify differentiation, we rewrite <math><mfrac><mrow><mn>1</mn></mrow><mrow><mi>x</mi></mrow></mfrac></math> as <math><msup><mrow><mi>x</mi></mrow><mrow><mn>-1</mn></mrow></msup></math> Let's differentiate: <math><mo>(</mo><msup><mrow><mi>x</mi></mrow><mrow><mn>-1</mn></mrow></msup><mo>)'</mo></math> We differentiate using: <m><math><mo>(</mo><msup><mrow><mi>f</mi></mrow><mrow><mi>n</mi></mrow></msup><mo>)'</mo><mo> = </mo><mi>n</mi><mo>·</mo><mo>(</mo><mi>f</mi><mo>)'</mo><mo>·</mo><msup><mrow><mi>f</mi></mrow><mrow><mo>(</mo><mi>n</mi><mo> -</mo><mn>1</mn><mo>)</mo></mrow></msup></math></m> (where <m>f</m> = <m><math><mi>x</mi></math></m>) <math><mn>-1</mn><mo>·</mo><msup><mrow><mi>x</mi></mrow><mrow><mn>-2</mn></mrow></msup></math> <math><mo>-</mo><msup><mrow><mi>x</mi></mrow><mrow><mn>-2</mn></mrow></msup></math> <math><mfrac><mrow><mn>1</mn></mrow><mrow><mo>-</mo><msup><mrow><mi>x</mi></mrow><mrow><mn>2</mn></mrow></msup></mrow></mfrac></math> ▷<b>Result: <math><mo>-</mo><mfrac><mrow><mn>1</mn></mrow><mrow><msup><mrow><mi>x</mi></mrow><mrow><mn>2</mn></mrow></msup></mrow></mfrac></math></b><span style='font-size:smaller'> (computation took 6 steps and 1 ms)</span>