If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

To log in and use all the features of Khan Academy, please enable JavaScript in your browser.

AP®︎/College Calculus AB

Course: ap®︎/college calculus ab   >   unit 7, separable equations introduction.

  • Addressing treating differentials algebraically
  • Separable differential equations
  • Separable differential equations: find the error
  • Worked example: separable differential equations
  • Worked example: identifying separable equations
  • Identifying separable equations
  • Identify separable equations

differential equations by separation of variables homework

Want to join the conversation?

  • Upvote Button navigates to signup page
  • Downvote Button navigates to signup page
  • Flag Button navigates to signup page

Incredible Answer

Video transcript

Introduction

A differential equation is an equation involving derivatives.

Solving them is an art, like integrating.

Integration can be used directly to solve some differential equations.

15.1 Definition

15.2 Separation of Variables

Module 4: Differential Equations

Separation of variables, learning outcomes.

  • Use separation of variables to solve a differential equation
  • Solve applications using separation of variables

We start with a definition and some examples.

A separable differential equation is any equation that can be written in the form

The term ‘separable’ refers to the fact that the right-hand side of the equation can be separated into a function of [latex]x[/latex] times a function of [latex]y[/latex]. Examples of separable differential equations include

The second equation is separable with [latex]f\left(x\right)=6{x}^{2}+4x[/latex] and [latex]g\left(y\right)=1[/latex], the third equation is separable with [latex]f\left(x\right)=1[/latex] and [latex]g\left(y\right)=\sec{y}+\tan{y}[/latex], and the right-hand side of the fourth equation can be factored as [latex]\left(x+3\right)\left(y - 2\right)[/latex], so it is separable as well. The third equation is also called an autonomous differential equation because the right-hand side of the equation is a function of [latex]y[/latex] alone. If a differential equation is separable, then it is possible to solve the equation using the method of separation of variables .

Problem-Solving Strategy: Separation of Variables

  • Check for any values of [latex]y[/latex] that make [latex]g\left(y\right)=0[/latex]. These correspond to constant solutions.
  • Rewrite the differential equation in the form [latex]\frac{dy}{g\left(y\right)}=f\left(x\right)dx[/latex].
  • Integrate both sides of the equation.
  • Solve the resulting equation for [latex]y[/latex] if possible.
  • If an initial condition exists, substitute the appropriate values for [latex]x[/latex] and [latex]y[/latex] into the equation and solve for the constant.

Note that Step 4. states “Solve the resulting equation for [latex]y[/latex] if possible.” It is not always possible to obtain [latex]y[/latex] as an explicit function of [latex]x[/latex]. Quite often we have to be satisfied with finding [latex]y[/latex] as an implicit function of [latex]x[/latex].

Example: Using Separation of Variables

Find a general solution to the differential equation [latex]y^{\prime} =\left({x}^{2}-4\right)\left(3y+2\right)[/latex] using the method of separation of variables.

Follow the five-step method of separation of variables.

  • In this example, [latex]f\left(x\right)={x}^{2}-4[/latex] and [latex]g\left(y\right)=3y+2[/latex]. Setting [latex]g\left(y\right)=0[/latex] gives [latex]y=-\frac{2}{3}[/latex] as a constant solution.

Let [latex]u=3y+2[/latex]. Then [latex]du=3\frac{dy}{dx}dx[/latex], so the equation becomes

Now we use some logic in dealing with the constant [latex]C[/latex]. Since [latex]C[/latex] represents an arbitrary constant, [latex]3C[/latex] also represents an arbitrary constant. If we call the second arbitrary constant [latex]{C}_{1}[/latex], the equation becomes

Now exponentiate both sides of the equation (i.e., make each side of the equation the exponent for the base [latex]e[/latex]).

Again define a new constant [latex]{C}_{2}={e}^{{c}_{1}}[/latex] (note that [latex]{C}_{2}>0[/latex]):

This corresponds to two separate equations: [latex]3y+2={C}_{2}{e}^{{x}^{3}-12x}[/latex] and [latex]3y+2=\text{-}{C}_{2}{e}^{{x}^{3}-12x}[/latex]. The solution to either equation can be written in the form [latex]y=\frac{-2\pm {C}_{2}{e}^{{x}^{3}-12x}}{3}[/latex]. Since [latex]{C}_{2}>0[/latex], it does not matter whether we use plus or minus, so the constant can actually have either sign. Furthermore, the subscript on the constant [latex]C[/latex] is entirely arbitrary, and can be dropped. Therefore the solution can be written as

  • No initial condition is imposed, so we are finished.

Watch the following video to see the worked solution to Example: Using Separation of Variables

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “4.3.1” here (opens in new window) .

Use the method of separation of variables to find a general solution to the differential equation [latex]y^{\prime} =2xy+3y - 4x - 6[/latex].

