HIGH SCHOOL
- ACT Tutoring
- SAT Tutoring
- PSAT Tutoring
- ASPIRE Tutoring
- SHSAT Tutoring
- STAAR Tutoring

GRADUATE SCHOOL
- MCAT Tutoring
- GRE Tutoring
- LSAT Tutoring
- GMAT Tutoring
- AIMS Tutoring
- HSPT Tutoring
- ISEE Tutoring
- ISAT Tutoring
- SSAT Tutoring
Search 50+ Tests
Loading Page
math tutoring
- Elementary Math
- Pre-Calculus
- Trigonometry
science tutoring
Foreign languages.
- Mandarin Chinese
elementary tutoring
- Computer Science
Search 350+ Subjects
- Video Overview
- Tutor Selection Process
- Online Tutoring
- Mobile Tutoring
- Instant Tutoring
- How We Operate
- Our Guarantee
- Impact of Tutoring
- Reviews & Testimonials
- Media Coverage
- About Varsity Tutors
Differential Equations : Initial-Value Problems
Study concepts, example questions & explanations for differential equations, all differential equations resources, example questions, example question #1 : initial value problems.
First identify what is known.
The general function is,
The initial value is six in mathematical terms is,
So this is a separable differential equation, but it is also subject to an initial condition. This means that you have enough information so that there should not be a constant in the final answer.
You start off by getting all of the like terms on their respective sides, and then taking the anti-derivative. Your pre anti-derivative equation will look like:
Then taking the anti-derivative, you include a C value:
Then, using the initial condition given, we can solve for the value of C:
Solving for C, we get
Example Question #3 : Initial Value Problems
Example Question #4 : Initial Value Problems
So this is a separable differential equation with a given initial value.
To start off, gather all of the like variables on separate sides.
Then integrate, and make sure to add a constant at the end
Plug in the initial condition to get:
Solve the separable differential equation
none of these answers
To start off, gather all of the like variables on separate sides.
Notice that when you divide sec(y) to the other side, it will just be cos(y),
and the csc(x) on the bottom is equal to sin(x) on the top.
In order to solve for y, we just need to take the arcsin of both sides:
Solve the differential equation
Then, after the anti-derivative, make sure to add the constant C:
Solve for y
None of these answers
Taking the anti-derivative once, we get:
we get the final answer of:
Example Question #8 : Initial Value Problems
Solve the differential equation for y
subject to the initial condition:
Solving for C:
Then taking the square root to solve for y, we get:
Example Question #2 : Initial Value Problems

Report an issue with this question
If you've found an issue with this question, please let us know. With the help of the community we can continue to improve our educational resources.
DMCA Complaint
If you believe that content available by means of the Website (as defined in our Terms of Service) infringes one or more of your copyrights, please notify us by providing a written notice (“Infringement Notice”) containing the information described below to the designated agent listed below. If Varsity Tutors takes action in response to an Infringement Notice, it will make a good faith attempt to contact the party that made such content available by means of the most recent email address, if any, provided by such party to Varsity Tutors.
Your Infringement Notice may be forwarded to the party that made the content available or to third parties such as ChillingEffects.org.
Please be advised that you will be liable for damages (including costs and attorneys’ fees) if you materially misrepresent that a product or activity is infringing your copyrights. Thus, if you are not sure content located on or linked-to by the Website infringes your copyright, you should consider first contacting an attorney.
Please follow these steps to file a notice:
You must include the following:
A physical or electronic signature of the copyright owner or a person authorized to act on their behalf; An identification of the copyright claimed to have been infringed; A description of the nature and exact location of the content that you claim to infringe your copyright, in \ sufficient detail to permit Varsity Tutors to find and positively identify that content; for example we require a link to the specific question (not just the name of the question) that contains the content and a description of which specific portion of the question – an image, a link, the text, etc – your complaint refers to; Your name, address, telephone number and email address; and A statement by you: (a) that you believe in good faith that the use of the content that you claim to infringe your copyright is not authorized by law, or by the copyright owner or such owner’s agent; (b) that all of the information contained in your Infringement Notice is accurate, and (c) under penalty of perjury, that you are either the copyright owner or a person authorized to act on their behalf.
Send your complaint to our designated agent at:
Charles Cohn Varsity Tutors LLC 101 S. Hanley Rd, Suite 300 St. Louis, MO 63105
Or fill out the form below:
Contact Information
Complaint details.

