JustToThePoint English Website Version
JustToThePoint en español

Bernoulli Differential Equations: Methods and Solved Exercises

I have yet to see any problem, however complicated, which, when looked at in the right way did not become still more complicated, Paul Anderson.

Recall. Algebraic and differential equations.

An algebraic equation is a mathematical statement asserting that two algebraic expressions are equal.. These expressions are constructed using:

  1. Dependent and independent variables. Variables are symbols representing unknown quantities. Variables can be:
    Independent Variables: Variables or input that can be chosen (or change) freely.
    Dependent Variables: Variables that depend on the independent variables.
  2. Constants. Fixed numerical values that do not change, e.g., 2, π, 7.
  3. Algebraic operations. Operations such as addition, subtraction, multiplication, division, exponentiation, powers, and root.

An algebraic equation typically has the following general form: Expression1 = Expression2, where the two expressions are set equal to each other.

Examples: y = 2x + 4 (simple linear equation, represents a straight line with a slope of 2 and a y-intercept of 4), ax2 + bx + c = 0 (quadratic equation, it represents a parabola), $ln(xy + t) = z·sin(\sqrt{x})$.

Definition. A differential equation is an equation that involves one or more functions and their derivatives. It relates the function itself (the dependent variable), its derivatives with respect to one or more independent variables (rates of change), and the independent variable(s) themselves, e.g., $\frac{dy}{dx} = 3x +5y, y' + y = 4xcos(2x), \frac{dy}{dx} = x^2y+y, etc.$

If an algebraic equation is a “snapshot” of a relationship, a differential equation is the “instruction manual” for how that relationship moves and changes.

Key Components (e.g., $\frac{dy}{dx} = 3x +5y$):

Separation of Variables

Separable differential equations are a special class of differential equations that can be manipulated algebraically to separate the variables, allowing us to integrate and find solutions.

A separable differential equation is any differential equation that can be written in the form $\frac{dy}{dx}=f(x)g(y)$. This form allows us to separate the variables x and y on opposite sides of the equation, facilitating integration.

Steps to Solve Separable Differential Equations

  1. Check for any values of y that make g(y) = 0. These correspond to constant (equilibrium) solutions where $\frac{dy}{dx} = 0$.
  2. Rewrite the equation to isolate y terms on one side and x terms on the other: $\frac{dy}{g(y)} = f(x)dx$
  3. Integrate both sides of the equation: $\int \frac{dy}{g(y)} = \int f(x)dx$
  4. Solve the resulting equation for y if possible to find the general solution.
  5. If an initial condition (e.g., x0 = y0) is provided, substitute x0 and y0 into the general solution and solve for the constant of integration C.

Bernoulli Equations

Bernoulli Equations

A Bernoulli equation is a classic first-order nonlinear ordinary differential equation (ODE). It holds a special place in differential calculus because it is one of the few nonlinear forms that can be reliably transformed into a linear equation through a specific change of variables.

Definition. A Bernoulli equation is a first-order ODE that can be written in the standard form: y' + A(x)y = B(x)yr where:

Special cases:

When r ≠ 0, 1, the equation is nonlinear (the y’’ terms makes the equation nonlinear), and it requires a special technique to solve, involving a substitution to transform it into a linear equation.

How to solve a Bernoulli equation

Method 1: The Standard Textbook Substitution

Step 1: Divide by $y^r$
Divide the entire standard Bernoulli equation by $y^r$ to move the nonlinearity to the left side:
$y^{-r}y' + A(x)y^{1-r} = B(x)$

Step 2: Apply the Substitution
Introduce a new variable $v$ defined as: $v = y^{1-r}$
Differentiate $v$ with respect to $x$ using the chain rule: $v' = (1-r)y^{-r}y' \implies y^{-r}y' = \frac{v'}{1-r}$

