Question
Solve the differential equation
Solve the First-Order linear differential equation
p=em2emm−2em+C,C∈R
Evaluate
p′=2m−p
Rewrite the expression
p′+p=2m
Rewrite the expression
p′+1×p=2m
Since the equation is written in standard form, determine the functions P(m) and Q(m)
P(m)=1Q(m)=2m
Insert the function P(m)=1 into the formula for the integrating factor u(m)
u(m)=e∫1dmQ(m)=2m
Use the property of integral ∫kdx=kx
u(m)=emQ(m)=2m
Insert the integrating factor u(m) and the function Q(m) into the general solution formula
p=em1×∫2memdm
Calculate
More Steps

Evaluate
∫2memdm
Use the property of integral ∫kf(x)dx=k∫f(x)dx
2×∫memdm
Prepare for integration by parts
u=mdv=emdm
Calculate the derivative
More Steps

Calculate the derivative
u=m
Evaluate the derivative
du=m′dm
Evaluate the derivative
du=1dm
Simplify the expression
du=dm
du=dmdv=emdm
Evaluate the integral
More Steps

Evaluate the integral
dv=emdm
Evaluate the integral
∫1dv=∫emdm
Evaluate the integral
v=em
du=dmv=em
Substitute u=m、v=em、du=dm、dv=emdm for ∫udv=uv−∫vdu
2(mem−∫1×emdm)
Calculate
2(mem−∫emdm)
Calculate
2mem−2×∫emdm
Use the property of integral ∫exdx=ex
2mem−2em
Add the constant of integral C
2mem−2em+C,C∈R
p=em1×(2mem−2em+C),C∈R
Calculate
p=em2mem−2em+C,C∈R
Solution
p=em2emm−2em+C,C∈R
Show Solution