professor-curious-logo
professor-curious-logo
  1. AP Calculus
FlashcardFlashcardStudy GuideStudy Guide
Question BankQuestion BankGlossaryGlossary

Verifying Solutions for Differential Equations

Samuel Baker

Samuel Baker

6 min read

Next Topic - Sketching Slope Fields

Listen to this study note

Study Guide Overview

This study guide covers verifying solutions for differential equations. It explains the process of verifying solutions by substituting the derivative of a proposed solution into the differential equation. It includes examples demonstrating the verification process with step-by-step solutions. Key terms covered are general solutions and the verification process itself, using the product rule and differentiation techniques. Practice problems are also provided to reinforce the concepts.

#7.2 Verifying Solutions for Differential Equations

In AP Calculus, one of the fascinating things we learn is how to solve differential equations. In this section, we will focus on verifying solutions to differential equations, a critical skill in both mathematics and real-world problem solving.


#✅ Verifying Solutions

While actually solving a differential equation may seem daunting, verifying a given solution is a piece of cake! 🍰

Differential equations often have not just one, but infinitely many solutions. These solutions are known as general solutions. Each of these solutions can be tweaked slightly by adding different constants, and yet, they still solve the original differential equation. Imagine a family of curves on a graph, each differing slightly from the others, but all fitting the same overall pattern described by the differential equation.

!Screenshot 2024-02-17 at 14.41.52.png

Example of a family of solutions from the general solution ax^b + cy^d.

Image courtesy of Wolfram

This verification process is rooted in understanding derivatives and how they function. When you're given a differential equation and a potential solution, your job is to take the derivative of the proposed solution and see if it fits perfectly into the original equation. It's like having a key and checking to see if it fits the lock.

#📝 The Verification Process

Let's say you're given a differential equation and a potential solution. How do you verify if this solution is correct? You start by taking the derivative of the proposed solution. Then, you substitute this derivative, along with the original solution, back into the differential equation. If all parts align and the equation holds true, then you've successfully verified the solution. 🥳

For example, consider the differential equation dy/dx=3x2dy/dx = 3x^2dy/dx=3x2. If you're given a potential solution y=x3y=x^3y=x3, you would first find the derivative of yyy , which is dy/dx=3x2dy/dx = 3x^2dy/dx=3x2. Then, you substitute this back into the original equation. Since 3x2=3x23x^2 = 3x^23x2=3x2, the solution is verified.

#📍 Verifying a Solution Walkthrough Problem

Verify if the function y=x2sin(x)y = x^2sin(x)y=x2sin(x) is a solution to the differential equation dydx=2xsin(x)+x2cos(x)\frac {dy}{dx} = 2xsin(x) + x^2cos(x)dxdy​=2xsin(x)+x2cos(x). Let’s go through this! ⬇️

We need to verify if y=x2sin(x)y = x^2sin(x)y=x2sin(x) satisfies the given differential equation. To do this, we'll first find the derivative of yyy and then check if it matches the right-hand side of the differential equation.

Differentiate y=x2sin(x)y = x^2sin(x)y=x2sin(x). To differentiate, we'll use the product rule since it's a product of two functions which states: if u=x2u = x^2u=x2 and v=sin(x)v=sin(x)v=sin(x), then y′=u′v+uv′y'=u'v +uv'y′=u′v+uv′.

  1. u’=2xu’ = 2xu’=2x and v’=cos(x)v’ = cos(x)v’=cos(x)
  2. Multiply based on the product rule: y’=(x2)(cos(x))+(2x)(sin(x))y’ = (x^2)(cos(x)) + (2x)(sin(x))y’=(x2)(cos(x))+(2x)(sin(x))
  3. y’=(x2)(cos(x))+(2x)(sin(x))y’ = (x^2)(cos(x)) + (2x)(sin(x))y’=(x2)(cos(x))+(2x)(sin(x))

Finally, we just need to verify the solution by checking whether y′=dydxy'=\frac {dy}{dx}y′=dxdy​. Since dydx=2xsin(x)+x2cos(x)\frac {dy}{dx} = 2xsin(x) + x^2cos(x)dxdy​=2xsin(x)+x2cos(x) and y’=(x2)(cos(x))+(2x)(sin(x))y’ = (x^2)(cos(x)) + (2x)(sin(x))y’=(x2)(cos(x))+(2x)(sin(x)), the solution is verified!


