﻿ ﻿ math handbook calculator - Fractional Calculus Computer Algebra System software + + + = # Examples of Fractional Calculus Computer Algebra System 例题

## Content

• Arithmetic 算术
• Numeric math 数值数学
• Algebra 代数
• Function 函数
• Calculus 微积分
• Equation 方程
• bugs
• Transform 转换
• Discrete Math 离散数学
• Definition 定义式
• Number Theory 数论
• Probability 概率
• Multi elements 多元
• Statistics 统计
• Linear Algebra 线性代数
• programming 编程
• Graphics
1. Classification by plotting function 按制图函数分类
2. Classification by dimension 按维数分类
3. Classification by appliaction 按应用分类
4. Classification by objects 按物体分类
5. Classification by function 按函数分类
6. Classification by equation 按方程分类
7. Classification by domain 按领域分类
8. Classification by libary 按文库分类
9. Classification by platform 按平台分类
• Plot 制图
1. Interactive plot 互动制图
2. parametric plot, polar plot
3. solve equation graphically
4. area plot with integral
5. complex plot
6. Geometry 几何
• plane graph 平面图
1. plane graph 平面图 with plot2D
2. function plot with funplot
3. differentiate graphically with diff2D
4. integrate graphically with integrate2D
5. solve ODE graphically with odeplot
• 3D graph 立体图
1. surface in 3D with plot3D
2. contour in 3D with contour3D
3. wireframe in 3D with wirefram3D
4. complex function in 3D with complex3D
5. a line in 3D with parametric3D
6. a column in 3D with parametric3D
7. the 4-dimensional object (x,y,z,t) in 3D with implicit3D
• Drawing 画画

Do exercise and learn from example.

## Arithmetic 算术 >>

### Exact computation

1. Fraction 1E2-1/2
2. mod operation:
input mod(3,2) for 3 mod 2

#### big number in Java

3. Add prefix "big" to number for Big integer:
big1234567890123456789-1
4. Add prefix "big" to number for Big decimal:
big1.234567890123456789-1
5. #### big number in JavaScript

computation in JavaScript should to click the numeric button or expression ending with equal sign =

The default precision for BigNumber is 64 digits, and can be configured with the option precision.
bignumber(1.23456789123456789)=

#### Round-off errors

Calculations with BigNumber are much slower than calculations with Number, but they can be executed with an arbitrary precision. By using a higher precision, it is less likely that round-off errors occur:
// round-off errors with numbers
math.divide(0.3, 0.2) // Number, 1.4999999999999998

// no round-off errors with BigNumbers :)
math.divide(math.bignumber(0.3), math.bignumber(0.2)) // BigNumber, 1.5

### Numerical approximations

There are two types of numeric computation: JavaScript and Java numeric computation:

#### JavaScript numeric computation

6. numeric computation with the ≈ button :
acos(bignumber(-1))

7. numeric computation end with the equal sign = :
acos(bignumber(-1))=

#### Java numeric computation

8. numeric computation with the ≈≈ button :
sin(pi/4)

9. Convert back with numeric computation function n(x) :
n(polar(2,45degree))
n( sin(pi/4) )
n( sin(30 degree) )
10. sin^((0.5))(1) is the 0.5 order derivative of sin(x) at x=1 :
n( sin(0.5,1) )
11. sin(1)^(0.5) is the 0.5 power of sin(x) at x=1 :
n( sin(1)^0.5 )
12. more are in numeric math

### Complex 复数

math handbook chapter 1.1.2 complex
There are two types of complex number: JavaScript complex and Java complex:

#### input complex numbers

13. input complex numbers in the complex plane:
1+2i
14. in small letters of complex(1,2) is complex number:
complex(1,2)
15. in first upper case letter of Complex(1,2) is object in JavaScript complex:
Complex(1,2)

16. input complex number in polar(r,theta) coordinates:
polar(1,pi)

17. input complex number in polar(r,theta*degree) coordinates:
polar(1,45degree)

18. input complex number in polar(r,theta) coordinates for degree by polard(r,degree):
polard(1,45)

19. input complex number in trig format of r*cis(theta*degree) :
2cis(45degree)
20. #### Convert complex to polar(r,theta) coordinates

21. Convert complex a+b*i to polar(r,theta) coordinates in Java:
convert 1-i to polar
topolar(1-i)
convert back to a+b*i format by to remove last letter s or click the simplify button

22. Convert complex a+b*i to polar(r,theta*degree) coordinates:
topolard(1-i)

23. convert back to a+b*i format by to remove last letter s or click the simplify button

24. Convert complex a+b*i to polar(r,theta) coordinates in JavaScript:
math.Complex(1,2).toPolar()=
math.complex(1,2).toPolar()=

#### convert to vector

complex(1,2) number is special vector, i.e. the 2-dimentional vector, so it can be converted to vector.

25. to Java vector(1,2)
convert 1-i to vector
tovector(1-i)

26. to JavaScript vector [1,2]
math.Complex(1,2).toVector()=
math.complex(1,2).toVector()=

#### complex number plot

27. in order to auto plot complex number as vector, input complex(1,-2) for 1-2i.

#### complex function plot

28. complex animation(z) show animation of complex function in complex domain of complex variable z.
29. complexplot(z) show phrase and/or modulus of complex function in complex domain of complex variable z.

30. complex 2D plot:
complex2D(x^x)
31. input imagary i with variable x for auto plot
exp(i*x)

more are in complex2D(x) show 2 curves of real and imag parts in real domain of real variable x..

32. complex 3D plot:
complex3D(pow(x,x))

