What is Bernoulli's equation?

This equation will give you the powers to analyze a fluid flowing up and down through all kinds of different tubes.

What is Bernoulli's principle?

Bernoulli's principle is a seemingly counterintuitive statement about how the speed of a fluid relates to the pressure of the fluid. Many people feel like Bernoulli's principle shouldn't be correct, but this might be due to a misunderstanding about what Bernoulli's principle actually says. Bernoulli's principle states the following,
Bernoulli's principle: Within a horizontal flow of fluid, points of higher fluid speed will have less pressure than points of slower fluid speed.
It doesn't have to be horizontal, but the change in height of the fluid during flow cannot change too drastically, otherwise changes in gravitational potential energy will become important and potentially render Bernoulli's principle inaccurate.
Bernoulli's principle can be made more general if you take gravitational potential energy into account. The result of which is called Bernoulli's equation (which we will derive later in this article).
So within a horizontal water pipe that changes diameter, regions where the water is moving fast will be under less pressure than regions where the water is moving slow. This sounds counterintuitive to many people since people associate high speeds with high pressures. But, we'll show in the next section that this is really just another way of saying that water will speed up if there's more pressure behind it than in front of it. In the section below we'll derive Bernoulli's principle, show more precisely what it says, and hopefully make it seem a little less mysterious.

How can you derive Bernoulli's principle?

