Skip to content

A function from its derivative and a point

A function from its derivative and a point

A point picks an antiderivative

The derivative fixes the function up to a constant C\displaystyle C, and one point on the graph fixes C\displaystyle C. In the example below f′(x)=1x2+cos⁡x\displaystyle {f'(x)}={\frac{1}{x^2}+\cos x}, x≠0\displaystyle x\neq0, and the graph of f\displaystyle f passes through the point (π2,3)\displaystyle \left(\frac{\pi}{2},3\right):

  • f(x)=∫(1x2+cos⁡x)dx=−1x+sin⁡x+C\displaystyle {f(x)}={\int\left(\frac{1}{x^2}+\cos x\right)dx}={-\frac{1}{x}+\sin x+C}.
  • f(π2)=3\displaystyle {f\left(\frac{\pi}{2}\right)}={3}: −2π+1+C=3\displaystyle {-\frac{2}{\pi}+1+C}={3}, so C=2+2π\displaystyle {C}={2+\frac{2}{\pi}}.
  • f(x)=−1x+sin⁡x+2+2π\displaystyle {f(x)}={-\frac{1}{x}+\sin x+2+\frac{2}{\pi}}.
A point from a tangent

Sometimes the point is not given directly, but hidden in a tangent. In the example below f′(x)=3x2−6x\displaystyle {f'(x)}={3x^2-6x}, and the line y=−3x+5\displaystyle {y}={-3x+5} is tangent to the graph of f\displaystyle f at the point where x=1\displaystyle {x}={1}:

  • The point of contact, on the tangent: y=−3+5=2\displaystyle {y}={-3+5}={2}, so f(1)=2\displaystyle {f(1)}={2}.
  • f(x)=x3−3x2+C\displaystyle {f(x)}={x^3-3x^2+C}, and 1−3+C=2\displaystyle {1-3+C}={2}, so C=4\displaystyle {C}={4}.
  • f(x)=x3−3x2+4\displaystyle {f(x)}={x^3-3x^2+4}.
  • The check: f′(1)=3−6=−3\displaystyle {f'(1)}={3-6}={-3} – the slope of the tangent.
From the second derivative

From the second derivative to the function takes two integrations, so there are two constants, and two conditions are needed. In the example below f′′(x)=6x\displaystyle {f''(x)}={6x}, and f\displaystyle f has an extremum point (1,−1)\displaystyle (1,-1):

  • f′(x)=3x2+C1\displaystyle {f'(x)}={3x^2+C_1}. At an extremum point f′(1)=0\displaystyle {f'(1)}={0}, so 3+C1=0\displaystyle {3+C_1}={0} and C1=−3\displaystyle {C_1}={-3}.
  • f(x)=x3−3x+C2\displaystyle {f(x)}={x^3-3x+C_2}. f(1)=−1\displaystyle {f(1)}={-1}, so 1−3+C2=−1\displaystyle {1-3+C_2}={-1} and C2=1\displaystyle {C_2}={1}.
  • f(x)=x3−3x+1\displaystyle {f(x)}={x^3-3x+1}. f′′(1)=6>0\displaystyle {f''(1)}={6>0}: the extremum is a minimum.
Exercise 1

f′(x)=2x\displaystyle {f'(x)}={\frac{2}{\sqrt{x}}}, and x>0\displaystyle x>0.
The graph of f\displaystyle f passes through the point A(4,10)\displaystyle A(4,10).

a

Find all the antiderivatives of f′\displaystyle f'.

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    b

    Find C\displaystyle C.

      c

      Write f\displaystyle f on the board.

      A=(4,10)\displaystyle A=(4,10)

      Exercise 2

      f′(x)=sin⁡2x\displaystyle {f'(x)}={\sin2x}.
      The line y=1\displaystyle {y}={1} is tangent to the graph of f\displaystyle f at the point where x=π2\displaystyle {x}={\frac{\pi}{2}}.

      a

      Show that the slope of f\displaystyle f at x=π2\displaystyle {x}={\frac{\pi}{2}} fits the tangent.

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        b

        Find f(x)\displaystyle f(x), and write it on the board.

        y=1\displaystyle y=1

        Exercise 3

        f′′(x)=6x−2\displaystyle {f''(x)}={6x-2}.
        f\displaystyle f has a minimum point (1,0)\displaystyle (1,0).

        a

        Find f′(x)\displaystyle f'(x).

        b

        Find f(x)\displaystyle f(x), and write it on the board.

        A=(1,0)\displaystyle A=(1,0)

        Exercise 4

        A body moves along a line with velocity v(t)=6t−3t2\displaystyle {v(t)}={6t-3t^2} metres a second.
        t\displaystyle t is the time in seconds, and at t=0\displaystyle {t}={0} the body is at the starting point: s(0)=0\displaystyle {s(0)}={0}.

        a

        Find the position s(t)\displaystyle s(t).

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          b

          When does the body return to the starting point?