Added June 20, 2019.
Problem Chapter 7.4.3.1, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ w_x + a w_y + b w_z = c \tanh ^k(\lambda x)+s \]
Mathematica ✓
ClearAll["Global`*"]; pde = D[w[x, y,z], x] + a*D[w[x, y,z], y] + b*D[w[x,y,z],z]== c*Tanh[lambda*x]^k+s; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
\[\left \{\left \{w(x,y,z)\to c_1(y-a x,z-b x)+\frac {c \tanh ^{k+1}(\lambda x) \operatorname {Hypergeometric2F1}\left (1,\frac {k+1}{2},\frac {k+3}{2},\tanh ^2(\lambda x)\right )}{k \lambda +\lambda }+s x\right \}\right \}\]
Maple ✓
restart; local gamma; pde := diff(w(x,y,z),x)+ a*diff(w(x,y,z),y)+ b*diff(w(x,y,z),z)=c*tanh(lambda*x)^k+s; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z))),output='realtime'));
\[w \left (x , y , z\right ) = s x +\int c \left (\tanh ^{k}\left (\lambda x \right )\right )d x +\mathit {\_F1} \left (-a x +y , -b x +z \right )\]
____________________________________________________________________________________
Added June 20, 2019.
Problem Chapter 7.4.3.2, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ a w_x + b w_y + c \tanh (\lambda x) w_z = k \tanh (\beta y)+s \tanh (\gamma z) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a*D[w[x, y,z], x] + b*D[w[x, y,z], y] + c*Tanh[lambda*x]*D[w[x,y,z],z]== k*Tanh[beta*y]+s*Tanh[gamma*z]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
\[\left \{\left \{w(x,y,z)\to \int _1^x\frac {k \tanh \left (\beta \left (y+\frac {b (K[1]-x)}{a}\right )\right )+s \tanh \left (\frac {\gamma (a \lambda z-c \log (\cosh (\lambda x))+c \log (\cosh (\lambda K[1])))}{a \lambda }\right )}{a}dK[1]+c_1\left (y-\frac {b x}{a},z-\frac {c \log (\cosh (\lambda x))}{a \lambda }\right )\right \}\right \}\]
Maple ✓
restart; local gamma; pde := a*diff(w(x,y,z),x)+ b*diff(w(x,y,z),y)+ c*tanh(lambda*x)*diff(w(x,y,z),z)=k*tanh(beta*y)+s*tanh(gamma*z); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z))),output='realtime'));
\[w \left (x , y , z\right ) = \int _{}^{x}\frac {-\left (k +s \right ) \sinh \left (\frac {c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )-1\right )+c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )+1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )-1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )+1\right )-2 \left (a \gamma z +\left (a y -\left (-\mathit {\_a} +x \right ) b \right ) \beta \right ) \lambda }{2 a \lambda }\right )+\left (k -s \right ) \sinh \left (\frac {c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )-1\right )+c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )+1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )-1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )+1\right )+2 \left (-a \gamma z +\left (a y -\left (-\mathit {\_a} +x \right ) b \right ) \beta \right ) \lambda }{2 a \lambda }\right )}{\left (\cosh \left (\frac {c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )-1\right )+c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )+1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )-1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )+1\right )-2 \left (a \gamma z +\left (a y -\left (-\mathit {\_a} +x \right ) b \right ) \beta \right ) \lambda }{2 a \lambda }\right )+\cosh \left (\frac {c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )-1\right )+c \gamma \ln \left (\tanh \left (\mathit {\_a} \lambda \right )+1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )-1\right )-c \gamma \ln \left (\tanh \left (\lambda x \right )+1\right )+2 \left (-a \gamma z +\left (a y -\left (-\mathit {\_a} +x \right ) b \right ) \beta \right ) \lambda }{2 a \lambda }\right )\right ) a}d\mathit {\_a} +\mathit {\_F1} \left (\frac {a y -b x}{a}, \frac {2 a \lambda z +c \ln \left (\tanh \left (\lambda x \right )-1\right )+c \ln \left (\tanh \left (\lambda x \right )+1\right )}{2 a \lambda }\right )\]
____________________________________________________________________________________
Added June 19, 2019.
Problem Chapter 7.4.3.3, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ w_x + a \tanh ^n(\beta x) w_y + c \tanh ^k(\lambda x) w_z = c \tanh ^m(\gamma x)+s \]
Mathematica ✓
ClearAll["Global`*"]; pde = D[w[x, y,z], x] + a*Tanh[beta*x]^n*D[w[x, y,z], y] + b*Tanh[lambda*x]^k*D[w[x,y,z],z]== c*Tanh[gamma*x]^m+s; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
\[\left \{\left \{w(x,y,z)\to c_1\left (y-\frac {a \tanh ^{n+1}(\beta x) \operatorname {Hypergeometric2F1}\left (1,\frac {n+1}{2},\frac {n+3}{2},\tanh ^2(\beta x)\right )}{\beta n+\beta },z-\frac {b \tanh ^{k+1}(\lambda x) \operatorname {Hypergeometric2F1}\left (1,\frac {k+1}{2},\frac {k+3}{2},\tanh ^2(\lambda x)\right )}{k \lambda +\lambda }\right )+\frac {c \tanh ^{m+1}(\gamma x) \operatorname {Hypergeometric2F1}\left (1,\frac {m+1}{2},\frac {m+3}{2},\tanh ^2(\gamma x)\right )}{\gamma m+\gamma }+s x\right \}\right \}\]
Maple ✓
restart; local gamma; pde := diff(w(x,y,z),x)+ a*tanh(beta*x)^n*diff(w(x,y,z),y)+ b*tanh(lambda*x)^k*diff(w(x,y,z),z)=c*tanh(gamma*x)^m+s; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z))),output='realtime'));
\[w \left (x , y , z\right ) = s x +\int c \left (\tanh ^{m}\left (\gamma x \right )\right )d x +\mathit {\_F1} \left (y -\left (\int a \left (\tanh ^{n}\left (\beta x \right )\right )d x \right ), z -\left (\int b \left (\tanh ^{k}\left (\lambda x \right )\right )d x \right )\right )\]
____________________________________________________________________________________
Added June 19, 2019.
Problem Chapter 7.4.3.4, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ a w_x + b \tanh (\beta y) w_y + c \tanh (\lambda x) w_z = k \tanh (\gamma z) \]
Mathematica ✗
ClearAll["Global`*"]; pde = a*D[w[x, y,z], x] + b*Tanh[beta*y]*D[w[x, y,z], y] + c*Tanh[lambda*x]*D[w[x,y,z],z]== k*Tanh[gamma*z]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
Failed
Maple ✓
restart; local gamma; pde := a*diff(w(x,y,z),x)+ b*tanh(beta*y)*diff(w(x,y,z),y)+ c*tanh(lambda*x)*diff(w(x,y,z),z)=k*tanh(gamma*z); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z))),output='realtime'));
\[w \left (x , y , z\right ) = \int _{}^{y}\frac {k \sinh \left (\frac {\left (a \lambda z -c \ln \left (\cosh \left (\lambda x \right )\right )+c \ln \left (\cosh \left (\frac {\left (-2 b \beta x +a \ln \left (\tanh \left (\mathit {\_a} \beta \right )-1\right )+a \ln \left (\tanh \left (\mathit {\_a} \beta \right )+1\right )-a \ln \left (\tanh \left (\beta y \right )-1\right )-a \ln \left (\tanh \left (\beta y \right )+1\right )-2 a \ln \left (\tanh \left (\mathit {\_a} \beta \right )\right )+2 a \ln \left (\tanh \left (\beta y \right )\right )\right ) \lambda }{2 b \beta }\right )\right )\right ) \gamma }{a \lambda }\right )}{b \cosh \left (\frac {\left (a \lambda z -c \ln \left (\cosh \left (\lambda x \right )\right )+c \ln \left (\cosh \left (\frac {\left (-2 b \beta x +a \ln \left (\tanh \left (\mathit {\_a} \beta \right )-1\right )+a \ln \left (\tanh \left (\mathit {\_a} \beta \right )+1\right )-a \ln \left (\tanh \left (\beta y \right )-1\right )-a \ln \left (\tanh \left (\beta y \right )+1\right )-2 a \ln \left (\tanh \left (\mathit {\_a} \beta \right )\right )+2 a \ln \left (\tanh \left (\beta y \right )\right )\right ) \lambda }{2 b \beta }\right )\right )\right ) \gamma }{a \lambda }\right ) \tanh \left (\mathit {\_a} \beta \right )}d\mathit {\_a} +\mathit {\_F1} \left (\frac {2 b \beta x +a \ln \left (\tanh \left (\beta y \right )-1\right )+a \ln \left (\tanh \left (\beta y \right )+1\right )-2 a \ln \left (\tanh \left (\beta y \right )\right )}{2 b \beta }, \frac {a \lambda z -c \ln \left (\cosh \left (\lambda x \right )\right )}{a \lambda }\right )\]
____________________________________________________________________________________
Added June 19, 2019.
Problem Chapter 7.4.3.5, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ a w_x + b \tanh (\beta y) w_y + c \tanh (\gamma z) w_z = k \tanh (\lambda x) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a*D[w[x, y,z], x] + b*Tanh[beta*y]*D[w[x, y,z], y] + c*Tanh[gamma*z]*D[w[x,y,z],z]== k*Tanh[lambda*x]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
\[\left \{\left \{w(x,y,z)\to \frac {k \log (\cosh (\lambda x))}{a \lambda }+c_1\left (\frac {1}{2} \left (\frac {\log (\sinh (\beta y))}{\beta }-\frac {b x}{a}\right ),\frac {b \log \left (\sinh ^2(\gamma z)\right )}{\gamma }-\frac {2 c \log (\sinh (\beta y))}{\beta }\right )\right \}\right \}\]
Maple ✓
restart; local gamma; pde := a*diff(w(x,y,z),x)+ b*tanh(beta*y)*diff(w(x,y,z),y)+ c*tanh(gamma*z)*diff(w(x,y,z),z)=k*tanh(lambda*x); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z),'build')),output='realtime'));
\[w \left (x , y , z\right ) = c_{1} c_{2} c_{3} \left (\frac {-\cosh \left (\beta y \right )+\sinh \left (\beta y \right )}{\cosh \left (\beta y \right )}\right )^{-\frac {\mathit {\_c}_{2}}{2 \beta }} \left (\frac {\cosh \left (\beta y \right )+\sinh \left (\beta y \right )}{\cosh \left (\beta y \right )}\right )^{-\frac {\mathit {\_c}_{2}}{2 \beta }} \left (\frac {-\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {a \mathit {\_c}_{1}}{2 c \gamma }} \left (\frac {-\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {b \mathit {\_c}_{2}}{2 c \gamma }} \left (\frac {\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {a \mathit {\_c}_{1}}{2 c \gamma }} \left (\frac {\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {b \mathit {\_c}_{2}}{2 c \gamma }} \left (\frac {\sinh \left (\beta y \right )}{\cosh \left (\beta y \right )}\right )^{\frac {\mathit {\_c}_{2}}{\beta }} \left (\frac {\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{-\frac {a \mathit {\_c}_{1}}{c \gamma }} \left (\frac {\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{-\frac {b \mathit {\_c}_{2}}{c \gamma }} {\mathrm e}^{x \mathit {\_c}_{1}}+\frac {c_{1} k}{c_{2} a}+\frac {k \ln \left ({\mathrm e}^{2 \lambda x}+1\right )}{a \lambda }-\frac {k \ln \left ({\mathrm e}^{\lambda x}\right )}{a \lambda }\]
____________________________________________________________________________________
Added June 19, 2019.
Problem Chapter 7.4.3.6, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ a \tanh (\lambda x) w_x + b \tanh (\beta y) w_y + c \tanh (\gamma z) w_z = k \]
Mathematica ✗
ClearAll["Global`*"]; pde = a*Tanh[lambda*x]*D[w[x, y,z], x] + b*Tanh[beta*y]*D[w[x, y,z], y] + c*Tanh[gamma*z]*D[w[x,y,z],z]== k; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
Failed
Maple ✓
restart; local gamma; pde := a*tanh(lambda*x)*diff(w(x,y,z),x)+ b*tanh(beta*y)*diff(w(x,y,z),y)+ c*tanh(gamma*z)*diff(w(x,y,z),z)=k; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z),'build')),output='realtime'));
\[w \left (x , y , z\right ) = c_{1} c_{2} c_{3} \left (\frac {-\cosh \left (\beta y \right )+\sinh \left (\beta y \right )}{\cosh \left (\beta y \right )}\right )^{-\frac {\mathit {\_c}_{2}}{2 \beta }} \left (\frac {\cosh \left (\beta y \right )+\sinh \left (\beta y \right )}{\cosh \left (\beta y \right )}\right )^{-\frac {\mathit {\_c}_{2}}{2 \beta }} \left (\frac {-\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {a \mathit {\_c}_{1}}{2 c \gamma }} \left (\frac {-\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {b \mathit {\_c}_{2}}{2 c \gamma }} \left (\frac {\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {a \mathit {\_c}_{1}}{2 c \gamma }} \left (\frac {\cosh \left (\gamma z \right )+\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{\frac {b \mathit {\_c}_{2}}{2 c \gamma }} \left (\frac {-\cosh \left (\lambda x \right )+\sinh \left (\lambda x \right )}{\cosh \left (\lambda x \right )}\right )^{-\frac {\mathit {\_c}_{1}}{2 \lambda }} \left (\frac {\cosh \left (\lambda x \right )+\sinh \left (\lambda x \right )}{\cosh \left (\lambda x \right )}\right )^{-\frac {\mathit {\_c}_{1}}{2 \lambda }} \left (\frac {\sinh \left (\beta y \right )}{\cosh \left (\beta y \right )}\right )^{\frac {\mathit {\_c}_{2}}{\beta }} \left (\frac {\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{-\frac {a \mathit {\_c}_{1}}{c \gamma }} \left (\frac {\sinh \left (\gamma z \right )}{\cosh \left (\gamma z \right )}\right )^{-\frac {b \mathit {\_c}_{2}}{c \gamma }} \left (\frac {\sinh \left (\lambda x \right )}{\cosh \left (\lambda x \right )}\right )^{\frac {\mathit {\_c}_{1}}{\lambda }}+\frac {c_{1} k}{c_{2} a}+\frac {k \ln \left ({\mathrm e}^{\lambda x}-1\right )}{2 a \lambda }+\frac {k \ln \left ({\mathrm e}^{\lambda x}+1\right )}{2 a \lambda }+\frac {k \ln \left ({\mathrm e}^{2 \lambda x}-1\right )}{2 a \lambda }-\frac {k \ln \left ({\mathrm e}^{\lambda x}\right )}{a \lambda }\]
____________________________________________________________________________________
Added June 19, 2019.
Problem Chapter 7.4.3.7, from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y,z)\)
\[ a_1 \tanh ^{n_1}(\lambda _1 x) w_x + b_1 \tanh ^{m_1}(\beta _1 y) w_y + c_1 \tanh ^{k_1}(\gamma _1 z) w_z = a_2 \tanh ^{n_2}(\lambda _2 x) + b_2 \tanh ^{m_2}(\beta _2 y) w_y + c_2 \tanh ^{k_2}(\gamma _2 z) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a1*Tanh[lambda1*x]^n1*D[w[x, y,z], x] + b1*Tanh[beta1*x]^m1*D[w[x, y,z], y] + c1*Tanh[gamma1*x]^k1*D[w[x,y,z],z]== a2*Tanh[lambda1*x]^n2 + b2*Tanh[beta2*x]^m2 + c2*Tanh[gamma2*x]^k2; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y,z], {x, y,z}], 60*10]];
\[\left \{\left \{w(x,y,z)\to \int _1^x\frac {\tanh ^{-\text {n1}}(\text {lambda1} K[3]) \left (\text {c2} \tanh ^{\text {k2}}(\text {gamma2} K[3])+\text {b2} \tanh ^{\text {m2}}(\text {beta2} K[3])+\text {a2} \tanh ^{\text {n2}}(\text {lambda1} K[3])\right )}{\text {a1}}dK[3]+c_1\left (y-\int _1^x\frac {\text {b1} \tanh ^{\text {m1}}(\text {beta1} K[1]) \tanh ^{-\text {n1}}(\text {lambda1} K[1])}{\text {a1}}dK[1],z-\int _1^x\frac {\text {c1} \tanh ^{\text {k1}}(\text {gamma1} K[2]) \tanh ^{-\text {n1}}(\text {lambda1} K[2])}{\text {a1}}dK[2]\right )\right \}\right \}\]
Maple ✓
restart; local gamma; pde := a1*tanh(lambda1*x)^n1*diff(w(x,y,z),x)+ b1*tanh(beta1*x)^m1*diff(w(x,y,z),y)+ c1*tanh(gamma1*x)^k1*diff(w(x,y,z),z)=a2*tanh(lambda1*x)^n2 + b2*tanh(beta2*x)^m2 + c2*tanh(gamma2*x)^k2; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y,z))),output='realtime'));
\[w \left (x , y , z\right ) = \int \frac {\mathit {b2} \left (\tanh ^{\mathit {m2}}\left (\beta 2 x \right )\right ) \left (\tanh ^{-\mathit {n1}}\left (\lambda 1 x \right )\right )+\mathit {c2} \left (\tanh ^{\mathit {k2}}\left (\gamma 2 x \right )\right ) \left (\tanh ^{-\mathit {n1}}\left (\lambda 1 x \right )\right )+\mathit {a2} \left (\tanh ^{-\mathit {n1} +\mathit {n2}}\left (\lambda 1 x \right )\right )}{\mathit {a1}}d x +\mathit {\_F1} \left (\frac {\mathit {a1} y -\mathit {b1} \left (\int \left (\frac {\sinh \left (\beta 1 x \right )}{\cosh \left (\beta 1 x \right )}\right )^{\mathit {m1}} \left (\frac {\sinh \left (\lambda 1 x \right )}{\cosh \left (\lambda 1 x \right )}\right )^{-\mathit {n1}}d x \right )}{\mathit {a1}}, \frac {\mathit {a1} z -\mathit {c1} \left (\int \left (\frac {\sinh \left (\gamma 1 x \right )}{\cosh \left (\gamma 1 x \right )}\right )^{\mathit {k1}} \left (\frac {\sinh \left (\lambda 1 x \right )}{\cosh \left (\lambda 1 x \right )}\right )^{-\mathit {n1}}d x \right )}{\mathit {a1}}\right )\]
____________________________________________________________________________________