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

Solution: Since [Maple Math] is a polynomial of degree 2, then we are looking for a particular solution that is a linear combination of [Maple Math] and [Maple Math] . This linear combination is of the form [Maple Math] .

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

[Maple Math]

> p:=unapply(%,x);

[Maple Math]

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

[Maple Math]

Therefore a particular solution is [Maple Math] .

If [Maple Math] , then we are looking for a particular solution that is a linear combination of [Maple Math] and [Maple Math] . This linear combination is of the form [Maple Math]

e>