<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[a4paper,12pt]{article}
\newcommand\ds{\displaystyle}
\begin{document}

\parindent=0pt

QUESTION

Find $\ds\int\frac{x}{x+1}\,dx$.

\bigskip

ANSWER

$\ds\int\frac{x}{x+1}\,dx=\int\frac{x+1-1}{x+1}\,dx=\int\left(1-\frac{1}{x+1}\right)\,dx
=x-\ln|x+1|+c$




\end{document}
</pre></body></html>