Find the Best Tutors


Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
no of solutions of the initial value problem?
$x \dfrac{dy}{dx} = y , y (0) = 0, x \geq 0 .$
My Approach :
$\dfrac{dy}{y} = \dfrac{dx}{x},$ by variable separable method, we get
$lny = ln x +c $ and then raising e to both sides will get $ y=x+c.$ Then substituting the intial condtions, we get $c=-1$
so $y = x -1 $is the required solution.
But it's given that it has uncountable number of solution. I don't understand it.
- ordinary-differential-equations
- initial-value-problems
- 2 $\begingroup$ You've not solved the differential equation correctly. You will get $\ln|y|=\ln|x|+C$ or $|y|=K|x|$ where $K=e^C$ $\endgroup$ – OnceUponACrinoid Feb 7, 2016 at 15:30
2 Answers 2
If you solve the differential equation correctly, then $$\ln |y|= \ln x + c = \ln e^c x,$$ and so $$y=\pm e^c x,$$ not $y=x+c$. Then $e^c \cdot 0 = 0$ for all constant $C$, given initial value doesn't give us a useful information.

$$x\cdot\frac{\text{d}y(x)}{\text{d}x}=y(x)\Longleftrightarrow$$ $$xy'(x)=y(x)\Longleftrightarrow$$ $$y'(x)=\frac{y(x)}{x}\Longleftrightarrow$$ $$\frac{y'(x)}{y(x)}=\frac{1}{x}\Longleftrightarrow$$ $$\int\frac{y'(x)}{y(x)}\space\text{d}x=\int\frac{1}{x}\space\text{d}x\Longleftrightarrow$$ $$\ln|y(x)|=\ln|x|+\text{C}\Longleftrightarrow$$ $$y(x)=e^{\ln|x|+\text{C}}\Longleftrightarrow$$ $$y(x)=\text{C}e^{\ln|x|}\Longleftrightarrow$$ $$y(x)=\text{C}x$$
The given initial condition is not sufficient to solve for the unknown constant, because:
If, $y(0)=0$:
$$0=\text{C}\cdot0\Longleftrightarrow \text{C}=\frac{0}{0}$$
And we can't divide by $0$.