33. in order to auto plot complex function, convert exp(x) to complex by
convert exp(x) to complex
convert(exp(x) to complex)
tocomplex(exp(x))

more are in complex function with complex3D(x) in complex domain of complex variable x.

34. ## Numeric math 数值数学 >>

math handbook chapter 3.4

35. computation in JavaScript should to click the numeric button or expression ending with equal sign =
sin(pi/4)=

36. numeric computation with the n(x) ≈≈ button:
n( sin(30 degree) )
n sin(30 degree)

37. JavaScript numeric calculator with the ≈ button can calculate numeric, number theory, Probability, Statistics, matrix, solve equation.

more example in JavaScript mathjs

38. numeric solve equation:
nsolve( x^2-5*x+6=0 )
nsolve( x^2-5*x+6 )

39. find_root(x,-10,10) between -10 and 10 for numeric equation:
find_root( x^2-5*x+6==0 )
find_root( x^2-5*x+6 )

40. numeric integrate, by default x from 0 to 1:
nint( x^2-5*x+6,x,0,1 )
nint x^2-5*x+6 as x from 0 to 1
nint sin(x)

41. numeric computation with the funplot ≈ button:
integrate(x=>sin(x),[1,2])

more calculus operation in JavaScript calculus

42. ## Algebra 代数 >>

math handbook chapter 1 algebra

43. simplify:
taylor( (x^2 - 1)/(x-1) )
44. expand:
expand( (x-1)^3 )

45. factorizing:
factor( x^2+3*x+2 )
46. factor high order polymonial by factor(x)== :
factor( x^3-1 )==
47. factorization:
factor( x^4-1 )==
48. combine two terms:
combine( log(a)+log(b) )
49. ### tangent

50. tangent equation at x=0 by default
tangent( sin(x) )

51. tangent equation at x=1
tangent( sin(x),x=1 )

52. tangentplot(x) show dynamic tangent line when your mouse over the curve.
tangentplot( sin(x) )

### convert

convert( sin(x) to exp) is the same as toexp(sin(x))
53. convert to exp:
toexp( cos(x) )
54. convert to trig:
convert exp(x) to trig
55. convert sin(x) to exp(x):
convert sin(x) to exp = toexp( sin(x) )

56. Convert to exp(x):
toexp(Gamma(2,x))
57. ### inverse function

58. input sin(x), click the inverse button
inverse( sin(x) )
check its result by clicking the inverse button again.
In order to show multi-value, use the inverse equation instead function.

### inverse equation

59. inverse equation to show multivalue if it has:
inverse( sin(x)=y )
check its result by clicking the inverse button again.

### polynomial

math handbook chapter 20.5 polynomial

60. the unit polynomial:
Enter poly(3,x) = poly(3) for the unit polynomial with degree 3: x^3+x^2+x+1.

61. Hermite polynomial:
hermite(3,x) gives the Hermite polynomial while hermite(3) gives Hermite number.

62. harmonic polynomial:
harmonic(-3,1,x) = harmonic(-3,x)

63. the zeta( ) polynomial:
zeta(-3,x)

64. simplify(x):
taylor( (x^2 - 1)/(x-1) )
65. expand(x) polynomial:
expand(hermite(3,x))

66. topoly(x) convert polynomial to polys(x) as holder of polynomial coefficients,
convert x^2-5*x+6 to poly = topoly( x^2-5*x+6 )

67. simplify polys(x) to polynomial:
simplify( polys(1,-5,6,x) )

68. polyroots(x) is holder of polynomial roots, topolyroot(x) convert a polynomial to polyroots.
convert (x^2-1) to polyroot = topolyroot(x^2-1)

69. polysolve(x) numerically solve polynomial for multi-roots:
polysolve(x^2-1)

70. nsolve(x) numerically solve for a single root:
nsolve(x^2-1)

71. solve(x) for sybmbloic and numeric roots:
solve(x^2-1)

72. construct polynomial from roots, activate polyroots(x) to polynomial, and reduce roots to polynomial equation = 0 by click on the simplify(x) button.
simplify( polyroots(2,3) )

### Number

When the variable x of polynomial is numnber, it becomes polynomial number, please see Number_Theory section.
73. ## Function 函数 >>

math handbook chapter 1 Function 函数

#### Trigonometry 三角函数

74. expand Trigonometry by expandtrig(x) :
expandtrig( sin(x)^2 )
75. inverse function :
inverse( sin(x) )

76. plot a multivalue function by the inverse equation :
inverse( sin(x)=y )

77. expand trig function :
expandtrig( sin(x)^2 )
78. expand special function :
expand( gamma(2,x) )
79. factor(x) :
factor( sin(x)*cos(x) )

80. #### Complex Function 复变函数

math handbook chapter 10 Complex Function 复变函数
complex2D(x) shows 2 curves of the real and imag parts in real domain x, and complex3D(x) shows complex function in complex domain x, for 20 graphes in one plot.

81. complex 2D plot :
complex2D(x^x)

82. put imagary i iwth variable x for auto complex 2D plot :
exp(i*x)

more are in complex2D(x) for 2 curves of real and imag parts in complex domain of complex variable x.

83. complex animation(z) show animation of complex function in complex domain of complex variable z.
84. complexplot(z) show phrase and/or modulus of complex function in complex domain of complex variable z.

85. complex 3D plot :
complex3D(pow(x,x)) in complex domain of complex variable x.

## Complex

