4.1.1 \(y'(x)=a f(x)\)

ODE
\[ y'(x)=a f(x) \] ODE Classification

[_quadrature]

Book solution method
Separable ODE, Dependent variable missing

Mathematica
cpu = 0.203557 (sec), leaf count = 20

\[\left \{\left \{y(x)\to \int _1^xa f(K[1])dK[1]+c_1\right \}\right \}\]

Maple
cpu = 0.061 (sec), leaf count = 12

\[[y \left (x \right ) = \int a f \left (x \right )d x +\textit {\_C1}]\] Mathematica raw input

DSolve[y'[x] == a*f[x],y[x],x]

Mathematica raw output

{{y[x] -> C[1] + Inactive[Integrate][a*f[K[1]], {K[1], 1, x}]}}

Maple raw input

dsolve(diff(y(x),x) = a*f(x), y(x))

Maple raw output

[y(x) = Int(a*f(x),x)+_C1]