Solving Linear ODEs - Maple Programming Help

Home : Support : Online Help : Mathematics : Differential Equations : Classifying ODEs : First Order : odeadvisor/linear

Solving Linear ODEs

Description

 • The general form of a first order linear ODE is given by the following:
 > linear_ode := diff(y(x),x)+f(x)*y(x)-g(x);
 ${\mathrm{linear_ode}}{≔}\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right){+}{f}{}\left({x}\right){}{y}{}\left({x}\right){-}{g}{}\left({x}\right)$ (1)
 where f(x) and g(x) are arbitrary functions. See Differentialgleichungen, by E. Kamke, p. 16. This type of ODE can be solved in a general manner by dsolve as follows:

Examples

 > $\mathrm{with}\left(\mathrm{DEtools},\mathrm{odeadvisor}\right)$
 $\left[{\mathrm{odeadvisor}}\right]$ (2)
 > $\mathrm{odeadvisor}\left(\mathrm{linear_ode}\right)$
 $\left[{\mathrm{_linear}}\right]$ (3)
 > $\mathrm{dsolve}\left(\mathrm{linear_ode}\right)$
 ${y}{}\left({x}\right){=}\left({\int }{g}{}\left({x}\right){}{{ⅇ}}^{{\int }{f}{}\left({x}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}{+}{\mathrm{_C1}}\right){}{{ⅇ}}^{{\int }{-}{f}{}\left({x}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}}$ (4)
{"ft_lang_label":"__label__en","ft_lang_prob":0.6633342,"math_prob":0.99997413,"size":778,"snap":"2020-45-2020-50","text_gpt3_token_len":301,"char_repetition_ratio":0.14341085,"word_repetition_ratio":0.0,"special_character_ratio":0.18766066,"punctuation_ratio":0.0979021,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9995414,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-26T03:59:30Z\",\"WARC-Record-ID\":\"<urn:uuid:f25cbc1e-e7f9-44c3-813e-0dbd43435c82>\",\"Content-Length\":\"155752\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9b08a316-78da-4545-882f-7e32e08498de>\",\"WARC-Concurrent-To\":\"<urn:uuid:0356472e-3fe3-43ac-8c09-1d633c47cdc1>\",\"WARC-IP-Address\":\"199.71.183.28\",\"WARC-Target-URI\":\"https://de.maplesoft.com/support/help/maple/view.aspx?path=odeadvisor%2Flinear\",\"WARC-Payload-Digest\":\"sha1:PUMSQ6LY6B2SLPYVSA6QNGDE4TMBCTSY\",\"WARC-Block-Digest\":\"sha1:DXLQITVMR6W4KBSRDUDMTCG5NNDU46HQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141186414.7_warc_CC-MAIN-20201126030729-20201126060729-00064.warc.gz\"}"}