6.1.2 problem number 2

problem number 417

Added January 2, 2019.

Problem 1.2 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.

Solve for \(w(x,y)\) \[ w_y = f(x,y) \]

Mathematica

ClearAll["Global`*"]; 
pde =  D[w[x, y], y] == f[x, y]; 
sol =  AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
 

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

Maple

restart; 
pde := diff(w(x,y),y)=f(x,y); 
cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y))),output='realtime'));
 

\[w \left (x , y\right ) = \int f \left (x , y\right )d y +\mathit {\_F1} \left (x \right )\]

____________________________________________________________________________________