Incompressible fluids have to speed up when they reach a narrow constricted section in order to maintain a constant volume flow rate. This is why a narrow nozzle on a hose causes water to speed up. But something might be bothering you about this phenomenon. If the water is speeding up at a constriction, it's also gaining kinetic energy. Where is this extra kinetic energy coming from? The nozzle? The pipe?
Yes. If by "energy fairy" you mean "external source of work being done on the portion of fluid."
The only way to give something kinetic energy is to do work on it. This is expressed by the work energy principle.
Wexternal=ΔK=12mvf212mvi2W_{external}=\Delta K=\dfrac{1}{2}mv_f^2-\dfrac{1}{2}mv_i^2
So if a portion of fluid is speeding up, something external to that portion of fluid must be doing work it. What force is causing work to be done on the fluid? Well, in most real world systems there are lots of dissipative forces that could be doing negative work, but we're going to assume for the sake of simplicity that these viscous forces are negligible and we have a nice continuous and perfectly laminar (streamline) flow. Laminar (streamline) flow means that the fluid flows in parallel layers without crossing paths. In laminar streamline flow there is no swirling or vortices in the fluid.
Good question. Saying that the flow of a fluid is streamline, completely non-viscous, has no turbulence, and no dissipative loss of energy is admittedly a pretty bold assumption and now would probably be a good time to make you aware that fluid dynamics is notorious for being a difficult topic to apply with precision in the messy real world. The complexity of real world situations can make precisely modeling fluid flow difficult in any situations where turbulence, viscosity, internal friction, and vortices can occur.
Horace Lamb, who in 1895 published the influential text Hydrodynamics recognized the difficulties of complex fluid dynamics relative to other topics in physics. He was famously quoted[1]^{[1]} later in life to have said "I am an old man now, and when I die and go to heaven there are two matters on which I hope for enlightenment. One is quantum electrodynamics, and the other is the turbulent motion of fluids. And about the former I am rather optimistic."
Long story short, even though the study of ideal fluid motion requires assumptions that might not be satisfied in many complex real world cases, the theories derived from these simplistic assumptions can still be a useful tool for qualitative analysis, estimations, and a good starting point in describing more complex situations.
[1]^{[1]} Davidson, P. A. (2004). Turbulence: An Introduction for Scientists and Engineers. Oxford University Press
OK, so we'll assume we have no loss in energy due to dissipative forces. In that case, what non-dissipative forces could be doing work on our fluid that cause it to speed up? The pressure from the surrounding fluid will be causing a force that can do work and speed up a portion of fluid.
Consider the diagram below which shows water flowing along streamlines from left to right. As the outlined volume of water enters the constricted region it speeds up. The force from pressure P1P_1 on the left side of the shaded water pushes to the right and does positive work since it pushes in the same direction as the motion of the shaded fluid. The force from pressure P2P_2 on the right side of the shaded fluid pushes to the left and does negative work since it pushes in the opposite direction as the motion of the shaded fluid.
We know that the water must speed up (due to the continuity equation) and therefore have a net positive amount of work done on it. So the work done by the force from pressure on the left side must be larger than the amount of negative work done by the force from pressure on the right side. This means that the pressure on the wider/slower side P1P_1 has to be larger than the pressure on the narrow/faster side P2P_2.
OK, it's a little more subtle than that. Work is given by W=FdW=Fd, and force is given by F=PAF=PA. This means that we can write,
Now you might think that since the pressure P1P_1 on the left side is pushing on the shaded portion over a larger surface area AA, the work done by the water on the left side will be larger even if the pressures are equal on both sides. But the distances dd through which the forces will act will also be different. When the portion of water enters the narrow constriction it will elongate and the pressure force from the right side P2P_2 will be exerted over a longer distance than the pressure force from the left side P1P_1. These two confounding factors cancel since the total volume of the portion of water remains the same for the entire trip. So the affect of having a larger surface area does not account for the net positive work that must be done. The water pressure on the left side P1P_1 must be greater than P2P_2 so that the net work done on the portion of fluid is positive.
You might also wonder what would happen if the fluid was flowing from right to left, into the wider region. In that case, the work done by the water at P1P_1 would be negative since it exerts a force opposite the direction of flow. This negative work done would be greater than the now positive work done by the water on the P2P_2 side and the fluid would slow down when entering the wider region. This is indeed what happens. Fluids slow down when they enter a wider region.
This inverse relationship between the pressure and speed at a point in a fluid is called Bernoulli's principle.
Bernoulli's principle: At points along a horizontal streamline, higher pressure regions have lower fluid speed and lower pressure regions have higher fluid speed.
It might be conceptually simplest to think of Bernoulli's principle as the fact that a fluid flowing from a high pressure region to a low pressure region will accelerate due to the net force along the direction of motion.
The idea that regions where the fluid is moving fast will have lower pressure can seem strange. Surely, a fast moving fluid that strikes you must apply more pressure to your body than a slow moving fluid, right? Yes, that is right. But we're talking about two different pressures now. The pressure that Bernoulli's principle is referring to is the internal fluid pressure that would be exerted in all directions during the flow, including on the sides of the pipe. This is different from the pressure a fluid will exert on you if you get in the way of it and stop its motion.
Imagine firefighters are spraying a building with steady streamline water from a firehose. The pressure that exists inside the stream of water (pushing outward against air pressure) as it flies toward the building is different from the pressure caused when the water strikes the building and changes momentum due to a collision.
Note that Bernoulli's principle does not say that a fast moving fluid can't have significantly high pressures. It just says that the pressure in a slower region of that same flowing system must have even larger pressure than the faster moving region.

What is Bernoulli's equation?