You must log in to answer this question.
Not the answer you're looking for browse other questions tagged ordinary-differential-equations initial-value-problems ..
- The Overflow Blog
- Five Stack Exchange sites turned ten years old this quarter!
- Featured on Meta
- We've added a "Necessary cookies only" option to the cookie consent popup
Hot Network Questions
- Gas furnace takes like 2-5 minutes from ignition to blower start. flame also burning yellow/orange
- Installing a grab bar in shower
- Options for "Cancel this operation?" are "Cancel" and "Yes"; what would be better wording for customers in a hurry?
- Animation which involves a spherical floating robot and a little girl
- Can competent brass players play large leaps?
- Gunslinger Fake Out with Covered Reload
- When using nowrap, how can I delete a line and stay in the same screen?
- Does Hooke's Law apply to all springs?
- Why are aluminum frames painted at all?
- "Videre" is to "spectare" what "audire" is to...?
- In England, why are some high schools called hospitals?
- Working directly on DateObjects
- What laws would Jesus be breaking if he were to turn water into wine today?
- Plotting a kidney shape in Mathematica
- Forced to pay a customs fee for importing a used wedding dress into the Netherlands. Is there a way to avoid paying?
- Should the sticker on top of a HDD be peeled?
- Is this a viable theoretical method of fast interplanetary space travel?
- Heating resistor - low current, high temperature
- Mando's Mandatory Meandering?
- Multiple stays in EU not longer than 90 days each time?
- Do Catholic anathemas apply to people who lived before it was codified?
- order n polynomial long division question
- Why did Chandrasekhar use 2.5 for molecular weight in 1931?
- Was the NATO bombing of Yugoslavia an "invasion" or not?
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy .
Module 4: Differential Equations
Initial-value problems, learning outcomes.
- Identify an initial-value problem
- Identify whether a given function is a solution to a differential equation or an initial-value problem
Usually a given differential equation has an infinite number of solutions, so it is natural to ask which one we want to use. To choose one solution, more information is needed. Some specific information that can be useful is an initial value , which is an ordered pair that is used to find a particular solution.
A differential equation together with one or more initial values is called an initial-value problem . The general rule is that the number of initial values needed for an initial-value problem is equal to the order of the differential equation. For example, if we have the differential equation [latex]{y}^{\prime }=2x[/latex], then [latex]y\left(3\right)=7[/latex] is an initial value, and when taken together, these equations form an initial-value problem. The differential equation [latex]y\text{''}-3{y}^{\prime }+2y=4{e}^{x}[/latex] is second order, so we need two initial values. With initial-value problems of order greater than one, the same value should be used for the independent variable. An example of initial values for this second-order equation would be [latex]y\left(0\right)=2[/latex] and [latex]{y}^{\prime }\left(0\right)=-1[/latex]. These two initial values together with the differential equation form an initial-value problem. These problems are so named because often the independent variable in the unknown function is [latex]t[/latex], which represents time. Thus, a value of [latex]t=0[/latex] represents the beginning of the problem.
Example: Verifying a Solution to an Initial-Value Problem
Verify that the function [latex]y=2{e}^{-2t}+{e}^{t}[/latex] is a solution to the initial-value problem
For a function to satisfy an initial-value problem, it must satisfy both the differential equation and the initial condition. To show that [latex]y[/latex] satisfies the differential equation, we start by calculating [latex]{y}^{\prime }[/latex]. This gives [latex]{y}^{\prime }=-4{e}^{-2t}+{e}^{t}[/latex]. Next we substitute both [latex]y[/latex] and [latex]{y}^{\prime }[/latex] into the left-hand side of the differential equation and simplify:
This is equal to the right-hand side of the differential equation, so [latex]y=2{e}^{-2t}+{e}^{t}[/latex] solves the differential equation. Next we calculate [latex]y\left(0\right)\text{:}[/latex]
This result verifies the initial value. Therefore the given function satisfies the initial-value problem.
Watch the following video to see the worked solution to Example: Verifying a Solution to an Initial-Value Problem
You can view the transcript for this segmented clip of “4.1.5” here (opens in new window) .
Verify that [latex]y=3{e}^{2t}+4\sin{t}[/latex] is a solution to the initial-value problem
First verify that [latex]y[/latex] solves the differential equation. Then check the initial value.
In the previous example, the initial-value problem consisted of two parts. The first part was the differential equation [latex]{y}^{\prime }+2y=3{e}^{x}[/latex], and the second part was the initial value [latex]y\left(0\right)=3[/latex]. These two equations together formed the initial-value problem.
The same is true in general. An initial-value problem will consists of two parts: the differential equation and the initial condition. The differential equation has a family of solutions, and the initial condition determines the value of [latex]C[/latex]. The family of solutions to the differential equation in the example is given by [latex]y=2{e}^{-2t}+C{e}^{t}[/latex]. This family of solutions is shown in Figure 2, with the particular solution [latex]y=2{e}^{-2t}+{e}^{t}[/latex] labeled.
![initial value problem number of solutions A graph of a family of solutions to the differential equation y’ + 2 y = 3 e ^ t, which are of the form y = 2 e ^ (-2 t) + C e ^ t. The versions with C = 1, 0.5, and -0.2 are shown, among others not labeled. For all values of C, the function increases rapidly for [latex]t[/latex] < 0 as [latex]t[/latex] goes to negative infinity. For C > 0, the function changes direction and increases in a gentle curve as [latex]t[/latex] goes to infinity. Larger values of C have a tighter curve closer to the [latex]y[/latex]-axis and at a higher y value. For C = 0, the function goes to 0 as [latex]t[/latex] goes to infinity. For C < 0, the function continues to decrease as [latex]t[/latex] goes to infinity.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/4175/2019/04/11233914/CNX_Calc_Figure_08_01_002.jpg)
Figure 2. A family of solutions to the differential equation [latex]{y}^{\prime }+2y=3{e}^{t}[/latex]. The particular solution [latex]y=2{e}^{-2t}+{e}^{t}[/latex] is labeled.
Example: Solving an Initial-value Problem
Solve the following initial-value problem:
The first step in solving this initial-value problem is to find a general family of solutions. To do this, we find an antiderivative of both sides of the differential equation
We are able to integrate both sides because the y term appears by itself. Notice that there are two integration constants: [latex]{C}_{1}[/latex] and [latex]{C}_{2}[/latex]. Solving the previous equation for [latex]y[/latex] gives
Because [latex]{C}_{1}[/latex] and [latex]{C}_{2}[/latex] are both constants, [latex]{C}_{2}-{C}_{1}[/latex] is also a constant. We can therefore define [latex]C={C}_{2}-{C}_{1}[/latex], which leads to the equation
Next we determine the value of [latex]C[/latex]. To do this, we substitute [latex]x=0[/latex] and [latex]y=5[/latex] into our aforementioned equation and solve for [latex]C\text{:}[/latex]
Now we substitute the value [latex]C=2[/latex] into our equation. The solution to the initial-value problem is [latex]y=3{e}^{x}+\frac{1}{3}{x}^{3}-4x+2[/latex].
The difference between a general solution and a particular solution is that a general solution involves a family of functions, either explicitly or implicitly defined, of the independent variable. The initial value or values determine which particular solution in the family of solutions satisfies the desired conditions.
Solve the initial-value problem
First take the antiderivative of both sides of the differential equation. Then substitute [latex]x=0[/latex] and [latex]y=8[/latex] into the resulting equation and solve for [latex]C[/latex].
[latex]y=\frac{1}{3}{x}^{3}-2{x}^{2}+3x - 6{e}^{x}+14[/latex]
In physics and engineering applications, we often consider the forces acting upon an object, and use this information to understand the resulting motion that may occur. For example, if we start with an object at Earth’s surface, the primary force acting upon that object is gravity. Physicists and engineers can use this information, along with Newton’s second law of motion (in equation form [latex]F=ma[/latex], where [latex]F[/latex] represents force, [latex]m[/latex] represents mass, and [latex]a[/latex] represents acceleration), to derive an equation that can be solved.

