Is It Linear in the Indicated Dependent Variable?

  • MHB
  • Thread starter find_the_fun
  • Start date
  • Tags
    Linear
In summary, the first-order differential equation given is linear in x but nonlinear in y. When checking for linearity, we want to express the equation in the form of (1) for y and (2) for x. The equation is linear in x because it can be expressed in the form of (2), but nonlinear in y because it cannot be expressed in the form of (1) due to the squared term. Linear equations are easier to solve, so if we can write an ODE in linear form, we will be able to solve it more easily.
  • #1
find_the_fun
148
0
I'm unclear how to do these kinds of questions. Here's an example

Determine whether the given first-order differential equation is linear in the indicated dependent variable by matching it with the equation \(\displaystyle a_1(x)\frac{dy}{dx} = + a_o(x)y=g(x)\)

\(\displaystyle (y^2-1)dx+xdy=0\); in y; in x

The answer is it's linear in x but nonlinear in y.

First off I don't understand "indicated dependent variable", is it saying first consider y as a function of x and then consider x as a function of y? What difference does this have on the solution?

Here's what I tried.

\(\displaystyle (y^2-1)dx+xdy=0\)
\(\displaystyle (y^2-1)+x\frac{dy}{dx}=0\)
\(\displaystyle x\frac{dy}{dx}+y^2=1\)
Therefore \(\displaystyle a_1(x)=x\), \(\displaystyle a_o(x)=invalid\) and \(\displaystyle g(x)=1\) Since one is invalid the equation is non linear in y.

For it being linear in x
\(\displaystyle (y^2-1)dx+xdy=0\)
\(\displaystyle (y^2-1)\frac{dx}{dy}+x=0\)
 
Physics news on Phys.org
  • #2
Re: linear in x but not linear in y

find_the_fun said:
I'm unclear how to do these kinds of questions. Here's an example

Determine whether the given first-order differential equation is linear in the indicated dependent variable by matching it with the equation \(\displaystyle a_1(x)\frac{dy}{dx} = + a_o(x)y=g(x)\)

\(\displaystyle (y^2-1)dx+xdy=0\); in y; in x

The answer is it's linear in x but nonlinear in y.

First off I don't understand "indicated dependent variable", is it saying first consider y as a function of x and then consider x as a function of y? What difference does this have on the solution?

Here's what I tried.

\(\displaystyle (y^2-1)dx+xdy=0\)
\(\displaystyle (y^2-1)+x\frac{dy}{dx}=0\)
\(\displaystyle x\frac{dy}{dx}+y^2=1\)
Therefore \(\displaystyle a_1(x)=x\), \(\displaystyle a_o(x)=invalid\) and \(\displaystyle g(x)=1\) Since one is invalid the equation is non linear in y.

For it being linear in x
\(\displaystyle (y^2-1)dx+xdy=0\)
\(\displaystyle (y^2-1)\frac{dx}{dy}+x=0\)

I tend to like to write linear equations in the form:

\(\displaystyle \tag{1}\frac{dy}{dx}+P(x)y=Q(x)\)

Okay, we are given the ODE:

\(\displaystyle \left(y^2-1 \right)\,dx+x\,dy=0\)

To check for linearity in $y$, we try to express the ODE in the form given by (1). I find the form, which is equivalent to what you found:

\(\displaystyle \frac{dy}{dx}+\frac{1}{x}y^2=\frac{1}{x}\)

The fact that $y$ is squared means the ODE is non-linear in $y$.

To check for linearity in $x$, we want to express the ODE in the form:

\(\displaystyle \tag{2}\frac{dx}{dy}+P(y)x=Q(y)\)

We find the form equivalent to what you found:

\(\displaystyle \frac{dx}{dy}+\frac{1}{y^2-1}x=0\)

So the equation is linear in $x$.

In practice linear equations are much easier to solve that non-linear equations, and so if we can write an ODE in linear form, then we will be able to more easily solve it. The difference in the solution is we will get $x(y)$ as the solution rather than $y(x)$.
 

FAQ: Is It Linear in the Indicated Dependent Variable?

What does it mean for a function to be linear in x but not linear in y?

When a function is linear in x but not linear in y, it means that as the input variable x increases by a certain amount, the output variable y increases by a constant rate. However, as the input variable y increases, the output variable y does not increase at a constant rate.

How can you identify if a function is linear in x but not linear in y?

To determine if a function is linear in x but not linear in y, you can graph the function and see if it forms a straight line when x is plotted against y. If the graph is not a straight line, it is not linear in y. You can also check the equation of the function to see if it follows the form y = mx + b, where m is the slope and b is the y-intercept. If the equation does not follow this form, it is not linear in y.

What is an example of a function that is linear in x but not linear in y?

An example of a function that is linear in x but not linear in y is y = x^2. When x increases by 1, y increases by 1, but as x increases by 2, y increases by 4. The rate of change for y is not constant as x increases, making it not linear in y.

What are the practical applications of a function being linear in x but not linear in y?

A function that is linear in x but not linear in y can be useful in modeling various real-world scenarios, such as population growth or compound interest. It allows for more accurate predictions and can provide insight into the relationships between variables in a given system.

Can a function be linear in both x and y?

Yes, a function can be linear in both x and y. This means that as both x and y increase, the output variable increases at a constant rate. An example of a function that is linear in both x and y is y = 2x + 3.

Similar threads

Replies
3
Views
3K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
14
Views
2K
Replies
2
Views
2K
Back
Top