____________________________________________________________________________________
Added March 9, 2019.
Problem Chapter 4.6.1.1, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b w_y = c \sin (\lambda x+\mu y) w \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s]; ClearAll[lambda, B, mu, d, g, B, v, f, h, q, p, delta, t]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = a*D[w[x, y], x] + b*D[w[x, y], y] == c*Sin[lambda*x + mu*y]*w[x, y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to c_1\left (\frac {a y-b x}{a}\right ) \exp \left (-\frac {c \cos \left (\mu \left (\frac {a y-b x}{a}+\frac {b x}{a}\right )+\lambda x\right )}{a \lambda +b \mu }\right )\right \}\right \} \]
Maple ✓
w:='w';x:='x';y:='y';a:='a';b:='b';n:='n';m:='m';c:='c'; k:='k';alpha:='alpha';beta:='beta';g:='g';A:='A';f:='f'; C:='C';lambda:='lambda';B:='B';mu:='mu';d:='d';s:='s';t:='t'; v:='v';q:='q';p:='p';l:='l';g1:='g1';g2:='g2';g0:='g0'; h0:='h0';h1:='h1';h2:='h2';f2:='f2';f3:='f3'; pde := a*diff(w(x,y),x)+ b*diff(w(x,y),y) = c*sin(lambda*x+mu*y)*w(x,y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y))),output='realtime'));
\[ w \left ( x,y \right ) ={\it \_F1} \left ( {\frac {ya-bx}{a}} \right ) {{\rm e}^{-{\frac {c}{a\lambda +b\mu }\cos \left ( {\frac { \left ( ya-bx \right ) \mu +ax\lambda +b\mu \,x}{a}} \right ) }}} \]
____________________________________________________________________________________
Added March 9, 2019.
Problem Chapter 4.6.1.2, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b w_y = (c \sin (\lambda x)+ k \sin (\mu y) ) w \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s]; ClearAll[lambda, B, mu, d, g, B, v, f, h, q, p, delta, t]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = a*D[w[x, y], x] + b*D[w[x, y], y] == (c*Sin[lambda*x] + k*Sin[mu*y])*w[x, y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]]; sol = Simplify[sol];
\[ \left \{\left \{w(x,y)\to c_1\left (y-\frac {b x}{a}\right ) e^{-\frac {c \cos (\lambda x)}{a \lambda }-\frac {k \cos (\mu y)}{b \mu }}\right \}\right \} \]
Maple ✓
w:='w';x:='x';y:='y';a:='a';b:='b';n:='n';m:='m';c:='c'; k:='k';alpha:='alpha';beta:='beta';g:='g';A:='A';f:='f'; C:='C';lambda:='lambda';B:='B';mu:='mu';d:='d';s:='s';t:='t'; v:='v';q:='q';p:='p';l:='l';g1:='g1';g2:='g2';g0:='g0'; h0:='h0';h1:='h1';h2:='h2';f2:='f2';f3:='f3'; pde := a*diff(w(x,y),x)+ b*diff(w(x,y),y) = (c*sin(lambda*x)+k*sin(mu*y))*w(x,y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y))),output='realtime'));
\[ w \left ( x,y \right ) ={\it \_F1} \left ( {\frac {ya-bx}{a}} \right ) {{\rm e}^{-{\frac {\cos \left ( \lambda \,x \right ) cb\mu +ka\cos \left ( \mu \,y \right ) \lambda }{a\lambda \,b\mu }}}} \]
____________________________________________________________________________________
Added March 9, 2019.
Problem Chapter 4.6.1.3, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ x w_x + y w_y = a x \sin (\lambda x+ \mu y) w \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s]; ClearAll[lambda, B, mu, d, g, B, v, f, h, q, p, delta, t]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = x*D[w[x, y], x] + y*D[w[x, y], y] == a*x*Sin[lambda*x + mu*y]*w[x, y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]]; sol = Simplify[sol];
\[ \left \{\left \{w(x,y)\to c_1\left (\frac {y}{x}\right ) e^{-\frac {a x \cos (\lambda x+\mu y)}{\lambda x+\mu y}}\right \}\right \} \]
Maple ✓
w:='w';x:='x';y:='y';a:='a';b:='b';n:='n';m:='m';c:='c'; k:='k';alpha:='alpha';beta:='beta';g:='g';A:='A';f:='f'; C:='C';lambda:='lambda';B:='B';mu:='mu';d:='d';s:='s';t:='t'; v:='v';q:='q';p:='p';l:='l';g1:='g1';g2:='g2';g0:='g0'; h0:='h0';h1:='h1';h2:='h2';f2:='f2';f3:='f3'; pde := x*diff(w(x,y),x)+ y*diff(w(x,y),y) = a*x*sin(lambda*x+mu*y)*w(x,y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y))),output='realtime'));
\[ w \left ( x,y \right ) ={\it \_F1} \left ( {\frac {y}{x}} \right ) {{\rm e}^{-{a\cos \left ( \lambda \,x+\mu \,y \right ) \left ( {\frac {\mu \,y}{x}}+\lambda \right ) ^{-1}}}} \]
____________________________________________________________________________________
Added March 9, 2019.
Problem Chapter 4.6.1.4, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b \sin ^n(\lambda x) w_y = (c \sin ^m(\mu x)+s \sin ^k(\beta y)) w \]
Mathematica ✗
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s]; ClearAll[lambda, B, mu, d, g, B, v, f, h, q, p, delta, t]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = a*D[w[x, y], x] + b*Sin[lambda*x]^n*D[w[x, y], y] == (c*Sin[mu*x]^m + s*Sin[beta*y]^k)*w[x, y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \text {\$Aborted} \] Timed out
Maple ✓
w:='w';x:='x';y:='y';a:='a';b:='b';n:='n';m:='m';c:='c'; k:='k';alpha:='alpha';beta:='beta';g:='g';A:='A';f:='f'; C:='C';lambda:='lambda';B:='B';mu:='mu';d:='d';s:='s';t:='t'; v:='v';q:='q';p:='p';l:='l';g1:='g1';g2:='g2';g0:='g0'; h0:='h0';h1:='h1';h2:='h2';f2:='f2';f3:='f3'; pde := a*diff(w(x,y),x)+ b*sin(lambda*x)^n*diff(w(x,y),y) = (c*sin(mu*x)^m+s*sin(beta*y)^k)*w(x,y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y))),output='realtime'));
\[ w \left ( x,y \right ) ={\it \_F1} \left ( -\int \!{\frac {b \left ( \sin \left ( \lambda \,x \right ) \right ) ^{n}}{a}}\,{\rm d}x+y \right ) {{\rm e}^{\int ^{x}\!{\frac {1}{a} \left ( c \left ( \sin \left ( {\it \_b}\,\mu \right ) \right ) ^{m}+s \left ( \sin \left ( \beta \,\int \!{\frac {b \left ( \sin \left ( {\it \_b}\,\lambda \right ) \right ) ^{n}}{a}}\,{\rm d}{\it \_b}+ \left ( -\int \!{\frac {b \left ( \sin \left ( \lambda \,x \right ) \right ) ^{n}}{a}}\,{\rm d}x+y \right ) \beta \right ) \right ) ^{k} \right ) }{d{\it \_b}}}} \]
____________________________________________________________________________________
Added March 9, 2019.
Problem Chapter 4.6.1.5, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b \sin ^n(\lambda y) w_y = (c \sin ^m(\mu x)+s \sin ^k(\beta y)) w \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s]; ClearAll[lambda, B, mu, d, g, B, v, f, h, q, p, delta, t]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = a*D[w[x, y], x] + b*Sin[lambda*y]^n*D[w[x, y], y] == (c*Sin[mu*x]^m + s*Sin[beta*y]^k)*w[x, y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to c_1() \exp \left (\frac {s x \sin ^k(\beta y)}{a}-\frac {c \cos (\mu x) \sin ^{m+1}(\mu x) \sin ^2(\mu x)^{-\frac {m}{2}-\frac {1}{2}} \text {Hypergeometric2F1}\left (\frac {1}{2},\frac {1-m}{2},\frac {3}{2},\cos ^2(\mu x)\right )}{a \mu }\right )\right \}\right \} \]
Maple ✓
w:='w';x:='x';y:='y';a:='a';b:='b';n:='n';m:='m';c:='c'; k:='k';alpha:='alpha';beta:='beta';g:='g';A:='A';f:='f'; C:='C';lambda:='lambda';B:='B';mu:='mu';d:='d';s:='s';t:='t'; v:='v';q:='q';p:='p';l:='l';g1:='g1';g2:='g2';g0:='g0'; h0:='h0';h1:='h1';h2:='h2';f2:='f2';f3:='f3'; pde := a*diff(w(x,y),x)+ b*sin(lambda*y)^n*diff(w(x,y),y) = (c*sin(mu*x)^m+s*sin(beta*y)^k)*w(x,y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y))),output='realtime'));
\[ w \left ( x,y \right ) ={\it \_F1} \left ( {\frac {bx-a\int \! \left ( \sin \left ( y\lambda \right ) \right ) ^{-n}\,{\rm d}y}{b}} \right ) {{\rm e}^{\int ^{y}\!{\frac { \left ( \sin \left ( {\it \_b}\,\lambda \right ) \right ) ^{-n}}{b} \left ( c \left ( -\sin \left ( -\mu \,\int \!{\frac { \left ( \sin \left ( {\it \_b}\,\lambda \right ) \right ) ^{-n}a}{b}}\,{\rm d}{\it \_b}-{\frac {\mu \, \left ( bx-a\int \! \left ( \sin \left ( y\lambda \right ) \right ) ^{-n}\,{\rm d}y \right ) }{b}} \right ) \right ) ^{m}+s \left ( \sin \left ( \beta \,{\it \_b} \right ) \right ) ^{k} \right ) }{d{\it \_b}}}} \]