First factor the right-hand side of the equation by grouping, then use the five-step strategy of separation of variables.

[latex]y=2+C{e}^{{x}^{2}+3x}[/latex]

Example: Solving an Initial-Value Problem

Using the method of separation of variables, solve the initial-value problem

  • In this example, [latex]f\left(x\right)=2x+3[/latex] and [latex]g\left(y\right)={y}^{2}-4[/latex]. Setting [latex]g\left(y\right)=0[/latex] gives [latex]y=\pm 2[/latex] as constant solutions.

To evaluate the left-hand side, use the method of partial fraction decomposition. This leads to the identity

Then integration becomes

Multiplying both sides of this equation by [latex]4[/latex] and replacing [latex]4C[/latex] with [latex]{C}_{1}[/latex] gives

Next we can remove the absolute value and let [latex]{C}_{2}[/latex] be either positive or negative. Then multiply both sides by [latex]y+2[/latex].

Now collect all terms involving y on one side of the equation, and solve for [latex]y\text{:}[/latex]

Therefore the solution to the initial-value problem is

A graph of this solution appears in Figure 1.

A graph of the solution over [-5, 3] for x and [-3, 2] for y. It begins as a horizontal line at y = -2 from x = -5 to just before -3, almost immediately steps up to y = 2 from just after x = -3 to just before x = 0, and almost immediately steps back down to y = -2 just after x = 0 to x = 3.

Figure 1. Graph of the solution to the initial-value problem [latex]y^{\prime} =\left(2x+3\right)\left({y}^{2}-4\right),y\left(0\right)=-3[/latex].

Find the solution to the initial-value problem

using the method of separation of variables.

Follow the steps for separation of variables to solve the initial-value problem.

[latex]y=\frac{4+14{e}^{{x}^{2}+x}}{1 - 7{e}^{{x}^{2}+x}}[/latex]

Applications of Separation of Variables

Many interesting problems can be described by separable equations. We illustrate two types of problems: solution concentrations and Newton’s law of cooling.

Solution concentrations

Consider a tank being filled with a salt solution. We would like to determine the amount of salt present in the tank as a function of time. We can apply the process of separation of variables to solve this problem and similar problems involving solution concentrations .

Example: Determining Salt Concentration over Time

A tank containing [latex]100\text{L}[/latex] of a brine solution initially has [latex]4\text{kg}[/latex] of salt dissolved in the solution. At time [latex]t=0[/latex], another brine solution flows into the tank at a rate of [latex]2\text{L/min}\text{.}[/latex] This brine solution contains a concentration of [latex]0.5\text{kg/L}[/latex] of salt. At the same time, a stopcock is opened at the bottom of the tank, allowing the combined solution to flow out at a rate of [latex]2\text{L/min}[/latex], so that the level of liquid in the tank remains constant (Figure 2). Find the amount of salt in the tank as a function of time (measured in minutes), and find the limiting amount of salt in the tank, assuming that the solution in the tank is well mixed at all times.

A diagram of a cylinder filled with water with input and output. It is a 100 liter tank which initially contains 4 kg of salt. The input is 0.5 kg salt / liter and 2 liters / minute. The output is 2 liters / minute.

Figure 2. A brine tank with an initial amount of salt solution accepts an input flow and delivers an output flow. How does the amount of salt change with time?

First we define a function [latex]u\left(t\right)[/latex] that represents the amount of salt in kilograms in the tank as a function of time. Then [latex]\frac{du}{dt}[/latex] represents the rate at which the amount of salt in the tank changes as a function of time. Also, [latex]u\left(0\right)[/latex] represents the amount of salt in the tank at time [latex]t=0[/latex], which is [latex]4[/latex] kilograms.

The general setup for the differential equation we will solve is of the form

INFLOW RATE represents the rate at which salt enters the tank, and OUTFLOW RATE represents the rate at which salt leaves the tank. Because solution enters the tank at a rate of [latex]2[/latex] L/min, and each liter of solution contains [latex]0.5[/latex] kilogram of salt, every minute [latex]2\left(0.5\right)=1\text{kilogram}[/latex] of salt enters the tank. Therefore INFLOW RATE = [latex]1[/latex].

To calculate the rate at which salt leaves the tank, we need the concentration of salt in the tank at any point in time. Since the actual amount of salt varies over time, so does the concentration of salt. However, the volume of the solution remains fixed at 100 liters. The number of kilograms of salt in the tank at time [latex]t[/latex] is equal to [latex]u\left(t\right)[/latex]. Thus, the concentration of salt is [latex]\frac{u\left(t\right)}{100}[/latex] kg/L, and the solution leaves the tank at a rate of [latex]2[/latex] L/min. Therefore salt leaves the tank at a rate of [latex]\frac{u\left(t\right)}{100}\cdot 2=\frac{u\left(t\right)}{50}[/latex] kg/min, and OUTFLOW RATE is equal to [latex]\frac{u\left(t\right)}{50}[/latex]. Therefore the differential equation becomes [latex]\frac{du}{dt}=1-\frac{u}{50}[/latex], and the initial condition is [latex]u\left(0\right)=4[/latex]. The initial-value problem to be solved is

