86 HFOPDE, chapter 3.6.2

86.1 Problem 1
86.2 Problem 2
86.3 Problem 3
86.4 Problem 4
86.5 Problem 5

____________________________________________________________________________________

86.1 Problem 1

problem number 750

Added Feb. 11, 2019.

Problem Chapter 3.6.2.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 \cos (\lambda x) + k \cos (\mu 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 = a*D[w[x, y], x] + b*D[w[x, y], y] == c*Cos[lambda*x] + k*Cos[mu*y]; 
 sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
 

\[ \left \{\left \{w(x,y)\to \frac {a b \lambda \mu c_1\left (\frac {a y-b x}{a}\right )+a k \lambda \sin \left (\frac {b \mu x}{a}\right ) \cos \left (\frac {\mu (a y-b x)}{a}\right )+a k \lambda \cos \left (\frac {b \mu x}{a}\right ) \sin \left (\frac {\mu (a y-b x)}{a}\right )+b c \mu \sin (\lambda x)}{a b \lambda \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';v:='v';q:='q';p:='p';l:='l'; 
pde := a*diff(w(x,y),x) +  b*diff(w(x,y),y) =  c*cos(lambda*x)+k*cos(mu*y); 
cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve(pde,w(x,y)) ),output='realtime'));
 

\[ w \left ( x,y \right ) ={\frac {1}{b\mu \,a\lambda } \left ( {\it \_F1} \left ( {\frac {ya-bx}{a}} \right ) b\mu \,a\lambda +c\sin \left ( \lambda \,x \right ) b\mu +k\sin \left ( {\frac { \left ( ya-bx \right ) \mu }{a}}+{\frac {b\mu \,x}{a}} \right ) a\lambda \right ) } \]

____________________________________________________________________________________

86.2 Problem 2

problem number 751

Added Feb. 11, 2019.

Problem Chapter 3.6.2.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 \cos (\lambda x+\mu 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 = a*D[w[x, y], x] + b*D[w[x, y], y] == c*Cos[lambda*x + mu*y]; 
 sol = AbsoluteTiming[TimeConstrained[DSolve[pde, w[x, y], {x, y}], 60*10]];
 

\[ \left \{\left \{w(x,y)\to \frac {c \sin \left (\mu \left (\frac {a y-b x}{a}+\frac {b x}{a}\right )+\lambda x\right )+a \lambda c_1\left (\frac {a y-b x}{a}\right )+b \mu c_1\left (\frac {a y-b x}{a}\right )}{a \lambda +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';v:='v';q:='q';p:='p';l:='l'; 
pde := a*diff(w(x,y),x) +  b*diff(w(x,y),y) =  c*cos(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}{a\lambda +b\mu }\sin \left ( {\frac { \left ( a\lambda +b\mu \right ) x}{a}}+{\frac { \left ( ya-bx \right ) \mu }{a}} \right ) }+{\it \_F1} \left ( {\frac {ya-bx}{a}} \right ) \]

____________________________________________________________________________________

86.3 Problem 3

problem number 752

Added Feb. 11, 2019.

Problem Chapter 3.6.2.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 \cos (\lambda x+\mu 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 = x*D[w[x, y], x] + y*D[w[x, y], y] == a*x*Cos[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 \sin \left (x \left (\lambda +\frac {\mu y}{x}\right )\right )+\lambda x c_1\left (\frac {y}{x}\right )+\mu y c_1\left (\frac {y}{x}\right )}{\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';v:='v';q:='q';p:='p';l:='l'; 
pde := x*diff(w(x,y),x) +  y*diff(w(x,y),y) =  a*x*cos(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 ) ={a\sin \left ( x \left ( {\frac {\mu \,y}{x}}+\lambda \right ) \right ) \left ( {\frac {\mu \,y}{x}}+\lambda \right ) ^{-1}}+{\it \_F1} \left ( {\frac {y}{x}} \right ) \]

____________________________________________________________________________________

86.4 Problem 4

problem number 753

Added Feb. 11, 2019.

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

Solve for \(w(x,y)\)

\[ a w_x + b \cos ^n(\lambda x) w_y = c\cos ^m(\mu x)+s \cos ^k(\beta 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 = a*D[w[x, y], x] + b*Cos[lambda*x]^n*D[w[x, y], y] == c*Cos[mu*x]^m + s*Cos[beta*y]^k; 
 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';v:='v';q:='q';p:='p';l:='l'; 
pde := a*diff(w(x,y),x) +  b*cos(lambda*x)^n*diff(w(x,y),y) =  c*cos(mu*x)^m+s*cos(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 {1}{a} \left ( c \left ( \cos \left ( {\it \_b}\,\mu \right ) \right ) ^{m}+s \left ( \cos \left ( {\frac {\beta }{a} \left ( \int \! \left ( \cos \left ( {\it \_b}\,\lambda \right ) \right ) ^{n}\,{\rm d}{\it \_b}b+ \left ( -\int \!{\frac {b \left ( \cos \left ( \lambda \,x \right ) \right ) ^{n}}{a}}\,{\rm d}x+y \right ) a \right ) } \right ) \right ) ^{k} \right ) }{d{\it \_b}}+{\it \_F1} \left ( -\int \!{\frac {b \left ( \cos \left ( \lambda \,x \right ) \right ) ^{n}}{a}}\,{\rm d}x+y \right ) \]

____________________________________________________________________________________

86.5 Problem 5

problem number 754

Added Feb. 11, 2019.

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

Solve for \(w(x,y)\)

\[ a w_x + b \cos ^n(\lambda y) w_y = c\cos ^m(\mu x)+s \cos ^k(\beta 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 = a*D[w[x, y], x] + b*Cos[lambda*y]^n*D[w[x, y], y] == c*Cos[mu*x]^m + s*Cos[beta*y]^k; 
 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';v:='v';q:='q';p:='p';l:='l'; 
pde := a*diff(w(x,y),x) +  b*cos(lambda*y)^n*diff(w(x,y),y) =  c*cos(mu*x)^m+s*cos(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 ( \cos \left ( {\it \_b}\,\lambda \right ) \right ) ^{-n}}{b} \left ( \left ( \cos \left ( {\frac {\mu \, \left ( a\int \! \left ( \cos \left ( {\it \_b}\,\lambda \right ) \right ) ^{-n}\,{\rm d}{\it \_b}+bx-a\int \! \left ( \cos \left ( y\lambda \right ) \right ) ^{-n}\,{\rm d}y \right ) }{b}} \right ) \right ) ^{m}c+s \left ( \cos \left ( \beta \,{\it \_b} \right ) \right ) ^{k} \right ) }{d{\it \_b}}+{\it \_F1} \left ( {\frac {bx-a\int \! \left ( \cos \left ( y\lambda \right ) \right ) ^{-n}\,{\rm d}y}{b}} \right ) \]