I sort of remember there is a special syntax for setting initial condition for an ode derivative as **y'(a)=b**, where **a **and **b **are symbols. I forgot what it is, everything I try gives error. (I thought eval was used to work for this, but can't get it to work now).

Any one knows how to set this IC? For an example, given this ode **y''(x)+y'(x)+y(x)=0 **I want to solve it with the IC as **y'(a)=b **where **a **has no numerical value. Just a symbol.

For an example, using another software, it is done as follows

ClearAll[x,y,a,b];
ode=y''[x]+y'[x]+y[x]==0;
DSolve[{ode,y'[a]==b},y[x],x]

Below is my attempts in Maple. I tried eval, subs, and the normal **D(y)(a)=b **but none of these works when **a **is symbol.

I looked at help and all examples I saw use constants, as in **D(y)(0)=value. **

Iam sure this is possible to do in Maple, but I forgot how. Below is worksheet.

Download how_to_set_IC_point_to_symbol.mw

There is no issue for dirichlet initial condition, where **y(a)=b **works. It is the neumann one which I can't figure its syntax. So this works OK

ode:=diff(y(x),x$2)+diff(y(x),x)+y(x)=0;
IC1:=y(a)=b;
dsolve([ode,IC1]);