Maths4UBETA

Constants, parameters and repeated integration

Separate the constants from successive integrations and combine shape, position and accumulation conditions.

Try the quick check →
Lesson 5 of 5

Section 1 of 5 · Core · about 7 min

Why do two integrations need two constants?

A second derivative tells you how the gradient changes. Integrating once recovers the first derivative with one arbitrary constant. Integrating again recovers the function and introduces another, independent constant.

  1. Integrate f′′(x)=2f''(x)=2 twice, keeping a new constant each time.f′(x)=2x+A,f(x)=x2+Ax+B.f'(x)=2x+A,\qquad f(x)=x^2+Ax+B.
  2. The gradient condition f′(1)=1f'(1)=1 gives 2+A=12+A=1, so A=−1A=-1.
  3. Use the point condition f(1)=4f(1)=4 to obtain 1−1+B=41-1+B=4, so B=4B=4. Check by differentiating f(x)=x2−x+4f(x)=x^2-x+4.

For f′′=2f^{\prime\prime}=2, the family is f=x2+Ax+Bf=x^2+Ax+B. The gradient condition fixes AA; the point condition then fixes BB.

Worked example

Recover both the gradient and the function

A curve satisfies f′′(x)=2f^{\prime\prime}(x)=2, f′(1)=1f^{\prime}(1)=1 and f(1)=4f(1)=4. Find its equation.

  1. Integrate once and introduce the first constant:

    f′(x)=2x+A.f^{\prime}(x)=2x+A.
  2. f′(1)=2+A=1⟹A=−1.f^{\prime}(1)=2+A=1\Longrightarrow A=-1.
  3. Integrate the complete first derivative and introduce a new constant:

    f(x)=x2−x+B.f(x)=x^2-x+B.
  4. f(1)=1−1+B=4⟹B=4.f(1)=1-1+B=4\Longrightarrow B=4.
  5. f(x)=x2−x+4.f(x)=x^2-x+4.

    Its second derivative is 22, its gradient at 11 is 11, and its height there is 44.

Your turn

A function satisfies f′′(x)=6f^{\prime\prime}(x)=6, f′(0)=−2f^{\prime}(0)=-2 and f(0)=5f(0)=5. Write f′(x)=6x+Af^{\prime}(x)=6x+A and f(x)=3x2+Ax+Bf(x)=3x^2+Ax+B. Find AA, BB and f(2)f(2).

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write B = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 2 of 5 · Core · about 7 min

Which expression should each condition go into?

Write each condition as an equation before substituting numbers. A height and a gradient at the same input are different pieces of information.

Worked example

Translate a stationary point into two equations

A curve has f′′(x)=12xf^{\prime\prime}(x)=12x and a stationary point at (1,3)(1,3). Find the curve and classify that point.

  1. f′(x)=6x2+A,f(x)=2x3+Ax+B.f^{\prime}(x)=6x^2+A,\qquad f(x)=2x^3+Ax+B.
  2. A stationary point has zero first derivative:

    f′(1)=6+A=0⟹A=−6.f^{\prime}(1)=6+A=0\Longrightarrow A=-6.
  3. Its stated height belongs in the function:

    f(1)=2−6+B=3⟹B=7.f(1)=2-6+B=3\Longrightarrow B=7.
  4. f(x)=2x3−6x+7,f′′(1)=12>0.f(x)=2x^3-6x+7,\qquad f^{\prime\prime}(1)=12>0.
  5. The given point is a local minimum. Differentiating twice and checking f′(1)=0f^{\prime}(1)=0, f(1)=3f(1)=3 verifies every original condition.

Your turn

A curve has f′′(x)=12x−2f^{\prime\prime}(x)=12x-2 and a stationary point at (1,1)(1,1). After two integrations, write f(x)=2x3−x2+Ax+Bf(x)=2x^3-x^2+Ax+B. Find AA and BB, then classify the given stationary point.

Enter the value on its own or write A = … . Fractions and exact square roots are accepted.

Enter the value on its own or write B = … . Fractions and exact square roots are accepted.

