GUIDETI-89 TITANIUM

Differential equations on the TI-89 Titanium: deSolve( step by step

deSolve( is the reason many engineering students still carry a TI-89 Titanium. This guide shows how to type a differential equation, add initial conditions and read the result, with examples whose results come straight from the CAS. The keys are the same in Calc89.

The three arguments of deSolve(

The syntax is deSolve(equation, independent variable, dependent variable). For an equation in y and x that means deSolve(…, x, y), always in that order. The command is the last item of the F3 Calc menu; you can also find it in CATALOG under D. Command page: deSolve(.

F3then scroll to deSolve( and pressENTER

Derivatives of the dependent variable are written with the prime symbol, which is a 2nd function of the = key. Press it once for y′ and twice for y′′. Write y, not y(x): deSolve( knows from the third argument that y depends on x.

Y2nd=→ y′

First order: the general solution

Without initial conditions, deSolve( returns the general solution with an arbitrary constant written as @1. A second constant in the same session is @2, and so on. The simplest case is a direct antiderivative:

General solution of a first order equation
InputResult
deSolve(y'=x,x,y)y=x2/2+@1

Read the result as y = x²/2 + C. The constant stays symbolic until you add a condition, which is the next step.

Initial conditions with and

To get a particular solution, join the equation and the condition with the word and inside the first argument. Type and with the alpha letters, with a space on each side (alpha (−) is the space), or pick it from CATALOG. The condition is written in function form, y(0)=1, even though the equation itself uses plain y.

alphaa n d, orCATALOG→ and
First order equations with an initial condition
InputResult
deSolve(y'+2·y=6 and y(0)=1,x,y)y=3−2/e2·x
deSolve(y'=x·y and y(0)=1,x,y)y=ex2/2

The first row is a linear equation with a constant input: the solution starts at 1 and approaches the equilibrium 3. The second is separable, and the CAS does the separation and the integration in one step. Both results are exact. Press ◆ ENTER after |x=1 if you need a decimal value at a point.

Second order equations

Second order equations use y′′, typed as y followed by 2nd = twice. Without conditions the general solution carries two constants, @1 and @2. To fix both, give two conditions joined with and, usually a value and a slope:

deSolve(y''+y=0 and y(0)=1 and y'(0)=0,x,y)

The pattern is the same as for first order: equation first, then each condition, all joined with and, then x and y. Boundary conditions at two different points, such as y(0) and y(1), are written the same way. When an equation has no closed form solution, a numeric method is the next step.

Numeric solutions: euler( and rk23(

Many equations from physics and biology have no closed form. On the TI-89 Titanium, numeric solutions live in the Differential Equations graph mode, where the graph format lets you choose between the Euler and the Runge Kutta method. Calc89 also offers both methods as commands on the home line: euler( and rk23(. Each takes the right side of y′, the variables, the interval as a list, the start value and the step, and returns a matrix: the first row holds the t values, the second the y values.

Numeric solutions of the logistic equation y′ = 0.001·y·(100 − y)
InputResult
euler(0.001·y·(100−y),t,y,{0,2},10,1)0.01.02.010.010.911.87119
rk23(0.001·y·(100−y),t,y,{0,1},10,1)0.01.010.010.9366808323

Both rows solve the same logistic equation from y(0) = 10. Euler with step 1 gives 10.9 after one step; the Runge Kutta method gives 10.9366808323. At the same step size Runge Kutta is the more accurate method; smaller steps bring Euler closer, at the cost of more rows.

Slope fields

On the handheld, slope fields belong to the Differential Equations graph mode: switch Graph to DIFF EQUATIONS in MODE, enter y1′ in the Y= editor and graph. Calc89 draws slope fields too, next to the solution curve, so you can check that a deSolve( result follows the field.

Common mistakes

  • Wrong argument order. The independent variable comes before the dependent one: x, y, not y, x.
  • A stored y or x. If y holds a number, deSolve( cannot treat it as a function. Run NewProb from Clean Up (2nd F1) first.
  • Apostrophe instead of prime. On the handheld, use 2nd = for the prime symbol.
  • Condition written as y=1. Initial values need the function form, y(0)=1.

FAQ

What does @1 mean in a deSolve( result?

It is an arbitrary constant. A general solution of a first order equation has one, a second order equation has two (@1 and @2). Add initial conditions with and to get a particular solution instead.

Which differential equations can deSolve( solve?

deSolve( on the TI-89 Titanium solves ordinary differential equations of first and second order. For equations without a closed form, use a numeric method instead.

How do I type y′ on the TI-89 Titanium?

The prime symbol is 2nd =. Type y, then 2nd = for y′, or press 2nd = twice for y′′.

Calc89 is an independent app intended for use with TI-89 Titanium. It is not affiliated with or endorsed by Texas Instruments. TI-89 Titanium is a trademark of Texas Instruments.

All guides · Commands reference · Calc89 vs TI-89 Titanium