The differential equation is a separable equation, so we can apply the five-step strategy for solution.

Step 1. Setting [latex]1-\frac{u}{50}=0[/latex] gives [latex]u=50[/latex] as a constant solution. Since the initial amount of salt in the tank is [latex]4[/latex] kilograms, this solution does not apply.

Step 2. Rewrite the equation as

Then multiply both sides by [latex]dt[/latex] and divide both sides by [latex]50-u\text{:}[/latex]

Step 3. Integrate both sides:

Step 4. Solve for [latex]u\left(t\right)\text{:}[/latex]

Eliminate the absolute value by allowing the constant to be either positive or negative:

Finally, solve for [latex]u\left(t\right)\text{:}[/latex]

Step 5. Solve for [latex]{C}_{1}\text{:}[/latex]

The solution to the initial value problem is [latex]u\left(t\right)=50 - 46{e}^{\frac{\text{-}t}{50}}[/latex]. To find the limiting amount of salt in the tank, take the limit as [latex]t[/latex] approaches infinity:

Note that this was the constant solution to the differential equation. If the initial amount of salt in the tank is [latex]50[/latex] kilograms, then it remains constant. If it starts at less than 50 kilograms, then it approaches 50 kilograms over time.

Watch the following video to see the worked solution to Example: Determining Salt Concentration over Time

You can view the transcript for this segmented clip of “4.3.2” here (opens in new window) .

A tank contains [latex]3[/latex] kilograms of salt dissolved in [latex]75[/latex] liters of water. A salt solution of [latex]0.4\text{kg salt/L}[/latex] is pumped into the tank at a rate of [latex]6\text{L/min}[/latex] and is drained at the same rate. Solve for the salt concentration at time [latex]t[/latex]. Assume the tank is well mixed at all times.

Follow the steps in the example: Determining Salt Concentration over Time and determine an expression for INFLOW and OUTFLOW. Formulate an initial-value problem, and then solve it.

Initial value problem:

[latex]\frac{du}{dt}=2.4-\frac{2u}{25},u\left(0\right)=3[/latex]

[latex]\text{Solution:}u\left(t\right)=30 - 27{e}^{\frac{\text{-}t}{50}}[/latex]

Newton’s law of cooling

Newton’s law of cooling states that the rate of change of an object’s temperature is proportional to the difference between its own temperature and the ambient temperature (i.e., the temperature of its surroundings). If we let [latex]T\left(t\right)[/latex] represent the temperature of an object as a function of time, then [latex]\frac{dT}{dt}[/latex] represents the rate at which that temperature changes. The temperature of the object’s surroundings can be represented by [latex]{T}_{s}[/latex]. Then Newton’s law of cooling can be written in the form

The temperature of the object at the beginning of any experiment is the initial value for the initial-value problem. We call this temperature [latex]{T}_{0}[/latex]. Therefore the initial-value problem that needs to be solved takes the form

where [latex]k[/latex] is a constant that needs to be either given or determined in the context of the problem. We use these equations in the next example.

Example: Waiting for a Pizza to Cool

A pizza is removed from the oven after baking thoroughly, and the temperature of the oven is [latex]350^\circ\text{F}\text{.}[/latex] The temperature of the kitchen is [latex]75^\circ\text{F}[/latex], and after [latex]5[/latex] minutes the temperature of the pizza is [latex]340^\circ\text{F}\text{.}[/latex] We would like to wait until the temperature of the pizza reaches [latex]300^\circ\text{F}[/latex] before cutting and serving it (Figure 3). How much longer will we have to wait?

A diagram of a pizza pie. The room temperature is 75 degrees, and the pizza temperature is 350 degrees.

Figure 3. From Newton’s law of cooling, if the pizza cools [latex]10^\circ\text{F}[/latex] in [latex]5[/latex] minutes, how long before it cools to [latex]300^\circ\text{F?}[/latex]

The ambient temperature (surrounding temperature) is [latex]75^\circ\text{F}[/latex], so [latex]{T}_{s}=75[/latex]. The temperature of the pizza when it comes out of the oven is [latex]350^\circ\text{F}[/latex], which is the initial temperature (i.e., initial value), so [latex]{T}_{0}=350[/latex]. Therefore our equation becomes

To solve the differential equation, we use the five-step technique for solving separable equations.

  • Setting the right-hand side equal to zero gives [latex]T=75[/latex] as a constant solution. Since the pizza starts at [latex]350^\circ\text{F}[/latex], this is not the solution we are seeking.

