Differences between revisions 4 and 5
Revision 4 as of 2007-06-24 22:39:34
Size: 675
Editor: DavidJoyner
Comment:
Revision 5 as of 2007-06-24 23:26:30
Size: 1092
Editor: DavidJoyner
Comment:
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
=== Laws ===

SAGE can verify the product rule

{{{
sage: function('f, g')
(f, g)
sage: diff(f(t)*g(t),t)
f(t)*diff(g(t), t, 1) + g(t)*diff(f(t), t, 1)
}}}
the quotient rule

{{{
sage: diff(f(t)/g(t), t)
diff(f(t), t, 1)/g(t) - (f(t)*diff(g(t), t, 1)/g(t)^2)
}}}

and linearity:

{{{
sage: diff(f(t) + g(t), t)
diff(g(t), t, 1) + diff(f(t), t, 1)
sage: diff(c*f(t), t)
c*diff(f(t), t, 1)
}}}

Differential Calculus

Besides the examples on this page, please see the discussion in ["BasicCalculus"].

Functions

Piecewise fcns, polynomials, exponential, logs, trig and hyperboic trig functions.

Limits

SAGE can compute \lim_{x\rightarrow 0}\frac{\sin(x)}{x}:

sage: limit(sin(x)/x,x=0)
1

Differentiation

SAGE can differentiate x^2\log(x+a) and \tan^{-1}(x)=\arctan(x):

sage: diff(x^2 * log(x+a), x)
2*x*log(x + a) + x^2/(x + a)
sage: derivative(atan(x), x)
1/(x^2 + 1)

Laws

SAGE can verify the product rule

sage: function('f, g')
(f, g)
sage: diff(f(t)*g(t),t)
f(t)*diff(g(t), t, 1) + g(t)*diff(f(t), t, 1)

the quotient rule

sage: diff(f(t)/g(t), t)
diff(f(t), t, 1)/g(t) - (f(t)*diff(g(t), t, 1)/g(t)^2)

and linearity:

sage: diff(f(t) + g(t), t)
diff(g(t), t, 1) + diff(f(t), t, 1)
sage: diff(c*f(t), t)
c*diff(f(t), t, 1)

Applications

...

Sequences and series

(Some schools teach this topic as part of integral calculus.)

Differential_Calculus (last edited 2010-02-28 00:58:33 by slabbe)