# Thread: Help with third order, non-linear DE.

1. ## Help with third order, non-linear DE.

consider the thrid order DE:

y'y'''=y''

Question: Find all polynomials y(x) of degree 5 orl ess that satisfy this equation(It turns out that these are all of the solutions that are polynomials).

How would I go about doing this using maple? Thanks in advance for any help.

2. Looks to me by inspection, the only polynomial that satisfies the equation is $\displaystyle P(x)=a+bx$.

3. I've done this in Mathematica before. It is more of an algorithm than a program, though. Let
$\displaystyle y(x) = ax^5 + bx^4 + cx^3 + dx + e$

Then calculate
$\displaystyle y'y''' - y''$
and set it equal to zero. Then you get a set of equations in a, b, c, d, and e by setting coefficients of powers of x equal to zero. In general you will get a system of equations to solve, which Maple can solve for you.

However, in this case inspection works a lot faster.

-Dan

4. This is what I'd do in Mathematica: Define $\displaystyle P_5(x)$. Calculate the first, third, and second derivatives, form the right and left sides, equate coefficients and construct seven equations in six unknowns (y'y''' has x^6 term), then use Solve to find the solution. Note that Solve reports c, d, e, and f are zero. Not sure why it's posting the results multiple times. Hopefully, you can translate it to Maple if you wish.

Code:
In[25]:= val = a + b*x + c*x^2 + d*x^3 + e*x^4 + f*x^5;
d1 = D[val, {x, 1}];
d3 = D[val, {x, 3}];
d2 = D[val, {x, 2}];
leftside = d1*d3;
rightside = d2;
eqns = Table[
Coefficient[leftside, x, n] == Coefficient[rightside, x, n], {n, 0,
6}]
Solve[eqns, {a, b, c, d, e, f}]

Out[31]= {6 b d == 2 c, 12 c d + 24 b e == 6 d,
18 d^2 + 48 c e + 60 b f == 12 e, 96 d e + 120 c f == 20 f,
96 e^2 + 210 d f == 0, 360 e f == 0, 300 f^2 == 0}

During evaluation of In[25]:= Solve::svars: Equations may not give \
solutions for all "solve" variables. >>

Out[32]= {{c -> 0, f -> 0, e -> 0, d -> 0}, {c -> 0, f -> 0, e -> 0,
d -> 0}, {c -> 0, f -> 0, e -> 0, d -> 0}, {c -> 0, f -> 0, e -> 0,
d -> 0}}
 results in 7 equations in 6 unknowns (y'y''' has x^6 term)
{"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": 0, "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": "http://mathhelpforum.com/calculus/45610-help-third-order-non-linear-de.html", "fetch_time": 1529508873000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2018-26/segments/1529267863650.42/warc/CC-MAIN-20180620143814-20180620163814-00184.warc.gz", "warc_record_offset": 197665406, "warc_record_length": 10825, "token_count": 714, "char_count": 2142, "score": 4.03125, "int_score": 4, "crawl": "CC-MAIN-2018-26", "snapshot_type": "latest", "language": "en", "language_score": 0.8696767687797546, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00052-of-00064.parquet"}