Bernoulli's equation is essentially a more general and mathematical form of Bernoulli's principle that also takes into account changes in gravitational potential energy. We'll derive this equation in the next section, but before we do, let's take a look at Bernoulli's equation and get a feel for what it says and how one would go about using it.
Bernoulli's equation relates the pressure, speed, and height of any two points (1 and 2) in a steady streamline flowing fluid of density ρ\rho. Bernoulli's equation is usually written as follows,
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2\Large P_1+\dfrac{1}{2}\rho v^2_1+\rho gh_1=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh_2
The variables P1P_1, v1v_1, h1h_1 refer to the pressure, speed, and height of the fluid at point 1, whereas the variables P2P_2, v2v_2, and h2h_2 refer to the pressure, speed, and height of the fluid at point 2 as seen in the diagram below. The diagram below shows one particular choice of two points (1 and 2) in the fluid, but Bernoulli's equation will hold for any two points in the fluid.
When using Bernoulli's equation, how do you know where to choose your points? Choosing one of the points at the location where you want to find an unknown variable is a must. Otherwise how will you ever solve for that variable? You will typically choose the second point at a location where you have been given some information, or where the fluid is open to the atmosphere, since the absolute pressure there is known to be atmospheric pressure Patm=1.01×105PaP_{atm}=1.01\times 10^5Pa.
Note that the hh refers to the height of the fluid above an arbitrary level that you can choose in any way that is convenient. Typically it is often easiest to just choose the lower of the two points (1 or 2) as the height where h=0h=0. The PP refers to the pressure at that point. You can choose to use gauge pressure or absolute pressure, but whichever kind of pressure you choose (gauge or absolute) must also be used on the other side of the equation. You can't insert the gauge pressure at point 1, and the absolute pressure at point 2. Similarly, if you insert the gauge pressure at point 1 and solve for the pressure at point 2, the value you obtain will be the gauge pressure at point 2 (not the absolute pressure).
The terms 12ρv2\dfrac{1}{2}\rho v^2 and ρgh\rho gh in Bernoulli's equation look just like kinetic energy 12mv2\dfrac{1}{2}m v^2 and potential energy mghmgh, only with the mass mm replaced with density ρ\rho. So it may not come as much of a surprise that Bernoulli's equation is the result of applying conservation of energy to a flowing fluid. We'll derive Bernoulli's equation using conservation of energy in the next section.

How do you derive Bernoulli's equation?

