____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.1 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b w_y = f(x)+g(y) \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; ClearAll[g1, g0, h2, h1, h0]; pde = a*D[w[x, y], x] + b*D[w[x, y], y] == f[x] + g[y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to \int _1^x \frac {g\left (\frac {b K[1]+a y-b x}{a}\right )+f(K[1])}{a} \, dK[1]+c_1\left (\frac {a y-b x}{a}\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';v:='v';q:='q';p:='p';l:='l'; g1:='g1';g2:='g2';g0:='g0';h0:='h0';h1:='h1';h2:='h2'; pde := a*diff(w(x,y),x) +b*diff(w(x,y),y) = f(x)+g(y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int ^{x}\!{\frac {1}{a} \left ( f \left ( {\it \_a} \right ) +g \left ( {\frac {b{\it \_a}+ya-bx}{a}} \right ) \right ) }{d{\it \_a}}+{\it \_F1} \left ( {\frac {ya-bx}{a}} \right ) \]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.2 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ w_x + a w_y = f(x) g(y) \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; pde = D[w[x, y], x] + a*D[w[x, y], y] == f[x]*g[y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to \int _1^x f(K[1]) g(a K[1]-a x+y) \, dK[1]+c_1(y-a x)\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';v:='v';q:='q';p:='p';l:='l'; pde := diff(w(x,y),x) +a*diff(w(x,y),y) = f(x)*g(y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int ^{x}\!f \left ( {\it \_a} \right ) g \left ( {\it \_a}\,a-ax+y \right ) {d{\it \_a}}+{\it \_F1} \left ( -ax+y \right ) \]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.3 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ w_x + (a y+f(x) ) w_y = g(x) h(y) \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; pde = D[w[x, y], x] + (a*y + f[x])*D[w[x, y], y] == g[x]*h[y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to \int _1^x g(K[2]) h\left (e^{a K[2]} \left (\text {Integrate}\left [e^{-a K[1]} f(K[1]),\{K[1],1,K[2]\},\text {Assumptions}\to \text {True}\right ]-e^{-a x} \left (e^{a x} \text {Integrate}\left [e^{-a K[1]} f(K[1]),\{K[1],1,x\},\text {Assumptions}\to \text {True}\right ]-y\right )\right )\right ) \, dK[2]+c_1\left (-e^{-a x} \left (e^{a x} \int _1^x e^{-a K[1]} f(K[1]) \, dK[1]-y\right )\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';v:='v';q:='q';p:='p';l:='l'; pde := diff(w(x,y),x) +(a*y+f(x) )*diff(w(x,y),y) = g(x)*h(y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int ^{x}\!g \left ( {\it \_b} \right ) h \left ( \left ( \int \!f \left ( {\it \_b} \right ) {{\rm e}^{-{\it \_b}\,a}}\,{\rm d}{\it \_b}-\int \!f \left ( x \right ) {{\rm e}^{-ax}}\,{\rm d}x+y{{\rm e}^{-ax}} \right ) {{\rm e}^{{\it \_b}\,a}} \right ) {d{\it \_b}}+{\it \_F1} \left ( -\int \!f \left ( x \right ) {{\rm e}^{-ax}}\,{\rm d}x+y{{\rm e}^{-ax}} \right ) \]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.4 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ f(x) w_x + g(y) w_y = h_1(x) + h_2(x) \]
Mathematica ✗
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; ClearAll[g1, g0, h2, h1, h0]; pde = f[x]*D[w[x, y], x] + g[y]*D[w[x, y], y] == h1[x] + h2[x]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \text {Failed} \]
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';v:='v';q:='q';p:='p';l:='l'; g1:='g1';g2:='g2';g0:='g0';h0:='h0';h1:='h1';h2:='h2'; pde := f(x)*diff(w(x,y),x) +g(y)*diff(w(x,y),y) = h1(x)+h2(y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int ^{x}\!{\frac {{\it h1} \left ( {\it \_f} \right ) +{\it h2} \left ( \RootOf \left ( \int \! \left ( f \left ( {\it \_f} \right ) \right ) ^{-1}\,{\rm d}{\it \_f}-\int ^{{\it \_Z}}\! \left ( g \left ( {\it \_a} \right ) \right ) ^{-1}{d{\it \_a}}-\int \! \left ( f \left ( x \right ) \right ) ^{-1}\,{\rm d}x+\int \! \left ( g \left ( y \right ) \right ) ^{-1}\,{\rm d}y \right ) \right ) }{f \left ( {\it \_f} \right ) }}{d{\it \_f}}+{\it \_F1} \left ( -\int \! \left ( f \left ( x \right ) \right ) ^{-1}\,{\rm d}x+\int \! \left ( g \left ( y \right ) \right ) ^{-1}\,{\rm d}y \right ) \]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.5 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ f_1(x) w_x + (f_2(x) y+y^k f_3(x)) w_y = g(x) h(x) \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = f1[x]*D[w[x, y], x] + (y*f2[x] + y^k*f3[x])*D[w[x, y], y] == g[x]*h[x]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to c_1\left (y^{-k} \exp \left (-(1-k) \int _1^x \frac {\text {f2}(K[1])}{\text {f1}(K[1])} \, dK[1]\right ) \left (y^k \left (-\exp \left ((1-k) \int _1^x \frac {\text {f2}(K[1])}{\text {f1}(K[1])} \, dK[1]\right )\right ) \left (\int _1^x \frac {\text {f3}(K[2]) \exp \left (-(1-k) \text {Integrate}\left [\frac {\text {f2}(K[1])}{\text {f1}(K[1])},\{K[1],1,K[2]\},\text {Assumptions}\to \text {True}\right ]\right )}{\text {f1}(K[2])} \, dK[2]\right )+k y^k \exp \left ((1-k) \int _1^x \frac {\text {f2}(K[1])}{\text {f1}(K[1])} \, dK[1]\right ) \left (\int _1^x \frac {\text {f3}(K[2]) \exp \left (-(1-k) \text {Integrate}\left [\frac {\text {f2}(K[1])}{\text {f1}(K[1])},\{K[1],1,K[2]\},\text {Assumptions}\to \text {True}\right ]\right )}{\text {f1}(K[2])} \, dK[2]\right )+y\right )\right )+\int _1^x \frac {g(K[3]) h(K[3])}{\text {f1}(K[3])} \, dK[3]\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';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 := f1(x)*diff(w(x,y),x) +(y*f2(x)+y^k*f3(x))*diff(w(x,y),y) = g(x)*h(x); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int \!{\frac {g \left ( x \right ) h \left ( x \right ) }{{\it f1} \left ( x \right ) }}\,{\rm d}x+{\it \_F1} \left ( {y}^{1-k}{{\rm e}^{ \left ( k-1 \right ) \int \!{\frac {{\it f2} \left ( x \right ) }{{\it f1} \left ( x \right ) }}\,{\rm d}x}}+k\int \!{\frac {{\it f3} \left ( x \right ) }{{\it f1} \left ( x \right ) }{{\rm e}^{ \left ( k-1 \right ) \int \!{\frac {{\it f2} \left ( x \right ) }{{\it f1} \left ( x \right ) }}\,{\rm d}x}}}\,{\rm d}x-\int \!{\frac {{\it f3} \left ( x \right ) }{{\it f1} \left ( x \right ) }{{\rm e}^{ \left ( k-1 \right ) \int \!{\frac {{\it f2} \left ( x \right ) }{{\it f1} \left ( x \right ) }}\,{\rm d}x}}}\,{\rm d}x \right ) \]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.6 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ f_1(x) g_1(x) w_x + f_2(x) g_2(x) w_y = h_1(x) h_2(x) \]
Mathematica ✓
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = f1[x]*g1[x]*D[w[x, y], x] + f2[x]*g2[x]*D[w[x, y], y] == h1[x]*h2[x]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \left \{\left \{w(x,y)\to c_1\left (y-\int _1^x \frac {\text {f2}(K[1]) \text {g2}(K[1])}{\text {f1}(K[1]) \text {g1}(K[1])} \, dK[1]\right )+\int _1^x \frac {\text {h1}(K[2]) \text {h2}(K[2])}{\text {f1}(K[2]) \text {g1}(K[2])} \, dK[2]\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';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 := f1(x)*g1(x)*diff(w(x,y),x) +f2(x)*g2(x)*diff(w(x,y),y) = h1(x)*h2(x); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int \!{\frac {{\it h1} \left ( x \right ) {\it h2} \left ( x \right ) }{{\it f1} \left ( x \right ) {\it g1} \left ( x \right ) }}\,{\rm d}x+{\it \_F1} \left ( -\int \!{\frac {{\it f2} \left ( x \right ) {\it g2} \left ( x \right ) }{{\it f1} \left ( x \right ) {\it g1} \left ( x \right ) }}\,{\rm d}x+y \right ) \]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.8.2.7 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ f_1(x) g_1(y) w_x + f_2(x) g_2(y) w_y = h_1(x)+ h_2(x) \]
Mathematica ✗
ClearAll[w, x, y, n, a, b, m, c, k, alpha, beta, gamma, A, C0, s, lambda, B, s, mu, d, g, B, v, f, h, q, p, delta]; ClearAll[g1, g0, h2, h1, h0, f1, f2]; pde = f1[x]*g1[y]*D[w[x, y], x] + f2[x]*g2[y]*D[w[x, y], y] == h1[x] + h2[x]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[ \text {Failed} \]
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';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 := f1(x)*g1(y)*diff(w(x,y),x) +f2(x)*g2(y)*diff(w(x,y),y) = h1(x)+h2(x); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[ w \left ( x,y \right ) =\int ^{x}\!{\frac {{\it h1} \left ( {\it \_f} \right ) +{\it h2} \left ( {\it \_f} \right ) }{{\it f1} \left ( {\it \_f} \right ) } \left ( {\it g1} \left ( \RootOf \left ( \int \!{\frac {{\it f2} \left ( {\it \_f} \right ) }{{\it f1} \left ( {\it \_f} \right ) }}\,{\rm d}{\it \_f}-\int ^{{\it \_Z}}\!{\frac {{\it g1} \left ( {\it \_a} \right ) }{{\it g2} \left ( {\it \_a} \right ) }}{d{\it \_a}}-\int \!{\frac {{\it f2} \left ( x \right ) }{{\it f1} \left ( x \right ) }}\,{\rm d}x+\int \!{\frac {{\it g1} \left ( y \right ) }{{\it g2} \left ( y \right ) }}\,{\rm d}y \right ) \right ) \right ) ^{-1}}{d{\it \_f}}+{\it \_F1} \left ( -\int \!{\frac {{\it f2} \left ( x \right ) }{{\it f1} \left ( x \right ) }}\,{\rm d}x+\int \!{\frac {{\it g1} \left ( y \right ) }{{\it g2} \left ( y \right ) }}\,{\rm d}y \right ) \]