1. complex - complex function - complex math
2. math handbook chapter 10 complex function
3. complex animate(z) for phase animation, the independent variable must be z.
4. complex plot(z) for phase and/or modulus, the independent variable must be z.
5. complex2D(x) for complex 2 curves of real and imag parts, the independent variable must be x.
6. complex3D(x) for 3 dimensional graph, the independent variable must be x.
7. color WebXR surface of complex function on complex plane
8. Riemann surface - Complex Branches - complex coloring
more are in complex function

#### special Function

math handbook chapter 12 special Function
86. ## Calculus 微积分 >>

### Limit

math handbook chapter 4.1 limit

87. click the lim(x) button for Limit at x->0 :
lim_(x->0) sin(x)/x  = lim sin(x)/x as x->0 = lim(sin(x)/x)

88. click the nlim(x) button for numeric limit at x->0 :
nlim(sin(x)/x)

89. click the limit(x) button for Limit at x->oo :
lim _(x->oo) log(x)/x = lim( log(x)/x as x->inf )
= limoo( log(x)/x )

90. one side limit, left or right side :
lim(exp(-x),x,0,right)

### Derivatives

Math Handbook chapter 5 differential calculus

91. Differentiate
d/dx sin(x) = d(sin(x))

92. Second order derivative :
d^2/dx^2 sin(x) = d(sin(x),x,2) = d(sin(x) as x order 2)

93. sin(0.5,x) is inert holder of the 0.5 order derivative sin^((0.5))(x), it can be activated by simplify(x):
simplify( sin(0.5,x) )

94. Derivative as x=1 :
d/dx | _(x->1) x^6 = d( x^6 as x->1 )

95. Second order derivative as x=1 :
d^2/dx^2| _(x->1) x^6 = d(x^6 as x->1 order 2) = d(x^6, x->1, 2)

#### Fractional calculus

Fractional calculus

96. semiderivative :
d^(0.5)/dx^(0.5) sin(x) = d(sin(x),x,0.5) = d( sin(x) as x order 0.5) = semid(sin(x))

97. input sin(0.5,x) as the 0.5 order derivative of sin(x) for
sin^((0.5))(x) = sin^((0.5))(x) = sin(0.5,x)

98. simplify sin(0.5,x) as the 0.5 order derivative of sin(x) :
sin^((0.5))(x) = simplify(sin(0.5,x))

99. 0.5 order derivative again :
d^(0.5)/dx^(0.5) d^(0.5)/dx^(0.5) sin(x) = d(d(sin(x),x,0.5),x,0.5)

100. Minus order derivative :
d^(-0.5)/dx^(-0.5) sin(x) = d(sin(x),x,-0.5)

101. inverse the 0.5 order derivative of sin(x) function :
f(-1)( sin(0.5)(x) ) = inverse(sin(0.5,x))
102. Derive the product rule :
d/dx (f(x)*g(x)*h(x)) = d(f(x)*g(x)*h(x))
103. … as well as the quotient rule :
d/dx f(x)/g(x) = d(f(x)/g(x))
104. for derivatives :
d/dx ((sin(x)* x^2)/(1 + tan(cot(x)))) = d((sin(x)* x^2)/(1 + tan(cot(x))))
105. Multiple ways to derive functions :
d/dy cot(x*y) = d(cot(x*y) ,y)
106. Implicit derivatives, too :
d/dx (y(x)^2 - 5*sin(x)) = d(y(x)^2 - 5*sin(x))
107. the nth derivative formula :
 d^n/dx^n (sin(x)*exp(x))  = nthd(sin(x)*exp(x))
108. #### differentiate graphically

some functions cannot be differentiated or integrated symbolically, but can be semi-differentiated and integrated graphically in diff2D.

### Integrals

Math Handbook chapter 6 integral calculus
109. indefinite integrate : int sin(x) dx = integrate(sin(x))

110. enter a function sin(x), then click the ∫ button to integrate :
int(cos(x)*e^x+sin(x)*e^x)\ dx = int(cos(x)*e^x+sin(x)*e^x)
int tan(x)\ dx = integrate tan(x) = int(tan(x))

111. Exact answers for integral :
int (2x+3)^7 dx = int (2x+3)^7

112. Multiple integrate :
int int (x + y)\ dx dy = int( int(x+y, x),y)
int int exp(-x)\ dx dx = integrate(exp(-x) as x order 2)

113. Definite integration :
int _1^3 (2*x + 1) dx = int(2x+1,x,1,3) = int(2x+1 as x from 1 to 3)

114. Improper integral :
int _0^(pi/2) tan(x) dx =int(tan(x),x,0,pi/2)

115. Infinite integral :
int _0^oo 1/(x^2 + 1) dx = int(1/x^2+1),x,0,oo)

116. Definite integration :
int_0^1 sin(x) dx = integrate( sin(x),x,0,1 ) = integrate sin(x) as x from 0 to 1

#### integrator

If integrate(x) cannot do, please try integrator(x) :
117. integrator(sin(x))

118. enter sin(x), then click the ∫ dx button to integrator

#### fractional integrate

119. semi integrate, semiint(x) :
int sin(x) \ dx^(1/2) = int(sin(x),x,1/2) = int sin(x) as x order 1/2 = semiint(sin(x)) = d(sin(x),x,-1/2)

120. indefinite semiintegrate :
int sin(x)\ dx^0.5 = d^(-0.5)/dx^(-0.5) sin(x) = int(sin(x),x,0.5) = semiint(sin(x))

121. Definite fractional integration :
int_0^1 sin(x) (dx)^0.5 = integrate( sin(x),x,0.5,0,1 ) = semiintegrate sin(x) as x from 0 to 1