To determine the value of [latex]k[/latex], we need to use the fact that after [latex]5[/latex] minutes the temperature of the pizza is [latex]340^\circ\text{F}\text{.}[/latex] Therefore [latex]T\left(5\right)=340[/latex]. Substituting this information into the solution to the initial-value problem, we have

So now we have [latex]T\left(t\right)=75+275{e}^{-0.007408t}[/latex]. When is the temperature [latex]300^\circ\text{F?}[/latex] Solving for [latex]t[/latex], we find

Watch the following video to see the worked solution to Example: Waiting for a Pizza to Cool

A cake is removed from the oven after baking thoroughly, and the temperature of the oven is [latex]450^\circ\text{F}\text{.}[/latex] The temperature of the kitchen is [latex]70^\circ\text{F}[/latex], and after [latex]10[/latex] minutes the temperature of the cake is [latex]430^\circ\text{F}\text{.}[/latex]

  • Write the appropriate initial-value problem to describe this situation.
  • Solve the initial-value problem for [latex]T\left(t\right)[/latex].
  • How long will it take until the temperature of the cake is within [latex]5^\circ\text{F}[/latex] of room temperature?

Determine the values of [latex]{T}_{s}[/latex] and [latex]{T}_{0}[/latex] then use the example: Solving an Initial-Value Problem.

  • Initial-value problem [latex]\frac{dT}{dt}=k\left(T - 70\right),T\left(0\right)=450[/latex]
  • [latex]T\left(t\right)=70+380{e}^{kt}[/latex]
  • Approximately [latex]114[/latex] minutes.
  • 4.3.1. Authored by : Ryan Melton. License : CC BY: Attribution
  • 4.3.2. Authored by : Ryan Melton. License : CC BY: Attribution
  • Calculus Volume 2. Authored by : Gilbert Strang, Edwin (Jed) Herman. Provided by : OpenStax. Located at : https://openstax.org/books/calculus-volume-2/pages/1-introduction . License : CC BY-NC-SA: Attribution-NonCommercial-ShareAlike . License Terms : Access for free at https://openstax.org/books/calculus-volume-2/pages/1-introduction

Footer Logo Lumen Candela

Privacy Policy

Academia.edu no longer supports Internet Explorer.

To browse Academia.edu and the wider internet faster and more securely, please take a few seconds to  upgrade your browser .

Enter the email address you signed up with and we'll email you a reset link.

  • We're Hiring!
  • Help Center

paper cover thumbnail

Differential Equations by Separation of Variables -Classwork

Profile image of Charith Wickramasinghe

Related Papers

Isaac Mateo Garzón Muñoz

differential equations by separation of variables homework

Abdullah Aliemraan

