Linearization and differentials

In summary, the equation for the inflow and outflow of a water tank can be linearized by assuming that the change in height h is small, and using Taylor series to simplify the equation. This linearization is useful for assessing the stability of an equilibrium point in the system, where inflow equals outflow and the height does not change. By linearizing the equation, we can solve for the change in height \Delta h over time, which approximates the actual height change \frac{dh}{dt} accurately around the equilibrium point.
  • #1
Mårten
126
1
If you have a water tank with an inflow u, and an outflow v, you have that

[tex]
\frac{dV}{dt} = A \frac{dh}{dt} = u - v.
[/tex]

You can now linearize this expression so that you get

[tex]
A \frac{d}{dt}(\Delta h) = \Delta u - \Delta v = (u-u_0) - (v-v_0),
[/tex]

where [tex]\Delta h = h-h_0.[/tex]

I think I know the Taylor mechanism behind this pretty well, but what I can't figure out is how d/dt(h-h0) becomes (u-u0) - (v-v0) (for simplicity, I assume A=1 here). I mean, h0 is a constant, so the derivative of (h-h0) should therefore be the same as the derivative of h, i.e., equal to u-v. What am I doing wrong here - could someone explain?
 
Physics news on Phys.org
  • #2
I don't understand what you want to do. As you say, the equation you get after "linearization" is very different from the original equation, so there must be a mistake in this linearization process that you're doing. I would say that the original equation is already linear, so the linearized equation is just the same:

[tex] A \frac{d}{dt} (\Delta h) = u-v. [/tex]

But perhaps you're thinking about a different kind of linearization.
 
  • #3
I'll try to give some more details. The reason you want to do a linearization here, is because the equation is non-linear from the beginning, with, according to Bernoulli, the outflow [itex]v=a \sqrt{2gh}=4.43a \sqrt{h}[/itex], with a = the area of the outflow hole. So the equation then really is

[tex]
\frac{dV}{dt} = A \frac{dh}{dt} = u - 4.43a \sqrt{h}.
[/tex]

The question is how you come from here to the following equation below

[tex]
A \frac{d}{dt}(\Delta h) = \Delta u - \Delta v = (u-u_0) - (v-v_0),
[/tex]

when at the same time you know that [itex]A \frac{d}{dt}(h-h0) = A \frac {dh}{dt}[/itex].
 
Last edited:
  • #4
I still don't quite understand what you're doing. So instead of answering directly, let me try to explain how I would linearize that equation and perhaps you find the answer to your question in my explanation.

In general, linearization means that you assume that something is so small that you can neglect its square. In this case, you assume that h is close to h0, so that [itex] \Delta h = h-h_0 [/itex] is small.

Now, let's look at your differential equation
[tex] A \frac{dh}{dt} = u - 4.43a \sqrt{h}. [/tex]
On the left-hand side, you get
[tex] A \frac{dh}{dt} = A \frac{d}{dt} (h_0 + \Delta h) = A \frac{d}{dt} (\Delta h) [/tex]
because [itex] h_0 [/itex] is a constant. That's also what you got. Now for the right-hand side:
[tex] u - 4.43a \sqrt{h} = u - 4.43a \sqrt{h_0 + \Delta h}. [/tex]
To get any further, you have to develop this in a Taylor series around [itex] h=h_0 [/itex]:
[tex] u - 4.43a \sqrt{h} = u - 4.43a \sqrt{h_0} - \frac{4.43a}{2\sqrt{h_0}} (h-h_0) + \frac{4.43a}{8h_0\sqrt{h_0}} (h-h_0)^2 - \frac{4.43a}{16h_0^2\sqrt{h_0}} (h-h_0)^3 + \cdots [/tex]
Then you neglect the terms with [itex] (h-h_0)^2 [/itex] and [itex] (h-h_0)^3 [/itex] and higher powers. Of course, in practise you wouldn't even compute these terms. So altogether you get
[tex] A \frac{d}{dt} (\Delta h) = u - 4.43a \sqrt{h_0} - \frac{4.43a}{2\sqrt{h_0}} \Delta h. [/tex]
That is what I would call the linearization of the differential equation.