#### numeric computation

122. numeric computation by click on the "~=" button :
n( int _0^1 sin(x) dx )

#### numeric integrate

If numeric computation ail, please try numeric integrate nintegrate(x) or nint(x) :
nint(sin(x),x,0,1) = nint(sin(x))

#### integrate graphically

some functions cannot be differentiated or integrated symbolically, but can be semi-differentiated and integrated graphically in integrate2D.

#### vector calculus

123. differentiate vector(x,x) :
d(vector(x,x))

124. differentiate sin(vector(x,x)) :
d(sin(vector(x,x)))
125. ## Equation 方程 >>

equation world

if the right hand side of equation is zero 0, it can omit, e.g. f(x) is the same as f(x)=0.

#### Your operation step by step

126. solve x^2-1=0 step by step
(x^2-1=0)+1
2. add ( ) to equation, then power by 0.5:
(x^2=1)^0.5

### inverse an equation

127. inverse an equation to show multivalue curve.
inverse( sin(x)=y )
check its result by clicking the inverse button again.

### polynomial equation

128. polyroots(x) is holder of polynomial roots, topolyroot(x) convert a polynomial to polyroots.
convert (x^2-1) to polyroot = topolyroot(x^2-1)

129. polysolve(x) numerically solve polynomial for multi-roots.
polysolve(x^2-1)

130. construct polynomial from roots, activate polyroots(x) to polynomial, and reduce roots to polynomial equation = 0 by click on the simplify(x) button.
simplify( polyroots(2,3) )

131. solve(x) for sybmbloic and numeric roots :
solve(x^2-1)
solve( x^2-5*x-6 )

132. solve equation and inequalities, by default, equation = 0 for default unknown x if the unknown omit.
solve( x^2+3*x+2 )
133. Symbolic roots :
solve( x^2 + 4*x + a )

134. Complex roots :
solve( x^2 + 4*x + 181 )

135. solve equation for x.
solve( x^2-5*x-6=0,x )

136. numerically root :
nsolve( x^3 + 4*x + 181 )

137. nsolve(x) numerically solve for a single root.
nsolve(x^2-1)

138. find_root(x) numerically find for a single root.
find_root(x^2-1)

### Algebra Equation f(x)=0

math handbook chapter 3 algebaic Equation

solve(x) also solve other algebra equation, e.g.

139. nonlinear equations:
solve(exp(x)+exp(-x)=4)
solve cos(x)+sin(x)=1

if solve(x) cannot solve, then click the numeric button to solve numerically.

140. solve(cos(x)-sin(x)=1)
then click the numeric button

#### absolute equation

141. solve(x) absolute equation for the unknown x inside the abs(x) function :
input abs(x-1)+abs(x-2)=3 for
|x-1|+|x-2|=3
click the solve button

#### Modulus equation

solve(x) Modulus equation for the unknown x inside the mod(x) function :
##### first order equation
142. input mod(3x,5)=1 for
3x mod 5 = 1
click the solve button. it is solved by inversemod(3,5)

##### second order equation
143. Enter mod(x^2-5x+7,2)=1 for
(x^2-5x+7) mod 2 = 1

144. Enter mod(x^2-5x+6,2)=0 for
(x^2-5x+6) mod 2 = 0

#### congruence equation

a x ≡ b* (mod m)

math handbook chapter 20.3 congruence

a x ≡ b* (mod m) means two remindars in both sides of equation are the same, i.e. congruence, it is the same as the modular equation mod(a*x,m)=mod(b,m). if b=1, the modular equation mod(a*x,m)=1 can be solved by inversemod(a*x,m). By definition of congruence, a x ≡ b* (mod m) if a x − b is divisible by m. Hence, a x ≡ b (mod m) if a x − b = m y, for some integer y. Rearranging the equation to the equivalent form of Diophantine equation a x − m y = b, which can be solved by solve(a*x-m*y=b,x,y).

##### first order equation:
145. 3x = 1*(mod 5)
mod(3x,5) = mod(1,5)
##### second order equation:
146. x^2+3x+2 = 1*(mod 11)
x^2+3x+2 = 1 mod(11)
x^2+3x+2 = mod(11)

### Probability_equation

147. solve(x) Probability equation for the unknown k inside the Probability function P(x),
solve( P(x>k)=0.2, k)

### recurrence_equation

148. rsolve(x) recurrence and functional and difference equation for y(x)
y(x+1)+y(x)+x=0
y(x+1)+y(x)+1/x=0

149. fsolve(x) recurrence and functional and difference equation for f(x)
f(x+1)=f(x)+x
f(x+1)=f(x)+1

### functional_equation

150. rsolve(x) recurrence and functional and difference equation for y(x)
y(a+b)=y(a)*y(b)
y(a*b)=y(a)+y(b)

151. fsolve(x) recurrence and functional and difference equation for f(x)
f(a+b)=f(a)*f(b)
f(a*b)=f(a)+f(b)

### difference equation

152. rsolve(x) recurrence and functional and difference equation for y(x)
y(x+1)-y(x)=x
y(x+2)-y(x+1)-y(x)=0

153. fsolve(x) recurrence and functional and difference equation for f(x)
f(x+1)-f(x)=x
f(x+2)- f(x+1)-f(x)=0

see vector

### Inequalities

solve(x) Inequalities for x.
154. first order Inequalities
solve( 2*x-1>0 )
155. second order Inequalities
solve( x^2+3*x+2>0 )

### system of equations f(x,y)=0, g(x,y)=0

math handbook chanpter 4.3 system of equations