Nature of the stationary point

Two independent conditions can determine the two constants after repeated integration. An extra unknown coefficient may need another independent condition. Repeating the same gradient information does not fix a missing height. Keep the original interval and any excluded inputs throughout.

Section 3 of 5 · Further applications · about 10 min

How do I use unknown coefficients and definite-integral conditions?

A coefficient already present in the given derivative is different from a new integration constant. Hold all such parameters constant while integrating. Then use point, gradient or integral conditions to build simultaneous equations.

Worked example

Keep an unknown coefficient while recovering a curve

A function satisfies f′(x)=2kx+3f^{\prime}(x)=2kx+3, f(0)=1f(0)=1 and ∫02f(x) dx=403\int_0^2f(x)\,\mathrm{d}x=\frac{40}{3}. Find kk and the function.

  1. Treat kk as constant when integrating:

    f(x)=kx2+3x+C.f(x)=kx^2+3x+C.
  2. f(0)=1⟹C=1.f(0)=1\Longrightarrow C=1.
  3. ∫02(kx2+3x+1) dx=[kx33+3x22+x]02=8k3+8.\int_0^2(kx^2+3x+1)\,\mathrm{d}x=\left[\frac{kx^3}{3}+\frac{3x^2}{2}+x\right]_0^2=\frac{8k}{3}+8.
  4. 8k3+8=403⟹k=2.\frac{8k}{3}+8=\frac{40}{3}\Longrightarrow k=2.
  5. f(x)=2x2+3x+1.f(x)=2x^2+3x+1.

    The derivative is 4x+34x+3, the initial height is 11, and the required integral is 163+8=403\frac{16}{3}+8=\frac{40}{3}.

Worked example

Two definite integrals can determine a whole linear function

A function has constant derivative f′(x)=af^{\prime}(x)=a. Given ∫01f(x) dx=4\int_0^1f(x)\,\mathrm{d}x=4 and ∫12f(x) dx=7\int_1^2f(x)\,\mathrm{d}x=7, find f(x)f(x).

  1. f(x)=ax+C.f(x)=ax+C.
  2. The first integral gives

    [ax22+Cx]01=a2+C=4.\left[\frac{ax^2}{2}+Cx\right]_0^1=\frac{a}{2}+C=4.
  3. The second integral gives a different equation:

    [ax22+Cx]12=3a2+C=7.\left[\frac{ax^2}{2}+Cx\right]_1^2=\frac{3a}{2}+C=7.
  4. Subtract the equations to obtain a=3a=3. Then

    C=4−32=52.C=4-\frac{3}{2}=\frac{5}{2}.
  5. f(x)=3x+52.f(x)=3x+\frac{5}{2}.

    Its two integrals are 32+52=4\frac{3}{2}+\frac{5}{2}=4 and 92+52=7\frac{9}{2}+\frac{5}{2}=7, as required.

Your turn

A function satisfies f′(x)=2kxf^{\prime}(x)=2kx, f(0)=2f(0)=2 and ∫01f(x) dx=3\int_0^1f(x)\,\mathrm{d}x=3. Write f(x)=kx2+Cf(x)=kx^2+C. Find CC and kk.

Enter the value on its own or write C = … . Fractions and exact square roots are accepted.

Enter the value on its own or write k = … . Fractions and exact square roots are accepted.

Section 4 of 5 · Core · about 7 min

How can a known derivative help me integrate?

If a question gives a function to differentiate and then asks for a related integral, compare the complete derivative with the integrand. They may differ by a constant factor. Include the inner derivative when making this comparison.

Worked example

Use a derivative that has already been identified

