{"id":354,"date":"2020-08-05T06:10:40","date_gmt":"2020-08-05T06:10:40","guid":{"rendered":"http:\/\/soulofmathematics.com\/?page_id=354"},"modified":"2020-09-02T10:40:55","modified_gmt":"2020-09-02T05:10:55","slug":"ordinary-differential-equation","status":"publish","type":"page","link":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/","title":{"rendered":"ORDINARY DIFFERENTIAL EQUATION"},"content":{"rendered":"\n<p class=\"has-drop-cap\">Mathematicians including <a href=\"https:\/\/en.wikipedia.org\/wiki\/Isaac_Newton\">Newton<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Gottfried_Leibniz\">Leibniz<\/a>, the&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Bernoulli_family\">Bernoulli family<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Riccati\">Riccati<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Alexis_Claude_Clairaut\">Clairaut<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/D%27Alembert\">d&#8217;Alembert<\/a>, and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Euler\">Euler<\/a> have studied differential equations and contributed to the field. Hence we can estimate the importance and popularity of the this branch of mathematics.<\/p>\n\n\n\n<p>A simple example is&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Newton%27s_second_law\">Newton&#8217;s second law<\/a>&nbsp;of motion \u2014 the relationship between the displacement&nbsp;<em>x<\/em>&nbsp;and the time&nbsp;<em>t<\/em>&nbsp;of an object under the force&nbsp;<em>F<\/em>, is given by the differential equation,<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wikimedia.org\/api\/rest_v1\/media\/math\/render\/svg\/540d38f9d72fb1f3a442a21ea8c779b6f2a38201\" alt=\"{\\displaystyle m{\\frac {\\mathrm {d} ^{2}x(t)}{\\mathrm {d} t^{2}}}=F(x(t))\\,}\"\/><\/figure>\n\n\n\n<p>which constrains the motion of a particle of constant mass&nbsp;<em>m<\/em>. This equation is probably the most popular Ordinary Differential Equation.<\/p>\n\n\n\n<p><strong>Definition<\/strong> <strong>1.1<\/strong>&#8211; A differential equation involving derivatives with respect to a single independent variable is called an ordinary differential equation.<\/p>\n\n\n\n<p style=\"font-size:24px\"><strong>Linear and non-linear differential equations<\/strong>&#8211;<\/p>\n\n\n\n<p><strong>Definition 1.2<\/strong>&#8211; A differential equation is called linear if (i) every dependent variable and every derivative involved occurs in the first degree only, and (ii) no products of dependent variables and\/or derivatives occur. A differential equation which is not linear is called a non-linear differential equation.<\/p>\n\n\n\n<p style=\"font-size:24px\"><strong>Solution of a differential equation<\/strong>&#8211;<\/p>\n\n\n\n<p><strong>Definition 1.3<\/strong>&#8211; Any relation between the dependent and independent variables, when substituted in the differential equation, reduces it to an identity is called a solution or integral of the differential equation. It should be noted that a solution of a differential equation does not involve the derivatives of the dependent variable with respect to the independent variable or variables. For example, y = ce^2x is a solution of dy\/dx = 2y because by putting y = ce^2x and dy\/dx = 2ce2x, the given differential equation reduces to the identity 2ce^2x = 2ce^2x. Observe that y = ce^2x is a solution of the given differential equation for any real constant c which is called an arbitrary constant.<\/p>\n\n\n\n<p style=\"font-size:24px\"><strong>Family of curves<\/strong>&#8211;<\/p>\n\n\n\n<p><strong>Definition 1.4<\/strong>&#8211; An n-parameter family of curves is a set of relations of the form {(x, y) : f (x, y, c1, c2, \u2026, cn) = 0}, where \u2018f \u2019 is a real valued function of x, y, c1, c2, \u2026, cn and each ci (i = 1, 2, \u2026, n) ranges over an interval of real values. For example, the set of concentric circles defined by x2 + y2 = c is one parameter family if c takes all non-negative real values. Again, the set of circles, defined by (x \u2013 c1)^2 + (y \u2013 c2)^2 = c3 is a three-parameter family if c1, c2 take all real values and c3 takes all non-negative real values.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">TYPES OF SOLUTIONS<\/h5>\n\n\n\n<p>Let F (x, y, y1, y2, \u2026, yn) = 0 \u2026&#8230;&#8230;.. (1) be an nth order ordinary differential equation.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Complete primitive or, General solution<\/strong>                                                            A solution of (1) containing n independent arbitrary constants is called a general solution.<\/li><li><strong>Particular solution<\/strong>                                                                                            A solution of (1) obtained from a general solution of (1) by giving particular values to one or more of the n independent arbitrary constants is called a particular solution of (1).<\/li><li> <strong>Singular solution<\/strong>                                                                                                 A solution of (1) which cannot be obtained from any general solution of (1) by any choice of the n independent arbitrary constants is called a singular solution of (1).                  <\/li><\/ol>\n\n\n\n<p><strong>Working rule to form the differential equation from the given equation in x and y, containing n arbitrary constants.<\/strong><br><strong>Step I<\/strong>. Write the equation of the given family of curves.<br><strong>Step II<\/strong>. Differentiate the equation of step I, n times so as to get n additional equations containing the n arbitrary constants and derivatives.<br><strong>Step III<\/strong>. Eliminate n arbitrary constants from the (n + 1) equations obtained in steps I and II. Thus, we obtain the required differential equation involving a derivative of nth order.<\/p>\n\n\n\n<p><strong>Solved example<\/strong>&#8211;<\/p>\n\n\n\n<p><strong>Q<\/strong>. <em>Find the differential equation of the family of curves y = e^mx, where m is an arbitrary constant.<\/em><\/p>\n\n\n\n<p><strong>Sol<\/strong>. Given that y = e^mx. \u2026&#8230; (1)<br>Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = me^mx. \u2026&#8230; (2)<br>Now, (1) and (2) , dy\/dx = my , m = (1\/y) \u00d7 (dy\/dx). \u2026&#8230; (3)<br>Again, from (1), mx = ln y so that m = (ln y)\/x. \u2026&#8230; (4)<br>Eliminating m from (3) and (4), we get (1\/y) \u00d7 (dy\/dx) = (1\/x) \u00d7 ln y.<\/p>\n\n\n\n<p><strong>Q<\/strong>. <em><strong>(a)<\/strong> Find the differential equation of all straight lines passing through the origin. <strong>(b)<\/strong> Find the differential equation of all the straight lines in the xy-plane.<\/em><\/p>\n\n\n\n<p><strong>Sol<\/strong>. <strong>(a)<\/strong> Equation of any straight line passing through the origin is<br>y = mx, m being arbitrary constant. \u2026&#8230; (1)<br>Differentiating (1) w.r.t. \u2018x\u2019, dy\/dx = m. \u2026&#8230; (2)<br>Eliminating m from (1) and (2), we get y = x (dy\/dx).<br><strong>(b)<\/strong> We know that equation of any straight line in the xy-plane is given by<br>y = mx + c, m and c being arbitrary constants. \u2026&#8230; (1)<br>Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = m. \u2026&#8230; (2)<br>Differentiating (2) w.r.t. \u2018x\u2019, we get d2y\/dx2 = 0, \u2026&#8230; (3)<br>which is the required differential equation.<\/p>\n\n\n\n<p style=\"font-size:28px\"><strong>MATLAB PLOT FOR ODE SOLUTION<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"840\" height=\"630\" src=\"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/ode-plot.jpg?resize=840%2C630&#038;ssl=1\" alt=\"Matlab Plot\" class=\"wp-image-390\" srcset=\"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/ode-plot.jpg?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/ode-plot.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/ode-plot.jpg?resize=768%2C576&amp;ssl=1 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>SOURCE CODE<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">w = 1;\nk=1;\nfigure\ntspan = linspace(0, 5); % Create Constant \u2018tspan\u2019\nzv=0.1:0.01:0.5; % Vector Of \u2018z\u2019 Values\ngs2 = zeros(numel(tspan), numel(zv)); % Preallocate\nfor k = 1:numel(zv)\nz = zv(k);\nf = @(t,x) [-1i.*(2*w + 2*z).*x(1) + -1i.*sqrt(2).*k.*x(2);-1i.*sqrt(2).*k.*x(1) + -1i.*2*w*x(2)+-1i.*sqrt(2).*k.*x(3);-1i.*sqrt(2).*k.*x(2)+-1i.*2*w*x(3)];\n[t,xa] = ode45(f,tspan,[0 1 0]);\ngs = abs(xa).^2;\ngs2(:,k) = gs(:,2); % Save Second Column Of \u2018gs\u2019 In \u2018gs2\u2019 Matrix\nend\n\nfigure\nsurf(t,zv,gs2')\ngrid on\nxlabel('t')\nylabel('z')\nshading('interp')<\/pre>\n\n\n\n<p style=\"font-size:18px\"><strong>Linearly dependent and independent set of functions<\/strong><\/p>\n\n\n\n<p><strong>Definition.<\/strong> n functions y1 (x), y2 (x), \u2026, yn (x) are linearly dependent if there exist constants c1, c2, \u2026, cn (not all zero), such that c1 y1 + c2 y2 + \u2026 + cn yn = 0.<\/p>\n\n\n\n<p>If, however, the identity implies that c1 = c2 = \u2026 = cn = 0, then y1, y2, \u2026, yn are said to be linearly independent.<\/p>\n\n\n\n<p><strong>Existence and uniqueness theorem<\/strong><\/p>\n\n\n\n<p>Consider a second order linear differential equation of the form a0 (x) y&#8221; + a1 (x) y&#8217; + a2 (x) y = r (x), \u2026 (1)                                                                                where a0 (x), a1 (x), a2 (x) and r (x) are continuous functions on an interval (a, b) and a0 (x) ; 0 for each x in (a, b). Let c1 and c2 be arbitrary real numbers and x0 in (a, b). Then there exists a unique solution y (x) of (1) satisfying y (x0) = c1 and y&#8217; (x0) = c2. Moreover, this solution y (x) is defined over the interval (a, b).<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n<p><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/ws-in.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=IN&amp;source=ss&amp;ref=as_ss_li_til&amp;ad_type=product_link&amp;tracking_id=soulofmathema-21&amp;language=en_IN&amp;marketplace=amazon&amp;region=IN&amp;placement=9352836103&amp;asins=9352836103&amp;linkId=69076f09bca58e53c7a5a42556a0ee35&amp;show_border=true&amp;link_opens_in_new_window=true\"><\/iframe><\/p>","protected":false},"excerpt":{"rendered":"<p>Mathematicians including Newton,&nbsp;Leibniz, the&nbsp;Bernoulli family,&nbsp;Riccati,&nbsp;Clairaut,&nbsp;d&#8217;Alembert, and&nbsp;Euler have studied differential equations and contributed to the field. Hence we can estimate the importance and popularity of the this branch of mathematics. A simple example is&nbsp;Newton&#8217;s second law&nbsp;of motion \u2014 the relationship between the displacement&nbsp;x&nbsp;and the time&nbsp;t&nbsp;of an object under the force&nbsp;F, is given by the differential equation, which constrains the motion of a particle of constant mass&nbsp;m. This equation is probably the most popular Ordinary Differential Equation. Definition 1.1&#8211; A differential equation involving derivatives with respect to a single independent variable is called an ordinary differential equation. Linear and non-linear differential equations&#8211; Definition 1.2&#8211; A differential equation is called linear if (i) every dependent variable and every derivative involved occurs in the first degree only, and (ii) no products of dependent variables and\/or derivatives occur. A differential equation which is not linear is called a non-linear differential equation. Solution of a differential equation&#8211; Definition 1.3&#8211; Any relation between the dependent and independent variables, when substituted in the differential equation, reduces it to an identity is called a solution or integral of the differential equation. It should be noted that a solution of a differential equation does not involve the derivatives of the dependent variable with respect to the independent variable or variables. For example, y = ce^2x is a solution of dy\/dx = 2y because by putting y = ce^2x and dy\/dx = 2ce2x, the given differential equation reduces to the identity 2ce^2x = 2ce^2x. Observe that y = ce^2x is a solution of the given differential equation for any real constant c which is called an arbitrary constant. Family of curves&#8211; Definition 1.4&#8211; An n-parameter family of curves is a set of relations of the form {(x, y) : f (x, y, c1, c2, \u2026, cn) = 0}, where \u2018f \u2019 is a real valued function of x, y, c1, c2, \u2026, cn and each ci (i = 1, 2, \u2026, n) ranges over an interval of real values. For example, the set of concentric circles defined by x2 + y2 = c is one parameter family if c takes all non-negative real values. Again, the set of circles, defined by (x \u2013 c1)^2 + (y \u2013 c2)^2 = c3 is a three-parameter family if c1, c2 take all real values and c3 takes all non-negative real values. TYPES OF SOLUTIONS Let F (x, y, y1, y2, \u2026, yn) = 0 \u2026&#8230;&#8230;.. (1) be an nth order ordinary differential equation. Complete primitive or, General solution A solution of (1) containing n independent arbitrary constants is called a general solution. Particular solution A solution of (1) obtained from a general solution of (1) by giving particular values to one or more of the n independent arbitrary constants is called a particular solution of (1). Singular solution A solution of (1) which cannot be obtained from any general solution of (1) by any choice of the n independent arbitrary constants is called a singular solution of (1). Working rule to form the differential equation from the given equation in x and y, containing n arbitrary constants.Step I. Write the equation of the given family of curves.Step II. Differentiate the equation of step I, n times so as to get n additional equations containing the n arbitrary constants and derivatives.Step III. Eliminate n arbitrary constants from the (n + 1) equations obtained in steps I and II. Thus, we obtain the required differential equation involving a derivative of nth order. Solved example&#8211; Q. Find the differential equation of the family of curves y = e^mx, where m is an arbitrary constant. Sol. Given that y = e^mx. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = me^mx. \u2026&#8230; (2)Now, (1) and (2) , dy\/dx = my , m = (1\/y) \u00d7 (dy\/dx). \u2026&#8230; (3)Again, from (1), mx = ln y so that m = (ln y)\/x. \u2026&#8230; (4)Eliminating m from (3) and (4), we get (1\/y) \u00d7 (dy\/dx) = (1\/x) \u00d7 ln y. Q. (a) Find the differential equation of all straight lines passing through the origin. (b) Find the differential equation of all the straight lines in the xy-plane. Sol. (a) Equation of any straight line passing through the origin isy = mx, m being arbitrary constant. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, dy\/dx = m. \u2026&#8230; (2)Eliminating m from (1) and (2), we get y = x (dy\/dx).(b) We know that equation of any straight line in the xy-plane is given byy = mx + c, m and c being arbitrary constants. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = m. \u2026&#8230; (2)Differentiating (2) w.r.t. \u2018x\u2019, we get d2y\/dx2 = 0, \u2026&#8230; (3)which is the required differential equation. MATLAB PLOT FOR ODE SOLUTION SOURCE CODE w = 1; k=1; figure tspan = linspace(0, 5); % Create Constant \u2018tspan\u2019 zv=0.1:0.01:0.5; % Vector Of \u2018z\u2019 Values gs2 = zeros(numel(tspan), numel(zv)); % Preallocate for k = 1:numel(zv) z = zv(k); f = @(t,x) [-1i.*(2*w + 2*z).*x(1) + -1i.*sqrt(2).*k.*x(2);-1i.*sqrt(2).*k.*x(1) + -1i.*2*w*x(2)+-1i.*sqrt(2).*k.*x(3);-1i.*sqrt(2).*k.*x(2)+-1i.*2*w*x(3)]; [t,xa] = ode45(f,tspan,[0 1 0]); gs = abs(xa).^2; gs2(:,k) = gs(:,2); % Save Second Column Of \u2018gs\u2019 In \u2018gs2\u2019 Matrix end figure surf(t,zv,gs2&#8242;) grid on xlabel(&#8216;t&#8217;) ylabel(&#8216;z&#8217;) shading(&#8216;interp&#8217;) Linearly dependent and independent set of functions Definition. n functions y1 (x), y2 (x), \u2026, yn (x) are linearly dependent if there exist constants c1, c2, \u2026, cn (not all zero), such that c1 y1 + c2 y2 + \u2026 + cn yn = 0. If, however, the identity implies that c1 = c2 = \u2026 = cn = 0, then y1, y2, \u2026, yn are said to be linearly independent. Existence and uniqueness theorem Consider a second order linear differential equation of the form a0 (x) y&#8221; + a1 (x) y&#8217; + a2 (x) y = r (x), \u2026 (1) where a0 (x), a1 (x), a2 (x) and r (x) are continuous functions on an interval (a, b) and a0 (x) ; 0 for each x in (a, b). Let c1 and c2 be arbitrary real numbers and x0 in (a, b). Then there exists a unique solution y (x) of (1) satisfying y (x0) = c1 and y&#8217; (x0) = c2. Moreover, this solution y (x) is defined over the interval (a, b).<\/p>\n","protected":false},"author":1,"featured_media":361,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-354","page","type-page","status-publish","has-post-thumbnail","hentry"],"ams_acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ORDINARY DIFFERENTIAL EQUATION - SOUL OF MATHEMATICS<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ORDINARY DIFFERENTIAL EQUATION - SOUL OF MATHEMATICS\" \/>\n<meta property=\"og:description\" content=\"Mathematicians including Newton,&nbsp;Leibniz, the&nbsp;Bernoulli family,&nbsp;Riccati,&nbsp;Clairaut,&nbsp;d&#8217;Alembert, and&nbsp;Euler have studied differential equations and contributed to the field. Hence we can estimate the importance and popularity of the this branch of mathematics. A simple example is&nbsp;Newton&#8217;s second law&nbsp;of motion \u2014 the relationship between the displacement&nbsp;x&nbsp;and the time&nbsp;t&nbsp;of an object under the force&nbsp;F, is given by the differential equation, which constrains the motion of a particle of constant mass&nbsp;m. This equation is probably the most popular Ordinary Differential Equation. Definition 1.1&#8211; A differential equation involving derivatives with respect to a single independent variable is called an ordinary differential equation. Linear and non-linear differential equations&#8211; Definition 1.2&#8211; A differential equation is called linear if (i) every dependent variable and every derivative involved occurs in the first degree only, and (ii) no products of dependent variables and\/or derivatives occur. A differential equation which is not linear is called a non-linear differential equation. Solution of a differential equation&#8211; Definition 1.3&#8211; Any relation between the dependent and independent variables, when substituted in the differential equation, reduces it to an identity is called a solution or integral of the differential equation. It should be noted that a solution of a differential equation does not involve the derivatives of the dependent variable with respect to the independent variable or variables. For example, y = ce^2x is a solution of dy\/dx = 2y because by putting y = ce^2x and dy\/dx = 2ce2x, the given differential equation reduces to the identity 2ce^2x = 2ce^2x. Observe that y = ce^2x is a solution of the given differential equation for any real constant c which is called an arbitrary constant. Family of curves&#8211; Definition 1.4&#8211; An n-parameter family of curves is a set of relations of the form {(x, y) : f (x, y, c1, c2, \u2026, cn) = 0}, where \u2018f \u2019 is a real valued function of x, y, c1, c2, \u2026, cn and each ci (i = 1, 2, \u2026, n) ranges over an interval of real values. For example, the set of concentric circles defined by x2 + y2 = c is one parameter family if c takes all non-negative real values. Again, the set of circles, defined by (x \u2013 c1)^2 + (y \u2013 c2)^2 = c3 is a three-parameter family if c1, c2 take all real values and c3 takes all non-negative real values. TYPES OF SOLUTIONS Let F (x, y, y1, y2, \u2026, yn) = 0 \u2026&#8230;&#8230;.. (1) be an nth order ordinary differential equation. Complete primitive or, General solution A solution of (1) containing n independent arbitrary constants is called a general solution. Particular solution A solution of (1) obtained from a general solution of (1) by giving particular values to one or more of the n independent arbitrary constants is called a particular solution of (1). Singular solution A solution of (1) which cannot be obtained from any general solution of (1) by any choice of the n independent arbitrary constants is called a singular solution of (1). Working rule to form the differential equation from the given equation in x and y, containing n arbitrary constants.Step I. Write the equation of the given family of curves.Step II. Differentiate the equation of step I, n times so as to get n additional equations containing the n arbitrary constants and derivatives.Step III. Eliminate n arbitrary constants from the (n + 1) equations obtained in steps I and II. Thus, we obtain the required differential equation involving a derivative of nth order. Solved example&#8211; Q. Find the differential equation of the family of curves y = e^mx, where m is an arbitrary constant. Sol. Given that y = e^mx. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = me^mx. \u2026&#8230; (2)Now, (1) and (2) , dy\/dx = my , m = (1\/y) \u00d7 (dy\/dx). \u2026&#8230; (3)Again, from (1), mx = ln y so that m = (ln y)\/x. \u2026&#8230; (4)Eliminating m from (3) and (4), we get (1\/y) \u00d7 (dy\/dx) = (1\/x) \u00d7 ln y. Q. (a) Find the differential equation of all straight lines passing through the origin. (b) Find the differential equation of all the straight lines in the xy-plane. Sol. (a) Equation of any straight line passing through the origin isy = mx, m being arbitrary constant. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, dy\/dx = m. \u2026&#8230; (2)Eliminating m from (1) and (2), we get y = x (dy\/dx).(b) We know that equation of any straight line in the xy-plane is given byy = mx + c, m and c being arbitrary constants. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = m. \u2026&#8230; (2)Differentiating (2) w.r.t. \u2018x\u2019, we get d2y\/dx2 = 0, \u2026&#8230; (3)which is the required differential equation. MATLAB PLOT FOR ODE SOLUTION SOURCE CODE w = 1; k=1; figure tspan = linspace(0, 5); % Create Constant \u2018tspan\u2019 zv=0.1:0.01:0.5; % Vector Of \u2018z\u2019 Values gs2 = zeros(numel(tspan), numel(zv)); % Preallocate for k = 1:numel(zv) z = zv(k); f = @(t,x) [-1i.*(2*w + 2*z).*x(1) + -1i.*sqrt(2).*k.*x(2);-1i.*sqrt(2).*k.*x(1) + -1i.*2*w*x(2)+-1i.*sqrt(2).*k.*x(3);-1i.*sqrt(2).*k.*x(2)+-1i.*2*w*x(3)]; [t,xa] = ode45(f,tspan,[0 1 0]); gs = abs(xa).^2; gs2(:,k) = gs(:,2); % Save Second Column Of \u2018gs\u2019 In \u2018gs2\u2019 Matrix end figure surf(t,zv,gs2&#039;) grid on xlabel(&#039;t&#039;) ylabel(&#039;z&#039;) shading(&#039;interp&#039;) Linearly dependent and independent set of functions Definition. n functions y1 (x), y2 (x), \u2026, yn (x) are linearly dependent if there exist constants c1, c2, \u2026, cn (not all zero), such that c1 y1 + c2 y2 + \u2026 + cn yn = 0. If, however, the identity implies that c1 = c2 = \u2026 = cn = 0, then y1, y2, \u2026, yn are said to be linearly independent. Existence and uniqueness theorem Consider a second order linear differential equation of the form a0 (x) y&#8221; + a1 (x) y&#8217; + a2 (x) y = r (x), \u2026 (1) where a0 (x), a1 (x), a2 (x) and r (x) are continuous functions on an interval (a, b) and a0 (x) ; 0 for each x in (a, b). Let c1 and c2 be arbitrary real numbers and x0 in (a, b). Then there exists a unique solution y (x) of (1) satisfying y (x0) = c1 and y&#8217; (x0) = c2. Moreover, this solution y (x) is defined over the interval (a, b).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/\" \/>\n<meta property=\"og:site_name\" content=\"SOUL OF MATHEMATICS\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-02T05:10:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/\",\"url\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/\",\"name\":\"ORDINARY DIFFERENTIAL EQUATION - SOUL OF MATHEMATICS\",\"isPartOf\":{\"@id\":\"https:\/\/soulofmathematics.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1\",\"datePublished\":\"2020-08-05T06:10:40+00:00\",\"dateModified\":\"2020-09-02T05:10:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1\",\"width\":540,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/soulofmathematics.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ORDINARY DIFFERENTIAL EQUATION\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/soulofmathematics.com\/#website\",\"url\":\"https:\/\/soulofmathematics.com\/\",\"name\":\"SOUL OF MATHEMATICS\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/soulofmathematics.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ORDINARY DIFFERENTIAL EQUATION - SOUL OF MATHEMATICS","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/","og_locale":"en_US","og_type":"article","og_title":"ORDINARY DIFFERENTIAL EQUATION - SOUL OF MATHEMATICS","og_description":"Mathematicians including Newton,&nbsp;Leibniz, the&nbsp;Bernoulli family,&nbsp;Riccati,&nbsp;Clairaut,&nbsp;d&#8217;Alembert, and&nbsp;Euler have studied differential equations and contributed to the field. Hence we can estimate the importance and popularity of the this branch of mathematics. A simple example is&nbsp;Newton&#8217;s second law&nbsp;of motion \u2014 the relationship between the displacement&nbsp;x&nbsp;and the time&nbsp;t&nbsp;of an object under the force&nbsp;F, is given by the differential equation, which constrains the motion of a particle of constant mass&nbsp;m. This equation is probably the most popular Ordinary Differential Equation. Definition 1.1&#8211; A differential equation involving derivatives with respect to a single independent variable is called an ordinary differential equation. Linear and non-linear differential equations&#8211; Definition 1.2&#8211; A differential equation is called linear if (i) every dependent variable and every derivative involved occurs in the first degree only, and (ii) no products of dependent variables and\/or derivatives occur. A differential equation which is not linear is called a non-linear differential equation. Solution of a differential equation&#8211; Definition 1.3&#8211; Any relation between the dependent and independent variables, when substituted in the differential equation, reduces it to an identity is called a solution or integral of the differential equation. It should be noted that a solution of a differential equation does not involve the derivatives of the dependent variable with respect to the independent variable or variables. For example, y = ce^2x is a solution of dy\/dx = 2y because by putting y = ce^2x and dy\/dx = 2ce2x, the given differential equation reduces to the identity 2ce^2x = 2ce^2x. Observe that y = ce^2x is a solution of the given differential equation for any real constant c which is called an arbitrary constant. Family of curves&#8211; Definition 1.4&#8211; An n-parameter family of curves is a set of relations of the form {(x, y) : f (x, y, c1, c2, \u2026, cn) = 0}, where \u2018f \u2019 is a real valued function of x, y, c1, c2, \u2026, cn and each ci (i = 1, 2, \u2026, n) ranges over an interval of real values. For example, the set of concentric circles defined by x2 + y2 = c is one parameter family if c takes all non-negative real values. Again, the set of circles, defined by (x \u2013 c1)^2 + (y \u2013 c2)^2 = c3 is a three-parameter family if c1, c2 take all real values and c3 takes all non-negative real values. TYPES OF SOLUTIONS Let F (x, y, y1, y2, \u2026, yn) = 0 \u2026&#8230;&#8230;.. (1) be an nth order ordinary differential equation. Complete primitive or, General solution A solution of (1) containing n independent arbitrary constants is called a general solution. Particular solution A solution of (1) obtained from a general solution of (1) by giving particular values to one or more of the n independent arbitrary constants is called a particular solution of (1). Singular solution A solution of (1) which cannot be obtained from any general solution of (1) by any choice of the n independent arbitrary constants is called a singular solution of (1). Working rule to form the differential equation from the given equation in x and y, containing n arbitrary constants.Step I. Write the equation of the given family of curves.Step II. Differentiate the equation of step I, n times so as to get n additional equations containing the n arbitrary constants and derivatives.Step III. Eliminate n arbitrary constants from the (n + 1) equations obtained in steps I and II. Thus, we obtain the required differential equation involving a derivative of nth order. Solved example&#8211; Q. Find the differential equation of the family of curves y = e^mx, where m is an arbitrary constant. Sol. Given that y = e^mx. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = me^mx. \u2026&#8230; (2)Now, (1) and (2) , dy\/dx = my , m = (1\/y) \u00d7 (dy\/dx). \u2026&#8230; (3)Again, from (1), mx = ln y so that m = (ln y)\/x. \u2026&#8230; (4)Eliminating m from (3) and (4), we get (1\/y) \u00d7 (dy\/dx) = (1\/x) \u00d7 ln y. Q. (a) Find the differential equation of all straight lines passing through the origin. (b) Find the differential equation of all the straight lines in the xy-plane. Sol. (a) Equation of any straight line passing through the origin isy = mx, m being arbitrary constant. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, dy\/dx = m. \u2026&#8230; (2)Eliminating m from (1) and (2), we get y = x (dy\/dx).(b) We know that equation of any straight line in the xy-plane is given byy = mx + c, m and c being arbitrary constants. \u2026&#8230; (1)Differentiating (1) w.r.t. \u2018x\u2019, we get dy\/dx = m. \u2026&#8230; (2)Differentiating (2) w.r.t. \u2018x\u2019, we get d2y\/dx2 = 0, \u2026&#8230; (3)which is the required differential equation. MATLAB PLOT FOR ODE SOLUTION SOURCE CODE w = 1; k=1; figure tspan = linspace(0, 5); % Create Constant \u2018tspan\u2019 zv=0.1:0.01:0.5; % Vector Of \u2018z\u2019 Values gs2 = zeros(numel(tspan), numel(zv)); % Preallocate for k = 1:numel(zv) z = zv(k); f = @(t,x) [-1i.*(2*w + 2*z).*x(1) + -1i.*sqrt(2).*k.*x(2);-1i.*sqrt(2).*k.*x(1) + -1i.*2*w*x(2)+-1i.*sqrt(2).*k.*x(3);-1i.*sqrt(2).*k.*x(2)+-1i.*2*w*x(3)]; [t,xa] = ode45(f,tspan,[0 1 0]); gs = abs(xa).^2; gs2(:,k) = gs(:,2); % Save Second Column Of \u2018gs\u2019 In \u2018gs2\u2019 Matrix end figure surf(t,zv,gs2') grid on xlabel('t') ylabel('z') shading('interp') Linearly dependent and independent set of functions Definition. n functions y1 (x), y2 (x), \u2026, yn (x) are linearly dependent if there exist constants c1, c2, \u2026, cn (not all zero), such that c1 y1 + c2 y2 + \u2026 + cn yn = 0. If, however, the identity implies that c1 = c2 = \u2026 = cn = 0, then y1, y2, \u2026, yn are said to be linearly independent. Existence and uniqueness theorem Consider a second order linear differential equation of the form a0 (x) y&#8221; + a1 (x) y&#8217; + a2 (x) y = r (x), \u2026 (1) where a0 (x), a1 (x), a2 (x) and r (x) are continuous functions on an interval (a, b) and a0 (x) ; 0 for each x in (a, b). Let c1 and c2 be arbitrary real numbers and x0 in (a, b). Then there exists a unique solution y (x) of (1) satisfying y (x0) = c1 and y&#8217; (x0) = c2. Moreover, this solution y (x) is defined over the interval (a, b).","og_url":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/","og_site_name":"SOUL OF MATHEMATICS","article_modified_time":"2020-09-02T05:10:55+00:00","og_image":[{"url":"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1","width":540,"height":540,"type":"image\/gif"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/","url":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/","name":"ORDINARY DIFFERENTIAL EQUATION - SOUL OF MATHEMATICS","isPartOf":{"@id":"https:\/\/soulofmathematics.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#primaryimage"},"image":{"@id":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1","datePublished":"2020-08-05T06:10:40+00:00","dateModified":"2020-09-02T05:10:55+00:00","breadcrumb":{"@id":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#primaryimage","url":"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1","contentUrl":"https:\/\/i0.wp.com\/soulofmathematics.com\/wp-content\/uploads\/2020\/08\/5xNjOJe.gif?fit=540%2C540&ssl=1","width":540,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/soulofmathematics.com\/index.php\/ordinary-differential-equation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/soulofmathematics.com\/"},{"@type":"ListItem","position":2,"name":"ORDINARY DIFFERENTIAL EQUATION"}]},{"@type":"WebSite","@id":"https:\/\/soulofmathematics.com\/#website","url":"https:\/\/soulofmathematics.com\/","name":"SOUL OF MATHEMATICS","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/soulofmathematics.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_shortlink":"https:\/\/wp.me\/Pcfs4y-5I","_links":{"self":[{"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/pages\/354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/comments?post=354"}],"version-history":[{"count":1,"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/pages\/354\/revisions"}],"predecessor-version":[{"id":1230,"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/pages\/354\/revisions\/1230"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/media\/361"}],"wp:attachment":[{"href":"https:\/\/soulofmathematics.com\/index.php\/wp-json\/wp\/v2\/media?parent=354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}