Integrals: functions and by parts

Arc length

The length of the curve y=f(x)y=f(x) (a≤x≤b)(a\le x\le b) is found by computing y′y' and then ∫ab1+(y′)2 dx\int_a^b\sqrt{1+(y')^2}\,dx.

L=∫ab1+{f′(x)}2 dxL=\int_a^b\sqrt{1+\{f'(x)\}^2}\,dx

When xx moves by dxdx, yy moves by about y′ dxy'\,dx, so a small piece of the curve has length (dx)2+(y′ dx)2=1+(y′)2 dx\sqrt{(dx)^2+(y'\,dx)^2}=\sqrt{1+(y')^2}\,dx. Adding up these pieces gives the length of the curve.

L=∫ab1+(y′)2 dxL=\int_a^b\sqrt{1+(y')^2}\,dx

In textbook problems, the expression under the root often turns into a perfect square. If y′=u−1u2y'=\frac{u-\frac{1}{u}}{2}, then 1+(y′)2=(u+1u2)21+(y')^2=\left(\frac{u+\frac{1}{u}}{2}\right)^2, and for u>0u>0 the square root becomes u+1u2\frac{u+\frac{1}{u}}{2}.

Examples

  1. 01The formula for arc length. What goes in □?L=∫1+(□)2 dx\displaystyle L = \int \sqrt{1+(\square)^{2}}\,dxAnswerHide
    Answery′\displaystyle y'
  2. 02What is 1+(y′)21+(y')^2?y′=ex−1ex2\displaystyle y'=\frac{e^{x}-\frac{1}{e^{x}}}{2}AnswerHide
    Answer(ex+1ex2)2\displaystyle \left(\frac{e^{x}+\frac{1}{e^{x}}}{2}\right)^{2}
  3. 03For x>0x>0, what is 1+(y′)2\sqrt{1+(y')^2}?1+(y′)2=(x2+1x22)2\displaystyle 1+(y')^{2}=\left(\frac{x^{2}+\frac{1}{x^{2}}}{2}\right)^{2}AnswerHide
    Answerx2+1x22\displaystyle \frac{x^{2}+\frac{1}{x^{2}}}{2}
  4. 04What is the value of this definite integral?∫13x2+1x22 dx\displaystyle \int_{1}^{3} \frac{x^{2}+\frac{1}{x^{2}}}{2}\,dxAnswerHide
    Answer143\displaystyle \frac{14}{3}
  5. 05For x>0x>0, what is 1+(y′)2\sqrt{1+(y')^2}?1+(y′)2=(x+1x2)2\displaystyle 1+(y')^{2}=\left(\frac{x+\frac{1}{x}}{2}\right)^{2}AnswerHide
    Answerx+1x2\displaystyle \frac{x+\frac{1}{x}}{2}
  6. 06What is 1+(y′)21+(y')^2?y′=x2−1x22\displaystyle y'=\frac{x^{2}-\frac{1}{x^{2}}}{2}AnswerHide
    Answer(x2+1x22)2\displaystyle \left(\frac{x^{2}+\frac{1}{x^{2}}}{2}\right)^{2}

FAQ

Q1Why does 1+(y′)21+(y')^2 become a perfect square?AnswerHide
A
Because (u−1u2)2+1=u2−2+1u24+1=u2+2+1u24\left(\frac{u-\frac{1}{u}}{2}\right)^2+1=\frac{u^2-2+\frac{1}{u^2}}{4}+1=\frac{u^2+2+\frac{1}{u^2}}{4}: the middle −2-2 turns into +2+2. Curves such as y=x36+12xy=\frac{x^3}{6}+\frac{1}{2x} and y=ex+e−x2y=\frac{e^x+e^{-x}}{2} have this form.
Q2Why the condition x>0x>0 when removing the square root?AnswerHide
A
Because A2=∣A∣\sqrt{A^2}=|A|. For x>0x>0, x+1x2>0\frac{x+\frac{1}{x}}{2}>0, so the root can be removed without an absolute value.

Published 2026-10-14 · Updated 2026-10-14