156. system of 2 equations f(x,y)=0 and g(x,y)=0 for 2 unknowns x and y by default if the unknowns omit. On First graph it is solved graphically, where their cross is solution:
2x+3y-1=0 and 3x+2y-1=0

157. system of 2 equations f(x,y)=0, g(x,y)=0 for 2 unknowns x and y with the solve( ) or solver() button :
solve( [2*x+3*y-1, 3*x+2*y-1],x,y )

158. system of 2 equations f(x,y)=0, g(x,y)=0 for 2 unknowns x and y by default if the unknowns omit with the solve() button :
solve( 2x+3y-1, 3x+2y-1, x,y )

### 2D equations f(x,y) = 0

#### Diophantine equation f(x,y) = 0

math handbook chapter 20.5 polynomial

It is that number of equation is less than number of the unknown, e.g. one equation with 2 unknowns x and y.

159. One 2D equation f(x,y) = 0 for 2 integer solutions x and y
solve( 3x-2y-2=0, x,y )
solve( x^2-3x-2y-2=0, x,y )

#### 2D equation f(x,y) = 0 solved graphically

One 2D equation for 2 unknowns x and y, f(x,y) = 0, solved graphically by implicitplot(x)
160. solve x^2-y^2=1 graphically
x^2-y^2-1=0

#### 2D parametric equations x=f(t), y=g(t)

A system of 2 equations with a parameter t for 2 unknowns x and y, x=f(t), y=g(t), solved graphically :
161. parametricplot( x=cos(t), y=sin(t) )
162. parametric3D( cos(t),sin(t) )
163. parametric2D( cos(t),sin(t) )

#### 2D parametric equations x=f(u,v), y=f(u,v)

A system of 3 equations with 2 parameters u and v for 3 unknowns x and y and z, x=f(u,v), y=f(u,v) solved graphically :
164. parametric3D( cos(u*v),sin(u*v),u*v )
165. wireframe3D( cos(x*y),sin(x*y) )
166. parametric3D( cos(t),sin(t) )
167. 2D surface

### 3D equations

#### 3D parametric equations x=f(t), y=f(t), z=f(t)

A system of 3 equations with a parameter t for 3 unknowns x and y and z, x=f(t), y=f(t), z=f(t), solved graphically :
168. parametric3D( t,cos(t),sin(t) )

#### 3D parametric equations x=f(u,v), y=f(u,v), z=f(u,v)

A system of 3 equations with 2 parameters u and v for 3 unknowns x and y and z, x=f(u,v), y=f(u,v), z=f(u,v), solved graphically :
169. parametric3D( u,u-v,u*v )
170. parametric surface

#### One 3D equation f(x,y,z) = 0

One equation for 3 unknowns x and y and z, f(x,y,z) = 0, solved graphically :
171. implicit3D( x-y-z )
172. plot3D( x-y-z )

### 4D equations

One 4D equation with 4 variables,
173. f(x,y,z,t) = 0, solved graphically :
implicit3D( x-y-z-t )

174. f(x,y,n,t) = 0, solved graphically :
plot2D( x-y-n-t )

### differential equation

Math handbook chapter 13 differential equation.
There are two types of differential equations: a single variable is ordinary differential equation (ODE) and multi-variables is partial differential equation (PDE).

#### ordinary differential equation (ODE)

ODE(x) and dsolve(x) and lasove(x) solve ordinary differential equation (ODE) for unknown y.

#### Your operation step by step

175. solve dy/dx=x/y step by step
1. add ( ) to equation, then time by y:
(dy/dx=x/y)*y
2. add ( ) to equation, then time by dx:
(dy/dx*y=x)*dx
3. integrate by click the integrate button
int(dy*y=dx*x)
4. add ( ) to equation, then time by 2:
(1/2y^2=1/2x^2)*2
5. add ( ) to equation, then power by 0.5:
(y^2=x^2)^0.5
176. linear ordinary differential equations:
dsolve y'=x*y+x
ode y'= 2y
ode y'-y-1=0