Let F(x)=(x2+2)3F(x)=(x^2+2)^3. Differentiate FF, then find ∫2x(x2+2)2 dx\int2x(x^2+2)^2\,\mathrm{d}x and ∫012x(x2+2)2 dx\int_0^1 2x(x^2+2)^2\,\mathrm{d}x.

  1. The chain rule gives

    F′(x)=3(x2+2)2(2x)=6x(x2+2)2.F^{\prime}(x)=3(x^2+2)^2(2x)=6x(x^2+2)^2.
  2. The required integrand is one third of this derivative:

    2x(x2+2)2=13F′(x).2x(x^2+2)^2=\frac{1}{3}F^{\prime}(x).
  3. ∫2x(x2+2)2 dx=13(x2+2)3+C.\int2x(x^2+2)^2\,\mathrm{d}x=\frac{1}{3}(x^2+2)^3+C.
  4. ∫012x(x2+2)2 dx=13(33−23)=193.\int_0^1 2x(x^2+2)^2\,\mathrm{d}x=\frac{1}{3}(3^3-2^3)=\frac{19}{3}.
  5. Differentiating the proposed antiderivative confirms the factor. Expanding the integrand and integrating its powers would give the same definite value.

Your turn

Let F(x)=(x3+1)2F(x)=(x^3+1)^2. Write 3x2(x3+1)=λF′(x)3x^2(x^3+1)=\lambda F^{\prime}(x), then use this to evaluate ∫013x2(x3+1) dx\int_0^1 3x^2(x^3+1)\,\mathrm{d}x.

Enter the value on its own or write λ = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 5 of 5 · Further applications · about 10 min

How does a changing rate determine the amount present?

Integrating a net rate gives a change, not automatically the final amount. For a tank, use inflow minus outflow. A negative net rate means the amount is falling, even if the amount itself is still positive.

A decreasing net-rate line and its corresponding amount curve show positive and negative accumulated changes, the initial amount and the time of the maximum.

For Q′(t)=6−2t L min−1Q'(t)=6-2t\,\mathrm{L}\,\mathrm{min}^{-1} and Q(0)=5 LQ(0)=5\,\mathrm{L}, add the signed change to the initial amount.

Q(t)=5+∫0t(6−2u) du=5+6t−t2.Q(t)=5+\int_0^t(6-2u)\,\mathrm{d}u=5+6t-t^2.

At t=5t=5 the amount is 5+9−4=10 L5+9-4=10\,\mathrm{L}. The maximum occurs at t=3t=3 because the rate changes from positive to negative there.

The net rate 6−2t6-2t becomes zero at t=3t=3. The amount 5+6t−t25+6t-t^2 is then greatest, at 14 L14\,\mathrm{L}, and later decreases to 10 L10\,\mathrm{L}.

Worked example

Combine an initial amount with a changing net rate

A tank starts with 5 L5\,\mathrm{L}. Water enters at 6 L min−16\,\mathrm{L}\,\mathrm{min}^{-1} and leaves at 2t L min−12t\,\mathrm{L}\,\mathrm{min}^{-1}, for 0≤t≤50\le t\le5. Find the amount after five minutes and the maximum amount during this interval.

  1. The net rate is inflow minus outflow:

    Q′(t)=6−2t.Q^{\prime}(t)=6-2t.
  2. Add the accumulated change to the initial amount:

    Q(t)=5+∫0t(6−2s) ds=5+6t−t2.Q(t)=5+\int_0^t(6-2s)\,\mathrm{d}s=5+6t-t^2.
  3. Q(5)=5+30−25=10 L.Q(5)=5+30-25=10\,\mathrm{L}.

    The net change is 5 L5\,\mathrm{L}; the final amount includes the 5 L5\,\mathrm{L} present initially.

  4. The amount increases while the net rate is positive and decreases while it is negative:

    6−2t=0⟹t=3.6-2t=0\Longrightarrow t=3.
  5. Q(0)=5,Q(3)=14,Q(5)=10.Q(0)=5,\qquad Q(3)=14,\qquad Q(5)=10.
  6. The maximum is 14 L14\,\mathrm{L} at t=3 mint=3\,\mathrm{min}. The model stays nonnegative on the stated interval. At the maximum amount, inflow and outflow are equal; the amount itself is not zero.

Your turn

