Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using the method of undetermined coefficients.

Guess $(Ax+B)e^x$

Plug into diff eq:

$-3[(Ax+B)e^x]'' - 2[(Ax+B)e^x]' + (Ax+B)e^x = 3xe^x$

Wolfram alpha simplifies this to: $A(x-2)=e^x(4B+3x)$. Solving for A and B we find $A = 3e^3$ and $B = -6/4$.

Thus, we have $y_p = [3xe^3-(6/4)]e^x$ but this is incorrect. What am I doing wrong here?

share|cite|improve this question
You must solve the equation for all $x$, leave $x$ a unknown. There is no such solution for the simplified equation you got from wolfram alpha, since the $e^x$ term gets in the way. Are you sure you entered the equatin correctly? – fgp Oct 20 '12 at 0:09
up vote 1 down vote accepted

I get


and everything's peachy...So either you fed WA with wrong data or WA is wrong.

share|cite|improve this answer



Using that, I get




That seems to agree with DonAntonio's solution.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.