Use integration by parts and given substitutions in differential equations
Integrate a product on the independent-variable side, use a supplied substitution and check the interval after taking tangent or exponential.
Exam scope and assessment notes
Pure Mathematics 3 (Paper 3, A Level) · Mathematics 9709, 2026–2027, section 3.8. Paper 1 calculus and Paper 3 Integration are assumed. This pathway uses first-order separable equations, including Paper 3 integration methods, with all context assumptions supplied. Second-order equations and integrating-factor methods are beyond this mapped requirement. Check factors before dividing, retain equilibrium solutions, and state the interval and physical meaning of an initial-value solution. Written practice is self-checked; human subject-teacher review remains pending.
Before you begin
- Use integration by parts with exponential and trigonometric functions.
- Transform a given substitution and differentiate composite tangent or exponential functions.
Work on paper. Try each question before revealing help, and explain why your method works.
Quick readiness check
With u = t², which differential replaces t dt?
What you will learn
- Apply single or repeated parts and a given substitution after separating variables.
- Use the initial value and verify a composite solution without losing its allowed interval.
Choose a method after the equation is separated
For dy/dx = xe^(−x)(1 + y²), separation gives dy/(1 + y²) = xe^(−x) dx. On the right, parts with u = x and dv = e^(−x) dx gives −(x + 1)e^(−x) + C. With y(0) = 0, arctan y = 1 − (x + 1)e^(−x). For x ≥ 0 this angle increases from 0 towards 1 radian, remaining below π/2; taking tangent therefore defines a finite solution throughout that forward interval.
Repeated parts can arise in the same way. For y′ = x²e^(−x)y and y(0) = 1, integrate dy/y = x²e^(−x) dx using parts twice to obtain ln y = 2 − (x² + 2x + 2)e^(−x). Thus y = exp[2 − (x² + 2x + 2)e^(−x)]. Differentiate the exponent to check x²e^(−x), and then apply the exponential chain rule. The original equation separately has equilibrium y = 0.
Transform the independent variable consistently
For dy/dt = te^(t²)(1 + y²), a given substitution u = t² gives du = 2t dt. Consequently ∫te^(t²) dt = (1/2)e^(t²) + C. With y(0) = 0, arctan y = (e^(t²) − 1)/2. The tangent solution stays on the branch through zero only while that angle lies between −π/2 and π/2. For forward t this requires 0 ≤ t < √ln(1 + π).
A trigonometric product may instead need parts: ∫x cos x dx = x sin x + cos x + C. If it becomes an inverse-tangent relation, the final solution's interval must also exclude tangent poles. Verify the primitive before composing it with tangent or exponential. A valid integral is only one step: an incorrect initial constant, branch or inner derivative still produces an incorrect differential-equation solution.
Pause and explain
If arctan y = F(x), can y = tan F(x) be continued through a tangent pole as the same finite solution?
Worked example
Solve y′ = xe^(−x)(1 + y²), y(0) = 0, for x ≥ 0.
Show the worked solution
- Separate and integrate: arctan y = −(x + 1)e^(−x) + C.
- The initial condition gives C = 1, hence y = tan[1 − (x + 1)e^(−x)].
- The inner derivative is xe^(−x), so y′ = xe^(−x)(1 + y²); the inner angle stays in [0,1) for x ≥ 0.
Answer y = tan[1 − (x + 1)e^(−x)], x ≥ 0.
Try a topic test
Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.
Test this topic →From guided practice to a new situation
Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.
Solve y′ = xe^x y with y(0) = 2.
Give me a hint
Separate dy/y = xe^x dx and integrate the product by parts.
Compare my reasoning
- Parts gives ∫xe^x dx = (x − 1)e^x + C.
- The initial condition gives ln 2 = −1 + C, hence ln y = (x − 1)e^x + 1 + ln 2.
- Thus y = 2exp[(x − 1)e^x + 1]; its exponent derivative is xe^x and its value at zero is 2.
y = 2exp[(x − 1)e^x + 1], for all real x.
Look for these in your work
- Apply parts and the initial condition with the correct constant.
- Check the exponential chain rule against the original equation.
Solve y′ = x cos x(1 + y²), y(0) = 1, stating the branch condition around zero.
Give me a hint
Integrate x cos x by parts on the separated x side.
Compare my reasoning
- Integrate to obtain arctan y = x sin x + cos x + C.
- At zero, π/4 = 1 + C, so C = π/4 − 1.
- The solution is tan[x sin x + cos x + π/4 − 1], on the interval through zero where the inner angle stays between −π/2 and π/2.
y = tan[x sin x + cos x + π/4 − 1], on the branch through zero with inner angle in (−π/2, π/2).
Look for these in your work
- Keep the positive cos x term from parts.
- Use the initial angle and exclude poles of the composed tangent.
A supplied dimensionless response obeys dy/dt = te^(t²)(1 + y²), y(0) = 0. Use the given substitution u = t² to find y and its value at t = √ln 2, on the forward branch.
Give me a hint
The given substitution converts t dt to du/2.
Compare my reasoning
- Separation and substitution give arctan y = (1/2)e^(t²) + C.
- The initial value gives C = −1/2, so y = tan[(e^(t²) − 1)/2], for 0 ≤ t < √ln(1 + π).
- At t = √ln 2 the inner angle is 1/2 radian, giving y = tan(1/2), approximately 0.546.
y = tan[(e^(t²) − 1)/2], 0 ≤ t < √ln(1 + π); requested value tan(1/2) ≈ 0.546.
Look for these in your work
- Use the given substitution with its differential multiplier.
- Check the forward branch and evaluate the dimensionless response in radians.
Common mistakes
- Integrate the separated product rather than integrating its factors independently.
- Keep the factor 1/2 from the given substitution u = t².
- Check the allowed angle interval before composing an implicit result with tangent.
What can you explain now?
What is ∫xe^(−x) dx?
Compare with the explanation
−(x + 1)e^(−x) + C.
Differentiating by the product rule cancels the constant exponential term and leaves xe^(−x).
After trying it yourself, choose your next review. This is your self-assessment.
Your review choice appears on Today. Sign in to sync it across devices.
Make it stick
Separate before choosing an integration method. Verify a parts or substitution primitive, apply the initial condition and check the domain of the final composition.
If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.