+ Post New Thread
Results 1 to 15 of 15
  1. #1
    Member level 3
    Points: 440, Level: 4

    Join Date
    Apr 2019
    Posts
    63
    Helped
    0 / 0
    Points
    440
    Level
    4

    Confused about linear vs non linear DE

    I quite understand linear equation such as y=mx+c, but I am confused about linear and non linear differential equations.

    consider y=x^3, which is a non linear function. How is dy/dx=2x^2 a linear differential equation? Sorry if it is too elementary

  2. #2
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE

    Non linear.



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 4
    Points: 8,641, Level: 22
    Achievements:
    7 years registered

    Join Date
    Nov 2009
    Location
    Italy
    Posts
    1,160
    Helped
    402 / 402
    Points
    8,641
    Level
    22

    Re: Confused about linear vs non linear DE

    Your DE can be written as:

    y' = 2*x^2.

    It's of the first order because the maximum order of the derivative of "y" is 1.
    It's not homogenous because it equates to something non zero
    It's linear because, in general, the exponent of the variable "y" and all its derivatives is 1 (in this case you have only the first derivative to take into account)



  4. #4
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE

    Quote Originally Posted by pancho_hideboo View Post
    Non linear.
    Sorry, I’m wrong.

    Assume two solutions, y1(x) and y2(x).

    y3(x)=a1*y1(x)+a2*y2(x) also satisfies y3(x)=dy3(x)/dx
    Last edited by pancho_hideboo; 20th February 2020 at 13:12.



  5. #5
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE

    dy(x)/dx=f(x)

    dy1(x)/dx=f(x)
    dy2(x)/dx=f(x)

    d{a1*y1(x)+a2*y2(x)}=(a1+a2)*f(x)



  6. #6
    Member level 3
    Points: 440, Level: 4

    Join Date
    Apr 2019
    Posts
    63
    Helped
    0 / 0
    Points
    440
    Level
    4

    Re: Confused about linear vs non linear DE

    Again Iam confused. if y=x^3 is non linear, then how y' = 2x^2 is linear by definition



    •   AltAdvertisement

        
       

  7. #7
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE




    •   AltAdvertisement

        
       

  8. #8
    Advanced Member level 4
    Points: 8,641, Level: 22
    Achievements:
    7 years registered

    Join Date
    Nov 2009
    Location
    Italy
    Posts
    1,160
    Helped
    402 / 402
    Points
    8,641
    Level
    22

    Re: Confused about linear vs non linear DE

    If I define the function y=ax+b, you know it's linear (or better linear affine since b is in general not equal to 0).
    If I modify the coefficient "a" and "b" so that a=2t^2-3 and b=4t we can write:

    y=(2t^2-3)x+4t

    It is still linear (with respect to x): for every value of "t" I have a line on a graph. Then, to remain on the first order I can write, in general, the following DE in "y":

    y'=ay+b

    It is linear. Now I can modify the coefficient to be a=2x^2-3 and b=4x and I'll have:

    y'=(2x^2-3)y+4x

    as before, it's still linear.

    In case of higher order it's the same: you can consider the case of multi variable functions y = a1*x1+a2*x2+a3*x3.... ==> y(n) = a1y'+a2y''+a3y'''....



  9. #9
    Member level 3
    Points: 440, Level: 4

    Join Date
    Apr 2019
    Posts
    63
    Helped
    0 / 0
    Points
    440
    Level
    4

    Re: Confused about linear vs non linear DE

    Once again, your example in #8 ,y=(2t^2-3)x+4t is clear as y changes wrt x and not t. But your second example,y'=(2x^2-3)y+4x, y prime changes with respect to x and not t in this case, it must be non linear



  10. #10
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE

    Surely see and understand https://www.edaboard.com/showthread.php?388834#5

    Q(t)=C*V(t)
    I(t)=dQ(t)/dt=C*dV(t)/dt
    dV(t)=(1/C)*I(t)



  11. #11
    Advanced Member level 4
    Points: 8,641, Level: 22
    Achievements:
    7 years registered

    Join Date
    Nov 2009
    Location
    Italy
    Posts
    1,160
    Helped
    402 / 402
    Points
    8,641
    Level
    22

    Re: Confused about linear vs non linear DE

    Quote Originally Posted by curious_mind View Post
    Once again, your example in #8 ,y=(2t^2-3)x+4t is clear as y changes wrt x and not t. But your second example,y'=(2x^2-3)y+4x, y prime changes with respect to x and not t in this case, it must be non linear
    OK, standard function: y is function of x, t is just a parameter. DE: y' is function of y, x is just a parameter.



    •   AltAdvertisement

        
       

  12. #12
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE

    Q(t)=C(t)*V(t) ; time variable capacitance

    dQ(t)/dt=I(t)=dC(t)/dt*V(t) + C(t)*dV(t)/dt

    Q(t) or I(t) ; any function of t
    C(t) ; any function of t

    Consider Q(t) or I(t) as stimulus and V(t) as response.

    Obviously a relation between stimulus and response is linear.
    Last edited by pancho_hideboo; 25th February 2020 at 13:32.



  13. #13
    Member level 3
    Points: 440, Level: 4

    Join Date
    Apr 2019
    Posts
    63
    Helped
    0 / 0
    Points
    440
    Level
    4

    Re: Confused about linear vs non linear DE

    Revisiting the topic. I was always plotting the graph of LHS/RHS to check if it is linear or not. Setting aside the definition, dy/dx=2x^2 will result in parabola, when we plot the derivative against x. The example of i=c dv/dt is perfectly linear as current is directly proportional to rate of change wrt to time. In above example d^2y/dx^2= 4x would be perfectly linear



  14. #14
    Advanced Member level 5
    Points: 17,785, Level: 32
    pancho_hideboo's Avatar
    Join Date
    Oct 2006
    Location
    Real Homeless
    Posts
    2,740
    Helped
    743 / 743
    Points
    17,785
    Level
    32

    Re: Confused about linear vs non linear DE

    Quote Originally Posted by curious_mind View Post
    I was always plotting the graph of LHS/RHS to check if it is linear or not.
    ...............................................
    In above example d^2y/dx^2= 4x would be perfectly linear
    I can not understand what you want to mean at all.
    Is there anyone who can understand except for you ?

    dy(x)/dx=sin(x), dy(x)/dx=exp(x), etc. is linear DE.



  15. #15
    Advanced Member level 2
    Points: 3,122, Level: 13

    Join Date
    Jan 2019
    Posts
    571
    Helped
    148 / 148
    Points
    3,122
    Level
    13

    Re: Confused about linear vs non linear DE

    from https://math.stackexchange.com/quest...ntial-equation

    from the next to last response:

    "Linear Differential equations are those in which the dependent variable and its derivatives appear only in first degree and not multiplied together"

    and

    quote
    y′′′+y′′+y=ex
    is linear ;) The degree is irrelevant. What's important is "not multiplied together" – Scientifica Aug 28 '16 at 6:21
    end of quote
    note: in this quote, the x in ex is an exponent with base e (base of natural logarithms)



--[[ ]]--