1 / 69100%
MATH 334 - DIFFERENTIAL
EQUATIONS - Initial value problems
Question Bank - Set 2
Liberty University
Question 1
Question
Solve the initial value problem:
dy
dt =y24y, y(0) = 3
Solution
Step 1: Separate variables:
dy
dt =y24y
dy
y24y=dt
dy
y(y4) =dt
Step 2: Partial fraction decomposition:
1
y(y4) =A
y+B
y4
1 = A(y4) + By
Putting y= 0 gives 1 = 4A, so A=1
4. Putting y= 4 gives 1 = 4B, so
B=1
4.
Therefore, the partial fraction decomposition is:
1
y(y4) =1
4y+1
4(y4)
Step 3: Integrate both sides:
Z1
y(y4) dy =Zdt
Z1
4y+1
4(y4)dy =Zdt
1
4ln |y|+1
4ln |y4|=t+C
ln
y4
y
= 4t+C
y4
y=ke4t
where k=eC.
Step 4: Apply initial condition: Substitute y= 3 and t= 0 into the
solution to find k:34
3=k·1k=1
3
Step 5: Final solution: Thus, the solution to the initial value problem is:
y4
y=1
3e4t
y=4
1+3e4t
Question 2
Question
Consider the initial value problem:
dy
dx = 2yx, y(0) = 1
Find the particular solution to the initial value problem.
Solution
Step 1: First, we need to solve the differential equation.
Given: dy
dx = 2yx
Separating variables, we get:
dy
2yx=dx
Integrating both sides gives:
2
Z1
2yxdy =Zdx
Step 2: Continuing from the previous step, we solve the integrals:
Let u= 2yx, then du = 2dy
Therefore, the integral on the left side becomes:
1
2Z1
udu =1
2ln |u|+C1
And the integral on the right side is simply:
Zdx =x+C2
Step 3: Next, we substitute back for uand simplify:
1
2ln |2yx|=x+C
Where C=C2C1is a constant of integration.
Step 4: Now, we apply the initial condition y(0) = 1 to find the particular
solution.
When x= 0 and y= 1, we have:
1
2ln |2(1) 0|= 0 + C
1
2ln 2 = C
So, the particular solution is:
1
2ln |2yx|=x+1
2ln 2
Question 3
Question
Consider the initial value problem:
dy
dx = 2yx2, y(0) = 1.
Find the particular solution of the differential equation that satisfies the
initial condition.
3
Solution
Step 1: First, let’s solve the differential equation by separating variables. We
have: dy
dx = 2yx2.
Step 2: Rearranging the terms, we get:
dy
2yx2=dx.
Step 3: Now, integrate both sides with respect to yand xseparately.
Z1
2yx2dy =Zdx.
Step 4: The integral on the left side can be simplified by using substitution.
Let u= 2yx2, then du = 2 dy.
1
2Z1
udu =Zdx.
Step 5: Integrating, we have:
1
2ln |u|=x+C,
where Cis the constant of integration.
Step 6: Substitute back u= 2yx2into the equation:
1
2ln |2yx2|=x+C.
Step 7: Since y(0) = 1, substitute x= 0 and y= 1 into the equation to solve
for C:1
2ln |2(1) 02|= 0 + C.
1
2ln |2|=C.
C= ln |2|1/2.
Step 8: Finally, substitute the value of Cback into the equation to find the
particular solution: 1
2ln |2yx2|=x+ ln |2|1/2.
Therefore, the particular solution of the differential equation that satisfies
the initial condition y(0) = 1 is 1
2ln |2yx2|=x+ ln |2|1/2.
4
Question 4
Question
Solve the initial value problem: y=1
2y+ 3ex
2,y(0) = 1.
Solution
Step 1: First, we find the integrating factor for the given differential equation.
The integrating factor is given by µ(x) = eR1
2dx =ex
2.
Step 2: Multiply both sides of the differential equation by the integrating
factor:
ex
2y1
2ex
2y= 3
Step 3: Notice that the left side is the result of applying the product rule to
ex
2y. So we can rewrite the equation as:
d
dx(ex
2y)=3
Step 4: Integrate both sides with respect to x:
Zd
dx(ex
2y)dx =Z3dx
ex
2y= 3x+C
Step 5: Apply the initial condition y(0) = 1 to find the value of C:
e0·1 = 3 ·0 + C
C= 1
Step 6: Substitute the value of Cback into the equation found in Step 4:
ex
2y= 3x+ 1
Step 7: Solve for y:
y= 3xex
2+ex
2
Therefore, the solution to the initial value problem is y= 3xex
2+ex
2.
Question 5
Question
Solve the initial value problem: dy
dx + 2xy =x,y(0) = 1.
5
Solution
To solve this differential equation, we will use an integrating factor method.
Step 1: Identify the integrating factor. The integrating factor µ(x) is given
by:
µ(x) = eR2x dx
Step 2: Find the integrating factor.
Z2x dx =x2
Hence, the integrating factor is:
µ(x) = ex2
Step 3: Multiply the differential equation by the integrating factor. The
differential equation becomes:
ex2dy
dx + 2xex2y=xex2
Step 4: Rewrite the left-hand side as the derivative of a product. Using the
product rule, we have: d
dx ex2y=xex2
Step 5: Integrate both sides. Integrating both sides gives:
ex2y=Zxex2dx +C
ex2y=1
2ex2+C
Step 6: Solve for y. Solving for y, we get:
y=1
2+Cex2
Step 7: Apply the initial condition. Using the initial condition y(0) = 1,
we find:
1 = 1
2+C
C=1
2
Step 8: Final solution. Therefore, the solution to the initial value problem
is:
y=1
2+1
2ex2
6
Question 6
Question
Consider the initial value problem y2y=e2x, where y(0) = 1. Find the
particular solution to the differential equation that satisfies the initial condition.
Solution
Step 1: First, we find the integrating factor I(x). Let y2y=e2x. The
integrating factor is given by
I(x) = eR2dx =e2x.
Step 2: Multiply both sides of the differential equation by the integrating
factor and simplify. Multiply e2xto both sides of the equation to get
e2x(y2y) = e2xe2x.
This simplifies to d
dx(e2xy)=1.
Step 3: Integrate both sides of the equation. Integrating both sides with
respect to x, we get
Zd
dx(e2xy)dx =Z1dx.
So, we have
e2xy=x+C,
where Cis the constant of integration.
Step 4: Apply the initial condition y(0) = 1 to solve for the constant C.
Substitute x= 0 and y= 1 into the equation above:
e0·1 = 0 + C.
Therefore, C= 1.
Step 5: Finally, find the particular solution. Substitute the value of Cback
into the equation above:
e2xy=x+ 1.
Hence, the particular solution to the initial value problem is given by
y=e2x(x+ 1).
Question 7
Question
Solve the initial value problem:
dy
dx =2x(y+ 1), y(0) = 2
7
Solution
Step 1: We start by separating the variables in the given differential equation:
dy
y+ 1 =2xdx
Step 2: Next, we integrate both sides of the equation:
Z1
y+ 1dy =Z2xdx
Step 3: Integrating the left side with respect to y and the right side with
respect to x, we get:
ln |y+ 1|=x2+C
where Cis the constant of integration.
Step 4: Exponentiating both sides of the equation yields:
|y+ 1|=ex2+C=eCex2
Step 5: Since y(0) = 2, we substitute x= 0 and y= 2 into the equation to
find C:
|2+1|=eC3 = eCC= ln 3
Step 6: Therefore, the solution to the initial value problem is:
y=ex21
Question 8
Question
Consider the initial value problem:
dy
dx = 2x24x+ 5, y(0) = 3.
Find the solution to the initial value problem.
Solution
Step 1: Find the general solution
dy
dx = 2x24x+ 5.
Zdy =Z(2x24x+ 5)dx.
y=2
3x32x2+ 5x+C.
8
where Cis the constant of integration.
Step 2: Use the initial condition to find the particular solution
y(0) = 3,
2
3(0)32(0)2+ 5(0) + C= 3,
C= 3.
Therefore, the solution to the initial value problem is:
y=2
3x32x2+ 5x+ 3.
Question 9
Question
Solve the initial value problem:
y= sin(2x)2y, y(0) = 1
Solution
Step 1: First, we find the general solution to the homogeneous differential equa-
tion y=2yby separating variables:
dy
dx =2ydy
y=2dx ln |y|=2x+C1
where C1is the constant of integration. Exponentiating both sides gives |y|=
eC1e2x. Since eC1is just another constant, we can simplify this to |y|=Ce2x,
where Cis a constant.
Step 2: Now, we will find a particular solution to the non-homogeneous part
of the equation. Let ypbe a particular solution to the equation y= sin(2x).
We can guess yp=Asin(2x) + Bcos(2x) and find Aand Bby substitution:
y
p= 2Acos(2x)2Bsin(2x) = sin(2x)
Comparing coefficients, we get 2A= 0 and 2B= 1, which gives A= 0 and
B=1
2. Therefore, yp=1
2cos(2x).
Step 3: The general solution to the non-homogeneous differential equation is
the sum of the particular solution and the general solution to the homogeneous
equation, so y=Ce2x1
2cos(2x).
Step 4: Using the initial condition y(0) = 1, we find:
1 = Ce01
2cos(0) 1 = C1
2C=3
2
Therefore, the solution to the initial value problem is y=3
2e2x1
2cos(2x).
9
Question 10
Question
Consider the initial value problem:
dy
dx =3x2+y
2x, y(1) = 4
Find the particular solution to the initial value problem.
Solution
Step 1: Rewrite the given differential equation in a more convenient form.
dy
dx =3x2+y
2x=2xdy
dx = 3x2+y
Step 2: Recognize that the differential equation is linear and in standard
form y+P(x)y=Q(x), where P(x) = 2
xand Q(x) = 3x2.
Step 3: Find the integrating factor µ(x) = eRP(x)dx.
µ(x) = eR2
xdx =e2 ln |x|=eln x2=x2
Step 4: Multiply the integrating factor by both sides of the differential equa-
tion.
x2·dy
dx 2xy = 3x3
Step 5: Rewrite the equation as the derivative of a product.
d
dx(x2y) = 3x3
Step 6: Integrate both sides of the equation with respect to x.
Zd(x2y) = Z3x3dx
Step 7: Solve the integrals.
x2y=3
4x4+C
Step 8: Apply the initial condition y(1) = 4 to find the value of the constant
C.
(1)2·4 = 3
4(1)4+C=4 = 3
4+C=C=16
43
4=13
4
Step 9: Write the particular solution.
x2y=3
4x4+13
4=y=3
4x2+13
4x2
Therefore, the particular solution to the initial value problem is y=3
4x2+
13
4x2.
10
Question 11
Question
Consider the initial value problem:
dy
dx =2xy
2yx, y(0) = 1
Solve the initial value problem.
Solution
To solve the initial value problem, we will first rewrite the given differential
equation in a more familiar form by letting u=y
x.
Step 1: Rewrite the differential equation using u=yxLet u=y
x.
Then, we have y=ux and dy
dx =xdu
dx +u.
Substitute u=y
xinto the given differential equation to obtain:
xdu
dx +u=2xux
2ux x
Step 2: Solve for uSolving the above equation for ugives:
xdu
dx +u=2xux
2ux x
xdu
dx +u=2x(1 u)
x(2u1)
xdu
dx +u=2(1 u)
2u1
xdu
dx =2(1 u)
2u1u
xdu
dx =22u2u(2u1)
2u1
xdu
dx =22u4u2+ 2u
2u1
xdu
dx =24u2
2u1
Separate variables, xand u, to solve for uby integrating:
(2u1)du = (2 4u2)1
xdx
11
Question 12
Question
Solve the initial value problem:
y=1
x2+y, y(1) = 1.
Solution
Step 1: Rewrite the differential equation in standard form.
dy
dx =1
x2+y
Step 2: Separate variables to solve the differential equation.
(x2+y)dy =dx
Step 3: Integrate both sides of the equation.
Z(x2+y)dy =Zdx
x2y+1
2y2=x+C
Step 4: Use the initial condition y(1) = 1 to find the value of C.
12(1) + 1
2(1)2= 1 + C
11
2= 1 + C
3
2= 1 + C
C=5
2
Step 5: Substitute the value of Cback into the equation found in Step 3.
x2y+1
2y2=x5
2
Step 6: Now, we need to solve for y. This is a nonlinear equation, and
solving for yexplicitly may be difficult. Therefore, we have found the general
solution implicitly.
12
Question 13
Question
Find the particular solution to the initial value problem: y= 2x+ 3e2y,y(0) =
1.
Solution
Step 1: First, separate the variables in the given differential equation:
dy
dx = 2x+ 3e2y
Step 2: Next, integrate both sides with respect to x:
Zdy =Z2xdx +Z3e2ydx
Step 3: Integrate each term separately:
y=x2+C1+ 3 Ze2ydx
Step 4: To integrate e2ywith respect to y, let u= 2yso du = 2dy:
y=x2+C1+Z3
2eudu
Step 5: Evaluate the integral:
y=x2+C1+3
2e2y+C2
Step 6: Simplify the equation:
y3
2e2y=x2+C
Step 7: Use the initial condition y(0) = 1 to find the value of the constant
C:
13
2e2= 0 + C
Step 8: Solve for C:
C=3
2e21
Step 9: Substitute the value of Cback into the equation to find the particular
solution:
y3
2e2y=x2+3
2e21
Therefore, the particular solution to the initial value problem is y=x2+
3
2e21 + 3
2e2y.
13
Question 14
Question
Solve the initial value problem:
dy
dt =t22y, y(0) = 1
Solution
Step 1: First, let’s find the general solution to the differential equation dy
dt =
t22y. We can rewrite this equation as dy
dt + 2y=t2.
Step 2: This is a first-order linear differential equation, so we can use the
integrating factor method. The integrating factor is eR2dt =e2t.
Step 3: Multiply the integrating factor by the equation to get:
e2tdy
dt + 2e2ty=e2tt2
Step 4: Rewrite the left side as a derivative of a product:
d
dt(e2ty) = e2tt2
Step 5: Integrate both sides with respect to t:
Zd
dt(e2ty)dt =Ze2tt2dt
Step 6: Integrating gives:
e2ty=Zt2e2tdt
Step 7: Now, we need to solve the integral on the right side. This requires
integrating by parts one or more times.
Step 8: After integrating by parts, we find:
Zt2e2tdt =1
2t2e2t1
2Ze2tdt
Step 9: Continuing to solve the integral, we have:
Ze2tdt =1
2e2t+C
Step 10: Substituting this back in, we have:
e2ty=1
2t2e2t1
4e2tC
2
14
Step 11: Solve for yby dividing by e2t:
y=1
2t21
4C
2e2t
Step 12: Use the initial condition y(0) = 1 to find the value of C. Substitute
t= 0 and y= 1 into the equation.
Step 13: Solving for Cgives C=1/4.
Step 14: Substitute Cback into the equation for yto obtain the final solu-
tion.
Therefore, the solution to the initial value problem is:
y=1
2t21
41
2e2t
Question 15
Question
Find the particular solution to the initial value problem:
dy
dx = 3x2+ 4x, y(0) = 5.
Solution
Step 1: First, we solve the differential equation to find the general solution.
dy
dx = 3x2+ 4x
Integrating both sides with respect to x, we get:
Zdy =Z(3x2+ 4x)dx
y=x3+ 2x2+C
where Cis a constant.
Step 2: Next, we apply the initial condition y(0) = 5 to find the particular
solution.
5=03+ 2(0)2+C
C= 5
Step 3: Therefore, the particular solution to the initial value problem is:
y=x3+ 2x2+ 5
15
Question 16
Question
Solve the initial value problem:
dy
dx = 2xy, y(0) = 1.
Solution
Step 1: Write the initial value problem as a differential equation.
dy
dx = 2xy, y(0) = 1.
Step 2: Separate variables to solve the differential equation.
dy
y= 2xdx.
Step 3: Integrate both sides.
Z1
ydy =Z2xdx.
Step 4: Solve the integrals.
ln |y|=x2+C,
where Cis the constant of integration.
Step 5: Solve for y.
y=ex2+C=Cex2.
Step 6: Use the initial condition y(0) = 1 to find the value of C.
1 = C.
Step 7: Substitute C=1 back into the equation for y.
y=ex2.
Therefore, the solution to the initial value problem is y=ex2.
Question 17
Question
Solve the initial value problem:
dy
dx =1
2ywith y(0) = 3
16
Solution
Step 1: First, we rearrange the differential equation to separate variables:
dy
y=1
2dx
Step 2: Next, we integrate both sides:
Z1
ydy =Z1
2dx
Step 3: Integrating, we get:
ln |y|=1
2x+C
Step 4: Using the initial condition y(0) = 3, we find the value of the constant
C:
ln |3|= 0 + C=C= ln(3)
Step 5: Substituting this value back into the equation, we have:
ln |y|=1
2x+ ln(3)
Step 6: Exponentiating both sides to eliminate the natural logarithm:
y=e1
2x+ln(3) = 3e1
2x
Therefore, the solution to the initial value problem is y= 3e1
2x.
Question 18
Question
Consider the initial value problem:
dy
dx =e2xsin(3x), y(0) = 1
Find the particular solution to the initial value problem.
Solution
Step 1: First, we need to solve the differential equation dy
dx =e2xsin(3x). Inte-
grating both sides with respect to xgives:
Zdy
dx dx =Ze2xsin(3x)dx
17
y=1
13e2x(3 sin(3x)cos(3x)) + C
Step 2: Next, we use the initial condition y(0) = 1 to find the value of C.
Substitute x= 0 and y= 1 into the equation:
1 = 1
13(3 sin(0) cos(0)) + C
1 = 1
13(1) + C
1 = 1
13 +CC=12
13
Step 3: Finally, substitute C=12
13 back into the general solution to find the
particular solution:
y=1
13e2x(3 sin(3x)cos(3x)) + 12
13
Therefore, the particular solution to the initial value problem is y=1
13 e2x(3 sin(3x)
cos(3x)) + 12
13 .
Question 19
Question
Solve the initial value problem: dy
dx =e2y,y(0) = 1.
Solution
To solve this initial value problem, we will separate variables and then integrate
both sides.
Step 1: Separate variables by writing the differential equation as follows:
dy
dx =e2y
e2ydy =dx
Step 2: Integrate both sides:
Ze2ydy =Zdx
1
2e2y=x+C
where Cis the constant of integration.
Step 3: Solve for yusing the initial condition y(0) = 1:
1
2e2·1= 0 + C
18
1
2e2=C
Step 4: Substitute back into the equation to find the solution:
1
2e2y=x+1
2e2
e2y= 2(x+1
2e2)
2y= ln2x+e2
y=1
2ln2x+e2
Therefore, the solution to the initial value problem is y=1
2ln2x+e2.
Question 20
Question
Consider the initial value problem:
y=2y
t+ sin(t), y(1) = 1.
Find the particular solution to the initial value problem.
Solution
Step 1: First, we rewrite the given initial value problem in standard form by
separating variables: dy
dt =2y
t+ sin(t).
Step 2: Next, we isolate yterms and tterms:
dy
2y=dt
t+ sin(t)dt.
Step 3: We integrate both sides:
Z1
2ydy =Z1
tdt +Zsin(t)dt.
Step 4: Solving the integrals gives us:
1
2ln |y|= ln |t| cos(t) + C,
where Cis the constant of integration.
19
Step 5: Simplifying and solving for y, we have:
ln |y|= 2 ln |t| 2 cos(t) + C.
Here, C= 2C.
Step 6: Exponentiating both sides, we obtain:
|y|=e2 ln |t|·e2 cos(t)+C
|y|=t2e2 cos(t)+C.
Step 7: Applying the initial condition y(1) = 1, we get:
|1|= 12e2 cos(1)+C,
which gives us C= 0.
Step 8: Therefore, the particular solution to the initial value problem is:
y=t2e2 cos(t).
Question 21
Question
Consider the initial value problem
dy
dx = 2yx, y(0) = 1.
Find the particular solution y(x) satisfying the initial condition.
Solution
Step 1: First, let’s solve the differential equation using the method of integrating
factor. The integrating factor is given by µ(x) = eR2dx =e2x. Multiplying both
sides of the differential equation by the integrating factor, we have
e2xdy
dx =e2x(2yx).
Step 2: Notice that the left side can be written as the derivative of the
product e2xy. Therefore, we have
d
dx(e2xy) = e2x(2yx).
Step 3: Integrating both sides with respect to x, we get
e2xy=Ze2x(2yx)dx.
20
Step 4: Solving the integral on the right side, we have
e2xy= 2 Ze2xy dx Zxe2xdx.
Step 5: Integrating Rxe2xdx by parts, let u=xand dv =e2xdx, then
du =dx and v=1
2e2x. Hence, we have
e2xy= 2e2xy1
2xe2x1
4e2x+C,
where Cis the constant of integration.
Step 6: Simplifying the equation, we get
e2xy2e2xy=1
2xe2x1
4e2x+C.
Step 7: Continuing to simplify, we find
y=1
2x1
4+Ce2x.
Step 8: Finally, applying the initial condition y(0) = 1, we get
1=01
4+CC=3
4.
Step 9: Therefore, the particular solution to the initial value problem is
y(x) = 1
2x1
43
4e2x.
Question 22
Question
Solve the initial value problem:
dy
dx = 2x23x, y(1) = 4
Solution
Step 1: Find the general solution by solving the differential equation.
dy
dx = 2x23x
Integrating both sides with respect to x, we get:
y=Z(2x23x)dx
21
y=2
3x33
2x2+C
where Cis the constant of integration.
Step 2: Use the initial condition y(1) = 4 to find the value of C.
4 = 2
3(1)33
2(1)2+C
4 = 2
33
2+C
4 = 2
39
6+C
4 = 2
33
6+C
4 = 4
63
6+C
4 = 1
6+C
C= 4 1
6
C=23
6
Step 3: Substitute the value of Cback into the general solution.
y=2
3x33
2x2+23
6
Therefore, the solution to the initial value problem is:
y=2
3x33
2x2+23
6
Question 23
Question
Solve the initial value problem:
dy
dx = 3y2x, y(0) = 4
22
Solution
Step 1: First, we write the given differential equation in the standard form
dy
dx 3y=2x.
Step 2: Next, we find the integrating factor by computing eR3dx.
Integrating factor = e3x
Step 3: We multiply the integrating factor with both sides of the differential
equation:
e3xdy
dx 3e3xy=2xe3x
Step 4: The left-hand side of the equation can be rewritten using the product
rule as d
dx (ye3x).
d
dx(ye3x) = 2xe3x
Step 5: Now, we integrate both sides with respect to x:
Zd
dx(ye3x)dx =Z2xe3xdx
Step 6: Integrating both sides gives us:
ye3x=2
9x2e3x+C
where Cis the constant of integration.
Step 7: To find the value of C, we use the initial condition y(0) = 4.
4 = 0 + CC= 4
Step 8: Substituting the value of Cback into the equation, we have:
ye3x=2
9x2e3x+ 4
Step 9: Finally, solving for ygives:
y=2
9x2+ 4e3x
Therefore, the solution to the initial value problem is y=2
9x2+ 4.
Question 24
Question
Consider the initial value problem:
dy
dx =x2+y, y(0) = 2
Find the particular solution to the initial value problem.
23
Solution
Step 1: First, let’s rewrite the given initial value problem into a more familiar
form: dy
dx y=x2, y(0) = 2
Step 2: This is a first-order linear differential equation of the form dy
dx +
P(x)y=Q(x), where P(x) = 1 and Q(x) = x2.
Step 3: To solve the differential equation, we multiply both sides by the
integrating factor, eRP(x)dx, which in this case is eR1dx =ex. This gives us:
exdy
dx exy=exx2
Step 4: Notice that the left-hand side is equal to d
dx (yex) by the product
rule. Therefore, we rewrite the equation as:
d
dx(yex) = exx2
Step 5: Now we integrate both sides with respect to xto solve for y:
Zd
dx(yex)dx =Zexx2dx
Step 6: Integrating both sides gives us:
yex=exx22ex+C
where Cis the constant of integration.
Step 7: To solve for y, multiply through by exand simplify:
y=x22 + Cex
Step 8: Using the initial condition, y(0) = 2, we can find the value of the
constant C:
2 = 022 + Ce0
2 = 2 + CC= 4
Step 9: Therefore, the particular solution to the initial value problem is:
y=x22+4ex
Question 25
Question
Solve the initial value problem:
dy
dx = 2x+ 3y, y(0) = 1
24
Solution
Step 1: First, let’s rewrite the given initial value problem as:
dy
dx 3y= 2xwith y(0) = 1
Step 2: This is a first-order linear differential equation. We can solve it by
finding the integrating factor. The integrating factor I(x) is given by:
I(x) = eR3dx =e3x
Step 3: Now, multiply both sides of the differential equation by the integrat-
ing factor:
e3xdy
dx 3e3xy= 2xe3x
Step 4: The left side can be written in the form of the product rule:
d
dx(e3xy) = 2xe3x
Step 5: Integrate both sides with respect to x:
Zd(e3xy) = Z2xe3xdx
Step 6: This gives us:
e3xy=Z2xe3xdx =2
3xe3x2
9e3x+C
Step 7: Solving for y, we get:
y=2
3x2
9+Ce3x
Step 8: Using the initial condition y(0) = 1, we can find the value of the
constant C:
1 = 2
9+CC=11
9
Step 9: Therefore, the solution to the initial value problem is:
y=2
3x2
9+11
9e3x
Question 26
Question
Solve the initial value problem:
y=2x+y
x+ 2y, y(0) = 1
25
Solution
To solve the initial value problem, we will use separation of variables. Let’s
begin by rewriting the differential equation:
y=2x+y
x+ 2y
Step 1: Write the equation in the form g(y)dy =f(x)dx:
(x+ 2y)dy = (2x+y)dx
Step 2: Integrate both sides:
Z(x+ 2y)dy =Z(2x+y)dx
Zx dy +Z2y dy =Z2x dx +Zy dx
xy +y2=x2+y+C
Step 3: Use the initial condition y(0) = 1 to solve for the constant C:
01+12= 02+1+C
C= 1
Step 4: Substitute C= 1 back into the equation:
xy +y2=x2+y+ 1
Step 5: Since we cannot solve explicitly for y, we have found the implicit
solution to the differential equation:
xy +y2=x2+y+ 1
Question 27
Question
Consider the initial value problem:
dy
dx =y2+ 2x, y(0) = 1
Find the solution to the initial value problem.
26
Solution
Step 1: Rewrite the initial value problem as a separable differential equation:
dy
dx =y2+ 2x
Step 2: Separate the variables by writing the equation as:
dy
y2=dx + 2x
Step 3: Integrate both sides with respect to their respective variables:
Z1
y2dy =Z1dx +Z2x dx
Step 4: Evaluate the integrals:
=1
y=x+x2+C(where C is the constant of integration)
=1
y=x2+x+C
=1 = y(x2+x+C)
=y=1
x2+x+C
Step 5: Apply the initial condition y(0) = 1 to solve for the constant C:
1 = 1
02+0+C
1 = 1
C
C=1
Step 6: Substitute the value of C back into the solution found in Step 4 to
get the final solution:
y=1
x2+x1
Therefore, the solution to the initial value problem is y=1
x2+x1.
Question 28
Question
Find the solution to the initial value problem:
dy
dx = 2x1, y(0) = 3
27
Solution
Step 1: Find the general solution by integrating both sides of the differential
equation.
Zdy
dx dx =Z(2x1) dx
Step 2: Integrate to find the general solution.
y=Z(2x1) dx
Step 3: Integrate to find the general solution.
y=x2x+C
Step 4: Use the initial condition y(0) = 3 to find the value of the constant
C.
3=020 + C=C= 3
Step 5: Substitute the value of Cback into the general solution to find the
particular solution.
y=x2x+ 3
Therefore, the solution to the initial value problem is y=x2x+ 3 with
the initial condition y(0) = 3.
Question 29
Question
Consider the initial value problem:
dy
dx = 2x+y, y(0) = 1
Find the particular solution to the initial value problem.
Solution
Step 1: First, we rewrite the initial value problem using an integrating factor.
The integrating factor is µ(x) = eR1dx =ex. Multiply the integrating factor by
the original differential equation to get:
exdy
dx 2xex=yex
Step 2: Notice that the left side is the derivative of a product. We can
rewrite the equation as: d
dx(yex)=0
28
Step 3: Integrate both sides with respect to x:
Zd
dx(yex)dx =Z0dx
yex=C
where Cis the constant of integration.
Step 4: To find the particular solution, use the initial condition y(0) = 1:
1·e0=C
C= 1
Step 5: Therefore, the particular solution to the initial value problem is
yex= 1, or y=ex.
Question 30
Question
Solve the initial value problem:
dy
dx =2x+y
x, y(1) = 3
Solution
Step 1: Rewrite the differential equation in standard form by multiplying through
by dx:
dx =x
2x+ydy
Step 2: Use the initial condition y(1) = 3 to find the constant of integration:
Zx
1
dx =Zy
3
x
2x+ydy
Step 3: Evaluate the integrals:
x1 = Zy
3
x
2x+ydy
Step 4: Perform the integration on the right-hand side:
x1=[xln |2x+y|]y
3Zy
3
x
2x+ydy
Step 5: Evaluate the integral on the right-hand side by substitution:
x1 = yln |2y+y| 3 ln |2·3+3| [xln |2x+y|]y
3
Step 6: Simplify the expression using the initial condition:
x1 = yln |3y| 3 ln 9 (3 ln 9) ln 3 + (1 ln 5)
Step 7: Use the initial condition to find the final solution:
x=yln |3y| ln 3
29
Question 31
Question
Consider the initial value problem given by:
dy
dx =x2+y2
xy , y(1) = 1
Use the method of separation of variables to find the particular solution to
the initial value problem.
Solution
To solve the initial value problem using separation of variables, we will need to
express the given differential equation in the form of dy
dx =f(x)g(y).
Step 1: Rewrite the given differential equation to separate variables.
dy
dx =x2+y2
xy =x
y+y
x
Step 2: Separate variables by multiplying through by yand dx:
y dy =x dx +y dx
Step 3: Integrate both sides:
Zy dy =Zx dx +Zy dx
1
2y2=1
2x2+xy +C1
where C1is the constant of integration.
Step 4: Apply the initial condition y(1) = 1 to find the value of C1:
1
2(1)2=1
2(1)2+ (1)(1) + C1
1
2=1
2+1+C1
C1=3
2
Step 5: Substitute C1=3
2back into the general solution:
1
2y2=1
2x2+xy 3
2
y2=x2+ 2xy 3
Therefore, the particular solution to the initial value problem is y2=x2+
2xy 3.
30
Question 32
Question
Consider the initial value problem:
y= 2y3, y(0) = 4
Find the solution to the differential equation and determine the value of y
when x= 3.
Solution
Step 1: First, let’s find the general solution to the differential equation y=
2y3. The differential equation is linear, so we will first find the integrating
factor µ(x) = eR2dx =e2x. Multiplying both sides of the differential equation
by µ(x), we get:
e2xy2e2xy=3e2x
This can be rewritten as: d
dx(e2xy) = 3e2x
Integrating both sides with respect to x, we get:
e2xy=Z3e2xdx =3
2e2x+C
Solving for y, we have:
y=3
2+Ce2x
Step 2: Next, plug in the initial condition y(0) = 4 to solve for C.
4 = 3
2+Ce0
C= 4 + 3
2=11
2
Step 3: Substitute the value of Cback into the general solution to get the
particular solution.
y=3
2+11
2e2x
Step 4: Finally, find the value of ywhen x= 3.
y(3) = 3
2+11
2e6=3
2+11
2e6
31
Question 33
Question
Solve the initial value problem:
2y+y= 4e2x, y(0) = 3
Solution
Step 1: First, we need to solve the homogeneous equation 2y+y= 0 by
finding the integrating factor µ(x). The integrating factor µ(x) is given by
µ(x) = eR1
2dx =e1
2x.
Step 2: Multiply both sides of the homogeneous equation by the integrating
factor µ(x):
e1
2x·(2y+y) = e1
2x·0
2e1
2xy+e1
2xy= 0
Step 3: Recognize that the left-hand side of the above equation is the result
of the product rule for differentiation. Therefore, we can rewrite it as follows:
d
dx(2e1
2xy)=0
Step 4: Integrate both sides of the above equation:
Zd
dx(2e1
2xy)dx =Z0dx
2e1
2xy=C
Step 5: Solve for yin the above equation to find the general solution to the
homogeneous equation:
y=Ce1
2x
Step 6: Next, we find a particular solution to the non-homogeneous equation
by assuming yp=Ae2x, where Ais a constant coefficient to be determined.
Step 7: Differentiate ypand substitute it into the non-homogeneous equation
to solve for A:
y
p=2Ae2x
2(2Ae2x) + Ae2x= 4e2x
Step 8: Solve for Aby simplifying the above equation:
4Ae2x+Ae2x= 4e2x
3Ae2x= 4e2x
A=4
3
32
Step 9: Write the particular solution ypwith the determined value of A:
yp=4
3e2x
Step 10: The general solution to the non-homogeneous equation is the sum
of the general solution to the homogeneous equation and the particular solution:
y=Ce1
2x4
3e2x
Step 11: Apply the initial condition y(0) = 3 to find the value of C:
3 = Ce04
3e0
3 = C4
3
C=13
3
Step 12: The solution to the initial value problem 2y+y= 4e2x,y(0) = 3,
is:
y=13
3e1
2x4
3e2x
Question 34
Question
Solve the initial value problem:
dy
dx = 2x(3y1) with y(0) = 2
Solution
Step 1: Rewrite the differential equation in a more manageable form by sepa-
rating variables. dy
3y1= 2xdx
Step 2: Integrate both sides with respect to their respective variables.
Zdy
3y1=Z2xdx
Step 3: Solve the integrals separately.
Zdy
3y1=Z2xdx
33
Step 4: For the left integral, use substitution by letting u= 3y1 and
du = 3dy.1
3Zdu
u=Z2xdx
Step 5: Integrate both sides.
1
3ln |u|=x2+C1
Step 6: Substitute back u= 3y1.
1
3ln |3y1|=x2+C1
Step 7: Solve for y.
ln |3y1|= 3x2+ 3C1
Step 8: Move from logarithmic form to exponential form.
3y1 = e3x2+3C1
Step 9: Simplify the expression.
3y=e3x2+3C1+ 1
Step 10: Solve for yby dividing by 3.
y=e3x2+3C1+ 1
3
Step 11: Use the initial condition y(0) = 2 to solve for the constant C1.
2 = e0+3C1+ 1
3
Step 12: Simplify and solve for C1.
6 = e3C1+ 1
e3C1= 5
3C1= ln(5)
C1=ln(5)
3
Step 13: Substitute the value of C1back into the solution obtained.
y=e3x2+ln(5) + 1
3
y=5e3x2+ 1
3
Therefore, the solution to the initial value problem is y=5e3x2+1
3.
34
Question 35
Question
Consider the initial value problem:
dy
dx =2x+ 3y
3x+ 4y, y(1) = 2
Find the particular solution to the initial value problem.
Solution
Step 1: Rewrite the initial value problem using separation of variables:
dy
dx =2x+ 3y
3x+ 4y
(3x+ 4y)dy = (2x+ 3y)dx
Step 2: Integrate both sides:
Z(3x+ 4y)dy =Z(2x+ 3y)dx
3xy + 2y2=x2+ 3xy +C
2y2=x2+C
Step 3: Use the initial condition y(1) = 2 to solve for the constant C:
2(2)2= (1)2+C
8 = 1 + C
C= 7
Step 4: Substitute C= 7 back into the equation from Step 2:
2y2=x2+ 7
Step 5: Using the initial condition y(1) = 2, solve for x:
2(2)2= (1)2+ 7
8=8
Step 6: Therefore, the particular solution to the initial value problem is
2y2=x2+ 7.
35
Step 3: Integrate both sides:
Z1
y(y4) dy =Zdt
Z1
4y+1
4(y4)dy =Zdt
1
4ln |y|+1
4ln |y4|=t+C
ln
y4
y
= 4t+C
y4
y=ke4t
where k=eC.
Step 4: Apply initial condition: Substitute y= 3 and t= 0 into the
solution to find k:34
3=k·1k=1
3
Step 5: Final solution: Thus, the solution to the initial value problem is:
y4
y=1
3e4t
y=4
1+3e4t
Question 2
Question
Consider the initial value problem:
dy
dx = 2yx, y(0) = 1
Find the particular solution to the initial value problem.
Solution
Step 1: First, we need to solve the differential equation.
Given: dy
dx = 2yx
Separating variables, we get:
dy
2yx=dx
Integrating both sides gives:
2
Z1
2yxdy =Zdx
Step 2: Continuing from the previous step, we solve the integrals:
Let u= 2yx, then du = 2dy
Therefore, the integral on the left side becomes:
1
2Z1
udu =1
2ln |u|+C1
And the integral on the right side is simply:
Zdx =x+C2
Step 3: Next, we substitute back for uand simplify:
1
2ln |2yx|=x+C
Where C=C2C1is a constant of integration.
Step 4: Now, we apply the initial condition y(0) = 1 to find the particular
solution.
When x= 0 and y= 1, we have:
1
2ln |2(1) 0|= 0 + C
1
2ln 2 = C
So, the particular solution is:
1
2ln |2yx|=x+1
2ln 2
Question 3
Question
Consider the initial value problem:
dy
dx = 2yx2, y(0) = 1.
Find the particular solution of the differential equation that satisfies the
initial condition.
3
Solution
Step 1: First, let’s solve the differential equation by separating variables. We
have: dy
dx = 2yx2.
Step 2: Rearranging the terms, we get:
dy
2yx2=dx.
Step 3: Now, integrate both sides with respect to yand xseparately.
Z1
2yx2dy =Zdx.
Step 4: The integral on the left side can be simplified by using substitution.
Let u= 2yx2, then du = 2 dy.
1
2Z1
udu =Zdx.
Step 5: Integrating, we have:
1
2ln |u|=x+C,
where Cis the constant of integration.
Step 6: Substitute back u= 2yx2into the equation:
1
2ln |2yx2|=x+C.
Step 7: Since y(0) = 1, substitute x= 0 and y= 1 into the equation to solve
for C:1
2ln |2(1) 02|= 0 + C.
1
2ln |2|=C.
C= ln |2|1/2.
Step 8: Finally, substitute the value of Cback into the equation to find the
particular solution: 1
2ln |2yx2|=x+ ln |2|1/2.
Therefore, the particular solution of the differential equation that satisfies
the initial condition y(0) = 1 is 1
2ln |2yx2|=x+ ln |2|1/2.
4
Question 4
Question
Solve the initial value problem: y=1
2y+ 3ex
2,y(0) = 1.
Solution
Step 1: First, we find the integrating factor for the given differential equation.
The integrating factor is given by µ(x) = eR1
2dx =ex
2.
Step 2: Multiply both sides of the differential equation by the integrating
factor:
ex
2y1
2ex
2y= 3
Step 3: Notice that the left side is the result of applying the product rule to
ex
2y. So we can rewrite the equation as:
d
dx(ex
2y)=3
Step 4: Integrate both sides with respect to x:
Zd
dx(ex
2y)dx =Z3dx
ex
2y= 3x+C
Step 5: Apply the initial condition y(0) = 1 to find the value of C:
e0·1 = 3 ·0 + C
C= 1
Step 6: Substitute the value of Cback into the equation found in Step 4:
ex
2y= 3x+ 1
Step 7: Solve for y:
y= 3xex
2+ex
2
Therefore, the solution to the initial value problem is y= 3xex
2+ex
2.
Question 5
Question
Solve the initial value problem: dy
dx + 2xy =x,y(0) = 1.
5
Solution
To solve this differential equation, we will use an integrating factor method.
Step 1: Identify the integrating factor. The integrating factor µ(x) is given
by:
µ(x) = eR2x dx
Step 2: Find the integrating factor.
Z2x dx =x2
Hence, the integrating factor is:
µ(x) = ex2
Step 3: Multiply the differential equation by the integrating factor. The
differential equation becomes:
ex2dy
dx + 2xex2y=xex2
Step 4: Rewrite the left-hand side as the derivative of a product. Using the
product rule, we have: d
dx ex2y=xex2
Step 5: Integrate both sides. Integrating both sides gives:
ex2y=Zxex2dx +C
ex2y=1
2ex2+C
Step 6: Solve for y. Solving for y, we get:
y=1
2+Cex2
Step 7: Apply the initial condition. Using the initial condition y(0) = 1,
we find:
1 = 1
2+C
C=1
2
Step 8: Final solution. Therefore, the solution to the initial value problem
is:
y=1
2+1
2ex2
6
Question 6
Question
Consider the initial value problem y2y=e2x, where y(0) = 1. Find the
particular solution to the differential equation that satisfies the initial condition.
Solution
Step 1: First, we find the integrating factor I(x). Let y2y=e2x. The
integrating factor is given by
I(x) = eR2dx =e2x.
Step 2: Multiply both sides of the differential equation by the integrating
factor and simplify. Multiply e2xto both sides of the equation to get
e2x(y2y) = e2xe2x.
This simplifies to d
dx(e2xy)=1.
Step 3: Integrate both sides of the equation. Integrating both sides with
respect to x, we get
Zd
dx(e2xy)dx =Z1dx.
So, we have
e2xy=x+C,
where Cis the constant of integration.
Step 4: Apply the initial condition y(0) = 1 to solve for the constant C.
Substitute x= 0 and y= 1 into the equation above:
e0·1 = 0 + C.
Therefore, C= 1.
Step 5: Finally, find the particular solution. Substitute the value of Cback
into the equation above:
e2xy=x+ 1.
Hence, the particular solution to the initial value problem is given by
y=e2x(x+ 1).
Question 7
Question
Solve the initial value problem:
dy
dx =2x(y+ 1), y(0) = 2
7
Solution
Step 1: We start by separating the variables in the given differential equation:
dy
y+ 1 =2xdx
Step 2: Next, we integrate both sides of the equation:
Z1
y+ 1dy =Z2xdx
Step 3: Integrating the left side with respect to y and the right side with
respect to x, we get:
ln |y+ 1|=x2+C
where Cis the constant of integration.
Step 4: Exponentiating both sides of the equation yields:
|y+ 1|=ex2+C=eCex2
Step 5: Since y(0) = 2, we substitute x= 0 and y= 2 into the equation to
find C:
|2+1|=eC3 = eCC= ln 3
Step 6: Therefore, the solution to the initial value problem is:
y=ex21
Question 8
Question
Consider the initial value problem:
dy
dx = 2x24x+ 5, y(0) = 3.
Find the solution to the initial value problem.
Solution
Step 1: Find the general solution
dy
dx = 2x24x+ 5.
Zdy =Z(2x24x+ 5)dx.
y=2
3x32x2+ 5x+C.
8
where Cis the constant of integration.
Step 2: Use the initial condition to find the particular solution
y(0) = 3,
2
3(0)32(0)2+ 5(0) + C= 3,
C= 3.
Therefore, the solution to the initial value problem is:
y=2
3x32x2+ 5x+ 3.
Question 9
Question
Solve the initial value problem:
y= sin(2x)2y, y(0) = 1
Solution
Step 1: First, we find the general solution to the homogeneous differential equa-
tion y=2yby separating variables:
dy
dx =2ydy
y=2dx ln |y|=2x+C1
where C1is the constant of integration. Exponentiating both sides gives |y|=
eC1e2x. Since eC1is just another constant, we can simplify this to |y|=Ce2x,
where Cis a constant.
Step 2: Now, we will find a particular solution to the non-homogeneous part
of the equation. Let ypbe a particular solution to the equation y= sin(2x).
We can guess yp=Asin(2x) + Bcos(2x) and find Aand Bby substitution:
y
p= 2Acos(2x)2Bsin(2x) = sin(2x)
Comparing coefficients, we get 2A= 0 and 2B= 1, which gives A= 0 and
B=1
2. Therefore, yp=1
2cos(2x).
Step 3: The general solution to the non-homogeneous differential equation is
the sum of the particular solution and the general solution to the homogeneous
equation, so y=Ce2x1
2cos(2x).
Step 4: Using the initial condition y(0) = 1, we find:
1 = Ce01
2cos(0) 1 = C1
2C=3
2
Therefore, the solution to the initial value problem is y=3
2e2x1
2cos(2x).
9
Question 10
Question
Consider the initial value problem:
dy
dx =3x2+y
2x, y(1) = 4
Find the particular solution to the initial value problem.
Solution
Step 1: Rewrite the given differential equation in a more convenient form.
dy
dx =3x2+y
2x=2xdy
dx = 3x2+y
Step 2: Recognize that the differential equation is linear and in standard
form y+P(x)y=Q(x), where P(x) = 2
xand Q(x) = 3x2.
Step 3: Find the integrating factor µ(x) = eRP(x)dx.
µ(x) = eR2
xdx =e2 ln |x|=eln x2=x2
Step 4: Multiply the integrating factor by both sides of the differential equa-
tion.
x2·dy
dx 2xy = 3x3
Step 5: Rewrite the equation as the derivative of a product.
d
dx(x2y) = 3x3
Step 6: Integrate both sides of the equation with respect to x.
Zd(x2y) = Z3x3dx
Step 7: Solve the integrals.
x2y=3
4x4+C
Step 8: Apply the initial condition y(1) = 4 to find the value of the constant
C.
(1)2·4 = 3
4(1)4+C=4 = 3
4+C=C=16
43
4=13
4
Step 9: Write the particular solution.
x2y=3
4x4+13
4=y=3
4x2+13
4x2
Therefore, the particular solution to the initial value problem is y=3
4x2+
13
4x2.
10
Question 11
Question
Consider the initial value problem:
dy
dx =2xy
2yx, y(0) = 1
Solve the initial value problem.
Solution
To solve the initial value problem, we will first rewrite the given differential
equation in a more familiar form by letting u=y
x.
Step 1: Rewrite the differential equation using u=yxLet u=y
x.
Then, we have y=ux and dy
dx =xdu
dx +u.
Substitute u=y
xinto the given differential equation to obtain:
xdu
dx +u=2xux
2ux x
Step 2: Solve for uSolving the above equation for ugives:
xdu
dx +u=2xux
2ux x
xdu
dx +u=2x(1 u)
x(2u1)
xdu
dx +u=2(1 u)
2u1
xdu
dx =2(1 u)
2u1u
xdu
dx =22u2u(2u1)
2u1
xdu
dx =22u4u2+ 2u
2u1
xdu
dx =24u2
2u1
Separate variables, xand u, to solve for uby integrating:
(2u1)du = (2 4u2)1
xdx
11
Question 12
Question
Solve the initial value problem:
y=1
x2+y, y(1) = 1.
Solution
Step 1: Rewrite the differential equation in standard form.
dy
dx =1
x2+y
Step 2: Separate variables to solve the differential equation.
(x2+y)dy =dx
Step 3: Integrate both sides of the equation.
Z(x2+y)dy =Zdx
x2y+1
2y2=x+C
Step 4: Use the initial condition y(1) = 1 to find the value of C.
12(1) + 1
2(1)2= 1 + C
11
2= 1 + C
3
2= 1 + C
C=5
2
Step 5: Substitute the value of Cback into the equation found in Step 3.
x2y+1
2y2=x5
2
Step 6: Now, we need to solve for y. This is a nonlinear equation, and
solving for yexplicitly may be difficult. Therefore, we have found the general
solution implicitly.
12
Question 13
Question
Find the particular solution to the initial value problem: y= 2x+ 3e2y,y(0) =
1.
Solution
Step 1: First, separate the variables in the given differential equation:
dy
dx = 2x+ 3e2y
Step 2: Next, integrate both sides with respect to x:
Zdy =Z2xdx +Z3e2ydx
Step 3: Integrate each term separately:
y=x2+C1+ 3 Ze2ydx
Step 4: To integrate e2ywith respect to y, let u= 2yso du = 2dy:
y=x2+C1+Z3
2eudu
Step 5: Evaluate the integral:
y=x2+C1+3
2e2y+C2
Step 6: Simplify the equation:
y3
2e2y=x2+C
Step 7: Use the initial condition y(0) = 1 to find the value of the constant
C:
13
2e2= 0 + C
Step 8: Solve for C:
C=3
2e21
Step 9: Substitute the value of Cback into the equation to find the particular
solution:
y3
2e2y=x2+3
2e21
Therefore, the particular solution to the initial value problem is y=x2+
3
2e21 + 3
2e2y.
13
Question 14
Question
Solve the initial value problem:
dy
dt =t22y, y(0) = 1
Solution
Step 1: First, let’s find the general solution to the differential equation dy
dt =
t22y. We can rewrite this equation as dy
dt + 2y=t2.
Step 2: This is a first-order linear differential equation, so we can use the
integrating factor method. The integrating factor is eR2dt =e2t.
Step 3: Multiply the integrating factor by the equation to get:
e2tdy
dt + 2e2ty=e2tt2
Step 4: Rewrite the left side as a derivative of a product:
d
dt(e2ty) = e2tt2
Step 5: Integrate both sides with respect to t:
Zd
dt(e2ty)dt =Ze2tt2dt
Step 6: Integrating gives:
e2ty=Zt2e2tdt
Step 7: Now, we need to solve the integral on the right side. This requires
integrating by parts one or more times.
Step 8: After integrating by parts, we find:
Zt2e2tdt =1
2t2e2t1
2Ze2tdt
Step 9: Continuing to solve the integral, we have:
Ze2tdt =1
2e2t+C
Step 10: Substituting this back in, we have:
e2ty=1
2t2e2t1
4e2tC
2
14
Step 11: Solve for yby dividing by e2t:
y=1
2t21
4C
2e2t
Step 12: Use the initial condition y(0) = 1 to find the value of C. Substitute
t= 0 and y= 1 into the equation.
Step 13: Solving for Cgives C=1/4.
Step 14: Substitute Cback into the equation for yto obtain the final solu-
tion.
Therefore, the solution to the initial value problem is:
y=1
2t21
41
2e2t
Question 15
Question
Find the particular solution to the initial value problem:
dy
dx = 3x2+ 4x, y(0) = 5.
Solution
Step 1: First, we solve the differential equation to find the general solution.
dy
dx = 3x2+ 4x
Integrating both sides with respect to x, we get:
Zdy =Z(3x2+ 4x)dx
y=x3+ 2x2+C
where Cis a constant.
Step 2: Next, we apply the initial condition y(0) = 5 to find the particular
solution.
5=03+ 2(0)2+C
C= 5
Step 3: Therefore, the particular solution to the initial value problem is:
y=x3+ 2x2+ 5
15
Question 16
Question
Solve the initial value problem:
dy
dx = 2xy, y(0) = 1.
Solution
Step 1: Write the initial value problem as a differential equation.
dy
dx = 2xy, y(0) = 1.
Step 2: Separate variables to solve the differential equation.
dy
y= 2xdx.
Step 3: Integrate both sides.
Z1
ydy =Z2xdx.
Step 4: Solve the integrals.
ln |y|=x2+C,
where Cis the constant of integration.
Step 5: Solve for y.
y=ex2+C=Cex2.
Step 6: Use the initial condition y(0) = 1 to find the value of C.
1 = C.
Step 7: Substitute C=1 back into the equation for y.
y=ex2.
Therefore, the solution to the initial value problem is y=ex2.
Question 17
Question
Solve the initial value problem:
dy
dx =1
2ywith y(0) = 3
16
Solution
Step 1: First, we rearrange the differential equation to separate variables:
dy
y=1
2dx
Step 2: Next, we integrate both sides:
Z1
ydy =Z1
2dx
Step 3: Integrating, we get:
ln |y|=1
2x+C
Step 4: Using the initial condition y(0) = 3, we find the value of the constant
C:
ln |3|= 0 + C=C= ln(3)
Step 5: Substituting this value back into the equation, we have:
ln |y|=1
2x+ ln(3)
Step 6: Exponentiating both sides to eliminate the natural logarithm:
y=e1
2x+ln(3) = 3e1
2x
Therefore, the solution to the initial value problem is y= 3e1
2x.
Question 18
Question
Consider the initial value problem:
dy
dx =e2xsin(3x), y(0) = 1
Find the particular solution to the initial value problem.
Solution
Step 1: First, we need to solve the differential equation dy
dx =e2xsin(3x). Inte-
grating both sides with respect to xgives:
Zdy
dx dx =Ze2xsin(3x)dx
17
y=1
13e2x(3 sin(3x)cos(3x)) + C
Step 2: Next, we use the initial condition y(0) = 1 to find the value of C.
Substitute x= 0 and y= 1 into the equation:
1 = 1
13(3 sin(0) cos(0)) + C
1 = 1
13(1) + C
1 = 1
13 +CC=12
13
Step 3: Finally, substitute C=12
13 back into the general solution to find the
particular solution:
y=1
13e2x(3 sin(3x)cos(3x)) + 12
13
Therefore, the particular solution to the initial value problem is y=1
13 e2x(3 sin(3x)
cos(3x)) + 12
13 .
Question 19
Question
Solve the initial value problem: dy
dx =e2y,y(0) = 1.
Solution
To solve this initial value problem, we will separate variables and then integrate
both sides.
Step 1: Separate variables by writing the differential equation as follows:
dy
dx =e2y
e2ydy =dx
Step 2: Integrate both sides:
Ze2ydy =Zdx
1
2e2y=x+C
where Cis the constant of integration.
Step 3: Solve for yusing the initial condition y(0) = 1:
1
2e2·1= 0 + C
18
1
2e2=C
Step 4: Substitute back into the equation to find the solution:
1
2e2y=x+1
2e2
e2y= 2(x+1
2e2)
2y= ln2x+e2
y=1
2ln2x+e2
Therefore, the solution to the initial value problem is y=1
2ln2x+e2.
Question 20
Question
Consider the initial value problem:
y=2y
t+ sin(t), y(1) = 1.
Find the particular solution to the initial value problem.
Solution
Step 1: First, we rewrite the given initial value problem in standard form by
separating variables: dy
dt =2y
t+ sin(t).
Step 2: Next, we isolate yterms and tterms:
dy
2y=dt
t+ sin(t)dt.
Step 3: We integrate both sides:
Z1
2ydy =Z1
tdt +Zsin(t)dt.
Step 4: Solving the integrals gives us:
1
2ln |y|= ln |t| cos(t) + C,
where Cis the constant of integration.
19
Step 5: Simplifying and solving for y, we have:
ln |y|= 2 ln |t| 2 cos(t) + C.
Here, C= 2C.
Step 6: Exponentiating both sides, we obtain:
|y|=e2 ln |t|·e2 cos(t)+C
|y|=t2e2 cos(t)+C.
Step 7: Applying the initial condition y(1) = 1, we get:
|1|= 12e2 cos(1)+C,
which gives us C= 0.
Step 8: Therefore, the particular solution to the initial value problem is:
y=t2e2 cos(t).
Question 21
Question
Consider the initial value problem
dy
dx = 2yx, y(0) = 1.
Find the particular solution y(x) satisfying the initial condition.
Solution
Step 1: First, let’s solve the differential equation using the method of integrating
factor. The integrating factor is given by µ(x) = eR2dx =e2x. Multiplying both
sides of the differential equation by the integrating factor, we have
e2xdy
dx =e2x(2yx).
Step 2: Notice that the left side can be written as the derivative of the
product e2xy. Therefore, we have
d
dx(e2xy) = e2x(2yx).
Step 3: Integrating both sides with respect to x, we get
e2xy=Ze2x(2yx)dx.
20
Step 4: Solving the integral on the right side, we have
e2xy= 2 Ze2xy dx Zxe2xdx.
Step 5: Integrating Rxe2xdx by parts, let u=xand dv =e2xdx, then
du =dx and v=1
2e2x. Hence, we have
e2xy= 2e2xy1
2xe2x1
4e2x+C,
where Cis the constant of integration.
Step 6: Simplifying the equation, we get
e2xy2e2xy=1
2xe2x1
4e2x+C.
Step 7: Continuing to simplify, we find
y=1
2x1
4+Ce2x.
Step 8: Finally, applying the initial condition y(0) = 1, we get
1=01
4+CC=3
4.
Step 9: Therefore, the particular solution to the initial value problem is
y(x) = 1
2x1
43
4e2x.
Question 22
Question
Solve the initial value problem:
dy
dx = 2x23x, y(1) = 4
Solution
Step 1: Find the general solution by solving the differential equation.
dy
dx = 2x23x
Integrating both sides with respect to x, we get:
y=Z(2x23x)dx
21
y=2
3x33
2x2+C
where Cis the constant of integration.
Step 2: Use the initial condition y(1) = 4 to find the value of C.
4 = 2
3(1)33
2(1)2+C
4 = 2
33
2+C
4 = 2
39
6+C
4 = 2
33
6+C
4 = 4
63
6+C
4 = 1
6+C
C= 4 1
6
C=23
6
Step 3: Substitute the value of Cback into the general solution.
y=2
3x33
2x2+23
6
Therefore, the solution to the initial value problem is:
y=2
3x33
2x2+23
6
Question 23
Question
Solve the initial value problem:
dy
dx = 3y2x, y(0) = 4
22
Solution
Step 1: First, we write the given differential equation in the standard form
dy
dx 3y=2x.
Step 2: Next, we find the integrating factor by computing eR3dx.
Integrating factor = e3x
Step 3: We multiply the integrating factor with both sides of the differential
equation:
e3xdy
dx 3e3xy=2xe3x
Step 4: The left-hand side of the equation can be rewritten using the product
rule as d
dx (ye3x).
d
dx(ye3x) = 2xe3x
Step 5: Now, we integrate both sides with respect to x:
Zd
dx(ye3x)dx =Z2xe3xdx
Step 6: Integrating both sides gives us:
ye3x=2
9x2e3x+C
where Cis the constant of integration.
Step 7: To find the value of C, we use the initial condition y(0) = 4.
4 = 0 + CC= 4
Step 8: Substituting the value of Cback into the equation, we have:
ye3x=2
9x2e3x+ 4
Step 9: Finally, solving for ygives:
y=2
9x2+ 4e3x
Therefore, the solution to the initial value problem is y=2
9x2+ 4.
Question 24
Question
Consider the initial value problem:
dy
dx =x2+y, y(0) = 2
Find the particular solution to the initial value problem.
23
Solution
Step 1: First, let’s rewrite the given initial value problem into a more familiar
form: dy
dx y=x2, y(0) = 2
Step 2: This is a first-order linear differential equation of the form dy
dx +
P(x)y=Q(x), where P(x) = 1 and Q(x) = x2.
Step 3: To solve the differential equation, we multiply both sides by the
integrating factor, eRP(x)dx, which in this case is eR1dx =ex. This gives us:
exdy
dx exy=exx2
Step 4: Notice that the left-hand side is equal to d
dx (yex) by the product
rule. Therefore, we rewrite the equation as:
d
dx(yex) = exx2
Step 5: Now we integrate both sides with respect to xto solve for y:
Zd
dx(yex)dx =Zexx2dx
Step 6: Integrating both sides gives us:
yex=exx22ex+C
where Cis the constant of integration.
Step 7: To solve for y, multiply through by exand simplify:
y=x22 + Cex
Step 8: Using the initial condition, y(0) = 2, we can find the value of the
constant C:
2 = 022 + Ce0
2 = 2 + CC= 4
Step 9: Therefore, the particular solution to the initial value problem is:
y=x22+4ex
Question 25
Question
Solve the initial value problem:
dy
dx = 2x+ 3y, y(0) = 1
24
Solution
Step 1: First, let’s rewrite the given initial value problem as:
dy
dx 3y= 2xwith y(0) = 1
Step 2: This is a first-order linear differential equation. We can solve it by
finding the integrating factor. The integrating factor I(x) is given by:
I(x) = eR3dx =e3x
Step 3: Now, multiply both sides of the differential equation by the integrat-
ing factor:
e3xdy
dx 3e3xy= 2xe3x
Step 4: The left side can be written in the form of the product rule:
d
dx(e3xy) = 2xe3x
Step 5: Integrate both sides with respect to x:
Zd(e3xy) = Z2xe3xdx
Step 6: This gives us:
e3xy=Z2xe3xdx =2
3xe3x2
9e3x+C
Step 7: Solving for y, we get:
y=2
3x2
9+Ce3x
Step 8: Using the initial condition y(0) = 1, we can find the value of the
constant C:
1 = 2
9+CC=11
9
Step 9: Therefore, the solution to the initial value problem is:
y=2
3x2
9+11
9e3x
Question 26
Question
Solve the initial value problem:
y=2x+y
x+ 2y, y(0) = 1
25
Solution
To solve the initial value problem, we will use separation of variables. Let’s
begin by rewriting the differential equation:
y=2x+y
x+ 2y
Step 1: Write the equation in the form g(y)dy =f(x)dx:
(x+ 2y)dy = (2x+y)dx
Step 2: Integrate both sides:
Z(x+ 2y)dy =Z(2x+y)dx
Zx dy +Z2y dy =Z2x dx +Zy dx
xy +y2=x2+y+C
Step 3: Use the initial condition y(0) = 1 to solve for the constant C:
01+12= 02+1+C
C= 1
Step 4: Substitute C= 1 back into the equation:
xy +y2=x2+y+ 1
Step 5: Since we cannot solve explicitly for y, we have found the implicit
solution to the differential equation:
xy +y2=x2+y+ 1
Question 27
Question
Consider the initial value problem:
dy
dx =y2+ 2x, y(0) = 1
Find the solution to the initial value problem.
26
Solution
Step 1: Rewrite the initial value problem as a separable differential equation:
dy
dx =y2+ 2x
Step 2: Separate the variables by writing the equation as:
dy
y2=dx + 2x
Step 3: Integrate both sides with respect to their respective variables:
Z1
y2dy =Z1dx +Z2x dx
Step 4: Evaluate the integrals:
=1
y=x+x2+C(where C is the constant of integration)
=1
y=x2+x+C
=1 = y(x2+x+C)
=y=1
x2+x+C
Step 5: Apply the initial condition y(0) = 1 to solve for the constant C:
1 = 1
02+0+C
1 = 1
C
C=1
Step 6: Substitute the value of C back into the solution found in Step 4 to
get the final solution:
y=1
x2+x1
Therefore, the solution to the initial value problem is y=1
x2+x1.
Question 28
Question
Find the solution to the initial value problem:
dy
dx = 2x1, y(0) = 3
27
Solution
Step 1: Find the general solution by integrating both sides of the differential
equation.
Zdy
dx dx =Z(2x1) dx
Step 2: Integrate to find the general solution.
y=Z(2x1) dx
Step 3: Integrate to find the general solution.
y=x2x+C
Step 4: Use the initial condition y(0) = 3 to find the value of the constant
C.
3=020 + C=C= 3
Step 5: Substitute the value of Cback into the general solution to find the
particular solution.
y=x2x+ 3
Therefore, the solution to the initial value problem is y=x2x+ 3 with
the initial condition y(0) = 3.
Question 29
Question
Consider the initial value problem:
dy
dx = 2x+y, y(0) = 1
Find the particular solution to the initial value problem.
Solution
Step 1: First, we rewrite the initial value problem using an integrating factor.
The integrating factor is µ(x) = eR1dx =ex. Multiply the integrating factor by
the original differential equation to get:
exdy
dx 2xex=yex
Step 2: Notice that the left side is the derivative of a product. We can
rewrite the equation as: d
dx(yex)=0
28
Step 3: Integrate both sides with respect to x:
Zd
dx(yex)dx =Z0dx
yex=C
where Cis the constant of integration.
Step 4: To find the particular solution, use the initial condition y(0) = 1:
1·e0=C
C= 1
Step 5: Therefore, the particular solution to the initial value problem is
yex= 1, or y=ex.
Question 30
Question
Solve the initial value problem:
dy
dx =2x+y
x, y(1) = 3
Solution
Step 1: Rewrite the differential equation in standard form by multiplying through
by dx:
dx =x
2x+ydy
Step 2: Use the initial condition y(1) = 3 to find the constant of integration:
Zx
1
dx =Zy
3
x
2x+ydy
Step 3: Evaluate the integrals:
x1 = Zy
3
x
2x+ydy
Step 4: Perform the integration on the right-hand side:
x1=[xln |2x+y|]y
3Zy
3
x
2x+ydy
Step 5: Evaluate the integral on the right-hand side by substitution:
x1 = yln |2y+y| 3 ln |2·3+3| [xln |2x+y|]y
3
Step 6: Simplify the expression using the initial condition:
x1 = yln |3y| 3 ln 9 (3 ln 9) ln 3 + (1 ln 5)
Step 7: Use the initial condition to find the final solution:
x=yln |3y| ln 3
29
Question 31
Question
Consider the initial value problem given by:
dy
dx =x2+y2
xy , y(1) = 1
Use the method of separation of variables to find the particular solution to
the initial value problem.
Solution
To solve the initial value problem using separation of variables, we will need to
express the given differential equation in the form of dy
dx =f(x)g(y).
Step 1: Rewrite the given differential equation to separate variables.
dy
dx =x2+y2
xy =x
y+y
x
Step 2: Separate variables by multiplying through by yand dx:
y dy =x dx +y dx
Step 3: Integrate both sides:
Zy dy =Zx dx +Zy dx
1
2y2=1
2x2+xy +C1
where C1is the constant of integration.
Step 4: Apply the initial condition y(1) = 1 to find the value of C1:
1
2(1)2=1
2(1)2+ (1)(1) + C1
1
2=1
2+1+C1
C1=3
2
Step 5: Substitute C1=3
2back into the general solution:
1
2y2=1
2x2+xy 3
2
y2=x2+ 2xy 3
Therefore, the particular solution to the initial value problem is y2=x2+
2xy 3.
30
Question 32
Question
Consider the initial value problem:
y= 2y3, y(0) = 4
Find the solution to the differential equation and determine the value of y
when x= 3.
Solution
Step 1: First, let’s find the general solution to the differential equation y=
2y3. The differential equation is linear, so we will first find the integrating
factor µ(x) = eR2dx =e2x. Multiplying both sides of the differential equation
by µ(x), we get:
e2xy2e2xy=3e2x
This can be rewritten as: d
dx(e2xy) = 3e2x
Integrating both sides with respect to x, we get:
e2xy=Z3e2xdx =3
2e2x+C
Solving for y, we have:
y=3
2+Ce2x
Step 2: Next, plug in the initial condition y(0) = 4 to solve for C.
4 = 3
2+Ce0
C= 4 + 3
2=11
2
Step 3: Substitute the value of Cback into the general solution to get the
particular solution.
y=3
2+11
2e2x
Step 4: Finally, find the value of ywhen x= 3.
y(3) = 3
2+11
2e6=3
2+11
2e6
31
Question 33
Question
Solve the initial value problem:
2y+y= 4e2x, y(0) = 3
Solution
Step 1: First, we need to solve the homogeneous equation 2y+y= 0 by
finding the integrating factor µ(x). The integrating factor µ(x) is given by
µ(x) = eR1
2dx =e1
2x.
Step 2: Multiply both sides of the homogeneous equation by the integrating
factor µ(x):
e1
2x·(2y+y) = e1
2x·0
2e1
2xy+e1
2xy= 0
Step 3: Recognize that the left-hand side of the above equation is the result
of the product rule for differentiation. Therefore, we can rewrite it as follows:
d
dx(2e1
2xy)=0
Step 4: Integrate both sides of the above equation:
Zd
dx(2e1
2xy)dx =Z0dx
2e1
2xy=C
Step 5: Solve for yin the above equation to find the general solution to the
homogeneous equation:
y=Ce1
2x
Step 6: Next, we find a particular solution to the non-homogeneous equation
by assuming yp=Ae2x, where Ais a constant coefficient to be determined.
Step 7: Differentiate ypand substitute it into the non-homogeneous equation
to solve for A:
y
p=2Ae2x
2(2Ae2x) + Ae2x= 4e2x
Step 8: Solve for Aby simplifying the above equation:
4Ae2x+Ae2x= 4e2x
3Ae2x= 4e2x
A=4
3
32
Step 9: Write the particular solution ypwith the determined value of A:
yp=4
3e2x
Step 10: The general solution to the non-homogeneous equation is the sum
of the general solution to the homogeneous equation and the particular solution:
y=Ce1
2x4
3e2x
Step 11: Apply the initial condition y(0) = 3 to find the value of C:
3 = Ce04
3e0
3 = C4
3
C=13
3
Step 12: The solution to the initial value problem 2y+y= 4e2x,y(0) = 3,
is:
y=13
3e1
2x4
3e2x
Question 34
Question
Solve the initial value problem:
dy
dx = 2x(3y1) with y(0) = 2
Solution
Step 1: Rewrite the differential equation in a more manageable form by sepa-
rating variables. dy
3y1= 2xdx
Step 2: Integrate both sides with respect to their respective variables.
Zdy
3y1=Z2xdx
Step 3: Solve the integrals separately.
Zdy
3y1=Z2xdx
33
Step 4: For the left integral, use substitution by letting u= 3y1 and
du = 3dy.1
3Zdu
u=Z2xdx
Step 5: Integrate both sides.
1
3ln |u|=x2+C1
Step 6: Substitute back u= 3y1.
1
3ln |3y1|=x2+C1
Step 7: Solve for y.
ln |3y1|= 3x2+ 3C1
Step 8: Move from logarithmic form to exponential form.
3y1 = e3x2+3C1
Step 9: Simplify the expression.
3y=e3x2+3C1+ 1
Step 10: Solve for yby dividing by 3.
y=e3x2+3C1+ 1
3
Step 11: Use the initial condition y(0) = 2 to solve for the constant C1.
2 = e0+3C1+ 1
3
Step 12: Simplify and solve for C1.
6 = e3C1+ 1
e3C1= 5
3C1= ln(5)
C1=ln(5)
3
Step 13: Substitute the value of C1back into the solution obtained.
y=e3x2+ln(5) + 1
3
y=5e3x2+ 1
3
Therefore, the solution to the initial value problem is y=5e3x2+1
3.
34
Question 35
Question
Consider the initial value problem:
dy
dx =2x+ 3y
3x+ 4y, y(1) = 2
Find the particular solution to the initial value problem.
Solution
Step 1: Rewrite the initial value problem using separation of variables:
dy
dx =2x+ 3y
3x+ 4y
(3x+ 4y)dy = (2x+ 3y)dx
Step 2: Integrate both sides:
Z(3x+ 4y)dy =Z(2x+ 3y)dx
3xy + 2y2=x2+ 3xy +C
2y2=x2+C
Step 3: Use the initial condition y(1) = 2 to solve for the constant C:
2(2)2= (1)2+C
8 = 1 + C
C= 7
Step 4: Substitute C= 7 back into the equation from Step 2:
2y2=x2+ 7
Step 5: Using the initial condition y(1) = 2, solve for x:
2(2)2= (1)2+ 7
8=8
Step 6: Therefore, the particular solution to the initial value problem is
2y2=x2+ 7.
35
Students also viewed