177. nonlinear ordinary differential equations:
ode (y')^2-2y^2-4y-2=0
dsolve( y' = sin(x-y) )
dsolve( y(1,x)=acos(y)-sin(x)-x )
dsolve( ds(y)-cos(x)=asin(y)-x )
dsolve( ds(y)=exp(y)-exp(x) )
dsolve( ds(y)-exp(x)=log(y)-x )
ode y'-exp(y)-1/x-x=0
ode y'-sinh(y)+x-1/sqrt(1+x^2)=0
ode y'-tan(y)+x-1/(1+x^2)=0

178. second order nonlinear ordinary differential equations:
dsolve( ds(y,x,2)=asin(y)-sin(x)-x )
dsolve( ds(y,x,2)-exp(x)=log(y)-x )

179. 2000 examples of Ordinary differential equation (ODE)

more examples in bugs

#### solve graphically

The odeplot(x) can be used to visualize individual functions, First and Second order Ordinary Differential Equation over the indicated domain. Input the right hand side of Ordinary Differential Equations, y"=f(x,y,z), where z for y', then click the checkbox. by default it is first order ODE.
180. second order ODE
odeplot y''=y'-y

### integral equation

Math handbook chapter 15 integral equation.

#### indefinite integral equation

indefinite integral equation
181. linear equation
input ints(y) -2y = exp(x) for
ode int y dx - 2y = exp(x)

182. nonlinear equation
input ints(y) -2y^2 = 0 for
ode int y dx - 2y^2 = 0

#### double integral equation

input ints(y,x,2) for double integral
183. linear equation
ode( int int y dx -y = exp(x) )

184. nonlinear equation
ode( int int y dx *y= exp(x) )

#### definite integral equation

definite integral equation
185. linear equation
input integrates(y(t)/sqrt(x-t),t,0,x) = 2y for
ode int_0^x (y(t))/sqrt(x-t) dt = 2y

186. nonlinear equation
input integrates(y(t)/sqrt(x-t),t,0,x) = 2y^2 for
ode int_0^x (y(t))/sqrt(x-t) dt = 2y^2

### differential integral equation

187. input ds(y)-ints(y) -y-exp(x)=0 for
ode dy/dx-int y dx -y-exp(x)=0

### fractional differential equation

dsolve(x) also solves fractional differential equation
188. linear equations:
ode d^0.5/dx^0.5 y = 2y
ode d^0.5/dx^0.5 y -y -exp(4x) = 0
ode (d^0.5y)/dx^0.5 -y=x
ode d^0.5/dx^0.5 y -y - E_(0.5) (x^0.5) *x = 0

189. nonlinear equations:
ode (d^0.5y)/dx^0.5 = y^2*exp(x)
ode (d^0.5y)/dx^0.5 = sin(y)*exp(x)
ode (d^0.5y)/dx^0.5 = exp(y)*exp(x)
ode (d^0.5y)/dx^0.5 = log(y)*exp(x)
ode (d^0.5y)/dx^0.5 - y^2-2y-1 = 0
ode (d^0.5y)/dx^0.5 - log(y) - exp(x) + x=0
ode (d^(1/2)y)/dx^(1/2)-asin(y)+x-sin(x+pi/4)=0

#### linear fractional integral equation

190. ode d^-0.5/dx^-0.5 y = 2y

#### nonlinear fractional integral equation

191. ode d^-0.5/dx^-0.5 y = 2y^2

#### fractional differential integral equation

192. ds(y,x,0.5)-ints(y,x,0.5) -y-exp(x)=0
ode (d^0.5y)/(dx^0.5)-int y (dx)^0.5 -y-exp(x)=0

#### complex order differential equation

193. ode (d^(1-i) y)/dx^(1-i)-2y-exp(x)=0

#### variable order differential equation

194. ode (d^sin(x) y)/dx^sin(x)-2y-exp(x)=0

### system of differential equations

system of 2 equations with 2 unknowns x and y with a variable t :
195. linear equations:
dsolve( ds(x,t)=x-2y,ds(y,t)=2x-y )

196. nonlinear equations:
dsolve( ds(x,t)=x-2y^2,ds(y,t)=2x^2-y )

197. the second order system of 2 equations with 2 unknowns x and y with a variable t :
dsolve( x(2,t)=x,y(2,t)=2x-y )

198. the 0.5th order system of 2 equations with 2 unknowns x and y with a variable t :
dsolve( x(0.5,t)=x,y(0.5,t)=x-y )

### partial differental equation

Math handbook chapter 14 partial differential equation.
PDE(x) and pdsolve(x) solve partial differental equation with two variables t and x for y, then click the plot2D button to plot solution, pull the t slider to change the t value. click the plot3D button for 3D graph.

199. linear equation:
pde dy/dt = dy/dx-2y

200. nonlinear equation:
pde dy/dt = dy/dx*y^2
pde dy/dt = 2dy/dx-y^2
pde (d^2y)/(dt^2) -2* (d^2y)/(dx^2)-y^2-2x*y-x^2=0

#### partial differential integral equation

201. ds(y,t)-ints(y,x)-y-exp(x)=0
pde (dy)/(dt)-int y (dx) -y-exp(x)=0

#### fractional partial differental equation

PDE(x) and pdsolve(x) solve fractional partial differental equation.

202. linear equations:
pde (d^0.5y)/dt^0.5 = dy/dx-2y

203. nonlinear equations:
pde (d^0.5y)/dt^0.5 = 2* (dy)/dx*y^2
pde (d^0.5y)/dt^0.5 = 2* (d^0.5y)/dx^0.5-y^2
pde (d^1.5y)/(dt^1.5) + (d^1.5y)/(dx^1.5)-2y^2-4x*y-2x^2 =0

More examples are in Analytical Solution of Fractional Differential Equations

#### fractional partial differential integral equation

204. ds(y,t)-ints(y,x,0.5)-exp(x)=0
pde (dy)/(dt)-int y (dx)^0.5 -exp(x)=0
205. ds(y,t)-ints(y,x,0.5)+2y-exp(x)=0
pde (dy)/(dt)-int y (dx)^0.5 +2y-exp(x)=0
206. ds(y,t)-ds(y,x)-ints(y,x,0.5)+3y-exp(x)=0
pde (dy)/(dt)-dy/dy-int y (dx)^0.5 +3y-exp(x)=0

### system of partial differential equations

system of 2 equations with two variables t and x for 2 unknowns y and z:
207. linear equations:
pde( ds(y,t)-ds(y,x)=2z-2y,ds(z,t)-ds(z,x)=4z-4y )

208. the second order system of 2 equations :
pde( ds(y,t)-ds(y,x,2)=2z-2y,ds(z,t)-ds(z,x,2)=4z-4y )

209. the 0.5th order system of 2 equations :
pde( ds(y,t)-ds(y,x,0.5)=2z-2y,ds(z,t)-ds(z,x,0.5)=4z-4y )

### test solution

#### test solution for algebaic equation

test solution for algebaic equation to the unknown x by test( solution,eq, x) or click the test button :
210. test(1,x^2-1=0,x)
test( -1, x^2-5*x-6 )

#### test solution for differential equation

test solution for differential equation to the unknown y by test( solution, eq ) or click the test button :
211. test( exp(2x), dy/dx=2y )
212. test( exp(4x), (d^0.5y)/dx^0.5=2y )

#### test solution for recurrence equation to the unknown y

by rtest( solution, eq ) or click the rtest button.

#### test solution for recurrence equation to the unknown f

by ftest( solution, eq ) or click the ftest button.
213. ## bugs >>

There are over 800 bugs in wolfram software but they are no problem in MathHand.com

## Transform 转换 >>

Math handbook chapter 11 integral transform

### laplace transform

214. First graph is in real domain, second graph is in Laplace domain by Lapalce transform
laplace(x)

215. Input your function, click the laplace button :
laplace(sin(x))

### inverse laplace transform

216. First graph is in Laplace domain , second graph is in real domain by inverse Lapalce transform
inverselaplace(1/x^2)

### Fourier transform

217. First graph is in real domain, second graph is in Fourier domain by Fourier transform
fourier(x)

Input your function, click the Fourier button :

218. fourier(exp(x))
219. sine wave
220. Weierstrass function animation

### convolution transform

First graph is in real domain, second graph is in convolution domain by convolution transform convolute(x) with x by default:
221. Input your function, click the convolute button :
convolute(exp(x))

222. convoute exp(x) with 1/sqrt(x) :
convolute(exp(x),1/sqrt(x))
223. ## Discrete Math 离散数学 >>

The default index variable in discrete math is k.
224. Input harmonic(2,x), click the defintion(x) button to show its defintion, check its result by clicking the simplify(x) button, then click the limoo(x) button for its limit as x->oo.

### Difference

225. Δ(k^2) = difference(k^2)
Check its result by the sum(x) button

### Summation ∑

#### Indefinite sum

226. ∑ k = sum(k)

227. Check its result by the difference(x) button
Δ sum(k) = difference( sum(k) )

228. In order to auto plot, the index variable should be x :
sum_x x = sum(x,x)

#### definite sum

229. Definite sum = Partial sum x from 1 to x :
1+2+ .. +x = sum _(k=1) ^x k = sum(k,k,1,x)

230. Definite sum, sum x from 1 to 5 :
1+2+ .. +5 = ∑(x,x,1,5) = sum(x,x,1,5)
sum(x^k,k,1,5)

#### Definite sum with parameter x as upper limit

sum(k^2, k,1, x)
231. Check its result by the difference(x) button, and then the expand(x) button.

232. convert to sum series definition :
tosum( exp(x) )

233. expand above sum series by the expand(x) button :
expand( tosum(exp(x)) )

#### Indefinite sum

234. ∑ k

235. sum( x^k/k!,k )

236. partial sum of 1+2+ .. + k = ∑ k = partialsum(k)

237. Definite sum of 1+2+ .. +5 = ∑ k

#### partial sum with parameter upper limit x

238. sum(1/k^2,k,1,x)

#### infinite sum

239. sum from 1 to oo:
Infinite sum of 1/1^2+1/2^2+1/3^2 .. +1/k^2+... = sum( 1/k^2,k,1,oo )

240. sum from 0 to oo:
Infinite sum of 1/0!+1/1!+1/2! .. +1/k!+... = sum( 1/k!,k,0,oo )

241. Infinite sum x from 0 to inf :
1/0!+1/1!+1/2!+ .. +1/x! = sum 1/(x!) as x->oo

242. ### Series 级数

243. convert to sum series definition :
tosum( exp(x) ) = toseries( exp(x) )
244. check its result by clicking the simplify(x) button :
simplify( tosum( exp(x) ))
245. expand above sum series :
expand( tosum(exp(x)) )
246. compare to Taylor series with numeric derivative:
taylor( exp(x), x=0, 8)
247. compare to series with symbolic derivative:
series( exp(x) )
248. Taylor series expansion as x=0, by default x=0.
taylor( exp(x) as x=0 ) = taylor(exp(x))

249. series expand not only to taylor series:
series( exp(x) )
250. but aslo to other series expansion:
series( zeta(2,x) )

#### the fractional order series expansion at x=0 for 5 terms and the 1.5 order

251. series( sin(x),x,0,5,1.5 )

### Product ∏

252. prod(x,x)

253. prod x

## Definition 定义式 >>

254. definition of function :
definition( exp(x) )
255. check its result by clicking the simplify(x) button :
simplify( def(exp(x)) )
256. #### series definition

257. convert to series definition :
toseries( exp(x) )
258. check its result by clicking the simplify(x) button :
simplify( tosum(exp(x)) )
259. #### integral definition

260. convert to integral definition :
toint( exp(x) )
261. check its result by clicking the simplify(x) button :
simplify( toint(exp(x)) )
262. ## Number Theory 数论 >>

math handbook chapter 20 Number Theory.
When the variable x of polynomial is numnber, it becomes polynomial number :
263. poly number:
poly(3,2)

264. Hermite number:
hermite(3,2)

265. harmonic number:
harmonic(-3,2)
harmonic(-3,2,4)
harmonic(1,1,4) = harmonic(1,4) = harmonic(4)

266. Bell number:
bell(5)

267. double factorial 6!!
268. binomial number ((4),(2))

269. combination number C_2^4

270. harmonic number H_4

271. congruence equation:
3x-1 = 2*(mod 2)
x^2-3x-2 = 2mod( 2)

272. modular equation:
Enter mod(3x,5)=1 for
3x mod 5 = 1
Enter mod(x^2-5x+7,2)=1 for
(x^2-5x+7) mod 2 = 1
Enter mod(x^2-5x+6,2)=0 for
(x^2-5x+6) mod 2 = 0

273. Diophantine equation:
number of equation is less than number of the unknown, e.g. one equation with 2 unkowns x and y,
solve( 3x-2y-2=0, x,y )
solve( x^2-3x-2y-2=0, x,y )

#### prime

274. is prime number?
isprime(12321)
is_prime(12321)
275. Calculate the 4th prime
nthprime(4)
nth_prime(4)
prime(4)
276. next prime greater than 4
nextprime(4)
next_prime(4)
277. prime in range 4 to 9
prime_range(4,9)
278. more example is number theory in function and in JavaScript javascsript math

## Probability 概率 >>

math handbook chapter 16 Probability

279. Probability of standard normal distribution P(range(-1,1)) between -1 and 1

280. All probability of standard normal distribution P(x) between -oo and oo:
P(range(-oo,oo)) = 1

281. probability of standard normal distribution
P(x<0.8)
282. standard normal distribution function Phi(x):
Phi(x)
283. solve Probability equation for x by default :
solve(P(t>x)=0.2)

284. the binomial coefficient, choice number, combination number,
binomial(4,2) = combination(4,2) = C(4,2)

285. arrangement number, permutation(4,x) =
P(4,2)

more example in JavaScript mathjs

286. ## Multi elements 多元 >>

We can put multi elements together with list(), vector(), and. Most operation in them is the same as in one element, one by one. e.g. +, -, *, /, ^, differentiation, integration, sum, etc. We count its elements with size(), as same as to count elements in function. But vector operation may be not.

### and

Its position of the element is fix so we cannot sort it. We can plot multi curves with the and. e.g.
287. differentiate :
d(x and x*x)

288. integrate :
int(x and x*x)

### list

There are 2 types of list: [1,2,3] is numeric list in JavaScript, and the list(1,2,3) function is symbolic list in mathHand. The symbolic list element can be symbol, formula and function. We can sort list with

#### mathHand calculator on the = button

289. two lists added value :
list(2,3)+list(3,4)

290. two lists added or join together
[1,2]+[3,4]

291. convolution of two lists
convolution([1,2],[3,4])

#### JavaScript calculation

292. sort with JavaScript calculator:
[1,2,3].sort()=

293. two lists added value by the ending with =
[1,2]+[3,4]=

294. JavaScript calculation on the ≈ button by input:
[1,2]+[3,4]
click the ≈ button

more example in JavaScript mathjs

## Statistics 统计

math handbook chapter 16 Statistics

295. sort(list(x)), add numbers together by total(list()), max(list()), min(list()), size(list()) with mathHand calculator on the = button. e.g.
total(list(1,2,3))

296. with JavaScript numeric calculator on the ≈ button :
sum([1,2])

more example in JavaScript mathjs

## Linear Algebra 线性代数 >>

### vector

math handbook chapter 8 vector

It has direction. the position of the element is fix so we cannot sort it. numeric vector is number with direction. the system auto plot the 2-dimentional vector. two vector(x) in the same dimention can be operated by +, -, *, /, and ^, the result can be checked by its reverse operation.

There are two types of vector: symbolic vector(a,b) and numeric vector([1,2])

#### symbolic vector

297. vector(1,2)+vector(3,4)

##### vector equation
298. solve vector(1,2)+x=vector(2,4) is as same as x=vector(2,4)-vector(1,2)
299. solve 2x-vector(2,4)=0 is as same as x=vector(2,4)/2
300. solve 2/x-vector(2,4)=0 is as same as x=2/vector(2,4)
301. solve vector(1,2)*x-vector(2,4)=0 is as same as x=vector(2,4)/vector(1,2)
302. solve vector(1,2)*x-20=0 is as same as x=20/vector(1,2)
303. solve vector(2,3)*x+vector(3,2)*y=vector(1,1),x,y is as same as solve(-1+2*x+3*y=0,-1+3*x+2*y=0)

##### vector calculus
304. differentiate vector(x,x) :
d(vector(x,x))

305. differentiate sin(vector(x,x)) :
d(sin(vector(x,x)))

#### numeric vector

306. vector([1,2])+vector([3,4])

### Array 数组

math handbook chapter 4 matrix

Complex array [[1,2],[3,4]] can be operated by +,-,*,/,^,

307. with array calculator 数组计算器
308. with JavaScript numeric calculator

more example in JavaScript mathjs

### Matrix 矩阵

math handbook chapter 4 matrix

Complex matrix([[1,2],[3,4]]) can be operated by +,-,*,/,\,^,

309. with matrix calculator 矩阵计算器
310. matrix([[1,2],[3,4]])

## programming 编程 >>

There are many coding :
311. math coding 数学编程
312. HTML + JavaScript coding 网页编程
313. cloud computing = web address coding 云计算 = 网址编程 = 网址计算器

## Graphics >>

314. Classification by plotting function 按制图函数分类
315. Classification by dimension 按维数分类
316. Classification by appliaction 按应用分类
317. Classification by objects 按物体分类
318. Classification by function 按函数分类
319. Classification by equation 按方程分类
320. Classification by domain 按领域分类
321. Classification by libary 按文库分类
322. Classification by platform 按平台分类

## Plot 制图 >>

323. plane curve 2D
324. surface 2D

## 3D graph 立体图 plot 3D >>

325. space curve 3D
326. surface 3D
327. surface 4D

328. drawing