Figure 3. For a baseball falling in air, the only force acting on it is gravity (neglecting air resistance).
In Figure 3. we assume that the only force acting on a baseball is the force of gravity. This assumption ignores air resistance. (The force due to air resistance is considered in a later discussion.) The acceleration due to gravity at Earth’s surface, [latex]g[/latex], is approximately [latex]9.8{\text{m/s}}^{2}[/latex]. We introduce a frame of reference, where Earth’s surface is at a height of 0 meters. Let [latex]v\left(t\right)[/latex] represent the velocity of the object in meters per second. If [latex]v\left(t\right)>0[/latex], the ball is rising, and if [latex]v\left(t\right)<0[/latex], the ball is falling (Figure 4).

Figure 4. Possible velocities for the rising/falling baseball.
Our goal is to solve for the velocity [latex]v\left(t\right)[/latex] at any time [latex]t[/latex]. To do this, we set up an initial-value problem. Suppose the mass of the ball is [latex]m[/latex], where [latex]m[/latex] is measured in kilograms. We use Newton’s second law, which states that the force acting on an object is equal to its mass times its acceleration [latex]\left(F=ma\right)[/latex]. Acceleration is the derivative of velocity, so [latex]a\left(t\right)={v}^{\prime }\left(t\right)[/latex]. Therefore the force acting on the baseball is given by [latex]F=m{v}^{\prime }\left(t\right)[/latex]. However, this force must be equal to the force of gravity acting on the object, which (again using Newton’s second law) is given by [latex]{F}_{g}=\text{-}mg[/latex], since this force acts in a downward direction. Therefore we obtain the equation [latex]F={F}_{g}[/latex], which becomes [latex]m{v}^{\prime }\left(t\right)=\text{-}mg[/latex]. Dividing both sides of the equation by [latex]m[/latex] gives the equation
Notice that this differential equation remains the same regardless of the mass of the object.
We now need an initial value. Because we are solving for velocity, it makes sense in the context of the problem to assume that we know the initial velocity , or the velocity at time [latex]t=0[/latex]. This is denoted by [latex]v\left(0\right)={v}_{0}[/latex].
Example: Velocity of a Moving Baseball
A baseball is thrown upward from a height of [latex]3[/latex] meters above Earth’s surface with an initial velocity of [latex]10\text{m/s}[/latex], and the only force acting on it is gravity. The ball has a mass of [latex]0.15\text{kg}[/latex] at Earth’s surface.
- Find the velocity [latex]v\left(t\right)[/latex] of the baseball at time [latex]t[/latex].
- What is its velocity after [latex]2[/latex] seconds?
where [latex]g=9.8{\text{m/s}}^{2}[/latex]. The initial condition is [latex]v\left(0\right)={v}_{0}[/latex], where [latex]{v}_{0}=10\text{m/s}\text{.}[/latex] Therefore the initial-value problem is [latex]{v}^{\prime }\left(t\right)=-9.8{\text{m/s}}^{2},v\left(0\right)=10\text{m/s}\text{.}[/latex] The first step in solving this initial-value problem is to take the antiderivative of both sides of the differential equation. This gives
The next step is to solve for [latex]C[/latex]. To do this, substitute [latex]t=0[/latex] and [latex]v\left(0\right)=10\text{:}[/latex]
Suppose a rock falls from rest from a height of [latex]100[/latex] meters and the only force acting on it is gravity. Find an equation for the velocity [latex]v\left(t\right)[/latex] as a function of time, measured in meters per second.
What is the initial velocity of the rock? Use this with the differential equation in the example: Velocity of a Moving Baseball to form an initial-value problem, then solve for [latex]v\left(t\right)[/latex].
[latex]v\left(t\right)=-9.8t[/latex]
A natural question to ask after solving this type of problem is how high the object will be above Earth’s surface at a given point in time. Let [latex]s\left(t\right)[/latex] denote the height above Earth’s surface of the object, measured in meters. Because velocity is the derivative of position (in this case height), this assumption gives the equation [latex]{s}^{\prime }\left(t\right)=v\left(t\right)[/latex]. An initial value is necessary; in this case the initial height of the object works well. Let the initial height be given by the equation [latex]s\left(0\right)={s}_{0}[/latex]. Together these assumptions give the initial-value problem
If the velocity function is known, then it is possible to solve for the position function as well.
Example: Height of a Moving Baseball
A baseball is thrown upward from a height of [latex]3[/latex] meters above Earth’s surface with an initial velocity of [latex]10\text{m/s}[/latex], and the only force acting on it is gravity. The ball has a mass of [latex]0.15[/latex] kilogram at Earth’s surface.
- Find the position [latex]s\left(t\right)[/latex] of the baseball at time [latex]t[/latex].
- What is its height after [latex]2[/latex] seconds?
Next we substitute [latex]t=0[/latex] and solve for [latex]C\text{:}[/latex]
- 4.1.5. 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

