Added Feb. 11, 2019.
Problem Chapter 3.6.4.1 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b y^n w_y = c \cot (\lambda x) + k \cot (\mu y) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a*D[w[x, y], x] + b*D[w[x, y], y] == c*Cot[lambda*x] + k*Cot[mu*y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[\left \{\left \{w(x,y)\to \frac {a k \lambda \log (\tan (\mu y))+a k \lambda \log (\cos (\mu y))+b c \mu \log (\sin (\lambda x))}{a b \lambda \mu }+c_1\left (y-\frac {b x}{a}\right )\right \}\right \}\]
Maple ✓
restart; pde := a*diff(w(x,y),x) + b*diff(w(x,y),y) = c*cot(lambda*x)+k*cot(mu*y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[w \left (x , y\right ) = \frac {2 a b \lambda \mu \mathit {\_F1} \left (\frac {y a -b x}{a}\right )-a k \lambda \ln \left (\cot ^{2}\left (\mu y \right )+1\right )-b c \mu \ln \left (\cot ^{2}\left (\lambda x \right )+1\right )}{2 a b \lambda \mu }\]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.6.4.2 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b y^n w_y = c \cot (\lambda x+\mu y) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a*D[w[x, y], x] + b*D[w[x, y], y] == c*Cot[lambda*x + mu*y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[\left \{\left \{w(x,y)\to \frac {c (\log (\tan (\lambda x+\mu y))+\log (\cos (\lambda x+\mu y)))}{a \lambda +b \mu }+c_1\left (y-\frac {b x}{a}\right )\right \}\right \}\]
Maple ✓
restart; pde := a*diff(w(x,y),x) + b*diff(w(x,y),y) = c*cot(lambda*x+mu*y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[w \left (x , y\right ) = -\frac {c \ln \left (\cot ^{2}\left (\lambda x +\mu y \right )+1\right )}{2 a \lambda +2 \mu b}+\mathit {\_F1} \left (\frac {y a -b x}{a}\right )\]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.6.4.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 \cot (\lambda x+\mu y) \]
Mathematica ✓
ClearAll["Global`*"]; pde = x*D[w[x, y], x] + y*D[w[x, y], y] == a*x*Cot[lambda*x + mu*y]; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[\left \{\left \{w(x,y)\to \frac {a x (\log (\tan (\lambda x+\mu y))+\log (\cos (\lambda x+\mu y)))}{\lambda x+\mu y}+c_1\left (\frac {y}{x}\right )\right \}\right \}\]
Maple ✓
restart; pde := x*diff(w(x,y),x) + y*diff(w(x,y),y) = a*x*cot(lambda*x+mu*y); cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[w \left (x , y\right ) = -\frac {a \ln \left (\cot ^{2}\left (\lambda x +\mu y \right )+1\right )}{2 \left (\lambda +\frac {\mu y}{x}\right )}+\mathit {\_F1} \left (\frac {y}{x}\right )\]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.6.4.4 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b \cot ^n(\lambda x) w_y = c\cot ^m(\mu x)+s \cot ^k(\beta y) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a*D[w[x, y], x] + b*Cot[lambda*x]^n*D[w[x, y], y] == c*Cot[mu*x]^m + s*Cot[beta*y]^k; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[\left \{\left \{w(x,y)\to \int _1^x\frac {s \cot ^k\left (\frac {\beta \left (b \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};-\cot ^2(\lambda x)\right ) \cot ^{n+1}(\lambda x)+a \lambda (n+1) y-b \cot ^{n+1}(\lambda K[1]) \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};-\cot ^2(\lambda K[1])\right )\right )}{a \lambda (n+1)}\right )+c \cot ^m(\mu K[1])}{a}dK[1]+c_1\left (\frac {b \cot ^{n+1}(\lambda x) \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};-\cot ^2(\lambda x)\right )}{a \lambda n+a \lambda }+y\right )\right \}\right \}\]
Maple ✓
restart; pde := a*diff(w(x,y),x) + b*cot(lambda*x)^n*diff(w(x,y),y) = c*cot(mu*x)^m+s*cot(beta*y)^k; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[w \left (x , y\right ) = \int _{}^{x}\frac {c \left (\cot ^{m}\left (\mathit {\_b} \mu \right )\right )+s \left (\frac {\cot \left (\left (y -\left (\int \frac {b \left (\cot ^{n}\left (\lambda x \right )\right )}{a}d x \right )\right ) \beta \right ) \cot \left (\frac {b \beta \left (\int \left (\cot ^{n}\left (\mathit {\_b} \lambda \right )\right )d \mathit {\_b} \right )}{a}\right )-1}{\cot \left (\left (y -\left (\int \frac {b \left (\cot ^{n}\left (\lambda x \right )\right )}{a}d x \right )\right ) \beta \right )+\cot \left (\frac {b \beta \left (\int \left (\cot ^{n}\left (\mathit {\_b} \lambda \right )\right )d \mathit {\_b} \right )}{a}\right )}\right )^{k}}{a}d\mathit {\_b} +\mathit {\_F1} \left (y -\left (\int \frac {b \left (\cot ^{n}\left (\lambda x \right )\right )}{a}d x \right )\right )\]
____________________________________________________________________________________
Added Feb. 11, 2019.
Problem Chapter 3.6.4.5 from Handbook of first order partial differential equations by Polyanin, Zaitsev, Moussiaux.
Solve for \(w(x,y)\)
\[ a w_x + b \cot ^n(\lambda y) w_y = c\cot ^m(\mu x)+s \cot ^k(\beta y) \]
Mathematica ✓
ClearAll["Global`*"]; pde = a*D[w[x, y], x] + b*Cot[lambda*y]^n*D[w[x, y], y] == c*Cot[mu*x]^m + s*Cot[beta*y]^k; sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
\[\left \{\left \{w(x,y)\to \int _1^y\frac {\left (s \cot ^k(\beta K[1])+c \cot ^m\left (\frac {a \mu \, _2F_1\left (1,\frac {1}{2}-\frac {n}{2};\frac {3}{2}-\frac {n}{2};-\cot ^2(\lambda y)\right ) \cot ^{1-n}(\lambda y)+b \lambda \mu x-b \lambda \mu n x-a \mu \cot ^{1-n}(\lambda K[1]) \, _2F_1\left (1,\frac {1}{2}-\frac {n}{2};\frac {3}{2}-\frac {n}{2};-\cot ^2(\lambda K[1])\right )}{b \lambda -b \lambda n}\right )\right ) \cot ^{-n}(\lambda K[1])}{b}dK[1]+c_1\left (\frac {\cot ^{1-n}(\lambda y) \, _2F_1\left (1,\frac {1}{2}-\frac {n}{2};\frac {3}{2}-\frac {n}{2};-\cot ^2(\lambda y)\right )}{\lambda (n-1)}-\frac {b x}{a}\right )\right \}\right \}\]
Maple ✓
restart; pde := a*diff(w(x,y),x) + b*cot(lambda*y)^n*diff(w(x,y),y) = c*cot(mu*x)^m+s*cot(beta*y)^k; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
\[w \left (x , y\right ) = \int _{}^{y}\frac {\left (c \left (\frac {\cot \left (\left (-\frac {a \left (\int \left (\cot ^{-n}\left (\lambda y \right )\right )d y \right )}{b}+x \right ) \mu \right ) \cot \left (\frac {a \mu \left (\int \left (\cot ^{-n}\left (\mathit {\_b} \lambda \right )\right )d \mathit {\_b} \right )}{b}\right )-1}{\cot \left (\left (-\frac {a \left (\int \left (\cot ^{-n}\left (\lambda y \right )\right )d y \right )}{b}+x \right ) \mu \right )+\cot \left (\frac {a \mu \left (\int \left (\cot ^{-n}\left (\mathit {\_b} \lambda \right )\right )d \mathit {\_b} \right )}{b}\right )}\right )^{m}+s \left (\cot ^{k}\left (\mathit {\_b} \beta \right )\right )\right ) \left (\cot ^{-n}\left (\mathit {\_b} \lambda \right )\right )}{b}d\mathit {\_b} +\mathit {\_F1} \left (-\frac {a \left (\int \left (\cot ^{-n}\left (\lambda y \right )\right )d y \right )}{b}+x \right )\]
____________________________________________________________________________________