A tank initially contains 3 L3\,\mathrm{L}. Its net rate of change is q(t)=(4−t) L min−1q(t)=(4-t)\,\mathrm{L}\,\mathrm{min}^{-1} for 0≤t≤60\le t\le6, where tt is measured in minutes. Find the amount after six minutes and the greatest amount on this interval, together with the time when it occurs.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use the stated time interval and consistent units. A physical amount must respect the model’s restrictions, such as nonnegative contents and any capacity limit. Do not extend the formula beyond those restrictions without a new model.

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Two integrations, two independent value conditions

2 marks

Given f′′(x)=12x−6f^{\prime\prime}(x)=12 x - 6, f′(1)=3f^{\prime}(1)=3 and f(0)=2f(0)=2, give the complete first derivative and f.

Enter an expression in x; use ^ for powers and / for fractions.

Enter an expression in x; use ^ for powers and / for fractions.

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Two integrations need two separate constants

A curve satisfies f′′(x)=12x−6f^{\prime\prime}(x)=12x-6, f′(1)=5f^{\prime}(1)=5 and f(1)=2f(1)=2. Recover it in the form f(x)=ax3+bx2+cx+df(x)=ax^3+bx^2+cx+d, finding all four coefficients.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter the value on its own or write c = … . Fractions and exact square roots are accepted.

Enter the value on its own or write d = … . Fractions and exact square roots are accepted.

Two height conditions can determine the two constants

A curve satisfies f′′(x)=6xf^{\prime\prime}(x)=6x, f(0)=1f(0)=1 and f(2)=5f(2)=5. Write it as f(x)=x3+Ax+Bf(x)=x^3+Ax+B. Find A,BA,B and the gradient at x=2x=2.

Enter the value on its own or write a = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Determine a coefficient before classifying the recovered curve

A curve has constant second derivative f′′(x)=kf^{\prime\prime}(x)=k, with f′(0)=−3f^{\prime}(0)=-3, f(1)=2f(1)=2 and f(3)=6f(3)=6. Write it as f(x)=k2x2−3x+Bf(x)=\frac{k}{2}x^2-3x+B. Find k,Bk,B and the minimum point.

Enter the value on its own or write k = … . Fractions and exact square roots are accepted.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Enter a point as (1, 2) or x = 1, y = 2. Separate complete pairs with commas or semicolons.

Recognise a verified derivative and restore its multiplier

Let F(x)=(x2+1)4F(x)=(x^2+1)^4. Differentiate it, then use that result to find KK in

∫3x(x2+1)3 dx=KF(x)+C.\int3x(x^2+1)^3\,\mathrm{d}x=KF(x)+C.

Hence evaluate ∫013x(x2+1)3 dx\displaystyle\int_0^1 3x(x^2+1)^3\,\mathrm{d}x exactly.

Enter the value on its own or write k = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Separate net change, final amount and greatest amount

A tank contains 10 cm310\,\mathrm{cm^3} at t=0t=0. Its net rate of volume change is q(t)=8−2tq(t)=8-2t, measured in cm3 min−1\mathrm{cm^3\,min^{-1}}, for 0≤t≤60\le t\le6, with tt in minutes.

Find the net change over this interval, the final volume, and the greatest volume with the time at which it occurs.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Start after this lesson

A definite-integral condition fixes an unknown curve parameter 7 marks

A curve satisfies

f′′(x)=6x+a,f′(0)=−1,f(1)=2,∫01f(x) dx=1.f^{\prime\prime}(x)=6x+a,\qquad f^{\prime}(0)=-1,\qquad f(1)=2,\qquad\int_0^1f(x)\,\mathrm{d}x=1.

Let b=f(0)b=f(0). Find a,ba,b, state the complete equation of the curve and find f′(1)f^{\prime}(1).

Hint

After two integrations, the point condition and integral condition give two equations in a,ba,b. The parameter already present in the integrand does not disappear when the new antiderivative constant cancels.

