The statement of some problems requires more than one equation. You enter systems with initial conditions, systems of differential equations, boundary-value problems, or a mixture of these problems using n×1 matrices, where n is the number of equations and conditions involved.
You can also enter such systems in a multiline display
after clicking
itbpF0.3009in0.3009in0.0701indisplay.wmf.
To enter and solve a system of differential equations
Solve ODE + Exact, Expand
(Specify x), Exact solution is : y
y′ + y = x y(0) = 1 x
=
= x - 1 +
![]()
To solve the second-order initial-value problem y′′ + y = x2, y(0) = 1, y′(0) = 1, enter these three equations into a 3×1 matrix and choose Laplace from the Solve ODE submenu.
Solve ODE + Laplace
(Specify x), Laplace solution is: y
y′′ + y = x2 y(0) = 1 y′(0) = 1 x
= x2 -2 + sin x + 3 cos x
The following examples illustrate some of the variety of acceptable notation for entering and solving systems of differential equations in Scientific Notebook.
Solve ODE + Laplace
6pt, Laplace solution is: y
= sin x
y(0) = 1 x
= 2 - cos x
6pt, Laplace solution is: y
Dxxy - y = 0 y(0) = 1 y′ 0
= 0
x
=
ex +
e-x
, Laplace solution is: y
Dxxxy - y = 0 y(0) = 1 y′ 0
= 0
y′′(0) = 0 x
=
ex +
e-
xcos
x
Scientific Notebook introduces a new independent variable in certain instances where none is provided.
Solve ODE + Exact
(Specify t), Exact solution is:
y′ = x x′ = - y
x t
= C1sin t + C2cos t
y t
= C2sin t - C1cos t
Notice that an exact solution to this problem involves a two-parameter family of solutions..
Solve ODE + Laplace
(Specify t), Laplace solution is:
y′ = x x′ = - y x(0) = 0 y(0) = 1
x t
= - sin t
y t
= cos t
Subscripted dependent variables are allowed.
Solve ODE + Laplace
, Laplace solution is: y1
Dxy1 + y1 = e2x y1 0
= 1
x
=
e-x +
e2x
, Laplace solution is: y1
Dxxy1 - y1 = 0 y1(0) = 1 y1′ 0
= 0
x
=
ex +
e-x
The next two examples show solutions using Exact for nonlinear equations. Laplace produces no result for these equations, as Laplace transforms are appropriate for linear equations only. Series would also fail in the second example, because ln x does not have a series expansion about x = 0 in powers of x.
Solve ODE + Exact
(Specify t), Exact solution is: y
y′ = y2 + 4 y(0) = - 2 t
= 2 tan
2t -
π
![]()
(Specify x), Exact solution is:
(x + 1)y′ + y = ln x y(1) = 10