Hello,
I am trying to solve a relatively simple differential equation
DSolve[y''[x] - ay[x] == -b, y[x], x]
that I know has a solution (in my notation):
y[x] = C1 exp(sqrt(a)t) +C2 exp(-sqrt(a)t) +b/a.
However, Mathematica does not give me that solution, instead i get an output with some internal integrals.
Apparently, it is not because i use the software wrongly, because when I input a different equation
DSolve[y''[x] + y[x] == x, y[x], x]
I get the satisfying answer:
{{y[x] -> x + C[1] Cos[x] + C[2] Sin[x]}}
Is it not possible for Mathematica to solve the first equation? Https://www.symbolab.com/ can solve it...