Fractional Calculus Computer Algebra System math software Home | index | math | software | calculator | handbook | help | forum | contact | 中文


solve differential and fractional differential equation for y.

Calling Sequence Parameters Description Examples References Source

Calling Sequence

dsolve(right side of eq, y,x)
dsolve(right side of eq, y,x,n)


eq - equation.
y - default unknown y(x).
x - variable x.
n - the nth order of equation.


For first order differential equation, there are 3 ways to input derivative:
1. ds(y) or ds(y,x)
2. y'
3. dy/dx
where ds() is a derivative holder.

For second order differential equation, there are 2 ways to input derivative:
1. ds(y,x,2)
2. y''
where y'' is two sinlge quote sign, instead one double quote sign.

For fractional order differential equation, there is one way to input derivative:
1. ds(y,x,0.5)

Solution can be tested by odetest(). If odetest(solution,eq) give 0, solution satisfy the equation.


Input first order equation:
> dy/dx=2y
> y'=2y
> ds(y)=2y
Click the dsolve button to call dsolve():
> dsolve(dy/dx=2y)
> dsolve(y'=2y)
> dsolve(ds(y)=2y)
> dsolve(2y,y,x)

Input second order equation:
> ds(y,x,2)=2y
> y''=2y
> dsolve(ds(y,x,2)=2y)
> dsolve(y''=2y)
> dsolve(2y,y,x,2)

Input fractional 0.5 order equation:
> ds(y,x,0.5)=2y
> dsolve(ds(y,x,0.5)=2y)
> dsolve(2y,y,x,0.5)


See Also

Copyright 2000-2017