##### 4.20.28 $$4 a^2-4 a y(x) y'(x)-4 a x+y(x)^2 y'(x)^2+y(x)^2=0$$

ODE
$4 a^2-4 a y(x) y'(x)-4 a x+y(x)^2 y'(x)^2+y(x)^2=0$ ODE Classiﬁcation

[_rational, [_1st_order, _with_symmetry_[F(x),G(y)]]]

Book solution method
Change of variable

Mathematica
cpu = 0.489202 (sec), leaf count = 85

$\left \{\left \{y(x)\to -\frac {\sqrt {16 a^3 x-4 a^2 x^2-4 a c_1 x-c_1{}^2}}{2 a}\right \},\left \{y(x)\to \frac {\sqrt {16 a^3 x-4 a^2 x^2-4 a c_1 x-c_1{}^2}}{2 a}\right \}\right \}$

Maple
cpu = 1.77 (sec), leaf count = 113

$\left [y \left (x \right ) = -2 \sqrt {a x}, y \left (x \right ) = 2 \sqrt {a x}, y \left (x \right ) = -\frac {\sqrt {-16 a^{4}+32 a^{3} x -16 a^{2} x^{2}+8 \textit {\_C1} \,a^{2}+8 \textit {\_C1} a x -\textit {\_C1}^{2}}}{4 a}, y \left (x \right ) = \frac {\sqrt {-16 a^{4}+32 a^{3} x -16 a^{2} x^{2}+8 \textit {\_C1} \,a^{2}+8 \textit {\_C1} a x -\textit {\_C1}^{2}}}{4 a}\right ]$ Mathematica raw input

DSolve[4*a^2 - 4*a*x + y[x]^2 - 4*a*y[x]*y'[x] + y[x]^2*y'[x]^2 == 0,y[x],x]

Mathematica raw output

{{y[x] -> -1/2*Sqrt[16*a^3*x - 4*a^2*x^2 - 4*a*x*C[1] - C[1]^2]/a}, {y[x] -> Sqr
t[16*a^3*x - 4*a^2*x^2 - 4*a*x*C[1] - C[1]^2]/(2*a)}}

Maple raw input

dsolve(y(x)^2*diff(y(x),x)^2-4*a*y(x)*diff(y(x),x)+4*a^2-4*a*x+y(x)^2 = 0, y(x))

Maple raw output

[y(x) = -2*(a*x)^(1/2), y(x) = 2*(a*x)^(1/2), y(x) = -1/4*(-16*a^4+32*a^3*x-16*a
^2*x^2+8*_C1*a^2+8*_C1*a*x-_C1^2)^(1/2)/a, y(x) = 1/4*(-16*a^4+32*a^3*x-16*a^2*x
^2+8*_C1*a^2+8*_C1*a*x-_C1^2)^(1/2)/a]
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.12000.org/my_notes/Murphy_ODE/reports/maple_2021_1_and_mma_12_3_1/KERNELsubsubsection978.htm", "fetch_time": 1716230575000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2024-22/segments/1715971058293.53/warc/CC-MAIN-20240520173148-20240520203148-00368.warc.gz", "warc_record_offset": 544991748, "warc_record_length": 3363, "token_count": 829, "char_count": 1486, "score": 3.6875, "int_score": 4, "crawl": "CC-MAIN-2024-22", "snapshot_type": "latest", "language": "en", "language_score": 0.22019967436790466, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00032-of-00064.parquet"}