rate = –d[A]/(2dt) = d[B]/dt = k[A]^{2}

[A]₀ =

 [1 mM . . . 2.5 mM]

k =

 [0 (sM)^{1} . . . 4 (sM)^{1}]

In this example we focus on a chemical process $A+A\rightarrow B$. The rate of the reaction is proportional to the concentration of $A$ $$rate\propto[A]$$ or $$rate=k[A]^2$$ where $k$ is the rate constant. Following the definition of the rate of a chemical reaction we may write
$$\dfrac{1}{2}\dfrac{d[A]}{dt}=k[A]^2$$ for this process. This equation states that the rate of change of $[A]$ with respect to time, $t$, can be calculated as $2k[A]^2$. In the lab, however, concentration–time plots are far more helpful than rate equations. In order to be able to draw concentration–time curves we first need to find the expression linking time to the concentration of $A$. We also realize that it is enough to establish the $[A]\sim t$ relation because we will always be able to calculate the concentration of $B$ for any given time as $[B]=2([A]_0[A])$. To find the expression linking time to $[A]$ we use integration but first we need to separate variables. Rearrangement yields
$$\dfrac{d[A]}{[A]^2}=2kdt.$$
Both sides can now be integrated between the limits below:

at the start 
some time later 
time 
$0$ 
$t$ 
conc. of $A$ 
$[A]_0$ 
$[A]$ 
as
$$\int^{[A]}_{[A]_0}\dfrac{d[A]}{[A]^2}=\int^t_02kdt$$
Since $k$ does not depend on time it can be moved before the integral sign and the right hand side becomes
$$\int^t_0 2k\,dt=2k\int^t_0 dt=2kt.$$
The left hand side rearranges into the familiar
$$\int^{[A]}_{[A]_0}\dfrac{1}{[A]^2}d[A]$$
form which can be found by recalling that $$\int x^n dx=\dfrac{x^{n+1}}{n+1}+const.$$ It follows – switching now to definite integration – that ${\small{(n=2)}}$
$$\int^{[A]}_{[A]_0}\dfrac{1}{[A]^2}d[A]=\int^{[A]}_{[A]_0}[A]^{2}d[A]=\left[\dfrac{ [A]^{1}}{1}\right]^{[A]}_{[A]_0}=\left(\dfrac{1}{[A]}+\dfrac{1}{[A]_0}\right)=\dfrac{1}{[A]}\dfrac{1}{[A]_0}.$$
Hence, the integrated rate equation becomes
$$\dfrac{1}{[A]}\dfrac{1}{[A]_0}=2kt.$$
Rearrangement yields that the concentration of $A$ at any given time can be calculated as
$$[A]=\dfrac{[A]_0}{1+2[A]_0kt}$$
(see Figure 1) and that is what we wished to find.
It is important to note that in the physical chemistry literature the rate constant is often assumed to contain the 2 in the denominator.For calculating the rate constant, $k$, we use the following form of the integrated rate equation
\begin{matrix}
\dfrac{1}{[A]}&=&2k&\times&t&+&\dfrac{1}{[A]_0}\\
y&=&slope&\times&x&+&intercept
\end{matrix}
plotted in Figure 3. Once the concentration of $A$ is measured during the reaction and $1/[A]$ plotted against time, $k$ can be calculated as $k=slope/2$. With $k$ known there is no need for further concentration measurements, $[A]$ and $[B]$ can be directly calculated for any given time as long as we remember the initial concentration of $A$.