\( \newcommand{\abs}[1]{\left| \, {#1} \, \right| } \) \( \newcommand{\cm}{\mathrm{cm} } \) \( \newcommand{\sec}{\mathrm{sec} } \) \( \newcommand{\vhat}[1]{\,\hat{#1}} \) \( \newcommand{\vhati}{\,\hat{i}} \) \( \newcommand{\vhatj}{\,\hat{j}} \) \( \newcommand{\vhatk}{\,\hat{k}} \) \( \newcommand{\vect}[1]{\boldsymbol{\vec{#1}}} \) \( \newcommand{\norm}[1]{\|{#1}\|} \) \( \newcommand{\arccot}{\mathrm{arccot} } \) \( \newcommand{\arcsec}{\mathrm{arcsec} } \) \( \newcommand{\arccsc}{\mathrm{arccsc} } \) \( \newcommand{\sech}{\mathrm{sech} } \) \( \newcommand{\csch}{\mathrm{csch} } \) \( \newcommand{\arcsinh}{\mathrm{arcsinh} } \) \( \newcommand{\arccosh}{\mathrm{arccosh} } \) \( \newcommand{\arctanh}{\mathrm{arctanh} } \) \( \newcommand{\arccoth}{\mathrm{arccoth} } \) \( \newcommand{\arcsech}{\mathrm{arcsech} } \) \( \newcommand{\arccsch}{\mathrm{arccsch} } \)

17Calculus - Substitution Technique for Solving Differential Equations

1st Order

2nd/Higher Order

Laplace Transforms

Applications

Additional Topics

Tools

Calculus Tools

Additional Tools

Articles

Sometimes we can solve a differential equation by using substitution and changing the variables. This changes the equation into one where we can use a technique we learned previously. There are several different kinds of substitutions that can be done. Let's get started with the easiest where the substitution is given in the problem statement.

Alternate Name For Substitution - Change of Variables

Given in the Problem Statement

This, of course, is the easiest kind of substitution you can have. You don't have to analyze or classify the differential equation and then make a determination of what type of substitution will help transform the equation into one that you can solve. The thing to remember here is to make sure and take the derivative of the substitution and substitute for the differentials based on what you are given. For example, if your original variable is x and the new one is t, you can't just say that \(dx = dt\). You need to calculate \(dt\) based on your equation. (You probably remember this from integration by substitution. The same rule applies here.)

Here is a video showing this technique with an example and lots of detail. This is great place to start to understand what is involved with the technique of substitution.

Dr Chris Tisdell - substitution technique [8mins-14secs]

video by Dr Chris Tisdell

Okay, after watching that video, you should have a clue what substitution is about and how to accomplish it. Although this technique is not complicated, let's work some practice problems, before we go on.

Instructions - - Unless otherwise instructed, solve these differential equations using the indicated substitution. Give your answers in exact form.

\(\displaystyle{ x\frac{dy}{dx} + y = xy^2 }\); \( y = 1/v \)

Problem Statement

\(\displaystyle{ x\frac{dy}{dx} + y = xy^2 }\); \( y = 1/v \)

Solution

580 video

close solution
\( y' = x + y \); \( u = x + y \)

Problem Statement

\( y' = x + y \); \( u = x + y \)

Solution

643 video

video by Krista King Math

close solution

The trick now is to learn how to choose a substitution on your own, based on what the differential equation looks like.

Basic \(v=y'\)

In the special case when you have a second order equation with the dependent variable missing, you can use the substitution \(v=y'\) to reduce it to a first order equation, find \(v\) and then integrate to get \(y\). This technique can be used to solve these practice problems.

Instructions - - Unless otherwise instructed, solve these differential equations using the substitution \(v=y'\). Give your answers in exact form.

\( y'' + y' = t \)

Problem Statement

\( y'' + y' = t \)

Final Answer

\( y = t^2/2 - t - c_1e^{-t} + c_2 \)

Problem Statement

\( y'' + y' = t \)

Solution

Let \(w=y'\) and so \(w'=y''\).
\(y''+y'=t \to w'+w=t\)
This equation is now first-order, linear. So we can use an integrating factor.
\(\mu=exp \int{1~dt} = e^t \)
\(\displaystyle{ \frac{d}{dt}[we^t] = te^t }\)
\(we^t = \int{ te^t~dt}\)
Now we use integration by parts on the integral.
\(u=t \to du=dt\) and \(dv=e^tdt \to v=e^t\)
\(\begin{array}{rcl} we^t &=& te^t-\int{e^t~dt} \\ &=& te^t-e^t+c_1 \\ w &=& t-1+c_1e^{-t} \\ y' &=& t-1+c_1e^{-t} \\ y &=& \int{t-1+c_1e^{-t}~dt} \\ y &=& t^2/2-t-c_1e^{-t}+c_2 \end{array}\)

Final Answer

\( y = t^2/2 - t - c_1e^{-t} + c_2 \)

close solution
\( ty'' - 2y' = 12t^2 \); \(t > 0\)

Problem Statement

\( ty'' - 2y' = 12t^2 \); \(t > 0\)

Final Answer

\( y = 4t^3\ln t + kt^3 + c \)

Problem Statement

\( ty'' - 2y' = 12t^2 \); \(t > 0\)

Solution

Let \(w=y'\), so \(w'=y''\).
\(ty''-2y'=12t^2 \to tw'-2w=12t^2 \to \) \(w'-(2/t)w=12t\)
This last equation is first-order, linear, so we can use an integrating factor.
\(\mu=exp \int{-2/t~dt} = e^{-2\ln t}=t^{-2}\)
\(\displaystyle{ \frac{d}{dt}[t^{-2}w] = 12/t }\)

\( t^{-2}w = 12\ln t + c_1 \)

\( w = 12t^{2}\ln t+c_1t^2 \)

\( y = \int{ 12t^2 \ln t+c_1t^2~dt} \)

\(\displaystyle{ y = 12\left[ \frac{t^3}{3}\ln t - \int{t^2 / 3 ~dt} \right] + c_1(t^3)/3 }\)

\( y = 4t^3\ln t - 4t^3/3 +c_1t^3/3+c_2 \)

\( y = 4t^3\ln t + kt^3+c \)

Notes:
1. We used integration by parts on the integral \(\int{t^2\ln t~dt}\) letting
\(u=\ln t \to du=(1/t)dt\) and \(dv=t^2~dt \to v=t^3/3\).
2. In the last step, we combined the \(t^3\) terms and replaced the constant. This was not necessary but it made the final answer more compact and easier to read. Doing this step would also allow us to more easily determine the particular solution, if initial conditions had been given.

Final Answer

\( y = 4t^3\ln t + kt^3 + c \)

close solution

Scaling

Sometimes we may just want to scale the equation to make it easier to work with or make it dimensionless. In order to do that, we use these substitutions.

\(x_1 = x/a\)

\(y_1 = y/b\)

where x and y are the old variables

\(x_1\) and \(y_1\) are the new variables, and

a and b are constants

Let's watch a video clip, discussing this in detail.

MIT OCW - introduction to substitution and scaling [14mins-18secs]

video by MIT OCW

Homogeneous ODEs

These first order, linear differential equations can be written in the form, \(y' = f(y/x)\), which should make it obvious that the substitution we use is \(z=y/x\). This is the most common form of substitution taught in first year differential equations. Let's watch a video clip discussing this.

MIT OCW - Homogenous ODEs [24mins-53secs]

video by MIT OCW

Now try solving these homogeneous ODEs.

\(\displaystyle{ \frac{dy}{dx} = \frac{x^2+y^2}{2x^2} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{x^2+y^2}{2x^2} }\)

Solution

579 video

close solution
\(\displaystyle{ \frac{dy}{dx} = \frac{x+y}{x} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{x+y}{x} }\)

Solution

644 video

video by Khan Academy

close solution
\(\displaystyle{ \frac{dy}{dx} = \frac{y^2-x^2}{xy} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{y^2-x^2}{xy} }\)

Solution

575 video

video by PatrickJMT

close solution
\(\displaystyle{ \frac{dy}{dx} = \frac{y^3+y^2x+yx^2}{yx^2} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{y^3+y^2x+yx^2}{yx^2} }\)

Solution

576 video

video by PatrickJMT

close solution
\(\displaystyle{ \frac{dy}{dx} = \frac{y^4+yx^3}{x^4} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{y^4+yx^3}{x^4} }\)

Solution

577 video

video by PatrickJMT

close solution
\(\displaystyle{ \frac{dy}{dx} = \frac{x^2+3y^2}{2xy} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{x^2+3y^2}{2xy} }\)

Solution

645 video

video by Khan Academy

close solution
\(\displaystyle{ \frac{dy}{dx} = \frac{y^3+2y^2x-yx^2}{yx^2+x^3} }\)

Problem Statement

\(\displaystyle{ \frac{dy}{dx} = \frac{y^3+2y^2x-yx^2}{yx^2+x^3} }\)

Solution

578 video

video by PatrickJMT

close solution

Cauchy-Euler Equation

When you have an equation of the form \(\displaystyle{ x^2\frac{d^2y}{dx^2} + ax\frac{dy}{dx} + by = 0, ~~~ x > 0 }\), where a and b are constants, you have an Cauchy-Euler equation. One substitution that works here is to let \(t = \ln(x)\). This substitution changes the differential equation into a second order equation with constant coefficients. We discuss this in more detail on a separate page.

As you can tell from the discussion above, there are many types of substitution problems, each with its own technique. We have touched on only a few here. Go through your textbook or search the internet and see if you can find others. If you need a good differential equations textbook, you can find several options at the 17calculus bookstore.

You CAN Ace Differential Equations

To bookmark this page and practice problems, log in to your account or set up a free account.

Calculus Topics Listed Alphabetically

Single Variable Calculus

Multi-Variable Calculus

Differential Equations Topics Listed Alphabetically

Precalculus Topics Listed Alphabetically

Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.

calculus motivation - music and learning

Get great tutoring at an affordable price with Chegg. Subscribe today and get your 1st 30 minutes Free!

The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free.

Do NOT follow this link or you will be banned from the site!

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.

Links and banners on this page are affiliate links. We carefully choose only the affiliates that we think will help you learn. Clicking on them and making purchases help you support 17Calculus at no extra charge to you. However, only you can decide what will actually help you learn. So think carefully about what you need and purchase only what you think will help you.

We use cookies on this site to enhance your learning experience.

17calculus

Copyright © 2010-2020 17Calculus, All Rights Reserved     [Privacy Policy]     [Support]     [About]

mathjax.org
Real Time Web Analytics
17Calculus
We use cookies to ensure that we give you the best experience on our website. By using this site, you agree to our Website Privacy Policy.