Consider the following diagram where water flows from left to right in a pipe that changes both area and height. As before, water will speed up and gain kinetic energy KK at constrictions in the pipe, since the volume flow rate must be maintained for an incompressible fluid even if those constricted sections move upward. But now since the constriction also causes the fluid to move upward, the water will be gaining gravitational potential energy UgU_g as well as kinetic energy KK. We will derive Bernoulli's equation by setting the energy gained by the fluid equal to the external work done on the fluid.
Yes, but they are very related. Bernoulli's principle is a result of the more general equation called Bernoulli's equation for cases where the height of the fluid does not change significantly.
In the next section, after we derive Bernoulli's equation, we'll show how Bernoulli's principle follows from Bernoulli's equation.
Let's assume the energy system we're considering is composed of the volumes of water 1 and 2 as well as all the fluid in between those volumes. If we assume the fluid flow is streamline, non-viscous, and there are no dissipative forces affecting the flow of the fluid, then any extra energy Δ(K+U)system\Delta ({K+U})_{system} added to the system will be caused by the external work (Wexternal)(W_{external}) done on the fluid from pressure forces surrounding it.
There are two ways to go about this derivation. You can say the force of gravity does external work on the fluid, in which case you would not say the system includes the gravitational potential energy between the water and the Earth.
Or choosing the convention we have here, we can say our system includes the gravitational potential energy between the water and the Earth, in which case the work done by the force of gravity is internal to the system rather than external. Since the work done by gravity is internal, it does not affect the overall energy (K+Ug)(K+U_g) of our system.
We can express this mathematically as,
Wexternal=Δ(K+U)systemW_{external} = \Delta ({K+U})_{system}
First we'll try to find the external work done WexternalW_{external} on the water. None of the water between points 1 and 2 can do external work since that water is all part of our energy system. The only pressures that can directly do external work on our system are P1P_1 and P2P_2 as shown in the diagram. The water at P1P_1 to the left of volume 1 will do positive work since the force points in the same direction as the motion of the fluid. The water at P2P_2 to the right of volume 2 will do negative work on our system since it pushes in the opposite direction as the motion of the fluid.
For simplicity's sake we'll consider the case where the force from water pressure to the left of volume 1 pushes volume 1 through its entire width d1d_1. Assuming the fluid is incompressible, this must displace an equal volume of water everywhere in the system, causing volume 2 to be displaced through its length a distance d2d_2.
Work can be found with W=FdW=Fd. We can plug in the formula for the force from pressure F=PAF=PA into the formula from work to get W=PAdW=PAd. So, the positive work done on our system by the water near point 1 will be W1=P1A1d1W_1=P_1A_1d_1 and the work done by the water near point 2 will be W2=P2A2d2W_2=-P_2A_2d_2.
The force from pressure F1=P1A1F_1=P_1A_1 near point 1 is pushing in the same direction as the motion of the fluid so the work it does on our system is positive.
Similarly, the force from pressure F2=P2A2F_2=P_2A_2 near point 2 is pushing in the opposite direction as the motion of the fluid so the work it does on our system is negative.
Oh, you might also be wondering where the cosθcos\theta went in the formula for work W=FdcosθW=Fdcos\theta. Since our pressures are exerting force either in the same direction or the opposite direction as the motion, the term cosθcos\theta will either be cos(0)=+1cos(0)=+1 or cos(180)=1cos(180)=-1. In our derivation we just included the positive and negative signs by hand instead of including the term cosθcos\theta
Plugging these expressions for work into the left side of our work energy formula Wnet=Δ(K+U)systemW_{net} = \Delta ({K+U})_{system} we get,
P1A1d1P2A2d2=Δ(K+U)systemP_1A_1d_1-P_2A_2d_2=\Delta ({K+U})_{system}
But the terms A1d1A_1d_1 and A2d2A_2d_2 have to be equal since they represent the volumes of the fluid displaced near point 1 and point 2. If we assume the fluid is incompressible, an equal volume of fluid must be displaced everywhere in the fluid, including near the top. So, V1=A1d1=A2d2=V2V_1=A_1d_1=A_2d_2=V_2. We can just write the volume term simply as VV since the volumes are equal. This simplifies the left side of the work energy formula to,
P1VP2V=Δ(K+U)systemP_1V-P_2V= \Delta ({K+U})_{system}
That takes care of the left hand side. Now we have to address the right hand side of this equation. This is a crucial and subtle part of the derivation. Remember that our system includes not only the shaded portions of water near point 1 and 2, but also all the water in between those two points. How will we ever be able to account for all the change in kinetic energy and gravitational potential energy of all parts of that large and winding system?
Well, we have to make one more assumption to finish the derivation. We're going to assume that the flow of the fluid is steady. By "steady flow" we mean that the speed of the fluid passing by a particular point in the pipe doesn't change. In other words, if you stood and stared at any one particular section of the transparent pipe, you would see new water moving past you every moment, but if there's steady flow, then all the water would have the same speed when it moves past that particular point.
No, it doesn't mean that. The water molecules still change speed as they move through the pipe. For steady state flow we're just saying that those changes will be the same for any water molecule that travels along the streamline.
If there were non-steady flow, the changes in speed that water molecules go through in traversing the pipe would be different from future water molecules that traversed the pipe. This could happen if the flow of fluid was caused by a pump driving the system that supplied a pressure that varied in time.
So how does the idea of steady flow help us figure out the change in energy of the big winding system of fluid? Consider the diagram below. Our energy system consists of the greyed out fluid (volume 1, volume 2, and all fluid in between). In the first image, the system has some amount of total energy (K+U)initial(K+U)_{initial}. In the second image the entire system had work done on it, gains energy, shifts to the right, and now has some different total energy (K+U)final(K+U)_{final}. But notice that the energy of the fluid between the dashed lines will be the same as it was before the work was done assuming a steady flow. Water changed position and speed in the region between the dashed lines, but it did so in such a way that it will be moving with the exact same speed (e.g. vav_a and vbv_b) and have the same height as the previous water had in that location. The only thing that's different about our system is that volume 2 now extends into a section of the pipe it wasn't in previously, and now nothing in our system is occupying the old position behind volume 1.
Overall this means that the total change in the energy of the system can be found by simply considering the energies of the end points. Namely, we can take the kinetic and potential energy (K2+U2)(K_2+U_2) that now exists in volume 2 after the work was done and subtract the kinetic and potential energy (K1+U1)(K_1+U_1) that no longer exists behind volume 1 after the work was done. In other words, Δ(K+U)system=(K2+U2)(K1+U1)\Delta (K+U)_{system}=(K_2+U_2)-(K_1+U_1).
Here's another way to think about it. The water surrounding our system did some work on our system. This changed the total energy of our system. But when you look at the final configuration of the fluid you see that conveniently, the two middle regions of the system between the dashed lines have the exact same energy EsameE_{same} as they did before the work was done (since the flow was steady). This energy EsameE_{same} just cancels when we find the difference between the total final and initial energies and the only energies we need to consider are the changes on the ends.
If this still seems like mathematical voodoo to you, you should know that the whole derivation of Bernoulli's equation can be done using only Newton' laws with no mention of energy at all. The mathematics can get a little messier, but there are less conceptual leaps that need to be made and you end up getting the exact same result.
Plugging this into the right hand side of the work energy formula P1VP2V=Δ(K+U)systemP_1V-P_2V= \Delta ({K+U})_{system} we get,
P1VP2V=(K2+U2)(K1+U1)P_1V-P_2V= (K_2+U_2)-(K_1+U_1)
Now we'll substitute in the formulas for kinetic energy K=12mv2K=\dfrac{1}{2}mv^2 and gravitational potential energy Ug=mghU_g=mgh to get,
P1VP2V=(12m2v22+m2gh2)(12m1v12+m1gh1)P_1V-P_2V= (\dfrac{1}{2}m_2v^2_2+m_2gh_2)-(\dfrac{1}{2}m_1v^2_1+m_1gh_1)
In this equation P1P_1 and P2P_2 represent the pressures of the fluid in volumes 1 and 2 respectively. The variables v1v_1 and v2v_2 represent the speeds of the fluid in volumes 1 and 2 respectively. And h1h_1 and h2h_2 represent the height of the fluid in volumes 1 and 2 respectively.
But since we are assuming the fluid is incompressible, the displaced masses of volumes 1 and 2 must be the same m1=m2=mm_1=m_2=m. So getting rid of the subscript on the mm's we get,
P1VP2V=(12mv22+mgh2)(12mv12+mgh1)P_1V-P_2V= (\dfrac{1}{2}mv^2_2+mgh_2)-(\dfrac{1}{2}mv^2_1+mgh_1)
We can divide both sides by VV and drop the parenthesis to get,
P1P2=12mv22V+mgh2V12mv12Vmgh1VP_1-P_2= \dfrac{\dfrac{1}{2}mv_2^2}{V}+\dfrac{mgh_2}{V}-\dfrac{\dfrac{1}{2}m v^2_1}{V}-\dfrac{mgh_1}{V}
We can simplify this equation by noting that the mass of the displaced fluid divided by volume of the displaced fluid is the density of the fluid ρ=mV\rho=\dfrac{m}{V}. Replacing mV\dfrac{m}{V} with ρ\rho we get,
P1P2=12ρv22+ρgh212ρv12ρgh1P_1-P_2= \dfrac{1}{2}\rho v_2^2+\rho gh_2-\dfrac{1}{2}\rho v^2_1-\rho gh_1
Now, we're just going to rearrange the formula using algebra to put all the terms that refer to the same point in space on the same side of the equation to get,
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2\Large P_1+\dfrac{1}{2}\rho v^2_1+\rho gh_1=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh_2
And there it is, finally. This is Bernoulli's equation! It says that if you add up the pressure PP plus the kinetic energy density 12ρv2\dfrac{1}{2}\rho v^2 plus the gravitational potential energy density ρgh\rho gh at any 2 points in a streamline, they will be equal.
Energy density is just what we call the terms 12ρv2\dfrac{1}{2}\rho v^2 and ρgh\rho gh since they are energies of masses divided by the volume which those masses occupy. Mathematically the only difference between energy density and energy is that instead of mass mm you have density ρ\rho in the formula.
kinetic energy density=12mv2V=12ρv2\text{kinetic energy density}= \dfrac{\dfrac{1}{2}m v^2}{V}=\dfrac{1}{2}\rho v^2
potential energy density=mghV=ρgh\text{potential energy density}=\dfrac{mgh}{V}=\rho gh
Physically, the difference is that the energy density tells you the density of energy at a point in space, whereas energy tells you the energy that exists within a volume of space. You can always multiply or divide by volume to change from one to the other (assuming the energy density is constant throughout the volume you're considering).
Bernoulli's equation can be viewed as a conservation of energy law for a flowing fluid. We saw that Bernoulli's equation was the result of using the fact that any extra kinetic or potential energy gained by a system of fluid is caused by external work done on the system by another non-viscous fluid. You should keep in mind that we had to make many assumptions along the way for this derivation to work. We had to assume streamline flow and no dissipative forces, since otherwise there would have been thermal energy generated. We had to assume steady flow, since otherwise our trick of canceling the energies of the middle section would not have worked. We had to assume incompressibility, since otherwise the volumes and masses would not necessarily be equal.
Since the quantity P+12ρv2+ρghP+\dfrac{1}{2}\rho v^2+\rho gh is the same at every point in a streamline, another way to write Bernoulli's equation is,
P+12ρv2+ρgh=constantP+\dfrac{1}{2}\rho v^2+\rho gh=\text{constant}
This constant will be different for different fluid systems, but for a given steady state streamline non-dissipative flowing fluid, the value of P+12ρv2+ρghP+\dfrac{1}{2}\rho v^2+\rho gh will be the same at any point along the flowing fluid.

How is Bernoulli's principle a result of Bernoulli's equation?

We should note here that Bernoulli's principle is contained within Bernoulli's equation. If we start with,
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2P_1+\dfrac{1}{2}\rho v^2_1+\rho gh_1=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh_2
and assume that there is no change in the height of the fluid, the ρgh\rho gh terms cancel if we subtract them from both sides.
If the height of the fluid doesn't change then h1=h2=hh_1=h_2=h so,
P1+12ρv12+ρgh=P2+12ρv22+ρghP_1+\dfrac{1}{2}\rho v^2_1+\rho gh=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh
Now if we subtract ρgh\rho gh from both sides we get,
P1+12ρv12=P2+12ρv22P_1+\dfrac{1}{2}\rho v^2_1=P_2+\dfrac{1}{2}\rho v^2_2
P1+12ρv12=P2+12ρv22P_1+\dfrac{1}{2}\rho v^2_1=P_2+\dfrac{1}{2}\rho v^2_2
Or we could write it as,
P+12ρv2=constantP+\dfrac{1}{2}\rho v^2=\text{constant}
This formula highlights Bernoulli's principle since if the speed vv of a fluid is larger in a given region of streamline flow, the pressure PP must be smaller in that region (which is Bernoulli's principle). An increase in speed vv must be accompanied by a simultaneous decrease in the pressure PP in order for the sum to always add up to the same constant number.