1. Second order; linear 2. Third order; nonlinear because of (dy/dx) 4 3. Fourth order; linear 4. Second order; nonlinear because of cos(r + u) 5. Second order; nonlinear because of (dy/dx) 2 or 1 + (dy/dx) 2 6. Second order; nonlinear because of R 2 7. Third order; linear 8. Second order; nonlinear because of ˙ x 2 9. Writing the differential equation in the form x(dy/dx) + y 2 = 1, we see that it is nonlinear in y because of y 2. However, writing it in the form (y 2 − 1)(dx/dy) + x = 0, we see that it is linear in x. 10. Writing the differential equation in the form u(dv/du) + (1 + u)v = ue u we see that it is linear in v. However, writing it in the form (v + uv − ue u)(du/dv) + u = 0, we see that it is nonlinear in u. 11. From y = e −x/2 we obtain y = − 1 2 e −x/2. Then 2y + y = −e −x/2 + e −x/2 = 0. 12. From y = 6 5 − 6 5 e −20t we obtain dy/dt = 24e −20t , so that dy dt + 20y = 24e −20t + 20 6 5 − 6 5 e −20t = 24. 13. From y = e 3x cos 2x we obtain y = 3e 3x cos 2x − 2e 3x sin 2x and y = 5e 3x cos 2x − 12e 3x sin 2x, so that y − 6y + 13y = 0. 14. From y = − cos x ln(sec x + tan x) we obtain y = −1 + sin x ln(sec x + tan x) and y = tan x + cos x ln(sec x + tan x). Then y + y = tan x. 15. The domain of the function, found by solving x + 2 ≥ 0, is [−2, ∞). From y = 1 + 2(x + 2) −1/2 we have (y − x)y = (y − x)[1 + (2(x + 2) −1/2 ] = y − x + 2(y − x)(x + 2) −1/2 = y − x + 2[x + 4(x + 2) 1/2 − x](x + 2) −1/2 = y − x + 8(x + 2) 1/2 (x + 2) −1/2 = y − x + 8.

Arslan Shakeel

Jaime Andres Cerda Garrido

libro de ecuaciones diferenciales

MOHD DHAIBAN

Texts in Computational Science and Engineering

mario agustin ojeda galetto

RELATED PAPERS

Zachi Dvira

Monika Nabożny

Nicholas Ward

Human Ecology Review

Clare Cannon

Damian Sooklal

Ryan Kelsey

Xinting Liu

jorge zorrilla

JOURNAL OF CLINICAL AND DIAGNOSTIC RESEARCH

Prof. Dr. Yousif M . Y Abdallah

The British Journal for the History of Science

Matthew Adamson

Journal of Agricultural Studies

MAURO VALDIR SCHUMACHER

The Heart Surgery Forum

Ananda S Y A F A Sania

Mar greco-latino

Francisca Chaves Tristán

Fuel Processing Technology

Saeid Azizian

ghjfffd hhytfdf

Víctor René Navarro Machado

Ania Krajewska

The Review of Economic Studies

Simulated Evolution and Learning

Masoud Mohammadian

Hubert Witczak

  •   We're Hiring!
  •   Help Center
  • Find new research papers in:
  • Health Sciences
  • Earth Sciences
  • Cognitive Science
  • Mathematics
  • Computer Science
  • Academia ©2024

Separation of Variables

Separation of Variables is a special method to solve some Differential Equations

A Differential Equation is an equation with a function and one or more of its derivatives :

When Can I Use it?

Separation of Variables can be used when:

All the y terms (including dy) can be moved to one side of the equation, and

All the x terms (including dx) to the other side.

Three Steps:

  • Step 1 Move all the y terms (including dy) to one side of the equation and all the x terms (including dx) to the other side.
  • Step 2 Integrate one side with respect to y and the other side with respect to x . Don't forget "+ C" (the constant of integration).
  • Step 3 Simplify

Example: Solve this (k is a constant):

  dy dx = ky

Step 1 Separate the variables by moving all the y terms to one side of the equation and all the x terms to the other side:

Step 2 Integrate both sides of the equation separately:

C is the constant of integration. And we use D for the other, as it is a different constant.

Step 3 Simplify:

We have solved it:

This is a general type of first order differential equation which turns up in all sorts of unexpected places in real world examples.

We used y and x , but the same method works for other variable names, like this:

rabbits

Example: Rabbits!

The more rabbits you have the more baby rabbits you will get. Then those rabbits grow up and have babies too! The population will grow faster and faster.

The important parts of this are:

  • the population N at any time t
  • the growth rate r
  • the population's rate of change dN dt

The rate of change at any time equals the growth rate times the population:

But hey! This is the same as the equation we just solved! It just has different letters:

  • N instead of y
  • t instead of x
  • r instead of k

So we can jump to a solution:

And here is an example, the graph of N = 0.3e 2t :

There are other equations that follow this pattern such as continuous compound interest .

More Examples

OK, on to some different examples of separating the variables:

Example: Solve this:

dy dx = 1 y

We integrated both sides in the one line.

We also used a shortcut of just one constant of integration C. This is perfectly OK as we could have +D on one, +E on the other and just say that C = E−D.

Note: This is not the same as y = √(2x) + C, because the C was added before we took the square root. This happens a lot with differential equations. We cannot just add the C at the end of the process. It is added when doing the integration.

y = ±√(2(x + C))

A harder example:

dy dx = 2xy 1+x 2

Step 1 Separate the variables:

Multiply both sides by dx, divide both sides by y:

1 y dy = 2x 1+x 2 dx

∫ 1 y dy = ∫ 2x 1+x 2 dx

The left side is a simple logarithm, the right side can be integrated using substitution:

It is already as simple as can be. We have solved it:

y = k(1 + x 2 )

An even harder example: the famous Verhulst Equation

Example: Rabbits Again!

Remember our growth Differential Equation:

Well, that growth can't go on forever as they will soon run out of available food.

A guy called Verhulst included k (the maximum population the food can support) to get:

dN dt = rN(1−N/k)

The Verhulst Equation

Can this be solved?

Yes, with the help of one trick ...

Step 2 Integrate:

∫ 1 N(1−N/k) dN = ∫ r dt

Hmmm... the left side looks hard to integrate. In fact it can be done with a little trick from Partial Fractions ... we rearrange it like this:

Now it is a lot easier to solve. We can integrate each term separately, like this:

(Why did that become minus ln(k−N)? Because we are integrating with respect to N.)

We are getting close! Just a little more algebra to get N on its own:

And we have our solution:

N = k 1 + Ae −rt

Here is an example , the graph of 40 1 + 5e −2t

Library homepage

  • school Campus Bookshelves
  • menu_book Bookshelves
  • perm_media Learning Objects
  • login Login
  • how_to_reg Request Instructor Account
  • hub Instructor Commons

Margin Size

  • Download Page (PDF)
  • Download Full Book (PDF)
  • Periodic Table
  • Physics Constants
  • Scientific Calculator
  • Reference & Cite
  • Tools expand_more
  • Readability

selected template will load here

This action is not available.

Chemistry LibreTexts

Separation of Variables (Worksheet)

  • Last updated
  • Save as PDF
  • Page ID 38620

  • Nancy Levinger
  • Colorado State University

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

Name: ______________________________

Section: _____________________________

Student ID#:__________________________

Work in groups on these problems. You should try to answer the questions without referring to your textbook. If you get stuck, try asking another group for help.

Learning Objectives

  • Identify separable simple differential equations.
  • Solve separable differential equations and initial value problems.
  • Determine the interval(s) (with respect to the independent variable) on which a solution to a separable differential equation is defined.

The "separation of variables" is any of several methods for solving ordinary and partial differential equations, in which algebra allows one to rewrite an equation so that each of two variables occurs on a different side of an equation. The method of separation of variables is also used to solve a wide range of linear partial differential equations with boundary and initial conditions.

Separable Differential Equations

A separable differential equation is a differential equation whose algebraic structure permits the variables present to be separated in a particular way. For instance, consider the equation

\[\dfrac{dy}{dt} = t y.\]

We would like to separate the variables \(t\) and \(y\) so that all occurrences of \(t\) appear on the right-hand side, and all occurrences of \(y\) appears on the left and multiply \(dy/dt\). We may do this in the preceding differential equation by dividing both sides by \(y\):

\[\dfrac{1}{y} \dfrac{dy}{dt} = t. \]

Note particularly that when we attempt to separate the variables in a differential equation, we require that the left-hand side be a product in which the derivative \(dy/dt\) is one term. Not every differential equation is separable. For example, if we consider the equation

\[\dfrac{dy}{ dt} = t − y,\]

it may seem natural to separate it by writing

\[y + \dfrac{dy}{dt} = t.\]

As we will see, this will not be helpful since the left-hand side is not a product of a function of \(y\) with \(\frac{dy}{dt}\).

Which of the following differential equations are separable? If the equation is separable, write the equation in the revised form \(g(y) \dfrac{dy}{dt} = h(t).\)

  • \( \dfrac{dy}{dt} = −3y\)
  • \( \dfrac{dy}{dt}t = t y − y. \)
  • \( \dfrac{dy}{dt} = t + 1. \)
  • \( \dfrac{dy}{dt} = t^2 − y^2 .\)

Why do we include the term “\(+C\)” in the expression \[\int x\, dx = \dfrac{x^2}{2} + C?\]

Suppose we know that a certain function \(f\) satisfies the equation \[\int f'(x) \,dx = \int x\, dx.\] What can you conclude about \(f\)?

Answer the following question for this function of \(t\) and \(x\):

\[f(x, t) = e^{−3t} \cos(2x)\]

Which part(s) of \(f (x,t)\) vary with \(x\)?

Which part(s) of \(f(x,t)\) are constant when \(x\) is varied?

What is \( \dfrac{\partial f}{\partial x}\)?

If \(f (x,t) = a(x)b(t)\), using the definition of \(f(x,t)\) above, what is \(a(x)\)?

What is \(b(t)\)?

For any function defined as \(u(x, t) = X(x)T (t )\), write the general expression for \(\dfrac{\partial u}{ \partial x}\) in terms of \(u(x, t ) = X(x)T (t )\).

Similarly, how would you write \( \dfrac{\partial u}{\partial t}\) in terms of \(u(x, t ) = X(x)T(t)\)?

The equation for the vibration of a string is (\(x\) is the distance along the string and \(t\) is time)

\[\dfrac{\partial ^2u(x,t)}{\partial t^2}=\dfrac{1}{v^2}\dfrac{\partial ^2u(x,t)}{\partial x^2}\]

Given that \(u(x, t ) = X(x)T(t)\), the following questions will guide you through how to rewrite this equation in terms of only \(X(x)\) and \(T(t )\).

Rewrite the equation for the vibration of a string so that one side depends only on \(x\) and the other depends only on \(t\):

Since \(x\) and \(t\) vary independently, each side of the equation given above must be equal to a constant, the same constant. Set both sides equal to \(K\) (we call this the separation constant ) and rewrite it as two equations, one with only \(x\) and one with only \(t\):

By separating variables, we’ve managed to turn a partial differential equation in two variables into two differential equations, each with in one variable. This should be much easier to solve. What about \(u(x,t)\) makes separation of variables possible?

Using the answer to the above question, is \(u(x,t) = x e^{-3t} \cos (2x)\) separable? What about \(u(x,t) = e^{-ix} \cos \left(\dfrac{2x}{\pi t}\right)\)? Why or why not?

Library homepage

  • school Campus Bookshelves
  • menu_book Bookshelves
  • perm_media Learning Objects
  • login Login
  • how_to_reg Request Instructor Account
  • hub Instructor Commons

Margin Size

  • Download Page (PDF)
  • Download Full Book (PDF)
  • Periodic Table
  • Physics Constants
  • Scientific Calculator
  • Reference & Cite
  • Tools expand_more
  • Readability

selected template will load here

This action is not available.

Mathematics LibreTexts

5: Separation of Variables on Rectangular Domains

  • Last updated
  • Save as PDF
  • Page ID 8314

  • Niels Walet
  • University of Manchester

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

In this section we shall investigate two dimensional equations defined on rectangular domains. We shall either look at finite rectangles, when we have two space variables, or at semi-infinite rectangles when one of the variables is time. We shall study all three different types of partial differental equations: parabolic, hyperbolic and elliptical.

  • 5.1: Cookbook Let me start with a recipe that describes the approach to separation of variables, as exemplified in the following sections, and in later chapters.
  • 5.2: Parabolic Equation Parabolic PDEs are used to describe a wide variety of time-dependent phenomena, including heat conduction, and particle diffusion.
  • 5.3: Hyperbolic Equation Many of the equations of mechanics are hyperbolic and the model hyperbolic equation is the wave equation.  The solutions of hyperbolic equations are "wave-like". If a disturbance is made in the initial data of a hyperbolic differential equation, then not every point of space feels the disturbance at once.
  • 5.4: Laplace’s Equation Laplace's equation are the simplest examples of elliptic partial differential equations. The solutions of Laplace's equation are the harmonic functions, which are important in many fields of science, notably the fields of electromagnetism, astronomy, and fluid dynamics, because they can be used to accurately describe the behavior of electric, gravitational, and fluid potentials. In the study of heat conduction, the Laplace equation is the steady-state heat equation.
  • 5.5: More Complex Initial/Boundary Conditions It is not always possible on separation of variables to separate initial or boundary conditions in a condition on one of the two functions. We can either map the problem into simpler ones by using superposition of boundary conditions, a way discussed below, or we can carry around additional integration constants.
  • 5.6: Inhomogeneous Equations Inhomogeneous equations can often be solved (for constant coefficient PDEs, always be solved) by finding the fundamental solution (the solution for a point source), then taking the convolution with the boundary conditions to get the solution.

Thumbnail: A visualization of a solution to the two-dimensional heat equation with temperature represented by the third dimension. Imaged used wth permission (Public Domain; Oleg Alexandrov ). The heat equation is a parabolic partial differential equation that describes the distribution of heat (or variation in temperature) in a given region over time.

IMAGES

  1. Differential Equations

    differential equations by separation of variables homework

  2. Homework Helper

    differential equations by separation of variables homework

  3. differential equation solve by separation of variables

    differential equations by separation of variables homework

  4. Differential Equations Separation of Variables Activity Notes by Joan

    differential equations by separation of variables homework

  5. Differential equations by separation of variables homework by Rushing

    differential equations by separation of variables homework

  6. Separable Differential Equations Worksheet With Answers

    differential equations by separation of variables homework

VIDEO

  1. Solution of the Differential Equations (Separation of the Variables Method)

  2. Solving differential equations via separation of variables

  3. Differential Equation

  4. Differential equations

  5. Differential Equations: Separation of Variables #maths #mathematics

  6. First order differential equations Q&A

COMMENTS

  1. 8.3: Separable Differential Equations

    A separable differential equation is any equation that can be written in the form. y ′ = f(x)g(y). The term 'separable' refers to the fact that the right-hand side of Equation 8.3.1 can be separated into a function of x times a function of y. Examples of separable differential equations include. y ′ = (x2 − 4)(3y + 2) y ′ = 6x2 + 4x ...

  2. Separable differential equations (practice)

    Learn for free about math, art, computer programming, economics, physics, chemistry, biology, medicine, finance, history, and more. Khan Academy is a nonprofit with the mission of providing a free, world-class education for anyone, anywhere.

  3. PDF Di erential Equations & Separation of Variables

    Be able to verify that a given function is a solution to a di erential equation. Be able to solve rst-order separable equations by using the technique of separation of variables. Be able to solve initial-value problems for rst-order separable equations. PRACTICE PROBLEMS: 1.Verify that y = x2 + 1 is a solution to the di erential equation y dy dx

  4. Separable differential equations (article)

    Dividing both sides by 𝑔' (𝑦) we get the separable differential equation. 𝑑𝑦∕𝑑𝑥 = 𝑓 ' (𝑥)∕𝑔' (𝑦) To conclude, a separable equation is basically nothing but the result of implicit differentiation, and to solve it we just reverse that process, namely take the antiderivative of both sides. 1 comment.

  5. Separable equations introduction

    Separable equations introduction. "Separation of variables" allows us to rewrite differential equations so we obtain an equality between two integrals we can evaluate. Separable equations are the class of differential equations that can be solved using this method.

  6. PDF 18.03SCF11 text: Separation of Variables

    An equation is called separable when you can use algebra to separate the two variables, so that each is completely on one side of the equation. We illustrate with some examples. Example 1. Solve y' = x(y − 1) dy. Solution. We rewrite the equation as = x(y − 1). Then separate the dx variables dy = x dx. y − 1 Next we integrate both sides.

  7. 3.4: Separable Differential Equations

    Separable Differential Equations. A first order differential equation is separable if it can be written as. h(y)y ′ = g(x), where the left side is a product of y ′ and a function of y and the right side is a function of x. Rewriting a separable differential equation in this form is called separation of variables.

  8. Chapter 15: Differential Equations. Separation of Variables

    Chapter 15: Differential Equations. Separation of Variables: Introduction. A differential equation is an equation involving derivatives. Solving them is an art, like integrating. Integration can be used directly to solve some differential equations. Topics. 15.1 Definition.

  9. Separation of Variables

    The third equation is also called an autonomous differential equation because the right-hand side of the equation is a function of [latex]y[/latex] alone. If a differential equation is separable, then it is possible to solve the equation using the method of separation of variables. Problem-Solving Strategy: Separation of Variables. ...

  10. Differential Equations by Separation of Variables -Classwork

    Writing the differential equation in the form x(dy/dx) + y 2 = 1, we see that it is nonlinear in y because of y 2. However, writing it in the form (y 2 − 1)(dx/dy) + x = 0, we see that it is linear in x. 10. Writing the differential equation in the form u(dv/du) + (1 + u)v = ue u we see that it is linear in v.

  11. Solved Homework Set 4 1. Find the general solutions to the

    Advanced Math questions and answers. Homework Set 4 1. Find the general solutions to the following differential equations using separation of variables or the reverse product rule. Give a reason as to why you used the method you chose over the other dt dt =ysint dt ー=cos t dt 2. Solve the following differential equation in two ways: once ...

  12. Separation of Variables

    Step 1 Separate the variables: Multiply both sides by dx, divide both sides by y: 1 y dy = 2x 1+x2 dx. Step 2 Integrate both sides of the equation separately: ∫ 1 y dy = ∫ 2x 1+x2 dx. The left side is a simple logarithm, the right side can be integrated using substitution: Let u = 1 + x2, so du = 2x dx: ∫ 1 y dy = ∫ 1 udu.

  13. 4.6: PDEs, Separation of Variables, and The Heat Equation

    The method of separation of variables is to try to find solutions that are sums or products of functions of one variable. For example, for the heat equation, we try to find solutions of the form. u(x, t) = X(x)T(t). That the desired solution we are looking for is of this form is too much to hope for.

  14. Separation of variables

    In mathematics, separation of variables (also known as the Fourier method) is any of several methods for solving ordinary and partial differential equations, in which algebra allows one to rewrite an equation so that each of two variables occurs on a different side of the equation.. Solve proportional first order differential equation [citation needed] Solve linear first order differential ...

  15. Solved Use separation of variables to find implicit

    Question: Use separation of variables to find implicit solutions of the following differential equations. (a) dydx= (y-2) (y-4) (c) dydx=18y (y+2)3 (b) dydx= (y-1) (y2+1)y2+11y. Use separation of variables to find implicit solutions of the following differential equations. There are 4 steps to solve this one.

  16. 3.3: Separable differential Equations

    Equation \ref{eq3} is also called an autonomous differential equation because the right-hand side of the equation is a function of \(y\) alone. If a differential equation is separable, then it is possible to solve the equation using the method of separation of variables.

  17. Differential Equations

    Plug the product solution into the partial differential equation, separate variables and introduce a separation constant. This will produce two ordinary differential equations. Plug the product solution into the homogeneous boundary conditions. Note that often it will be better to do this prior to doing the differential equation so we can use ...

  18. Separation of Variables (Worksheet)

    The "separation of variables" is any of several methods for solving ordinary and partial differential equations, in which algebra allows one to rewrite an equation so that each of two variables occurs on a different side of an equation. The method of separation of variables is also used to solve a wide range of linear partial differential ...

  19. 5: Separation of Variables on Rectangular Domains

    The solutions of hyperbolic equations are "wave-like". If a disturbance is made in the initial data of a hyperbolic differential equation, then not every point of space feels the disturbance at once. 5.4: Laplace's Equation Laplace's equation are the simplest examples of elliptic partial differential equations.

  20. Solved Problem 2: Separation of Variables Find the IVP

    Step 1. Problem 2: Separation of Variables Find the IVP solution for the following differential equation by separation of variables: DE: 2tdy =y2(1+2t2)dt IC: y(1)=−1 Solution: a. Begin by separating the variables: dy = dt b. Integrate both sides. Don't forget the constant of integration!