Lesson 6: Finding a function from its derivative

Find f(x)f(x) when f′(x)f'(x) has exponential and sine terms

SkillsUsing initial conditionsIntegrating f(ax + b)

Worked example

  • Complex familiar
  • Technology free

Given f′(x)=4e2x−3sin⁡(x)f'(x) = 4e^{2x} - 3\sin(x) and f(0)=6f(0) = 6, determine f(x)f(x).

1 of 4 steps
  1. Step 1: Anti-differentiate each term

    ∫4e2x dx=4×12e2x=2e2x\int 4e^{2x}\,dx = 4 \times \frac{1}{2}e^{2x} = 2e^{2x} and ∫−3sin⁡(x) dx=−3×(−cos⁡(x))=3cos⁡(x)\int -3\sin(x)\,dx = -3 \times \big(-\cos(x)\big) = 3\cos(x), so

    f(x)=2e2x+3cos⁡(x)+cf(x) = 2e^{2x} + 3\cos(x) + c

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Anti-differentiate term by term, keeping the constant.

  2. Substitute the initial condition and evaluate every term carefully.

  3. Solve for cc, then write f(x)f(x) in full.

Watch out for

  • Taking c=6c = 6 because f(0)=6f(0) = 6. That only works when every other term is zero at x=0x = 0.

  • Sign error: ∫−3sin⁡(x) dx=+3cos⁡(x)\int -3\sin(x)\,dx = +3\cos(x).

Save your progress with a free account