What do solved examples involving Bernoulli's equation look like?

Example 1: Root Beer blueprints

You own a restaurant that is investigating new ways to deliver beverages to customers. One proposal is for a tube that will deliver root beer of density 1,090kgm31,090\dfrac{kg}{m^3} throughout the restaurant. A section of the tube is shown below. The blueprints say that the speed and gauge pressure of the root beer at point 1 are 3.00 m/s3.00\text{ m/s} and 12,300 Pa12,300\text{ Pa} respectively. The root beer at point 2 is 1.20 m1.20\text{ m} higher than the fluid at point 1 and is traveling at a speed of 0.750 m/s0.750\text{ m/s}. You can't make out the number on the blueprints for the pressure of the root beer at point 2.
Use Bernoulli's equation to figure out the gauge pressure of the root beer at point 2.
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2(first, start with Bernoulli’s equation)P_1+\dfrac{1}{2}\rho v^2_1+\rho gh_1=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh_2 \quad\text{(first, start with Bernoulli's equation)}
P2=P1+12ρv12+ρgh112ρv22ρgh2(algebraically solve Bernoulli’s equation for P2)P_2=P_1+\dfrac{1}{2}\rho v^2_1+\rho gh_1-\dfrac{1}{2}\rho v^2_2-\rho gh_2 \quad\text{(algebraically solve Bernoulli's equation for }P_2)
At this point we need to choose an h=0h=0 reference line. We'll choose the height at point 1 to be h=0h=0. This makes the value h1=0h_1=0 and h2=1.2 mh_2=1.2\text{ m}. Plugging in these values for the height we get,
P2=P1+12ρv12+ρg(0 m)12ρv22ρg(1.2m)(we plug in the values of  and )h1h2P_2=P_1+\dfrac{1}{2}\rho v^2_1+\rho g(0\text{ m})-\dfrac{1}{2}\rho v^2_2-\rho g(1.2{ m}) \quad\text{(we plug in the values of $h_1$ and $h_2$)}
We can get rid of the term with the zero in it and plug in numerical values for the other variables to get,
P2=12,300 Pa+12(1,090kgm3)(3.00 m/s)212(1,090kgm3)(0.750 m/s)2(1,090kgm3)g(1.20 m)P_2=12,300\text{ Pa}+\dfrac{1}{2}(1,090\dfrac{kg}{m^3}) (3.00\text{ m/s})^2-\dfrac{1}{2} (1,090\dfrac{kg}{m^3})(0.750\text{ m/s})^2-(1,090\dfrac{kg}{m^3})g(1.20\text{ m})
P2=4,080 Pa(calculate and celebrate)P_2= 4,080 \text{ Pa}\quad{\text{(calculate and celebrate)}}
Note: We know this is the gauge pressure at point 2, rather than the absolute pressure, since we plugged in the gauge pressure for point 1. If we wanted the absolute pressure we could add atmospheric pressure (1.01×105 Pa)(1.01\times 10^5 \text{ Pa}) to our answer.

Example 2: Water fountain engineering

A large hotel has asked you build a water fountain that is fed by a 15 cm15\text{ cm} diameter cylindrical pipe that carries water horizontally 8.00 m8.00\text{ m} below the ground. The pipe turns upwards and eventually fires water out of the 5.00 cm5.00\text{ cm} diameter end of the cylindrical pipe, which is located 1.75 m1.75\text{ m} above the ground, with a speed of 32.0 m/s32.0 \text{ m/s}. Water has a density of 1,000kgm31,000 \dfrac{kg}{m^3}.
What gauge pressure is required in the large underwater horizontal pipe for this fountain?
These Bernoulli's equation problems are complicated so we should draw a diagram of the situation and pick two points of interest. (this diagram is not to scale)
We'll pick the point near the bottom of the pipe as point 1, since that's where we want to determine the pressure, and we'll pick the top of the pipe where the water emerges as point 2 since we have been given information about the speed of the water at that point.
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2(first, start with Bernoulli’s equation)P_1+\dfrac{1}{2}\rho v^2_1+\rho gh_1=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh_2 \quad\text{(first, start with Bernoulli's equation)}
P1=P2+12ρv22+ρgh212ρv12ρgh1(algebraically solve for the pressure )P1P_1=P_2+\dfrac{1}{2}\rho v^2_2+\rho gh_2-\dfrac{1}{2}\rho v^2_1-\rho gh_1\quad\text{(algebraically solve for the pressure $P_1$)}
We don't know the speed of the water at point 1. We'll need to figure out the speed v1v_1 first before we can use Bernoulli's equation to solve for unknown pressure at point 1.
We can do this by using the equation of continuity A1v1=A2v2A_1v_1=A_2v_2 since water is incompressible. We know the cross sectional area of a cylindrical pipe can be found with A=πr2A=\pi r^2 so plugging areas into the equation of continuity we get,
(πr12)v1=(πr22)v2(\pi r^2_1)v_1=(\pi r^2_2)v_2
When we solve this for the speed v1v_1 the π\pi's cancel and we're left with,
Plugging in the radii of the pipes we can solve for the speed at point 1 to get,
v1=(2.50 cm)2(7.50 cm)2(32.0 m/s)=3.56 m/sv_1=\dfrac{(2.50\text{ cm})^2}{(7.50\text{ cm})^2}(32.0\text{ m/s})=3.56\text{ m/s} \quad
Since the square of the radii are divided by each other, the units will cancel and you will be left with a pure proportion that multiplies the speed v2v_2. This proportion will be the same whether we convert both radii to meters, or leave both in centimeters .
In fact, while we're talking about it, we didn't even have to convert the diameters to radii since the extra factor of 2 in the relationship d=2×rd=2\times r would have also cancelled. So multiplying v2v_2 by the ratio of the squared diameters would give the same result.
Now that we have the speed at point 1, we can plug this into our rearranged Bernoulli's equation to get,
P1=P2+12ρ(32 m/s)2+ρgh212ρ(3.56 m/s)2ρgh1(we plugged in the speeds)P_1=P_2+\dfrac{1}{2}\rho (32\text{ m/s})^2+\rho gh_2-\dfrac{1}{2}\rho (3.56\text{ m/s})^2-\rho gh_1\quad\text{(we plugged in the speeds)}
We can choose the h=0h=0 reference line at point 1, which makes h1=0 mh_1=0\text{ m} and h2=8.00 m+1.75 m=9.75 mh_2=8.00\text{ m}+1.75\text{ m}=9.75\text{ m}.
Since we chose point 1 as the h=0h=0 reference point, we will measure all heights from that point. Since point 2 is 1.75 m1.75\text{ m} above the ground, and the ground is 8.00 m8.00 \text{ m} above point 1, the total height of point 2 is 9.75 m9.75\text{ m}.
We could have also chosen the ground as h=0h=0. This would have made h1=8.00 mh_1=-8.00\text{ m} and h2=1.75 mh_2=1.75\text{ m}. Either way, we will get the same answer in the end.
Plugging these into our rearranged Bernoulli equation makes the ρgh1\rho gh_1 term go away (since it's zero) and we get,
P1=P2+12ρ(32 m/s)2+ρg(9.75 m)12ρ(3.56 m/s)2(we plugged in the  values)hP_1=P_2+\dfrac{1}{2}\rho (32\text{ m/s})^2+\rho g(9.75\text{ m})-\dfrac{1}{2}\rho (3.56\text{ m/s})^2 \quad\text{(we plugged in the $h$ values)}
All we have to do now is figure out the pressure P2P_2 at point 2. We are going to argue that the pressure at point 2 must be atmospheric pressure since the water emerged out into the atmosphere. This is an assumption that needs to be made in many Bernoulli equation problems. Whenever a point is open to the atmosphere, that point should be at atmospheric pressure. We can either use absolute pressures in Bernoulli's equation and say that P2=1.01×105PaP_2=1.01\times 10^5 Pa, or we can use gauge pressures and say that P2=0P_2=0 (since gauge pressure measures pressure above atmospheric pressure). Anytime we can include zeros it makes our life easier so we'll use gauge pressure and use P2=0P_2=0. This makes our rearranged Bernoulli equation look like,
P1=12ρ(32 m/s)2+ρg(9.75 m)12ρ(3.56 m/s)2(we plugged in )P2=0P_1=\dfrac{1}{2}\rho (32\text{ m/s})^2+\rho g(9.75\text{ m})-\dfrac{1}{2}\rho (3.56\text{ m/s})^2 \quad\text{(we plugged in $P_2=0$)}
Now we can plug in the density of water ρ=1,000kgm3\rho=1,000 \dfrac{kg}{m^3} and the magnitude of the acceleration due to gravity g=+9.8ms2g=+9.8\dfrac{m}{s^2} to get,
P1=12(1,000kgm3)(32 m/s)2+(1,000kgm3)(+9.8ms2)(9.75 m)12(1,000kgm3)(3.56 m/s)2P_1=\dfrac{1}{2}(1,000 \dfrac{kg}{m^3}) (32\text{ m/s})^2+(1,000 \dfrac{kg}{m^3})(+9.8\dfrac{m}{s^2})(9.75\text{ m})-\dfrac{1}{2}(1,000 \dfrac{kg}{m^3}) (3.56\text{ m/s})^2
P1=6.01×105Pa(calculate and celebrate)P_1=6.01\times 10^5 Pa \quad\text{(calculate and celebrate)}
Note: What we found was the gauge pressure since we plugged in P2=0P_2=0. If we would have plugged in P2=1.01×105 PaP_2=1.01\times 10^5 \text{ Pa} we would have solved for the absolute pressure at point 1.