Introduction to Differential Equations (College Board AP® Calculus AB)

Study Guide

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Modeling with differential equations

What is a differential equation?

  • A differential equation is simply an equation that contains derivatives

    • For example space fraction numerator d y over denominator d x end fraction equals 12 x y squared space is a differential equation

    • And so is space fraction numerator d squared x over denominator d t squared end fraction minus 5 fraction numerator d x over denominator d t end fraction plus 7 x equals 5 sin t

  • It is an equation that includes both variables and rates of change of those variables

What is a first order differential equation?

  • A first order differential equation is a differential equation that contains first derivatives but no second (or higher) derivatives

    • For example space fraction numerator d y over denominator d x end fraction equals 12 x y squared space is a first order differential equation

    • But space fraction numerator d squared x over denominator d t squared end fraction minus 5 fraction numerator d x over denominator d t end fraction plus 7 x equals 5 sin t space is not a first order differential equation

      • because it contains the second derivative fraction numerator d squared x over denominator d t squared end fraction

Why are differential equations useful for modeling?

  • Many quantities of interest in the real world involve rates of change

    • For example:

      • The rate of change of a population of animals in a geographic area

      • The rate of change of the number of people infected by a particular disease

      • The rate of change of the amount of medication in a person's bloodstream at different times after ingestion

      • The rate of change of velocity for a falling object

      • The rate of change of voltage across a component in an electrical circuit

  • If the relationship between quantities and their rates of change can be written as a differential equation

    • then solving the equation can allow us to predict the behavior of the quantities in the real world

General and particular solutions to differential equations

What is the difference between general and particular solutions for a differential equation?

  • The general solution to a differential equation may be thought of as 'every possible solution' to the differential equation

    • E.g. space y squared equals fraction numerator C minus x squared over denominator 4 end fraction is the general solution to fraction numerator d y over denominator d x end fraction equals negative fraction numerator x over denominator 4 y end fraction

      • C is an arbitrary constant (like a constant of integration)

    • The general solution is actually an infinite family of solutions

      • Each one corresponding to a different value of C

    • The graph of the solution will change depending on the value of C

      • This is shown in the diagram below:

A graph shows nested ellipses corresponding to the equation y² = (C - x²)/4 with different values of C (1, 4, 9), centered at the origin, with labeled x and y axes.
  • The particular solution to a differential equation is

    • the specific member of the general family of solutions

      • that satisfies the equation under a particular set of conditions

    • E.g. if we know that y equals 1 when x equals 0

      • then space y squared equals fraction numerator 4 minus x squared over denominator 4 end fraction is the only solution that satisfies the differential equation with that set of conditions

    • A condition like "y equals 1 when x equals 0" is known as an initial condition (or boundary condition)

      • Finding a particular solution requires knowing an initial condition

Verifying solutions to differential equations

How can I use differentiation to verify solutions for a differential equation?

  • You can differentiate an answer to a differential equation to verify that it is indeed a solution

    • E.g. verify that y equals 1 minus x minus cos x is a solution to the differential equation fraction numerator d y over denominator d x end fraction equals sin x minus 1

      • Differentiate the proposed answer with respect to x

        • fraction numerator d y over denominator d x end fraction equals fraction numerator d over denominator d x end fraction open parentheses 1 minus x minus cos x close parentheses equals negative 1 plus sin x equals sin x minus 1

      • This matches the original differential equation

        • So the solution has been verified

  • For more complicated answers this may require the use of additional techniques

    • E.g. implicit differentiation and/or substitution

    • See the Worked Example

Worked Example

Verify that space y squared equals fraction numerator 1 over denominator x squared plus C end fraction, where C is an arbitrary constant, is a solution to the differential equation space fraction numerator d y over denominator d x end fraction equals negative x y cubed.

Answer:

Start by differentiating both sides of the proposed solution with respect to x, using implicit differentiation

table row cell space y squared end cell equals cell open parentheses x squared plus C close parentheses to the power of negative 1 end exponent end cell row cell fraction numerator d over denominator d x end fraction open parentheses y squared close parentheses end cell equals cell fraction numerator d over denominator d x end fraction open parentheses open parentheses x squared plus C close parentheses to the power of negative 1 end exponent close parentheses end cell row cell 2 y fraction numerator d y over denominator d x end fraction end cell equals cell negative open parentheses x squared plus C close parentheses to the power of negative 2 end exponent times 2 x end cell row cell 2 y fraction numerator d y over denominator d x end fraction end cell equals cell negative fraction numerator 2 x over denominator open parentheses x squared plus C close parentheses squared end fraction end cell end table

Rearrange to make fraction numerator d y over denominator d x end fraction the subject

table row cell fraction numerator d y over denominator d x end fraction end cell equals cell negative fraction numerator x over denominator y open parentheses x squared plus C close parentheses squared end fraction end cell end table

This may not look like space fraction numerator d y over denominator d x end fraction equals negative x y cubed

But remember that space y squared equals fraction numerator 1 over denominator x squared plus C end fraction

table row cell fraction numerator d y over denominator d x end fraction end cell equals cell negative x over y times 1 over open parentheses x squared plus C close parentheses squared end cell row blank equals cell negative x over y times open parentheses fraction numerator 1 over denominator x squared plus C end fraction close parentheses squared end cell row blank equals cell negative x over y times open parentheses y squared close parentheses squared end cell row blank equals cell negative x over y times y to the power of 4 end cell row blank equals cell negative x y cubed end cell end table

This confirms that space y squared equals fraction numerator 1 over denominator x squared plus C end fraction is a solution

space y squared equals fraction numerator 1 over denominator x squared plus C end fraction is a solution to the differential equation space fraction numerator d y over denominator d x end fraction equals negative x y cubed

Last updated:

You've read 0 of your 5 free study guides this week

Sign up now. It’s free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Roger B

Author: Roger B

Expertise: Maths

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Author: Dan Finlay

Expertise: Maths Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.