# How to find if eq is linear or non linear

koolrizi
Please let me know if this is true or not

Equation is linear if dependent variable is not in any other power than 1 e,g y

Equation is linear if dependent variable y is only being mulitiplied by constant.

Equation is linear if dependent variable y is not being multiplied by variable x

sin(y) and cos(y) make equation non linear.

Now i went to a site and they said following equation is linear
x^2y''+ xy' + (x^2-v^2)y = 0

y'' is being multiplied by x^2. and also y' being multiplied by x
Is there any easy way of steps to go thru to see if eq is linear or not besides the above mentioned...I am trying my best but i will be need lots of help with DE and I hope this forum will help me out.

Thnk you all

Homework Helper
The form of an ODE that is linear is:

$$a_{n}(x) y^{(n)} + a_{n-1}(x) y^{(n-1)} + ... + a_{1}(x) y' + a_{0}(x) y = g(x)$$

if you look at it real close you'll notice all derivatives and the dependent variable are of first degree, and that there are no coefficients of dependent variables y.

For example:

This is linear:

$$y'' = \sin (x)$$

This is nonlinear

$$(y-1)y' = x$$

This is nonlinear

$$y' = y^2$$

This is linear

$$x^2y''+ xy' + (x^2-v^2)y = 0$$

There are only independent variables as coefficients, and all derivatives plus dependent variables are of degree 1.

koolrizi
so in second equation (y-1)y'=x becomes non linear becuase of y.y'?

secondly does 2y or 2y' make equation non linear becuase they are cofffcient of y
or is it only if its y.y' in this case both are being multiplied together.

koolrizi
x y' = 1 is non-linear because y' is not multiplied by a constant (http://www.myphysicslab.com/classify_diff_eq.html)

x^(2)y' term is in last equation which is linear but xy'=1 is non linear
Can you help me figure this out?

Homework Helper
xy' =1 will be linear if you were differentiating by x. Above says multiple variable problems, in the equation you provided i assume v as a constant.

koolrizi
oh ok got it. I appreciate it cyclovenom...i am sure i will be asking you a lot more in future...lol..thanks again

Homework Helper
x y' = 1 is non-linear because y' is not multiplied by a constant (http://www.myphysicslab.com/classify_diff_eq.html)

x^(2)y' term is in last equation which is linear but xy'=1 is non linear
Can you help me figure this out?
There is nothing in the site you give that say "x y'= 1 is non-linear". The closest thing I can find is "x x'= 1" is non-linear. That's true because x is the dependent variable being differentiated with respect to some independent variable (perhaps t).
I would interpret xy'= 1 as meaning that y is the dependent variable (since it is differentiated) and x is the independent variable (since it is the only other variable mentioned). In that case, xy'= 1 is a "linear differential equation with constant coefficient".

koolrizi
or sin(x)y'=1

Thanks

Homework Helper
What part of this is not getting through to you? A differential equation is "linear" if and only if it contains only linear functions of the dependent variable. What functions there are of the independent variable is irrelevant.

sin(x)y= 1 is not a differential equation at all! There is no derivative. It is equivalen to y= cosec(x).

sin(x)y'= 1 is a linear differential equation. The only occurence of the dependent variable is the y' and it is to first degree mutliplied by a function of x only- which doesn't effect linearity.

koolrizi
I got it now. Thanks. I was confused about the independent and dependent variables.