1 (load("contrib_ode"),0);
4 /* ODE tests - Equations 1.401-1.500
7 E Kamke, Differentialgleichungen Losungsmethoden und Losungen,
8 Vol 1, Geest & Portig, Leipzig, 1961
10 E. S. Cheb-Terrab, T. Koloknikov, First Order ODEs,
11 Symmetries and Linear Transformations, European Journal of
12 Applied Mathematics, Vol. 14, No. 2, pp. 231-246 (2003).
13 (http://lie.uwaterloo.ca/papers/ode_iv.pdf)
16 /* Don't kill(all); It messes up trigsimp */
19 (pn_(n_):=print("Kamke ODE 1.",n_),true);
23 (pn_(401),ans:contrib_ode(eqn:3*('diff(y,x,1))^2-2*x*'diff(y,x,1)+y,y,x));
24 [4*y^3-x^2*y^2-18*%c*x*y+4*%c*x^3+27*%c^2=0];
28 /* 402 Why the complex solution? */
29 (pn_(402),ans:contrib_ode(eqn:3*('diff(y,x,1))^2+4*x*'diff(y,x,1)-y+x^2,y,x));
30 [(2^(3/2)*%i*sqrt(3*y+x^2)+sqrt(2)*%i*x)/3 = %c]$
31 [method,ode_check(eqn,ans[1])];
35 (pn_(403),ans:contrib_ode(eqn:a*('diff(y,x,1))^2+b*'diff(y,x,1)-y,y,x));
36 [[x=log(%t)*b+2*%t*a+%c,y=%t*b+%t^2*a]];
37 [method,ode_check(eqn,ans[1])];
41 /* This equation presents a problem - runs forever */
42 /* (pn_( 404 ),ans:contrib_ode(eqn: a*('diff(y,x,1))^2+b*x^2*'diff(y,x,1)+c*x*y ,y,x)); */
45 (pn_(405),ans:contrib_ode(eqn:a*('diff(y,x,1))^2+y*'diff(y,x,1)-x,y,x));
49 (pn_(406),ans:contrib_ode(eqn:a*('diff(y,x,1))^2-y*'diff(y,x,1)-x,y,x));
53 (pn_(407),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-y,y,x));
54 [x^2*(y^2+(-2*x-2*%c)*y+x^2-2*%c*x+%c^2)=0];
59 (pn_( 408 ),ans:contrib_ode(eqn: x*('diff(y,x,1))^2-2*y+x ,y,x));
60 [[x=%c*%e^-(2*(log(%t-1)-1/(%t-1))),y=(%t^2+1)*x/2]];
61 [method,ode_check(eqn,ans[1])];
65 (pn_( 409 ),ans:contrib_ode(eqn: x*('diff(y,x,1))^2-2*'diff(y,x,1)-y ,y,x));
66 [[x=(2*(%t-log(%t))+%c)/(%t-1)^2,y = %t^2*x-2*%t]];
67 [method,ode_check(eqn,ans[1])];
71 /* This equation presents a problem - runs forever */
72 /* (pn_( 410 ),ans:contrib_ode(eqn: x*('diff(y,x,1))^2+4*'diff(y,x,1)-2*y ,y,x)); */
75 (pn_(411),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+x*'diff(y,x,1)-y ,y,x));
76 [[x=%c*%e^(1/%t)/%t^2,y=(%t^2+%t)*x]];
77 [method,ode_check(eqn,ans[1])];
81 (pn_(412),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+y*'diff(y,x,1)+a,y,x));
82 [(4*log(sqrt(y^2-4*a*x)+2*y)+2*log(sqrt(y^2-4*a*x)-y))/3=%c];
83 [method,ode_check(eqn,ans[1])];
86 /* 413 Not sure about this one - ode_check() chokes */
87 (pn_(413),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+y*'diff(y,x,1)-x^2,y,x),0);
89 /* FIXME 2015-04 solution has changed
90 [-((120*'integrate((sqrt(y^2+4*x^3)*(y*%e^(3*log(y^2+4*x^3)/2)+(-y^3-4*x^3*y)*%e^(log(y^2+4*x^3)/2)+32*x^3*y^2+128*x^6)+(-4*y^2-32*x^3)*%e^(3*log(y^2+4*x^3)/2)+(4*y^4+16*x^3*y^2)*%e^(log(y^2+4*x^3)/2))/(sqrt(y^2+4*x^3)*((4*y^2+16*x^3)*%e^(3*log(y^2+4*x^3)/2)+(-4*y^4-16*x^3*y^2)*%e^(log(y^2+4*x^3)/2)+64*x^3*y^3+256*x^6*y)+(16*y^3+64*x^3*y)*%e^(3*log(y^2+4*x^3)/2)+(-16*y^5-64*x^3*y^3)*%e^(log(y^2+4*x^3)/2)+256*x^3*y^4+1024*x^6*y^2),y)-64*log(%e^(log(y^2+4*x^3)/2)+4*y)+25*log(%e^(log(y^2+4*x^3)/2)+y)+9*log(%e^(log(y^2+4*x^3)/2)-y)-75*log(x))/120) = %c];
95 /* 414 "Solution" changed Jan 2007. Don't worry at present. */
96 /* (pn_(414),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+y*'diff(y,x,1)+x^3,y,x),0);
99 [-(5*'integrate((sqrt(y^2-4*x^4)*'integrate(((52*x^3*y^2-8*x^7)*%e^(log(y+2*x^2)/2+log(y-2*x^2)/2)+20*x^3*y^3-80*x^7*y)/((65*y^5-270*x^4*y^3+40*x^8*y)*%e^(log(y+2*x^2)/2+log(y-2*x^2)/2)+97*y^6-464*x^4*y^4+306*x^8*y^2-8*x^12),x)+5*y*'integrate(((52*x^3*y^2-8*x^7)*%e^(log(y+2*x^2)/2+log(y-2*x^2)/2)+20*x^3*y^3-80*x^7*y)/((65*y^5-270*x^4*y^3+40*x^8*y)*%e^(log(y+2*x^2)/2+log(y-2*x^2)/2)+97*y^6-464*x^4*y^4+306*x^8*y^2-8*x^12),x)-2)/(sqrt(y^2-4*x^4)+5*y),y)+5*'integrate((24*y^2+4*x^4)/(25*x*y*%e^(log(y+2*x^2)/2+log(y-2*x^2)/2)+65*x*y^2-10*x^5),x)-3*log(x))/5=%c];
105 (pn_(415),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+y*'diff(y,x,1)-y^4,y,x));
106 [2*log(sqrt(4*x*y^2+1)-1)-2*log(y)=%c];
107 [method,ode_check(eqn,ans[1])];
111 (pn_(416),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+(y-3*x)*'diff(y,x,1)+y,y,x));
112 [[x=%c*(%t+1)*%e^-(3*log(%t)/2),y=-((%t^2-3*%t)*x/(%t+1))]];
113 [method,ode_check(eqn,ans[1])];
117 (pn_(417),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-y*'diff(y,x,1)+a,y,x));
118 [y=(%c^2*x+a)/%c,y=-2*sqrt(a*x),y=2*sqrt(a*x)];
119 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
123 (pn_(418),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-y*'diff(y,x,1)+a*y,y,x));
124 [[x=%c*(%t-a)*%e^-(%t/a),y=%t^2*x/(%t-a)]];
125 [method,ode_check(eqn,ans[1])];
129 (pn_(419),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+2*y*'diff(y,x,1)-x,y,x));
130 [[x=%c*%t*%e^-((2*log(3*%t^2-1)/3)),y=-((%t^2-1)*x/(2*%t))]];
131 [method,ode_check(eqn,ans[1])];
135 (pn_(420),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-2*y*'diff(y,x,1)+a,y,x));
136 [(2*log(2*sqrt(y^2-a*x)-y)+4*log(sqrt(y^2-a*x)+y))/3=%c];
137 [method,ode_check(eqn,ans[1])];
141 (pn_(421),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-2*y*'diff(y,x,1)-x,y,x));
142 [x*(2*%c*y-x^2+%c^2)=0];
144 [y=(x^2-%c^2)/(2*%c)];
145 [method,ode_check(eqn,%[1])];
149 (pn_(422),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-2*y*'diff(y,x,1)+4*x,y,x));
150 [x*(2*%c*y-x^2-4*%c^2)=0];
152 [y=(x^2+4*%c^2)/(2*%c)];
153 [method,ode_check(eqn,%[1])];
158 (pn_(423),ans:contrib_ode(eqn:x*('diff(y,x,1))^2-2*y*'diff(y,x,1)+2*y+x,y,x));
159 [x*(2*%c*y-x^2-2*%c*x-2*%c^2)=0];
161 [y=(x^2+2*%c*x+2*%c^2)/(2*%c)];
162 [method,ode_check(eqn,%[1])];
166 (pn_(424),ans:contrib_ode(eqn:x*('diff(y,x,1))^2+a*y*'diff(y,x,1)+b*x,y,x));
167 [[x=%c*%t*%e^-((a+2)*log(b+%t^2*(a+1))/(2*a+2)),y=-((b+%t^2)*x/(%t*a))]];
168 [method,ode_check(eqn,%[1])];
172 (pn_(425),ans:contrib_ode(eqn: (x+1)*('diff(y,x,1))^2-(y+x)*'diff(y,x,1)+y ,y,x));
173 [y=((%c^2-%c)*x+%c^2)/(%c-1),y=-2*sqrt(x+1)+x+2,y=2*sqrt(x+1)+x+2];
174 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
178 (pn_(426),ans:contrib_ode(eqn:(3*x+1)*('diff(y,x,1))^2-3*(y+2)*'diff(y,x,1)+9 ,y,x));
179 [y=(3*%c^2*x+%c^2-6*%c+9)/(3*%c),y=-2*sqrt(3*x+1)-2,y=2*sqrt(3*x+1)-2];
180 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
184 (pn_(427),ans:contrib_ode(eqn: (3*x+5)*('diff(y,x,1))^2-(3*y+x)*'diff(y,x,1)+y ,y,x));
185 [y=((3*%c^2-%c)*x+5*%c^2)/(3*%c-1),y=-((2*sqrt(5)*sqrt(3*x+5)-3*x-10)/9),y=(2*sqrt(5)*sqrt(3*x+5)+3*x+10)/9];
186 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
190 /* This equation presents a problem - runs forever */
191 (pn_(428),ans:contrib_ode(eqn:a*x*('diff(y,x,1))^2+(-a*y+b*x+c)*'diff(y,x,1)-b*y ,y,x));
192 [y=((%c*b+%c^2*a)*x+%c*c)/(b+%c*a),y=-((2*sqrt(-b*c*x)+b*x-c)/a),y=(2*sqrt(-b*c*x)-b*x+c)/a];
193 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
197 (pn_(429),ans:contrib_ode(eqn: a*x*('diff(y,x,1))^2-(a*y+b*x-b-a)*'diff(y,x,1)+b*y ,y,x));
198 [y=((%c*b-%c^2*a)*x-%c*b-%c*a)/(b-%c*a),y=-((2*sqrt((b^2+a*b)*x)-b*x-b-a)/a),y=(2*sqrt((b^2+a*b)*x)+b*x+b+a)/a];
199 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
203 /* This equation presents a problem - runs forever */
204 /* (pn_( 430 ),ans:contrib_ode(eqn: (a2*x+c_2)*('diff(y,x,1))^2+(b1*y+a1*x+c_1)*'diff(y,x,1)+b0*y+a0*x+c_0 ,y,x)); */
207 /* This equation presents a problem - crashes ode_contrib */
208 /* (pn_( 431 ),ans:contrib_ode(eqn: x^2*('diff(y,x,1))^2-y^4+y^2 ,y,x)); */
211 /* This equation presents a problem - runs forever */
212 /* (pn_( 432 ),ans:contrib_ode(eqn: (x*'diff(y,x,1)+a)^2-2*a*y+x^2 ,y,x)); */
214 /* 433 "Solution" changed in Jan 2007. Don't worry yet. */
215 /* (pn_(433),ans:contrib_ode(eqn:(x*'diff(y,x,1)+y+2*x)^2-4*(x*y+x^2+a),y,x));
216 [-(3*'integrate((sqrt(x)*((sqrt(2)*sqrt(3)*y+2*sqrt(2)*sqrt(3)*x)*'integrate((%i*x*y+2*%i*a)*%e^-(log(x*y+x^2+a)/2)/(2*x*y+2*x^2+2*a),x)-2*sqrt(2)*sqrt(3)*sqrt(-x)*%e^(log(x)/2))+(-sqrt(2)*sqrt(3)*%e^(log(x)/2)*y-2*sqrt(2)*sqrt(3)*x*%e^(log(x)/2))*'integrate((%i*x*y+2*%i*a)*%e^-(log(x*y+x^2+a)/2)/(2*x*y+2*x^2+2*a),x)+2*sqrt(2)*sqrt(3)*sqrt(x)*sqrt(x*y+x^2+a)*'integrate((%i*x*y+2*%i*a)*%e^-(log(x*y+x^2+a)/2)/(2*x*y+2*x^2+2*a),x))/(6*sqrt(x)*sqrt(x*y+x^2+a)+sqrt(x)*(3*y+6*x)-3*%e^(log(x)/2)*y-6*x*%e^(log(x)/2)),y)-sqrt(2)*sqrt(3)*'integrate((%i*y+2*%i*x)*%e^-(log(x*y+x^2+a)/2),x)-2*sqrt(2)*sqrt(3)*%i*x)/3=%c];
221 (pn_(434),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)-x^2,y,x));
222 [x*(2*%c*y-x^2+%c^2)=0];
224 [y=(x^2-%c^2)/(2*%c)];
225 [method,ode_check(eqn,%[1])];
229 /* This equation presents a problem - crashes ode_contrib */
230 /* (pn_( 435 ),ans:contrib_ode(eqn: x^2*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)+y*(y+1)-x ,y,x)); */
235 (pn_(436),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)+(1-x^2)*y^2-x^4,y,x));
236 [asinh(y/abs(x))+x=%c];
237 [method,ode_check(eqn,ans[1])];
243 (pn_(437),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2-(2*x*y+a)*'diff(y,x,1)+y^2,y,x));
244 [y=%c*x-sqrt(%c*a),y=%c*x+sqrt(%c*a),y=-a/(4*x)];
245 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3])];
249 (pn_(438),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2+3*x*y*'diff(y,x,1)+2*y^2,y,x));
251 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
254 /* 439 CHECKME: Complex solution */
257 (pn_(439),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2+3*x*y*'diff(y,x,1)+3*y^2,y,x));
258 [[x = %c*%e^-(((sqrt(3)*%i+3)*log(%t))/(sqrt(3)*%i+9)),
259 y = -((sqrt(3)*%i+3)*%t*x)/6],
260 [x = %c*%e^-(((sqrt(3)*%i-3)*log(%t))/(sqrt(3)*%i-9)),
261 y = ((sqrt(3)*%i-3)*%t*x)/6]]$
262 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
268 (pn_(440),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2+4*x*y*'diff(y,x,1)-5*y^2,y,x));
270 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
274 (pn_(441),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2-4*x*(y+2)*'diff(y,x,1)+4*y*(y+2),y,x),0);
277 [-(4*%i*sqrt(y+2)-2^(3/2)*%i*y-2^(5/2)*%i)/(sqrt(3)*x*sqrt(y+2))=%c]$
279 [method,ode_check(eqn,ans[1])];
283 (pn_(442),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2+(x^2*y-2*x*y+x^3)*'diff(y,x,1)+(1-x)*(y^2-x^2*y),y,x));
284 [y=(%c-x)*x,y=%c*x*%e^-x];
285 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
288 /* 443 Just accept solution for now */
289 (pn_(443),ans:contrib_ode(eqn:x*(x*'diff(y,x,1)-y)^2-'diff(y,x,1),y,x));
290 ['integrate((%e^('integrate(1/x,x))*sqrt(4*x^2*y+1)
293 *(12*x^6*y^2+12*x^4*y+2*x^2)
294 -32*x^6*y^2-16*x^4*y-2*x^2)
295 /((-216*x^8*%e^('integrate(1/x,x))
298 *(108*x^6*%e^('integrate(1/x,x))
300 +67*x^4*%e^('integrate(1/x,x))
302 +14*x^2*%e^('integrate(1/x,x))
303 *y+%e^'integrate(1/x,x))
304 -234*x^6*%e^('integrate(1/x,x))
306 -93*x^4*%e^('integrate(1/x,x))
308 -16*x^2*%e^('integrate(1/x,x))*y
309 -%e^'integrate(1/x,x)),x)
310 +((-6*x^2*%e^('integrate(1/x,x))*y)-%e^'integrate(1/x,x))
311 *'integrate((sqrt(4*x^2*y+1)*(12*x^6*y^2+12*x^4*y+2*x^2)
312 -32*x^6*y^2-16*x^4*y-2*x^2)
313 /((-216*x^8*%e^('integrate(1/x,x))*y^4)
315 *(108*x^6*%e^('integrate(1/x,x))*y^3
316 +67*x^4*%e^('integrate(1/x,x))*y^2
317 +14*x^2*%e^('integrate(1/x,x))*y
318 +%e^'integrate(1/x,x))
319 -234*x^6*%e^('integrate(1/x,x))*y^3
320 -93*x^4*%e^('integrate(1/x,x))*y^2
321 -16*x^2*%e^('integrate(1/x,x))*y
322 -%e^'integrate(1/x,x)),x)+2*x^3)
323 /(%e^('integrate(1/x,x))*sqrt(4*x^2*y+1)
324 -6*x^2*%e^('integrate(1/x,x))*y-%e^'integrate(1/x,x)),y)
325 +'integrate((sqrt(4*x^2*y+1)-2*x^2*y-1)
326 /(%e^('integrate(1/x,x))*sqrt(4*x^2*y+1)
327 -6*x^2*%e^('integrate(1/x,x))*y-%e^'integrate(1/x,x)),
334 /* This equation presents a problem - runs forever */
335 /* (pn_( 444 ),ans:contrib_ode(eqn: x^2*('diff(y,x,1))^2-y*(y-2*x)*'diff(y,x,1)+y^2 ,y,x)); */
338 (pn_(445),ans:contrib_ode(eqn:x^2*('diff(y,x,1))^2+(a*x^2*y^3+b)*'diff(y,x,1)+a*b*y^3,y,x));
339 [y=b/x+%c,1/(2*a*y^2)=x+%c];
340 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
344 (pn_(446),ans:contrib_ode(eqn:(x^2+1)*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)+y^2-1,y,x));
345 [y=%c*x-sqrt(1-%c^2),y=%c*x+sqrt(1-%c^2),y=-sqrt(x^2+1),y=sqrt(x^2+1)];
346 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3]),ode_check(eqn,ans[4])];
350 (pn_(447),ans:contrib_ode(eqn:(x^2-1)*('diff(y,x,1))^2-1,y,x));
351 [-y-log(2*sqrt(x^2-1)+2*x)=%c];
352 [method,ode_check(eqn,ans[1])];
356 /* This equation presents a problem - crashes ode_contrib */
357 /* (pn_( 448 ),ans:contrib_ode(eqn: (x^2-1)*('diff(y,x,1))^2-y^2+1 ,y,x)); */
360 (pn_(449),ans:contrib_ode(eqn:(x^2-a^2)*('diff(y,x,1))^2+2*x*y*'diff(y,x,1)+y^2,y,x));
361 [y=%c/(x-a),y=%c/(x+a)];
362 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
366 (pn_(450),ans:contrib_ode(eqn:(x^2-a^2)*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)-x^2,y,x));
367 [log(sqrt(y^2+x^2-a^2)-y)=%c];
368 [method,ode_check(eqn,ans[1])];
372 (pn_(451),ans:contrib_ode(eqn:(x^2+a)*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)+y^2+b,y,x));
373 [y=%c*x-sqrt(-b-%c^2*a),y=%c*x+sqrt(-b-%c^2*a),y=-sqrt(-b*x^2/a-b),y=sqrt(-b*x^2/a-b)];
374 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2]),ode_check(eqn,ans[3]),ode_check(eqn,ans[4])];
378 /* This equation presents a problem - crashes ode_contrib */
379 /* (pn_( 452 ),ans:contrib_ode(eqn: (2*x^2+1)*('diff(y,x,1))^2+(y^2+2*x*y+x^2+2)*'diff(y,x,1)+2*y^2+1 ,y,x)); */
381 /* 453 Not sure about this one - ode_check() chokes */
382 (pn_( 453 ),ans:contrib_ode(eqn:(a^2-1)*x^2*('diff(y,x,1))^2+2*x*y*'diff(y,x,1)-y^2+a^2*x^2,y,x));
383 ['integrate((a*sqrt(y^2+(1-a^2)*x^2)+y)/(a*%e^('integrate(1/x,x))*sqrt(y^2+(1-a^2)*x^2)+a^2*%e^('integrate(1/x,x))*y),x)-'integrate((a*%e^('integrate(1/x,x))*sqrt(y^2+(1-a^2)*x^2)*'integrate(((a^5-2*a^3+a)*x^2*y*sqrt(y^2+(1-a^2)*x^2)+(a^4-2*a^2+1)*x^2*y^2+(-a^6+3*a^4-3*a^2+1)*x^4)/((a^4+3*a^2)*%e^('integrate(1/x,x))*y^5+sqrt(y^2+(1-a^2)*x^2)*((3*a^3+a)*%e^('integrate(1/x,x))*y^4+(-3*a^5+a^3+2*a)*x^2*%e^('integrate(1/x,x))*y^2+(a^5-2*a^3+a)*x^4*%e^'integrate(1/x,x))+(-a^6-5*a^4+6*a^2)*x^2*%e^('integrate(1/x,x))*y^3+(3*a^6-6*a^4+3*a^2)*x^4*%e^('integrate(1/x,x))*y),x)+a^2*%e^('integrate(1/x,x))*y*'integrate(((a^5-2*a^3+a)*x^2*y*sqrt(y^2+(1-a^2)*x^2)+(a^4-2*a^2+1)*x^2*y^2+(-a^6+3*a^4-3*a^2+1)*x^4)/((a^4+3*a^2)*%e^('integrate(1/x,x))*y^5+sqrt(y^2+(1-a^2)*x^2)*((3*a^3+a)*%e^('integrate(1/x,x))*y^4+(-3*a^5+a^3+2*a)*x^2*%e^('integrate(1/x,x))*y^2+(a^5-2*a^3+a)*x^4*%e^'integrate(1/x,x))+(-a^6-5*a^4+6*a^2)*x^2*%e^('integrate(1/x,x))*y^3+(3*a^6-6*a^4+3*a^2)*x^4*%e^('integrate(1/x,x))*y),x)+(1-a^2)*x)/(a*%e^('integrate(1/x,x))*sqrt(y^2+(1-a^2)*x^2)+a^2*%e^('integrate(1/x,x))*y),y) = %c];
390 (pn_(454),ans:contrib_ode(eqn:a*x^2*('diff(y,x,1))^2-2*a*x*y*'diff(y,x,1)+y^2-(a-1)*a*x^2,y,x));
391 [(a*asinh(y/(sqrt(a)*abs(x)))+sqrt(a-1)*sqrt(a)*log(x))/(sqrt(a-1)*sqrt(a))=%c];
392 [method,ode_check(eqn,ans[1])];
400 (pn_(455),ans:contrib_ode(eqn: x^3*('diff(y,x,1))^2+x^2*y*'diff(y,x,1)+a ,y,x));
401 [(abs(y)*'integrate((2*x*abs(y)^3-2*x*y^2*abs(y))/(sqrt(x^2*y^2-4*a*x)*abs(y)^3+x*y^4-2*a*y^2),y)+y*log(2*sqrt(x^2*y^2-4*a*x)*abs(y)+2*x*y^2-4*a)+log(x)*abs(y))/abs(y)=%c];
410 (pn_(456),ans:contrib_ode(eqn: x*(x^2-1)*('diff(y,x,1))^2+2*(1-x^2)*y*'diff(y,x,1)+x*y^2-x ,y,x));
411 [(sqrt(x-1)*sqrt(x+1)*('integrate((sqrt(x^2-y^2)-sqrt(x^2-1)*y)/(sqrt(x-1)*x*sqrt(x+1)*sqrt(x^2-y^2)),x)-'integrate('integrate(sqrt(x-1)*x*sqrt(x+1)*sqrt(x^2-1)/(sqrt(x^2-y^2)*((x^2-1)*y^2-x^4+x^2)),x),y))+sqrt(x^2-1)*asin(y/x))/(sqrt(x-1)*sqrt(x+1))=%c];
417 /* 457 - "solution" changed Jan 2007. Don't care at present. */
419 (pn_(457),ans:contrib_ode(eqn:x^4*('diff(y,x,1))^2-x*'diff(y,x,1)-y,y,x));
420 [(2*%i*x^2*sqrt(4*x^2*y+1)*'integrate((abs(x)*sqrt(4*x^2*y+1)-abs(x))/(x^3*sqrt(4*x^2*y+1)),x)+8*%i*x^2*abs(x)*y+2*%i*'integrate(abs(x)/x,x)+2*%i*abs(x))/(sqrt(2)*sqrt(3)*x^2*sqrt(4*x^2*y+1))=%c];
425 /* 458 - "solution" changed Jan 2007. Don't care at present. */
429 (pn_(458),ans:contrib_ode(eqn:x^2*(x^2-a^2)*('diff(y,x,1))^2-1,y,x));
430 [-(a*y-asin(a/abs(x)))/a=%c];
431 [method,ode_check(eqn,ans[1])];
438 /* "solution" has changed - Jan 2007. Don't worry at present
441 (pn_(459),ans:contrib_ode(eqn:%e^-(2*x)*('diff(y,x,1))^2-('diff(y,x,1)-1)^2+%e^-(2*y),y,x));
442 [(2*'integrate('integrate(%e^(-log(%e^(2*y)+%e^(2*x)-1)/2+y+2*x)/(%e^(2*y)+%e^(2*x)-1),x),y)-2*'integrate(%e^(-log(%e^(2*y)+%e^(2*x)-1)/2+y+2*x)/(%e^(2*x)-1),x)+2*asinh(%e^y/sqrt(%e^(2*x)-1))-log(%e^x+1)+log(%e^x-1))/2=%c];
450 (pn_(460),ans:contrib_ode(eqn:cos(x)^4*(('diff(y,x,1))^2+y^2)-a^2,y,x));
454 /* This equation too general - E S Cheb-Terrab and T Kolokolnikov */
455 /* (pn_( 461 ),ans:contrib_ode(eqn: A(x)*('diff(y,x,1))^2+2*B(x)*y*'diff(y,x,1)+2*DD(x)*'diff(y,x,1)+C(x)*y^2+2*EE(x)*y+F(x) ,y,x)); */
458 (pn_(462),ans:contrib_ode(eqn:y*('diff(y,x,1))^2-1,y,x));
459 [4*y^3-9*x^2+18*%c*x-9*%c^2=0];
461 [y=(sqrt(3)*9^(1/3)*%i-9^(1/3))*(x-%c)^(2/3)/(2*4^(1/3)),y=-((sqrt(3)*9^(1/3)*%i+9^(1/3))*(x-%c)^(2/3)/(2*4^(1/3))),y=9^(1/3)*(x-%c)^(2/3)/4^(1/3)];
462 [method,ode_check(eqn,%[3])];
466 /* This equation presents a problem - crashes ode_contrib */
467 /* (pn_( 463 ),ans:contrib_ode(eqn: y*('diff(y,x,1))^2-%e^(2*x),y,x)); */
470 (pn_(464),ans:contrib_ode(eqn: y*('diff(y,x,1))^2+2*x*'diff(y,x,1)-y,y,x));
471 [[x=%c*%e^(2*(log(%t+1)/2-log(%t)+log(%t-1)/2)),y=-2*%t*x/(%t^2-1)]];
472 [method,ode_check(eqn,ans[1])];
476 (pn_(465),ans:contrib_ode(eqn:y*('diff(y,x,1))^2+2*x*'diff(y,x,1)-9*y,y,x));
477 [[x=%c*(%t-3)*(%t+3)*%e^(2*log(%t)/7-8*log(%t^2-7)/7),y=-2*%t*x/(%t^2-9)]];
478 [method,ode_check(eqn,ans[1])];
482 (pn_(466),ans:contrib_ode(eqn:y*('diff(y,x,1))^2-2*x*'diff(y,x,1)+y,y,x));
483 [[x=%c*%e^-(2*(log(%t)-log(%t^2+1)/2)),y=2*%t*x/(%t^2+1)]];
484 [method,ode_check(eqn,ans[1])];
488 (pn_(467),ans:contrib_ode(eqn:y*('diff(y,x,1))^2-4*x*'diff(y,x,1)+y,y,x));
489 [[x=%c*(%t^2+1)*%e^(-log(%t^2-3)/3-4*log(%t)/3),y=4*%t*x/(%t^2+1)]];
490 [method,ode_check(eqn,ans[1])];
494 (pn_(468),ans:contrib_ode(eqn:y*('diff(y,x,1))^2-4*a^2*x*'diff(y,x,1)+a^2*y,y,x));
495 [[x=%c*(a^2+%t^2)*%e^(-log(%t^2-3*a^2)/3-4*log(%t)/3),y=4*%t*a^2*x/(a^2+%t^2)]];
496 [method,ode_check(eqn,ans[1])];
500 (pn_(469),ans:contrib_ode(eqn:y*('diff(y,x,1))^2+a*x*'diff(y,x,1)+b*y,y,x));
501 [[x=%c*(b+%t^2)*%e^(-((2*b+a)*log(b+a+%t^2)/(2*b+2*a))-log(%t)*a/(b+a)),y=-(%t*a*x/(b+%t^2))]];
502 [method,ode_check(eqn,ans[1])];
506 (pn_(470),ans:contrib_ode(eqn:y*('diff(y,x,1))^2+x^3*'diff(y,x,1)-x^2*y,y,x));
507 [(log((x^2*sqrt(4*y^2+x^4)+2*y^2+x^4)/x^2)+2*log(x))/4=%c];
508 [method,ode_check(eqn,ans[1])];
512 (pn_(471),ans:contrib_ode(eqn:y*('diff(y,x,1))^2-(y-x)*'diff(y,x,1)-x,y,x));
513 [y=x+%c,-y^2/2=x^2/2+%c];
514 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
518 (pn_(472),ans:contrib_ode(eqn:(y+x)*('diff(y,x,1))^2+2*x*'diff(y,x,1)-y,y,x));
519 [[x=%c*%e^(2*(log(%t+1)/2-log(%t)+log(%t-1)/2)),y=-((%t^2+2*%t)*x/(%t^2-1))]];
520 [method,ode_check(eqn,ans[1])];
524 /* This equation presents a problem - runs forever */
525 /* (pn_( 473 ),ans:contrib_ode(eqn: (y-2*x)*('diff(y,x,1))^2-2*(x-1)*'diff(y,x,1)+y-2 ,y,x)); */
528 /* This equation presents a problem - runs forever */
529 /* (pn_( 474 ),ans:contrib_ode(eqn: 2*y*('diff(y,x,1))^2-(4*x-5)*'diff(y,x,1)+2*y ,y,x)); */
532 (pn_(475),ans:contrib_ode(eqn: 4*y*('diff(y,x,1))^2+2*x*'diff(y,x,1)-y ,y,x));
533 [[x=%c*%e^(2*(log(2*%t+1)/2+log(2*%t-1)/2-log(%t))),y=-2*%t*x/(4*%t^2-1)]];
534 [method,ode_check(eqn,ans[1])];
538 (pn_(476),ans:contrib_ode(eqn:9*y*('diff(y,x,1))^2+4*x^3*'diff(y,x,1)-4*x^2*y,y,x));
539 [(log((2*x^2*sqrt(9*y^2+x^4)+9*y^2+2*x^4)/(2*x^2))+2*log(x))/4=%c];
540 [method,ode_check(eqn,ans[1])];
544 /* This equation presents a problem - runs forever */
545 /* (pn_( 477 ),ans:contrib_ode(eqn: a*y*('diff(y,x,1))^2+(2*x-b)*'diff(y,x,1)-y ,y,x)); */
548 (pn_(478),ans:contrib_ode(eqn:(a*y+b)*(('diff(y,x,1))^2+1)-c,y,x));
549 [[x=%c-(2*(%t/(2*%t^2*a+2*a)+atan(%t)/(2*a)))*c,y=-((-c+%t^2*b+b)/(%t^2*a+a))]];
550 [method,ode_check(eqn,ans[1])];
554 /* This equation presents a problem - runs forever */
555 /* (pn_( 479 ),ans:contrib_ode(eqn: (b2*y+a2*x+c_2)*('diff(y,x,1))^2+(b1*y+a1*x+c_1)*'diff(y,x,1)+b0*y+a0*x+c_0 ,y,x)); */
558 (pn_(480),ans:contrib_ode(eqn:(a*y-x^2)*('diff(y,x,1))^2+2*x*y*('diff(y,x,1))^2-y^2,y,x));
562 (pn_(481),ans:contrib_ode(eqn:x*y*('diff(y,x,1))^2+(y^2+x^2)*'diff(y,x,1)+x*y,y,x));
563 [y=%c/x,-y^2/2=x^2/2+%c];
564 [method,ode_check(eqn,ans[1]),ode_check(eqn,ans[2])];
568 /* This equation presents a problem - runs forever */
569 /* (pn_( 482 ),ans:contrib_ode(eqn: x*y*('diff(y,x,1))^2+(-y^2+x^2+a)*'diff(y,x,1)-x*y ,y,x)); */
572 /* This equation presents a problem - runs forever */
573 /* (pn_( 483 ),ans:contrib_ode(eqn: (2*x*y-x^2)*('diff(y,x,1))^2+2*x*y*'diff(y,x,1)-y^2+2*x*y ,y,x)); */
576 /* This equation presents a problem - runs forever */
577 /* (pn_( 484 ),ans:contrib_ode(eqn: (2*x*y-x^2)*('diff(y,x,1))^2-6*x*y*'diff(y,x,1)-y^2+2*x*y ,y,x)); */
580 /* This equation presents a problem - runs forever */
581 /* (pn_( 485 ),ans:contrib_ode(eqn: a*x*y*('diff(y,x,1))^2-(a*y^2+b*x^2+c)*'diff(y,x,1)+b*x*y ,y,x)); */
584 (pn_(486),ans:contrib_ode(eqn: y^2*('diff(y,x,1))^2+y^2-a^2 ,y,x));
585 [[x=%t*a/sqrt(%t^2+1)+%c,y = -a/sqrt(%t^2+1)],[x=%c-%t*a/sqrt(%t^2+1),y = a/sqrt(%t^2+1)]];
586 [method,ode_check(eqn,ans[1])];
589 /* 487 - "solution" changed Jan 2007. Don't care at present. */
591 (pn_(487),ans:contrib_ode(eqn:y^2*('diff(y,x,1))^2-6*x^3*'diff(y,x,1)+4*x^2*y,y,x));
592 [-(4*'integrate((sqrt(9*x^4-4*y^3)*(27*%i*x^4*y^2*%e^(log(4*y^3-9*x^4)/2)+36*x^2*y^5-81*x^6*y^2)+(81*%i*x^6*y^2-36*%i*x^2*y^5)*%e^(log(4*y^3-9*x^4)/2)+108*x^4*y^5-243*x^8*y^2)/(sqrt(9*x^4-4*y^3)*((72*%i*x^4*y^3-162*%i*x^8)*%e^(log(4*y^3-9*x^4)/2)+48*x^2*y^6-324*x^6*y^3+486*x^10)+(96*%i*x^2*y^6-432*%i*x^6*y^3+486*%i*x^10)*%e^(log(4*y^3-9*x^4)/2)+64*y^9-576*x^4*y^6+1620*x^8*y^3-1458*x^12),y)-log((3*x^2*%e^(log(4*y^3-9*x^4)/2)-2*%i*y^3+9*%i*x^4)/(3*x^2))-2*log(x))/4=%c];
598 /* This equation presents a problem - runs forever */
599 /* (pn_( 488 ),ans:contrib_ode(eqn: y^2*('diff(y,x,1))^2-4*a*y*'diff(y,x,1)+y^2-4*a*x+4*a^2 ,y,x)); */
602 /* This equation presents a problem - runs forever */
603 /* (pn_( 489 ),ans:contrib_ode(eqn: y^2*('diff(y,x,1))^2+2*x*y*'diff(y,x,1)+a*y^2+b*x+c ,y,x)); */
606 /* This equation presents a problem - runs forever */
607 /* (pn_( 490 ),ans:contrib_ode(eqn: y^2*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)+2*y^2-x^2+a ,y,x)); */
610 /* This equation presents a problem - runs forever */
611 /* (pn_( 491 ),ans:contrib_ode(eqn: y^2*('diff(y,x,1))^2+2*a*x*y*'diff(y,x,1)+(1-a)*y^2+a*x^2+(a-1)*b ,y,x)); */
614 (pn_( 492 ),ans:contrib_ode(eqn: (y^2-a^2)*('diff(y,x,1))^2+y^2 ,y,x));
615 [[x=%c-('integrate(1/(sqrt(%t^2+1)*(%t^3+%t)),%t))*a,y=-%t*a/sqrt(%t^2+1)],[x=('integrate(1/(sqrt(%t^2+1)*(%t^3+%t)),%t))*a+%c,y = %t*a/sqrt(%t^2+1)]];
616 [method,ode_check(eqn,ans[1])];
620 /* This equation presents a problem - runs forever */
621 /* (pn_( 493 ),ans:contrib_ode(eqn: (y^2-2*a*x+a^2)*('diff(y,x,1))^2+2*a*y*'diff(y,x,1)+y^2 ,y,x)); */
624 /* This equation presents a problem - runs forever */
625 /* (pn_( 494 ),ans:contrib_ode(eqn: (y^2-a^2*x^2)*('diff(y,x,1))^2+2*x*y*'diff(y,x,1)+(1-a^2)*x^2 ,y,x)); */
628 /* This equation presents a problem - crashes ode_contrib */
629 /* (pn_( 495 ),ans:contrib_ode(eqn: (y^2+(1-a)*x^2)*('diff(y,x,1))^2+2*a*x*y*'diff(y,x,1)+(1-a)*y^2+x^2 ,y,x)); */
632 /* This equation presents a problem - crashes ode_contrib */
633 /* (pn_( 496 ),ans:contrib_ode(eqn: (y-x)^2*(('diff(y,x,1))^2+1)-a^2*('diff(y,x,1)+1)^2 ,y,x)); */
636 /* This equation presents a problem - runs forever */
637 /* (pn_( 497 ),ans:contrib_ode(eqn: 3*y^2*('diff(y,x,1))^2-2*x*y*'diff(y,x,1)+4*y^2-x^2 ,y,x)); */
640 (pn_(498),ans:contrib_ode(eqn:(3*y-2)*('diff(y,x,1))^2+4*(y-1),y,x));
641 [[x=%c-8*(atan(3*%t/(2*sqrt(3)))/(16*sqrt(3))+%t/(24*%t^2+32)),y=(2*%t^2+4)/(3*%t^2+4)]];
642 [method,ode_check(eqn,ans[1])];
646 /* This equation presents a problem - runs forever */
647 /* (pn_( 499 ),ans:contrib_ode(eqn: (1-a^2)*y^2*('diff(y,x,1))^2-2*a^2*x*y*'diff(y,x,1)+y^2-a^2*x^2 ,y,x)); */
650 /* This equation presents a problem - runs forever */
651 /* (pn_( 500 ),ans:contrib_ode(eqn: (a-b)*y^2*('diff(y,x,1))^2-2*b*x*y*'diff(y,x,1)+a*y^2-b*x^2-a*b ,y,x)); */