VII Integration

FunctionsBrief Usage Descriptions and Examples
itg Find an antiderivative of f(x) by \(∫f(x)dx\) by "itg;f(x);x" or "itg(f(x),x)". Evaluate definite integrals \(∫_a^bf(x)dx\) by "itg;f(x);x;a;b" or "itg(f(x),x,a,b)". Evaluate double integrals \(∫_c^d∫_a^bf(x,y)dxdy\) by "itg;f(x,y);x;a;b;y;c;d". Evaluate triple integrals \(∫_u^v∫_c^d∫_a^bf(x,y,z)dxdydz\) by "itg;f(x,y,z);x;a;b;y;c;d;z;u;v".
itg;1;x || itg;x;x || itg;a;x || itg;x**(1/2);x;0;1 || itg;log(x);x;1;2 || itg;1/(x+1);x || itg;1/(x+1);x;0;2 || itg;1/(x+1);x;-2;2 || itg;exp(-x);x;0;oo || itg;x*exp(-x**2);x;0;oo || itg;cos(x);x;0;pi || itg;sin(x);x;0;2*pi || itg;tan(x);x || itg;sin(x)*cos(x);x;0;pi || itg;pi*(x**2+1);x;0;1 || itg;1;x;1;3;y;2;4 || itg;x;x;0;3;y;-2;4 || itg;y;x;-2;0;y;-3;5 || itg;x*y;x;0;4;y;1;7 || itg;2*x*y+1/y;y;1;x || itg;z;x;0;y**2;y;0;1 || itg;x*y;x;1/y**2;y+1;y;1;3 || itg;x/z;y;x;z || itg;1;x;0;2;y;1;3;z;0;1 || itg;y**2*x;x;0;1-y;y;2;3 || itg;y;x;0;exp(y**2);y;0;1 || itg;1;y;cos(x);sin(x);x;pi/4;5*pi/4 || itg;r**2*cos(t);r;0;sin(t);t;0;pi/2 || itg;r*sin(t)**2;r;0;1+cos(t);t;0;2*pi || itg;r**2*sin(s);r;0;cos(s);s;0;pi/4;t;0;pi ||.
nit Approximate \(∫_a^bf(x)dx\) by "nit;f(x);x;a;b;n" for n points by left, right, midpoint Riemmann sum, Simpson's rule and trapezoidal rule.
Carry out numerical integration by "nit;f(x);x;a;b" (single), "nit;f(x,y);x;g(y);h(y);y;c;d" (double), and "nit;f(x,y,z);z;g(x,y);h(x,y);y;u(x);w(x);x;a;b" (triple).
nit;cos(x**2);x;0;pi/2;30 || nit;cos(x**2);x;0;pi/2 || nit;(1+1**2)**(1/2);x;-1;1;30 || nit;(1+1**2)**(1/2);x;-1;1 || nit;(1+cos(x)**2)**(1/2);x;-pi/2;pi/2;30 || nit;(1+cos(x)**2)**(1/2);x;-pi/2;pi/2 || nit;r*sin(t)**2;r;0;1+cos(t);t;0;2*pi || nit;r**2*sin(s);r;0;cos(s);s;0;pi/4;t;0;pi ||.
jcb Find Jacobian matrix and determinant by "jcb(a,b)", where vector "a" lists component functions and "b" lists the variables to which derivatives are taken.
mat;jcb(a,b);a;[u-2*v,3*u+v];b;[u,v] || mat;jcb(u,v);u;[r*sin(s)*cos(t),r*sin(s)*sin(t),r*cos(s)];v;[r,s,t] || mat;det(jcb(u,v));u;[r*cos(t),r*sin(t),z];v;[r,t,z] || mat;det(jcb(u,v));u;[r*sin(s)*cos(t),r*sin(s)*sin(t),r*cos(s)];v;[r,s,t] ||.

Back to Part II. Multiple Integrals
Back to Part I: Integration for Single Variable Functions
Back to top