Worked solution
  1. f′(x)=3x2+ax−1,f(x)=x3+a2x2−x+b.f^{\prime}(x)=3x^2+ax-1,\qquad f(x)=x^3+\frac{a}{2}x^2-x+b.
  2. f(1)=2⟹a2+b=2.f(1)=2\Longrightarrow\frac{a}{2}+b=2.
  3. ∫01f(x) dx=14+a6−12+b=1⟹a6+b=54.\int_0^1f(x)\,\mathrm{d}x=\frac{1}{4}+\frac{a}{6}-\frac{1}{2}+b=1\Longrightarrow\frac{a}{6}+b=\frac{5}{4}.
  4. a3=34⟹a=94,b=2−98=78.\frac{a}{3}=\frac{3}{4}\Longrightarrow a=\frac{9}{4},\qquad b=2-\frac{9}{8}=\frac{7}{8}.
  5. f(x)=x3+98x2−x+78,f′(1)=3+94−1=174.f(x)=x^3+\frac{9}{8}x^2-x+\frac{7}{8},\qquad f^{\prime}(1)=3+\frac{9}{4}-1=\frac{17}{4}.
  6. Differentiating twice returns 6x+946x+\frac{9}{4}. Direct substitution verifies the initial gradient, the point at x=1x=1 and the signed integral condition.

Marking guidance
  • 1 mark: recover the first derivative and use its initial condition.
  • 1 mark: recover the function with a second constant.
  • 1 mark: form the point equation.
  • 1 mark: form the definite-integral equation without losing the parameter in the integrand.
  • 1 mark: solve the simultaneous equations for both unknowns.
  • 1 mark: state the full recovered curve.
  • 1 mark: obtain the requested gradient and check the original conditions.
An endpoint can tie with an interior maximum 9 marks

An accumulated amount A(t)A(t), measured in cubic centimetres, is modelled for 0≤t≤40\le t\le4, with time in minutes. It satisfies

A′′(t)=6t−12,A′(0)=9,A(0)=5.A^{\prime\prime}(t)=6t-12,\qquad A^{\prime}(0)=9,\qquad A(0)=5.

Here derivatives use minutes as the time unit. Recover A(t)A(t). Find its greatest and least values on the whole interval, every time when each is attained, and its net change from 00 to 44.

Hint

Use a fresh constant at each integration. Find stationary times from the rate, then compare all allowed stationary values and both endpoints. Keep ties.

Worked solution
  1. A′(t)=3t2−12t+C1,C1=9.A^{\prime}(t)=3t^2-12t+C_1,\qquad C_1=9.
  2. A(t)=t3−6t2+9t+C2,C2=5.A(t)=t^3-6t^2+9t+C_2,\qquad C_2=5.
  3. A′(t)=3(t−1)(t−3)=0⟹t=1,3.A^{\prime}(t)=3(t-1)(t-3)=0\Longrightarrow t=1,3.
  4. The rate is positive on (0,1)(0,1), negative on (1,3)(1,3) and positive on (3,4)(3,4). Compare the stationary times with both included endpoints.

  5. A(0)=5,A(1)=9,A(3)=5,A(4)=9.A(0)=5,\quad A(1)=9,\quad A(3)=5,\quad A(4)=9.
  6. The greatest amount is 9 cm39\,\mathrm{cm^3}, attained at both 11 and 44 minutes. The least is 5 cm35\,\mathrm{cm^3}, attained at both 00 and 33 minutes. These bounds also show the quantity stays nonnegative throughout the model interval.

  7. ΔA=A(4)−A(0)=9−5=4 cm3.\Delta A=A(4)-A(0)=9-5=4\,\mathrm{cm^3}.
  8. The two integration constants represent different missing conditions. Net change is a difference of amounts; it is not the greatest amount reached during the interval.

Marking guidance
  • 1 mark: integrate the second derivative and determine the first constant.
  • 1 mark: integrate again and determine the second constant.
  • 1 mark: obtain every allowed stationary time.
  • 1 mark: establish the rate sign pattern.
  • 1 mark: compare both stationary values and both endpoint values.
  • 1 mark: state the greatest amount with all its attaining times.
  • 1 mark: state the least amount with all its attaining times.
  • 1 mark: obtain the net change.
  • 1 mark: retain the whole stated interval, correct units and a physically nonnegative amount.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.

Question bank and saved work