#✏️ Practice Problems

Let’s put your new skills to good use! Try out a couple practice problems:

  1. Verify if the function y=e2xy = e^{2x}y=e2x is a solution to the differential equation dydx=2e2x\frac{dy}{dx} = 2e^{2x}dxdy​=2e2x.
  2. Verify if the function y=3x3y = 3x^3y=3x3 is a solution to the differential equation dydx=9x2\frac{dy}{dx} = 9x^2dxdy​=9x2.

#✔️ Step-By-Step Solution: Example 1

First things first, we have to understand the given task.

We need to verify if the function y=e2xy = e^{2x}y=e2x satisfies the given differential equation, which is dydx=2e2x\frac{dy}{dx} = 2e^{2x}dxdy​=2e2x. To do this, we'll find the derivative of y and check if it matches the right-hand side of the differential equation.

Now, we can differentiate the given function.

Differentiate y=e2xy = e^{2x}y=e2x with respect to x. Since it's an exponential function, its derivative is simply itself times the derivative of the exponent:

dydx=e2x∗ddx2x\frac {dy}{dx} = e^{2x} * \frac{d}{dx}2xdxdy​=e2x∗dxd​2x

Calculate the derivative of 2x:

ddx:2x=2\frac{d}{dx} : 2x = 2dxd​:2x=2

Therefore,

dydx=e2x∗2=2e2x\frac {dy}{dx} = e^{2x}*2 = 2e^{2x}dxdy​=e2x∗2=2e2x

Last but not least, verify with the differentiate equation!

Since both sides are equal (dydx=2e2x\frac{dy}{dx} = 2e^{2x}dxdy​=2e2x), the proposed solution y=e2xy = e^{2x}y=e2x successfully verifies as a solution to the differential equation dydx=2e2x\frac{dy}{dx} = 2e^{2x}dxdy​=2e2x. ✅

#✔️ Step-By-Step Solution: Example 2

Go through the same steps!

  1. Understand the Task
  2. We need to verify if the function y=3x3y = 3x^3y=3x3 satisfies the given differential equation, which is dydx=9x2\frac{dy}{dx} = 9x^2dxdy​=9x2. To do this, we'll find the derivative of y and check if it matches the right-hand side of the differential equation.
  3. Differentiate the Given Function
  4. Differentiate y=3x3y = 3x^3y=3x3 with respect to x. Since it's a polynomial, we can use the power rule directly: dydx=ddx(3x3)\frac {dy}{dx} = \frac{d}{dx}(3x^3)dxdy​=dxd​(3x3).
  5. Apply the power rule: dydx=ddx(3x3)\frac {dy}{dx} = \frac{d}{dx}(3x^3)dxdy​=dxd​(3x3) = 3∗3x3−13*3x^{3-1}3∗3x3−1 = 9x29x^29x2.
  6. Verify with Differential Equation
  7. We have found that dydx=9x2\frac{dy}{dx} = 9x^2dxdy​=9x2 for the function y=3x3y = 3x^3y=3x3, and this matches the right-hand side of the differential equation, which is also 9x29x^29x2, making y=3x3y = 3x^3y=3x3 a verified solution to the differential equation.

#⭐️ Conclusion

Understanding how to verify solutions to differential equations opens up a world of infinite possibilities. It's not just about solving a math problem; it's about exploring a universe of potential solutions, each fitting the equation in its unique way. ✨

Continue your learning journey

FlashcardFlashcard

Flashcard

Continute to Flashcard

Question BankQuestion Bank

Question Bank

Continute to Question Bank

Mock ExamMock Exam

Mock Exam

Continute to Mock Exam

Previous Topic - Modeling Situations with Differential EquationsNext Topic - Sketching Slope Fields
Feedback stars icon

How are we doing?

Give us your feedback and let us know how we can improve

Question 1 of 9

Which of the following represents a general solution to a differential equation?

y=x2y = x^2y=x2

y=x3+Cy = x^3 + Cy=x3+C

y=sin(x)y = sin(x)y=sin(x)

y=e2xy=e^{2x}y=e2x