Now back to your equation. The term
[tex] \frac{4.43a}{2\sqrt{h_0}} \Delta h [/tex]
on the right-hand side is how much the outflow changes (up to first order) when the height changes from [itex]h_0[/itex] to [itex]h_0+\Delta h[/itex], so you can denote it by [itex]\Delta v[/itex]. So you can write the equation
[tex] A \frac{d}{dt} (\Delta h) = u - 4.43a \sqrt{h_0} - \frac{4.43a}{2\sqrt{h_0}} \Delta h. [/tex]
as
[tex] A \frac{d}{dt} (\Delta h) = u_0 - v_0 - \Delta v [/tex]
where [itex]u_0[/itex] and [itex]v_0[/itex] are the inflow and outflow when the height is [itex]h=h_0[/itex]. There is no term [itex]\Delta u[/itex] because the inflow u does not depend on the height h, but in general you would have
[tex] A \frac{d}{dt} (\Delta h) = u_0 + \Delta u - v_0 - \Delta v. [/tex]
That's another form in which you can write the linearized equation.

Finally, why do you want to linearize the equation in the first place? One reason is to assess the stability of some equilibrium point of the equation. The height [itex]h_0[/itex] is an equilibrium point if the inflow and the outflow are equal. In that case, [itex] u_0 = v_0 [/itex] and thus the linearized equation becomes
[tex] A \frac{d}{dt} (\Delta h) = \Delta u - \Delta v. [/tex]
That is the only way I can see that you can get to that equation, and in that case, there is no problem.
 
  • #5
Thank you very much for that thorough answer!

One of the points that I missed from the beginning, was just the fact that a precondition is that you have equilibrium in the system, i.e., inflow equals outflow, so the water level doesn't change, [itex]\frac{dh}{dt}=0[/itex], so u_0=v_0. So all in all you get

[tex]A \frac{d}{dt}(\Delta h) = \Delta u - \Delta v = (u-u_0) - (v-v_0) =[/tex]

[tex]A \frac{dh}{dt} = u - v.[/tex]

That these two equations above are equal was the first thing I couldn't see from the beginning.

Now, these equations are non-linear, because [itex]v=a \sqrt{2gh}=4.43 \sqrt{h}[/itex] (I presume a=A=1 here). So I tried to do a twodimensional Taylorexpansion, since water level change depends on both inflow, u, and outflow, v:

[tex]\frac{dh}{dt} = \frac{d}{dt}(\Delta h) = f(u,h) = u -4.43\sqrt{h} \approx[/tex]

[tex]f(u_0,h_0) + f'_u(u_0,h_0)(u-u_0) + f'_h(u_0,h_0)(h-h_0) =[/tex]

[tex]\left(u_0 - 4.43\sqrt{h_0}\right) + \Bigl( 1\cdot (u-u_0)\Bigr) + \left(-4.43\frac{1}{2\sqrt{h_0}}(h-h_0)\right).[/tex]

As we said, just at (u_0,h_0) we had equilibrium, so [itex]v_0=4.43\sqrt{h_0}[/itex] equals u_0, and so the leftmost parenthesis in the lowest equation above disappears (this was also something I failed to see at first). So finally we get the approximated linearization as

[tex]\frac{d}{dt}(\Delta h) \approx \Delta u -4.43\frac{1}{2\sqrt{h_0}}\Delta h .[/tex]

This equation could be solved, for instance by Laplace transformation methods, and you receive a function which approximates [itex]\Delta h(t)[/itex] pretty well around (u_0,h_0).

I hope I got it all right now - hopefully someone else could have use of this, which I myself had a hard time with.
 

1) What is linearization?

Linearization refers to the process of approximating a non-linear function with a linear function. This is done by finding the tangent line to the function at a specific point, which can then be used to estimate the function's behavior near that point.

2) How is linearization used in science?

Linearization is used in science to simplify complex non-linear functions and make them easier to analyze. It is commonly used in physics, engineering, and economics to model and predict the behavior of systems.

3) What is the difference between linearization and differentiation?

Linearization and differentiation are related concepts, but they are not the same. While linearization involves approximating a non-linear function with a linear function, differentiation involves finding the slope of a function at a specific point. Linearization can be thought of as a type of differentiation, but it specifically deals with approximating a function rather than finding its slope.

4) Can linearization be used for any type of function?

No, linearization can only be used for differentiable functions, meaning functions that have a well-defined derivative at every point. It also works best for functions that are relatively smooth and do not have too much curvature or sharp turns.

5) How is the differential related to linearization?

The differential is the change in the function's output for a given change in the input. It is closely related to linearization, as the tangent line used in linearization can be used to approximate the differential of the function at a specific point. In fact, the differential can be thought of as the slope of the tangent line at that point.

Similar threads

  • Differential Equations
Replies
1
Views
747
Replies
3
Views
576
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
2K
  • STEM Educators and Teaching
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Mechanics
Replies
30
Views
805
Replies
2
Views
2K
Replies
10
Views
677
  • Differential Equations
Replies
21
Views
1K
Back
Top