Step 3: Substitute and Transform into a Linear ODE
Substitute $v$ and $y^{-r}y'$ back into the equation from Step 1: $\frac{v'}{1-r} + A(x)v = B(x)$
Multiply by $(1-r)$ to write it in the standard linear form: $\boxed{v' + (1-r)A(x)v = (1-r)B(x)}$
This is now a standard first-order linear ODE in terms of $v$, which can be solved using the standard Integrating Factor method.

Step 4: Solve and Back-Substitute
Once you find the solution for $v(x)$, replace $v$ with $y^{1-r}$ to find the final general solution for $y$.

Method 2: The Homogeneous Solution Substitution

This alternative approach relies on finding the solution to the associated homogeneous equation first.

Step 1: Write the Equation in Standard Form. Ensure the equation is in the standard Bernoulli form: $y' + A(x)y = B(x)y^r$

Step 2. Solve the Associated Homogeneous Linear Equation

Consider the associated homogeneous linear equation: y’ + A(x)y = 0. Basically, we ignore the right side for a moment and consider y’ + A(x)y = 0. This is a linear first-order ODE and can be solved using separation of variables:

  1. Rearrange: $y' = -A(x)y$
  2. Separate the variables: $\frac{dy}{y} = -A(x)dx$.
  3. Integrate both sides: $\int \frac{dy}{y} = \int -A(x)dx ⇒ ln|y| = \int -A(x)dx + C_1$
  4. Taking exponentials on both sides and solve for y: $|y| = e^{\int -A(x)dx + C_1} = C_2e^{\int -A(x)dx}⇒ y = ±C_2e^{\int -A(x)dx} = Ce^{\int -A(x)dx}$ where C = ±C2.

We denote the solution of the homogeneous equation as y0: $y_0 = Ce^{\int -A(x)dx}$. For simplicity, we drop the constant to find the base solution: $y_0 = e^{\int -A(x)dx}$. By definition this $y_0$ satisfies $y_0' +A(x)y'_0 = 0$

Step 3: Use the Substitution y = y0z

Let $y = y_0z$, where z is an unknown function of x.

Differentiate using the product rule: $y' = y_0'z + y_0z'$.

Plug y and y’ into $y' + A(x)y = B(x)y^r$: $(y_0'z + y_0z') + A(x)(y_0z) = B(x)(y_0z)^r$

Step 4. Simplify the Equation.

Factor out $z$ on the left side: $z(y_0' + A(x)y_0) + y_0z' = B(x)y_0^r z^r$

Because $y_0$ is the solution to the homogeneous equation, the term in the parentheses is exactly zero ($y_0' + A(x)y_0 = 0$). The equation simplifies to: $y_0z' = B(x)y_0^r z^r$

Step 5: Separate Variables and Solve

Divide to isolate $z'$: $\boxed{z' = B(x)y_0^{r-1} z^r}$

This equation is now fully separable: $\frac{dz}{z^r} = B(x)y_0^{r-1}dx$

Integrate both sides to find $z$, then backtrack using $y = y_0z$ to find your final answer.

Bernoulli equations

Exercises

  1. Identify parameters:
    This is a Bernoulli equation where $A(x) = \frac{1}{x}$, $B(x) = x$, and $r = 2$.

  2. Divide by $y^2$: $y^{-2}y' + \frac{1}{x}y^{-1} = x$

  3. Apply the substitution $v = y^{1-r}$:
    Let $v = y^{1-2} = y^{-1}$. Then, $v' = -y^{-2}y'$, which means $y^{-2}y' = -v'$.

  4. Substitute into the equation: $-v' + \frac{1}{x}v = x \implies v' - \frac{1}{x}v = -x$
    We now have a linear ODE.

  5. Solve using an Integrating Factor ($\mu$): $\mu(x) = e^{\int -\frac{1}{x}dx} = e^{-\ln x} = x^{-1} = \frac{1}{x}$.
    Multiply the entire linear equation by $\mu(x)$: $\frac{1}{x}v' - \frac{1}{x^2}v = -1$
    The left side is the exact derivative of $(\mu \cdot v)$: $\frac{d}{dx}\left(\frac{1}{x}v\right) = -1$
    Integrate both sides: $\frac{1}{x}v = -x + C \implies v = -x^2 + Cx$

  6. Back-substitute $v = y^{-1}$:
    $y^{-1} = -x^2 + Cx \implies \frac{1}{y} = Cx - x^2$.
    $\boxed{y = \frac{1}{Cx - x^2}}$. This is the general solution to the differential equation.

Step 1. Identify the standard form. A Bernoulli differential equation is a first-order non-linear equation of the form: $y' + P(x)y = Q(x)y^n$.
The given equation is already in standard form, y’ + A(x)y = B(x)yr where A(x) = −1 B(x) = x, and r = 2

Step 2: Solve the associated Homogeneous Equation.
Set the right side to zero: y’ -y = 0 ⇒[Rearrange] y’ = y ⇒[Separate variables] $\frac{dy}{y} = dx ⇒[\text{Integrate both sides}] \int \frac{dy}{y} = \int 1·dx ⇒ ln|y| = x + C ⇒[\text{Taking the exponential of both sides}] |y| = e^{x+C} = C_1e^x$. For our substitution, we just need one basic solution. Let’s denote this base solution as $y_0 = e^x$.

Step 3: Substitute $y = y_0 z$ into the original equation.
Let $y = e^x z$. Taking the derivative using the Product Rule gives: $y' = z'e^x + ze^x$.
Now, substitute $y$ and $y'$ into the original equation $y' - y = xy^2$: $(z'e^x + ze^x) - (e^x z) = x(e^x z)^2$
Simplify the left side (the $ze^x$ terms cancel out, which always happens with this method): $z'e^x = xz^2e^{2x}$
Multiply both sides by $e^{-x}$ to isolate $z'$: $z' = xz^2e^x$

Step 4: Solve the new separable equation for $z$.
$\frac{dz}{dx} = xz^2e^x \implies \frac{dz}{z^2} = xe^x \, dx$
Integrate both sides: $\int z^{-2} \, dz = \int xe^x \, dx$.
Integration by parts for $\int xe^x dx$: Let $u = x \implies du = dx$. Let $dv = e^x dx \implies v = e^x$.
Then, $\int u \, dv = uv - \int v \, du = xe^x - \int e^x dx = xe^x - e^x$

Applying the integration result: $-\frac{1}{z} = xe^x - e^x + c$. Solve for $z$: $z = \frac{-1}{xe^x - e^x + c}$

Step 5: Back-substitute to find $y$.
Recall $y = e^x z$. $y = e^x \left( \frac{-1}{xe^x - e^x + c} \right) = \frac{-e^x}{e^x(x - 1 + ce^{-x})}$
Cancel $e^x$ from the top and bottom: $y = \frac{-1}{x - 1 + ce^{-x}}$
To make it look cleaner, multiply numerator and denominator by $-1$ and let $C = -c$: $y = \boxed{\frac{1}{1 - x + Ce^{-x}}}$

Step 1: Identify the standard form.
To solve the differential equation $y' + \frac{y}{x} = x^3y^3$ we recognize it as a Bernoulli equation of the form: y′ + P(x)y = Q(x)yn where P(x) = 1⁄x, Q(x) = x3 and n = 3.
The given equation is already in standard form.

Step 2: Solve the associated Homogeneous Equation.
Consider the associated homogeneous equation: $y' + \frac{y}{x} = 0 ⇒[\text{Separate variables:}] y' = \frac{-y}{x} ⇒\frac{dy}{y} = \frac{-dx}{x} ⇒[\text{Integrate both sides}] \int \frac{dy}{y} = \int \frac{-dx}{x} ⇒ ln|y| = -ln|x| + C$.
Assumption: Based on typical initial conditions for this type of problem, assume $x > 0$ and $y > 0$. This allows us to drop the absolute value bars.
$ln(y) = -ln(x) + C \implies ln(y) = ln(\frac{1}{x}) + C \implies [\text{Taking exponentials}] y = e^{ln(\frac{1}{x}) + C} = e^C\frac{1}{x}$
For simplicity, we choose the base solution $y_0 = \frac{1}{x}$.

Step 3: Substitute $y = y_0 z = \frac{z}{x}$ into the original equation $y' + \frac{y}{x} = x^3y^3$.
Taking the derivative (using the Quotient Rule): $y' = \frac{z'x - z(1)}{x^2} = \frac{z'}{x} - \frac{z}{x^2}$.
$\frac{z'}{x}-\frac{z}{x^2}+\frac{z}{x^2} = x^3\frac{z^3}{x^3} ⇒[\text{Simplify the terms}] \frac{z'}{x} = z^3$

Step 4: Solve the new separable equation for $z$.
$[\text{Separate variables}] \frac{dz}{z^3} = xdx \implies [\text{Integrate both sides}] \int \frac{dz}{z^3} = \int xdx \implies \frac{-1}{2z^2} = \frac{x^2}{2} + C$
$\implies [\text{Multiply by 2}] \frac{-1}{z^2} = x^2 + 2C ⇒ z^2 = \frac{1}{-2C-x^2}⇒[z^2 ≥ 0, \text{the denominator must be strictly positive}] z = \frac{1}{\sqrt{K-x^2}}$ where K = -2C

Step 5: Back-substitute to find $y$.
$y = \frac{1}{x\sqrt{K - x^2}}$ where K = -2C is a constant determined by initial conditions.

Step 1: Rewrite the Equation in Standard Form
The given differential equation is: $\frac{dy}{dx} = \sqrt{y}-y$. We can rearrange it to bring all terms involving y to one side: $\frac{dy}{dx} + y = \sqrt{y}$.

Step 2: Recognize the Bernoulli Equation
A Bernoulli equation is a first-order differential equation of the form: y’ + P(x)y = Q(x)yr where P(x) = 1, Q(x) = 1, and r is any real number, r = 1⁄2.

Step 3: Make the Appropriate Substitution
Instead of finding the homogeneous solution, we will use the standard formulaic substitution v = $y^{1-r} = y^{1-\frac{1}{2}} = y^\frac{1}{2} ⇒ y = v^2$.
Differentiate both sides with respect to x using the Chain Rule: $\frac{dy}{dx} = 2v\frac{dv}{dx}$

Step 4: Substitute Back into the Original Equation
Our equation is now: $2v\frac{dv}{dx}+v^2 = v↭[\text{Let's divide by 2v}] \frac{dv}{dx}+ \frac{1}{2}v = \frac{1}{2}$. This is now a first-order linear ordinary differential equation $\frac{dv}{dx}+Pv = Q$ where P(x) = 1/2 and Q(x) = 1/2.

Step 5: Find the Integrating Factor: $μ = e^{\int P(x)dx} =e^{\int \frac{1}{2}dx} = e^{\frac{1}{2}x}$

Step 6. Solve using an Integrating Factor.
Multiply both sides of the linear equation by $e^{\frac{1}{2}x}$: $e^{\frac{1}{2}x}\frac{dv}{dx} + e^{\frac{1}{2}x}\frac{1}{2}v = \frac{1}{2}e^{\frac{1}{2}x} ↭ \frac{d}{dx}(e^{\frac{1}{2}x}·v) = \frac{1}{2}e^{\frac{1}{2}x}$
$[\text{Integrating both sides with respect to x}] e^{\frac{1}{2}x}·v = \int \frac{1}{2}e^{\frac{1}{2}x}dx$.
$e^{\frac{1}{2}x}·v = e^{\frac{1}{2}·x} + C ↭ [\text{Divide by } e^{\frac{1}{2}·x} \text{and solve for v}] v = 1 + Ce^{\frac{-1}{2}x}$

Step 7. Back-substitute $v = y^{\frac{1}{2}}$. Then, $\sqrt{y} = 1 + Ce^{\frac{-1}{2}x}$

Step 8. Apply Initial conditions y(0) = 9, $\sqrt{9} = 1 + Ce^{\frac{-1}{2}0}↭ 3 = 1 + C ⇒ C = 2$. Then, $\sqrt{y} = 1 + 2e^{\frac{-1}{2}x}$
Square both sides to get the final explicit solution for $y$: $y = \left(1 + 2e^{-\frac{1}{2}x}\right)^2$∎

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. YouTube’s Andrew Misseldine: Calculus. College Algebra and Abstract Algebra.
  8. MIT OpenCourseWare, 18.01 Single Variable Calculus, Fall 2007M. 18.02 Multivariable Calculus, Fall 2007. 18.03 Differential Equations, Spring 2006.
  9. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2026 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.