Bernoulli’s equation
Bernoulli’s equation |
The Bernoulli equation is one of the most well-known first-order nonlinear differential equations. It is written as ![]() where a ( x ) and b ( x ) are continuous functions. If m = 0, then the Bernoulli equation becomes a linear differential equation. In the case where m = 1, the equation is transformed into an equation with separable variables. In the general case, when m ≠ 0, 1, the Bernoulli equation is reduced to a linear differential equation using the substitution ![]() The new differential equation for the function z ( x ) is ![]() and can be solved by the methods described on the page Linear Differential Equations of the First Order. |
Example 1 |
Find the general solution of the equation y’ − y = y^2 e^x. Solution. For the given Bernoulli equation, m = 2, so we make the substitution. ![]() Differentiating both parts of the equation (the variable y is considered as a complex function of x ), we can write: ![]() Let’s divide both parts of the original differential equation by y 2 : ![]() Substituting z and z’, we find: ![]() We have obtained a linear equation for the function z ( x ). Let’s solve it using an integrating factor: ![]() The formula expresses the general solution of a linear equation. ![]() Returning to the function y ( x ), we obtain the answer in implicit form: ![]() which can also be written as: ![]() Note that when dividing the equation by y 2, we lost the solution y = 0. As a result, the full answer is written as: ![]() |
Example 2 |
Solve the differential equation Solution. It is easy to see that this differential equation is a Bernoulli equation. To solve it, we perform the substitution. ![]() After differentiation, we obtain: ![]() Let’s divide the original equation by y 2 and replace y with z : ![]() When dividing by y 2, we lost the solution y = 0. (This can be verified by direct substitution.) The differential equation for the new variable z is: ![]() We have obtained a linear equation for the function z ( x ), which can be solved, for example, using an integrating factor: ![]() It is easy to check that such an integrating factor will be the function 1/ x. Indeed: ![]() It is clear that the left side of the equation after multiplying by 1/ x will be the product z ( x ) u ( x ) Then the general solution of the linear differential equation for the function z ( x ) is determined by the formula. ![]() Taking into account that y = 1/ z, we write the answer in the form: ![]() or implicitly: ![]() Therefore, the final answer is: ![]() |
Example 3 |
Find all solutions of the differential equation y’ + y cot x = y 4 sin x. Solution. In this example, we are dealing with the Bernoulli equation with parameter m = 4. Therefore, we make the substitution z = y 1 − m = y −3. The derivative will be equal to ![]() Let’s multiply both sides of the original equation by (−3) and divide by y 4 : ![]() Note that when dividing by y 4 we lost the solution y = 0. Writing the last equation through the variable z, we get ![]() This differential equation is linear. It can be solved, for example, using an integrating factor: ![]() We take the function as the integrating factor ![]() Therefore, the general solution of the linear differential equation for the function z ( x ) is represented as: ![]() Since z = y −3, we obtain the following solutions to the original Bernoulli equation: ![]() |
Example 4 |
Find all solutions of the differential equation Solution. This equation is the Bernoulli equation with a fractional parameter m = 1/2. It can be reduced to a linear differential equation by substitution ![]() Let’s divide the original Bernoulli equation by ![]() Replacing y with z, we find: ![]() So, we have a linear equation for the function z ( x ). The integrating factor here will be equal to ![]() Let us choose the function u ( x ) = x as the integrating factor. It can be verified that after multiplying by u ( x ), the left-hand side of the equation will be the derivative of the product z ( x ) u ( x ) : ![]() Then the general solution of the linear differential equation will be determined by the expression: ![]() Returning to the original function y ( x ), we write the solution in implicit form: ![]() So, the full answer looks like this: ![]() |
Example 5 |
Find a solution to the differential equation 4 xyy’ = y 2 + x 2 that satisfies the initial condition y (1) = 2. Solution. First, we check that the given differential equation is a Bernoulli equation: ![]() As we can see, we have the Bernoulli equation with parameter m = −1. Therefore, we can make the substitution z = y 1 − m = y 2. The derivative will be equal to: z’ = 2 yy’. Next, we multiply both parts of the differential equation by 2 y : ![]() Replacing y with z, we transform Bernoulli’s equation into a linear differential equation: ![]() Let’s calculate the integrating factor: ![]() Let’s find the general solution of the linear equation: ![]() Considering that z = y 2, the solution can be written as: ![]() Now we define the constant C corresponding to the initial condition y (1) = 2. ![]() As a result, we obtain: C = 4. Thus, the solution to the Cauchy problem is expressed by the function. ![]() |
Explore More IT Terms
#
- Using an integrating factor
- Equations in total differentials
- Equations not resolved with respect to the derivative
- Bernoulli's equation
- Linear differential equations of the first order
- 50 Terms Every Programmer Should Know
- 7 Levels of Using the Zip Function in Python
- 7 Python Code Bugs You Need to Fix
- 70+ Free Resources for Learning Programming
A
- A Guide to SQL Query Formatting
- A/B testing
- AES Encryption Algorithm: How It Works and Where It's Used
- Agile
- Algorithm
- Algorithm complexity in 5 minutes
- Algorithms and Data Structures in C#
- An overview of the C # programming language
- An overview of the Python programming language
- Anaconda Python
- Android
- Android App Bundle
- Android SDK
- Angular
- Ansible
- Apache
- Apache Airflow
- Apache Kafka
- Apache Tomcat
- App Store
- AppCode
- Applications of microcontrollers: From simple circuits in electronics to complex systems
- Applications of the derivative
- Arduino: How to Program It: Basics for Beginners
- Array-based stack
- ArrayList
- ASCII
- ASP.NET
- Assembly Language Lessons
B
C
D
- Data Analytics: applications of data analysis in companies
- Data Engineer - Who is it, what does a data engineer do, and an overview of the profession
- Data modeling: what it is, types, and process steps.
- Data preprocessing: a complete guide for beginners and professionals.
- Data structure
- Database Tests with Answers
- Deep Learning
- Defining Aliases
- Defining Arrays
- Deque
- Developing a Website from Scratch
- Differential Equations
- Differentiation of functions
- Digital data: understand the importance of this asset for businesses.
- Double integrals
- Doubly linked lists
E
F
H
- Handling errors and exceptions
- Heads or Tails? How Probability Theory Is Used in IT
- History of the development of computer science
- Homogeneous equations
- How to effectively organize your workflow
- How to Learn Java: Tips for Beginner Developers
- How to Learn PHP: A Beginner's Guide
- How to Use S3 Storage in Kubernetes with CSI
- HTML
- HTML and CSS: Definition, Application, and Operating Principles
- HTML and CSS. Layout from Scratch: What to Learn, Where to Learn, and How Long Will It Take?
- HTML Frame Structure
- HTML Link Formatting
I
- if..else construction
- Infinite sequences and series
- Information properties
- Inheritance in Java: A Complete Guide to Principles and Implementation
- Inserting an Image
- Integration of functions
- Interactive Python Tutorial – Learn Programming from Scratch
- Interpreter
- Interview Problem: Finding a Deleted Element in O(N)
- Interview Scare: The FizzBuzz Challenge
- Introduction to C++
- Introduction to Machine Learning
- Introduction to Networking | Network Fundamentals Part 1
- Introduction to Number Systems (Binary, Octal, Hexadecimal) | Math for CS Foundations #1
- IT Specialist Resume (CV)
J
K
M
- Machine Learning
- Machine Learning Basic Tool: NumPy
- Machine Learning Basic Tool: Pandas
- Machine Learning Mathematics
- Mathematics for programmers: what is really needed?
- MD5 encryption algorithm: What is it and why is it needed?
- Microcontroller and Microprocessor - what's the difference?
- ML Engineer: Who They Are, What They Do, How Much They Earn, and How to Become a Neural Network Specialist
- Monte Carlo Simulation: How It Works and What It's For
O
P
- PHP lessons
- Private DNS server and its configuration
- Program code
- Programmer's Dictionary
- Programming
- Programming with pseudocode
- Python Code Formatting Guide: PEP8
- Python for data analysis: how to do it and main libraries
- Python Lessons
- Python Superstar: 5 Ways to Use the * Operator
- Python vs. Julia: Should You Replace Python with Julia?
R
S
- SFML Graphics Library Tutorials
- Sorting Algorithms in Programming: Types, Descriptions, and Comparisons
- SQL commands: see what they are, what the main ones are + examples
- SQL Interview Questions and Tasks
- SQL Lessons
- SQL Stored Procedures
- SQL Syntactic Sugar: The COALESCE Function
- Stack
- Start in analytics: Python or R
- Statistical analysis: importance for decision making.
- String formatting in Python
- Structure of computer science
- Swift Lessons
- switch/match construct
- Syntax
T
- Terms in programming
- Text and paragraph formatting tags
- The concept of information and its transmission
- The Future of Python: Key Trends and Insights from Global Researc
- The Infrastructure of Code: A Complete Guide to Repositories for Languages, Frameworks, and Compilers
- The pip package manager in Python
- The role of informatization in the development of society
- Transfers
- Tutorials / Articles
- TypeScript: What It Is and Why Developers Need It
W
- What are databases, and why do they need DBMS and SQL?
- What do Linux distributions consist of?
- What is .NET and what is it used for?
- What is a GPU in a computer, in simple terms?
- What is a quantum computer: 100,500 problems in one second
- What is Arduino: How it Works and the Platform's Capabilities
- What is Big Data? Introduction, Types, Characteristics, and Examples
- What is Golang and what is it used for?
- What is Haskell and what is it used for?
- What is Kotlin and what is it used for?
- What is Linux? The History of Linux
- What is machine learning, and how does it work?
- What is Power BI: everything about the data analytics software
- What is the C++ programming language?
- What is the OSI Model: A Complete Explanation of the Seven Layers and Their Role in Networking
- What's the difference between x86 and ARM processors?
- Where to start learning the C programming language?
- Which Linux distribution should you choose? A Linux distribution overview


















































