General Solution: Repeated Root Explained with Worked Examples

If the auxiliary equation of has a repeated root , the general solution is .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What General solution: repeated root means

A repeated root gives only one exponential , but a second-order equation needs two independent solutions. The second is : differentiating it twice and substituting shows that it solves the equation exactly when is a double root, using the product rule and the derivative of e to the power kx. This happens when the discriminant of the auxiliary equation is zero.

To find and , use and . For , , : and , so and . A decaying repeated root, , models critical damping in damped oscillations.

The result is the borderline between the distinct roots case (overdamped) and the complex roots case (underdamped). It is also used in Laplace transforms of t e to the power at, and the method of reduction of order produces the second solution.

What is it used for?

A repeated root adds a factor x to the second solution, as in critically damped motion.

How to use general solution: repeated root

  1. Solve the auxiliary equation and find the repeated root .
  2. Write .
  3. Use and .
  4. Solve for and and substitute.

Graph

The solution of y'' − 4y' + 4y = 0 with y(0) = 1, y'(0) = 0zero at x = 1/2y(1) = −7.38900.10.20.30.40.50.60.70.80.91-8-6-4-202The solution of y'' − 4y' + 4y = 0 with y(0) = 1, y'(0) = 0xyy = (1 − 2x)e^(2x)Graph with x from 0 to 1 and y from -8 to 2. Shows the curve y = (1 − 2x)e^(2x); point zero at x = 1/2 at (0.5, 0); point y(1) = −7.389 at (1, -7.389).

The linear factor (1 − 2x) makes the curve cross zero before the exponential takes over.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: initial conditions

Solve with , , and find .

Worked example
Answer
y(1)=−e2≈−7.389y(1)=-e^{2}\approx-7.389
  1. Root
  2. Conditions
  3. Solution

Example 2: critical damping

Solve with , , and find .

Worked example
Answer
y(1)=9e−3≈0.4481y(1)=9e^{-3}\approx0.4481
  1. Root
  2. Conditions
  3. Value

Example 3: x e^x

Solve with , , and find .

Worked example
Answer
y(1)=e≈2.718y(1)=e\approx2.718
  1. Root
  2. Conditions
  3. Solution

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

y″ − 4y′ + 4y = 0

λ = 2 (double)

y = (A + Bx)e^{2x}.

y(0) = 1, y′(0) = 3

A = 1, 2A + B = 3

B = 1.

y(1)

(1 + 1)e²

14.7781.

Check y′(0)

2A + B

3.

Word problems

For a repeated root λ the solution is y = (A + Bx)e^{λx}. y′ = (λA + B + λBx)e^{λx}.

Root

λ² − 4λ + 4 = 0.

  1. 4/2
  2. Check: λ = 2 ✓2

Constant B

y(0) = 1 gives A = 1; y′(0) = 2A + B = 3.

  1. 3 − 2
  2. Check: ✓1

Value Higher

y(1) = (1 + 1)e².

  1. 2 × 7.389
  2. Check: ✓14.7781

Check Higher

y′(0) = 2·1 + 1.

  1. 3
  2. Check: ✓3

Common mistakes

Ae^{λx} + Be^{λx}

two equal terms ✗

(A + Bx)e^{λx} ✓

Independent solutions.

Forgetting the x

no x factor ✗

x e^{λx} ✓

Second solution.

y′ without product rule

λ(A + Bx)e ✗

plus B e^{λx} ✓

Derivative.

Sign of the root

−2 ✗

+2 ✓

From the equation.

Exam tips

  1. y = (A + Bx)e^{λx}.
  2. Product rule for y′.
  3. Two conditions.
  4. Critical damping case.
  5. x e^{λx} is the second solution.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. y(0) for (2 + 3x)e^{x} Foundation

2

2. y′(0) for (2 + 3x)e^{x} Foundation

5

3. y(1) for (1 + x)e^{−x} to 4 d.p. Foundation

0.7358

4. A, B for y(0) = 4, y′(0) = 9, λ = 2: B Higher

1

5. y(1) for (A + Bx)e^{3x}, A = 1, B = 0 to 4 d.p. Higher

20.0855

6. y(0.5) for (1 + 2x)e^{x} to 4 d.p. Higher

3.2974

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Repeated root
λ twice.
Second solution
x e^{λx}.
Critical damping
No oscillation.
General solution
(A + Bx)e^{λx}.
Product rule
For y′.
Initial conditions
Fix A, B.

Frequently asked questions

What is the solution with a repeated root?

y = (A + Bx)e^{λx}.

Why the extra x?

Reduction of order gives x e^{λx}.

How do I find A and B?

With y(0) and y′(0).

What physical case is it?

Critical damping.

Which page covers proof by contradiction?

proof by contradiction.

Which page covers distinct roots?

distinct real roots.

More in Differential equations and transforms and the formula sheets.