Privacy Policy

How to solve initial value problems

What is an initial value problem?
Consider the following situation. You’re given the function ???f(x)=2x-3??? and asked to find its derivative.
This function is pretty basic, so unless you’re taking calculus out of order, it shouldn’t cause you too much stress to figure out that the derivative of ???f(x)??? is ???2???.

Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
Now consider what it would be like to work backwards from our derivative. If you’re given the function ???f'(x)=2??? and asked to find its integral, it’s impossible for you to get back to the original function, ???f(x)=2x-3???. As you can see, taking the integral of the derivative we found gives us back the first term of the original function, ???2x???, but somewhere along the way we lost the ???-3???. In fact, we always lose the constant (term without a variable attached), when we take the derivative of something. Which means we’re never going to get the constant back when we try to integrate our derivative. It’s lost forever.
Accounting for that lost constant is why we always add ???C??? to the end of our integrals. ???C??? is called the “constant of integration” and it acts as a placeholder for our missing constant. In order to get back to our original function, and find our long-lost friend, ???-3???, we’ll need some additional information about this problem, namely, an initial condition, which looks like this:
???y(0)=-3???
Problems that provide you with one or more initial conditions are called Initial Value Problems. Initial conditions take what would otherwise be an entire rainbow of possible solutions, and whittles them down to one specific solution.
Remember that the basic idea behind Initial Value Problems is that, once you differentiate a function, you lose some information about that function. More specifically, you lose the constant. By integrating ???f'(x)???, you get a family of solutions that only differ by a constant.
???\int 2\ dx=2x-3???
???\int 2\ dx=2x+7???
???\int 2\ dx=2x-\sqrt{2}???
Given one point on the function, (the initial condition), you can pick a specific solution out of a much broader solution set.
How to solve initial value problems by using the initial condition

