Hello, everyone!
I am using DSolve to solve a differential equation which is somewhat complicated.
After several tens of minutes of waiting, I got a result, but with integration symbol.
and with unknown K1, K2, K3 as follows.
But when I use DSolve with simpler differential equations, I can get analytical result.
Solutions given by DSolve sometimes include integrals that cannot be
carried out explicitly by Integrate. Variables K[1], K[2],
… are used in such integrals.
Here’s a simple example which produces output with an integral:
There’s no way to just get rid of the integral. It has to exist in this output.
Do you believe that the integral it gives should be evaluatable? If so, what is the integral? Maybe the integral is evaluatable under some kind of assumption like “C[1] is a positive real number”. If that’s the case, you might be able to use FullSimplify and Assumptions to get your answer. If not, then the Integral is an inherent part of the symbolic solution.
Use double equal signs “==” instead of single equal “=” when expressing equality. Single equal is assignment “=”. See the documentation on “Set” (Equal—Wolfram Documentation) and “Equal” (Equal—Wolfram Documentation) for more information.
K[2] is the dummy variable of integration. It can’t be equal to 0. Take a look at this example: