Example 3: Find a particular solution of [Maple Math] .

Solution: Since a linear combination of [Maple Math] and [Maple Math] is of the form [Maple Math] we have

> diff(exp(2*x)*(a*x+b),x,x)+exp(2*x)*(a*x+b)-exp(2*x)*x;

[Maple Math]

> p:=unapply(%,x);

[Maple Math]

> solve({p(0)=0,p(1)=0},{a,b});

[Maple Math]

Hence [Maple Math] .