Take the course
Want to learn more about calculus 2 i have a step-by-step course for that. :), find the antiderivative, then evaluate at the initial condition.
Given ???f'(x)=2??? and ???f(0)=-3???, find ???f(x)???.
Integrating ???f'(x)??? means we’re integrating ???2\ dx???, and we’ll get ???2x+C???, where ???C??? is the constant of integration. At this point, ???C??? is holding the place of our now familiar friend, ???-3???, but we don’t know that yet. We have to use our initial condition to find out.

Notice that the solution would have been different had we been given a different initial condition.
To use our initial condition, ???f(0)=-3???, we plug in the number inside the parentheses for ???x??? and the number on the right side of the equation for ???y???. Therefore, in our case, we’ll plug in ???0??? for ???x??? and ???-3??? for ???y???.
???-3=2(0)+C???
Notice that the solution would have been different had we been given a different initial condition. Now we know exactly what the full solution looks like, and exactly which one of the many possible solutions was originally differentiated. Therefore, the final answer is the function we originally differentiated:
???f(x)=2x-3???

Get access to the complete Calculus 2 course

We're sorry, this computer has been flagged for suspicious activity.
If you are a member, we ask that you confirm your identity by entering in your email.
You will then be sent a link via email to verify your account.
If you are not a member or are having any other problems, please contact customer support.
Thank you for your cooperation

IMAGES
VIDEO
COMMENTS
This calculus video tutorial explains how to solve the initial value problem as it relates to separable differential equations.
https://www.patreon.com/ProfessorLeonardExploring Initial Value problems in Differential Equations and what they represent.
Initial Value Problems : Example Question #2 ... Explanation: So this is a separable differential equation, but it is also subject to an initial condition. This
xdydx=y,y(0)=0,x≥0.
In multivariable calculus, an initial value problem (IVP) is an ordinary differential equation together with an initial condition which specifies the value
Usually a given differential equation has an infinite number of solutions, so it is natural to ask which one we want to use. To choose one solution
What is an initial value problem? · How to solve initial value problems by using the initial condition · Take the course · Find the antiderivative
where c and k0, k1, ..., kn−1 are given numbers. ... (1) Does a given initial-value problem have a solution? That is, do solutions to the problem exist?
Using the initial data, plug it into the general solution and solve for c. EXAMPLE 1: Solve the initial value problem. SOLUTION:.
Initial value problems in calculus concern differential equations with a known initial condition that specifies the value of the function at