Abstract
A closed-form analytical expression for \({[\hbox {H}_{3}\hbox {O}^{+}]}\) has been obtained for aqueous solutions of diprotic acids and its soluble salts. This formula allows to calculate the pH of aqueous solutions of diprotic acids, their buffer solutions, and the titrations of these two by a strong base, from the values of p\(K_1\), p\(K_2\), and the effective concentrations of the acid and the base, \(\bar{C}_\textrm{a}\) and \(\bar{C}_\textrm{b}\) respectively. It is shown that a strong base titration of an acid, or its buffer solutions, is always a linear path in the \(\bar{C}_\textrm{a}\)–\(\bar{C}_\textrm{b}\) plane, which allows a simple analysis of the pH stability of buffer solutions. The mathematical analysis of the equilibrium equations of the dissolution of a diprotic acid in water and the physical constraints allowed to obtain two approximate equations for the diprotic acids. One of the approximations is useful for acids with \(\textrm{p}K_2-\textrm{p}K_1\le \log _{10}4\), the other for acids with \(\textrm{p}K_2-\textrm{p}K_1\le -\log _{10}4\).
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Diprotic acids are of central importance in biochemistry, physiology, and industrial and environmental chemistry. In biochemistry, several amino acids behave as diprotic acids with two dissociated protons: one proton on the \(\alpha \) amino group and one on the \(\alpha \) carboxyl group [1]. In physiology, the regulation of blood pH cannot be understood without considering the buffer made by carbonic acid, \({\hbox {H}_{2}\hbox {CO}_{3}}\), and the bicarbonate ion, \({\hbox {HCO}_{3}^{-}}\) [2]. In environmental chemistry, the current model for understanding ocean acidification is based on the aqueous chemical equilibrium between \({\hbox {CO}_{2}}\), \({\hbox {H}_{2}\hbox {CO}_{3}}\), \({\hbox {HCO}_{3}^{-}}\), and \({\hbox {CO}_{3}^{-}}\) [3].
A Brønsted diprotic acid is a chemical substance \({\hbox {H}_{2}\hbox {B}}\) that partially dissolves in water producing hydronium ion, \({\hbox {H}_{3}\hbox {O}^{+}}\), and the conjugate base, \({\hbox {HB}^{-}}\). This conjugate base further dissociates partially producing the second conjugate base, \({\hbox {B}^{2-}}\). In the state of equilibrium, the concentrations of the chemical species are constant [4, 5]. The equilibrium concentrations of the chemical species are given by the equations of chemical equilibrium, and the chemical and electric balance [6]. The aqueous dissociation of a diprotic acid and, its soluble salts, involves five chemical species and five mathematical relations between these species, therefore, in principle is possible to obtain the equilibrium concentrations of all the chemical species by solving this system of equations. In practice, the system of equations involves nonlinear terms making difficult to obtain exact mathematical expression for the equilibrium concentrations. For the dissociation of a diprotic acid and its soluble salts, the algebraic manipulation of the system of equations gives a quartic equation for the concentration of \({\hbox {H}_{3}\hbox {O}^{+}}\), \({\hbox {H}_{3}\hbox {O}^{+}}\). The equilibrium concentration of the hydronium ion is obtained by finding the roots of its quartic equation. Although there is a quartic formula that gives the explicit roots of a quartic equation, it is not practical to use due to its complexity. The use of the quartic formulas gives four roots, each of them implies the execution of at least 57 mathematical operations. Although these type of calculation is a simple task for modern computers, the formulas obtained from the quartic equation are not simplified which causes accumulation of computational error. On the other hand, graphical and numerical solutions are easily obtained using numerical calculators and computer software [7]. Although the graphical-numerical approach is fast and efficient to calculate concentrations as function of the pH, it has some disadvantages against an analytical closed form solution. The analytical solution can be differentiated to study buffers and buffer stability, or can be easily function-composed to study titrations of acids and buffers by strong bases [8]. Another advantage of an analytical closed form is the possibility to analyze mathematically the effect on the pH of parameters such as the concentrations and the acid dissociation constants. In this work it has been found that that the constrain p\(K_2-\)p\(K_1 \ge \log _{10}{4}\), on the pKs of the acid, has an important effect on the nature of the roots of the quartic polynomial for \({\hbox {H}_{3}\hbox {O}^{+}}\). This constrain has been previously obtained by considering isomerization of the ionization products and a detailed equilibrium scheme in which the micro-equilibrium constants correspond to partial equilibria [9,10,11]. Direct observation of the experimental values of p\(K_1\) and p\(K_2\) of a large set of diprotic acids allowed to find that several compounds, in particular the nitrogenous organics, follow the constrain p\(K_2-\)p\(K_1 \le -\log _{10}{4}\).
The main result of this paper is a closed form analytical solutions for \({\hbox {H}_{3}\hbox {O}^{+}}\) for the full chemical equilibrium of the aqueous dissociation of a diprotic acid, and its monobasic and dibasic salts. The use of effective acid and base concentrations allow to have only one mathematical expression for aqueous dissolutions of diprotic acids, and buffer dissolutions of diprotic acids and its soluble salts. In this work it is shown how this unified approach to diprotic acids and its buffers allows to study the pH stability of buffer solutions in relation with the equivalent acid dissolution.
This article is organized as follows: In the Theory and Methods section, the first subsection is dedicated to establishing the notation and fundamental equation of chemical equilibrium and physical constraints. In this subsection a unified notation is introduced, allowing the same equations to be used for: aqueous solutions of diprotic acids, buffers of diprotic acids, and titrations with strong bases. In the second subsection of Theory and Methods, a mathematical expression for \({\hbox {H}_{3}\hbox {O}^{+}}\) is obtained and analyzed, showing the complete expression for \({\hbox {H}_{3}\hbox {O}^{+}}\). The final expressions of \({\hbox {H}_{3}\hbox {O}^{+}}\) are written in algebraic terms using basic arithmetic operations and radicals (square and cube roots). These expressions can be used with the help of computer algebra software to obtain the pH without approximations. The reader interested in the mathematical details and the procedures used to obtain these equations is referred to the Appendix. The third and final subsection introduces exact expressions for the titration functions of the aqueous solution and the buffer solution of diprotic acids. The Results and Discussion section shows the results obtained using the expressions obtained previously. The first section shows that although most diprotic acids obey the condition \(\textrm{p}K_2-\textrm{p}K_1\ge \log _{10}4\), there are some acids that follow the condition \( \textrm{p}K_2-\textrm{p}K_1\le -\log _{10}{4}\). In the next subsection, the physical constraints of diprotic acids are used to obtain two approximations for \({\hbox {H}_{3}\hbox {O}^{+}}\), these approximations are used to obtain analytical expressions for the upper and lower limits of pH. In the next subsection, we discuss the common approach of monitoring the second dissociation constant and show that in the case of micromolar concentrations this approach fails. The following subsection shows the use of exact closed forms of pH and titration functions to analyze the neutralization of aqueous solutions of diprotic acids and their buffer mixtures. The differences between the exact expressions of this work and the approximate results of recent works for two cases are shown in detail: maleic acid and 1,8-Octanediamine. Finally, the last subsection of Results and Discussion shows an analysis of the pH stability of diprotic acid buffer solutions. In this subsection, the pH stability is analyzed as a parametric curve in the plane formed by the pH of the acid and the pH of the corresponding buffer solution.
2 Theory and methods
2.1 Aqueous solutions of weak diprotic acids and their salts
The aqueous dissociation equilibrium of a diprotic weak acid \({\hbox {H}_2\hbox {B}}\) is given by the chemical equations
![](http://media.springernature.com/lw228/springer-static/image/art%3A10.1007%2Fs10910-023-01527-y/MediaObjects/10910_2023_1527_Equ1_HTML.png)
![](http://media.springernature.com/lw229/springer-static/image/art%3A10.1007%2Fs10910-023-01527-y/MediaObjects/10910_2023_1527_Equ2_HTML.png)
![](http://media.springernature.com/lw186/springer-static/image/art%3A10.1007%2Fs10910-023-01527-y/MediaObjects/10910_2023_1527_Equ3_HTML.png)
Relevant chemical species are \({\hbox {H}_{3}\hbox {O}^{+}}\), \({\hbox {OH}^{-}}\), \({\hbox {H}_2\hbox {B}}\), \({\hbox {HB}^{-}}\), and \({\hbox {B}^{2-}}\) with equilibrium molar concentrations \({[\hbox {H}_{3}\hbox {O}^{+}]}\), \({[\hbox {OH}^{-}]}\), \({[\hbox {H}_2\hbox {B}]}\), \({[\hbox {HB}^{-}]}\), and \({[\hbox {B}^{2-}]}\), respectively. The equilibria displayed in Eqs. (1)–(2) are effective equilibria since the two protons of \({\hbox {H}_2\hbox {B}}\) can dissociate separately and not necessarily consecutively [1, 9, 11].
A solution of the acid \({\hbox {H}_2\hbox {B}}\) is prepared in water at analytical molar concentration \(C_\textrm{a}\). Once the system reaches chemical equilibrium, the concentrations of the chemical species are given by five physical conditions: two weak acid dissociation constant \(K_\textrm{1}\) and \(K_\textrm{2}\), the water auto-ionization constant \(K_\textrm{w}\), the electric neutrality, and the mass balance,
respectively. The standard molar concentration is \({C^\circ =1\,\textrm{M}}\). The acid constants \(K_\textrm{1}\) and \(K_\textrm{2}\) are dimensionless, and their value range typically between \(10^{-10}\) and \(10^{-1}\). In this work, the biochemical standard state is used to define the dimensionless variables:
, and the parameter
. These definitions make the equilibrium constants \({k_1=K_\textrm{1}/\sqrt{K_\textrm{w}}}\), \({k_2=K_\textrm{2}/\sqrt{K_\textrm{w}}}\), and \({k_\textrm{w}=1}\). In terms of the new variables and constants, Eqs. (4)–(8) are replaced by
The equations for electric neutrality (12) and mass balance (13) are explicitly affected by the presence of a strong base and salts of the conjugate bases \({\hbox {HB}^{-}}\) and \({\hbox {B}^{2-}}\), e.g. \({\hbox {NaOH}}\), \({\hbox {NaHB}}\) and \({\hbox {Na}_{2}\hbox {B}}\) respectively. If the dimensionless concentrations of the strong base and salts are ,
and
, the charge and mass balance equations are modified to
with effective concentrations \(\bar{c}_\textrm{a}=c_\textrm{a}+s_\textrm{1}+s_\textrm{2}\) and \(\bar{c}_\textrm{b}=c_\textrm{b}+s_\textrm{1}+2s_\textrm{2}\). These effective dimensionless variables are related to the effective molar concentrations by , and
.
The use of \(y=1/x\), obtained from Eq. (11), in the Eqs. (9), (10), (14) and (15), gives a non-linear system of four equation \(\mathcal {S}_4\) with four unknowns x, \(z_0\), \(z_1\) and \(z_2\).
2.2 Mathematical expression for \({[\hbox {H}_{3}\hbox {O}^{+}]}\)
Before obtaining the full solution of the non-linear system \(\mathcal {S}_4\) is useful to analyze the linear subsystem \(\mathcal {S}_3\) made by Eqs. (9), (10) and (15). This subsystem can be easily solved to obtain the concentrations \(z_0\), \(z_1\), \(z_2\), in terms of x. The linear system \(\mathcal {S}_3\) can be expressed as \(\textsf{K}\varvec{z}=\varvec{c}\) with \(\textsf{K}=\textsf{K}(x)\) given by
\(\varvec{z}=\left( z_0,z_1,z_2\right) ^\intercal \), and \(\varvec{c}=\left( 0,0,\bar{c}_\textrm{a}\right) ^\intercal \). Solving for \(\varvec{z}\) gives
with \(\det {\textsf{K}}=x^2 + k_1 x + k_1 k_2\) as the determinant of \(\textsf{K}\). It is convenient to write this determinant as \({\det {\textsf{K}}=(x-\kappa _1)(x-\kappa _2)}\) with
and \(\kappa =k_2/k_1\) as the ratio of the diprotic dissociation constants. These \(\kappa _{1,2}\) are related to the Simms constants [7, 12], \(g_{1,2}\), by \(g_{1,2}=-\kappa _{1,2}\).
Given the condition \(\kappa \le 1/4\), i.e. \(k_1\ge 4k_2\), the roots \(\kappa _{1,2}\) are both no positive real numbers, \(\kappa _{1,2}\le 0\), otherwise these roots are a pair of complex conjugate numbers with negative real part, i.e. \(\kappa _1=\kappa _2^*\) and \(\textrm{re}{(\kappa _1)}=\textrm{re}{(\kappa _2)}<0\). The inequality \(k_1\ge 4k_2\) have been obtained previously by Adams in his analysis of polyprotic acid dissociations [9].
The solution of \(\mathcal {S}_3\) gives the concentrations \(\varvec{z}=\left( z_0,z_1,z_2\right) ^\intercal \) as functions of x, \(k_1\), \(k_2\) and \(\bar{c}_\textrm{a}\). Although \(\varvec{z}\) does not depend explicitly on \(\bar{c}_\textrm{b}\), it depends implicitly through x. This dependency is specified by using \(y=1/x\) in Eq. (14), which gives
with \(\varvec{q}=\left( 0,-1,-2\right) ^\intercal \) as the vector of electric charges of \(z_0\), \(z_1\), and \(z_2\). This equation keeps some similarity with Eq. (41) used in the work of Kalka [7]. However, unlike that article, in this paper closed analytic solutions for x are obtained instead of graphical or numerical solutions.
Multiplying Eq. (19) by \(x\det {\textsf{K}}\), and expanding the scalar product, produces
which can be written
with \(\sigma _{1,2}=\tfrac{1}{2}\left( -\bar{c}_\textrm{b}\pm \sqrt{\bar{c}_\textrm{b}^2+4}\right) \). The roots \(\sigma _{1,2}\) are both real numbers with \(0<\sigma _1\le 1\) and \(\sigma _2\le -1\). The case of \(\bar{c}_\textrm{b}=0\) gives \(\sigma _{1,2}=\pm 1\).
Expansion of Eq. (21) gives \(P=0\) with
and
with \(c_4=1\).
Before finding the roots of the equation \(P=0\) it is helpful to analyze the nature of its roots, which is studied by considering the 5-tuple of its coefficients,
and its signs
It is straightforward to see that \({{\,\textrm{sgn}\,}}{c_4}=+\), \({{\,\textrm{sgn}\,}}{c_3}=+\), and \({{\,\textrm{sgn}\,}}{c_0}=-\). The sign of \(c_2\) and \(c_1\) requires a careful analysis. There are four possible cases: \(\left( {{\,\textrm{sgn}\,}}{c_2},{{\,\textrm{sgn}\,}}{c_1}\right) \): \(\left( +,+\right) \), \(\left( +,-\right) \), \(\left( -,+\right) \), and \(\left( -,-\right) \). The 5-tuple \({{\,\textrm{sgn}\,}}({{\,\textrm{coef}\,}}[P])\) can have four possible outcomes: \(\left( +,+,+,+,-\right) \), \(\left( +,+,+,-,-\right) \), \(\left( +,+,-,+,-\right) \), and \(\left( +,+,-,-,-\right) \). These 5-tuples display one or three changes of sign along the sequence of elements. Descartes’s rule of signs states that the number of positive roots of a polynomial, P, is either equal to the number of sign changes of \({{\,\textrm{sgn}\,}}({{\,\textrm{coef}\,}}[P])\), or is less than it by an even number. The application of Descartes’ rule to P gives either one or three positive roots. It can be proved that the polynomial P has only one positive real root by a careful analysis of Eq. (21). The left hand side of Eq. (21) is a fourth degree polynomial \(P_L(x)\) with only one positive root \(\sigma _1\), one negative root \(\sigma _2\) and two roots \(\kappa _{1,2}\) that could be either negative or a complex conjugate pair. The right hand side of Eq. (21) is an upward parabola \(P_R(x)\) with roots at zero and \(-2k_2\). The coefficients of the quartic term of \(P_L(x)\) and the quadratic term of \(P_R\) are both positive numbers, therefore \(P_L(x)\) and \(P_R(x)\) must tend to infinity as x goes to positive or negative infinity. Since the quartic function grows always faster than the quadratic function, and regarding that \(P_L(0)=-k_1 k_1<0\), the polynomials \(P_L(x)\) and \(P_R(x)\) must be equal at only one positive x.
In the Appendix is shown that using Ferrari’s method [13, 14], the quartic equation \(P=0\) can be written as an associated resolvent cubic equation \(R=0\) with
The cubic equation \(R=0\) can be solved by Cardano’s method [8], for which the change of variable \(y=\bar{y}+\frac{c_2}{3}\) is necessary to obtain a depressed cubic equation \(R_\textrm{dc}=0\) with
where
and the discriminant of P is \(\Delta =-4\bar{p}^3-27\bar{q}^2\) [13, 14].
The positive root of \(P=0\) is given by three cases depending on the sign of the \(\Delta \), and the sign of the functions \(\xi _{1,2}\),
The quantities \(\Delta \), \(\xi _1\), and \(\xi _2\) are functions of the equilibrium constants, \(k_1\) and \(k_2\), and the effective concentrations, \(\bar{c}_\textrm{a}\) and \(\bar{c}_\textrm{b}\). Explicitly, the positive root of \(P=0\) is given by
The roots \(x_1\) and \(x_3\) are:
with \(y_1\) and \(t_1\):
and \(\bar{y}_1\):
The functions \(\theta \), \(Q_1\), and \(Q_2\) are given in the Appendix. The concentration x for the most common case of diprotic acid, with \(k_1>4k_2\), obeys \(x=x_1\) for most of the concentrations.
2.3 Strong base titration of dissolutions of diprotic acids and its buffer mixtures
The titration by a strong base of an acid solution, or an acid buffer solution, can be analyzed by using the effective concentrations \(\bar{c}_\textrm{a}\) and \(\bar{c}_\textrm{b}\). Recall that the effective concentrations are related to the molar analytical concentrations by and
. A buffer solution is made of a volume \(V_\textrm{a0}\) of an acid solution with analytical concentration \(C_\textrm{a0}\), and volumes \(V_{10}\) and \(V_{20}\) of salt solutions with analytical concentrations \(C_{10}\) and \(C_{20}\), respectively. The total volume of the buffer solution is \(V_\textrm{B0}=V_\textrm{a0}+V_\textrm{10}+V_\textrm{20}\). The case of and acid solution is obtained by using \(V_{10}=0\), and \(V_{20}=0\), in the volume of the buffer: \(V_\textrm{B0}=V_\textrm{a0}\). The buffer effective concentrations are given by
These expression for the effective concentrations are obtained from the analytical concentrations simply by using the scaling factor .
A volume \(V_\textrm{b}\) of a strong base with analytical concentration \(C_\textrm{b0}\) is added to the buffer of volume \(V_\textrm{B0}\) and effective concentrations \(\bar{c}_\textrm{a0}\) and \(\bar{c}_\textrm{b0}\). The addition of the strong base changes the volume of the buffer to \(V_\textrm{B}=V_\textrm{B0}+V_\textrm{b}\), and the effective concentrations to the titration effective concentrations
The use of the buffer effective concentrations, Eqs. (40) and (41), in the titration effective concentrations, Eqs. (42) and (43), gives
The titration effective concentrations can be combined to obtain an equation for \(\bar{c}_\textrm{b}\) in terms of \(\bar{c}_\textrm{a}\), \(c_\textrm{b0}\) and the buffer effective concentrations,
This is the equation of a straight line with slope \(\left( \bar{c}_\textrm{b0}-c_\textrm{b0}\right) /\bar{c}_\textrm{a0}\) and ordinate intercept \(c_\textrm{b0}\). The slope of this straight line could be be negative, zero, or positive, depending on the concentrations of the buffer, \(\bar{c}_\textrm{b0}=s_\textrm{10}+2s_\textrm{20}\), and the titrating base, \(c_\textrm{b0}\).
In addition to the case of the titration of buffer solutions, this equation can be used for the titration of acid solutions. The case of an acid solution is obtained by taking \(\bar{c}_\textrm{b0}=0\) and \(\bar{c}_\textrm{a0}=c_\textrm{a0}\), to obtain
where \(\bar{c}_\textrm{a}=c_\textrm{a}\) and \({\bar{c}_\textrm{b}=c_\textrm{b}}\). This is the equation of a straight line with slope \({-c_\textrm{b0}/c_\textrm{a0}}\) and ordinate intercept \(c_\textrm{b0}\).
Eqs. (46) and (47) describe the titrations as straight line paths on the \((\bar{c}_\textrm{a},\bar{c}_\textrm{b})\) plane. The addition of the base, with concentration \(c_\textrm{b0}\), increases \(\bar{c}_\textrm{b}\) along a straight line, from \(\bar{c}_\textrm{b0}\) to \(c_\textrm{b0}\), meanwhile decreases \(\bar{c}_\textrm{a}\), from \(\bar{c}_\textrm{a0}\) to zero. The use of the contours of constant pH on the \((\bar{c}_\textrm{a},\bar{c}_\textrm{b})\) plane and the trajectory described by Eq. (46), or (47), give the full description of the titration experiments. However, it is more practical to describe the titration experiment as function of the pH, instead of the added strong base. For this, Eq. (19) is used, which relates x, the pH, with the effective concentrations \(\bar{c}_\textrm{a}\) and \(\bar{c}_\textrm{b}\). After some rearrangement, Eq. (19) gives
The use of the ratio between the effective dimensionless concentrations, \(\bar{n}={\bar{c}_\textrm{b}}/{\bar{c}_\textrm{a}}\), in Eq. (48) gives
This equation has been reported by Kalka previously [7], and works well in the case of \(\bar{c}_\textrm{a}\) constant. However, in the titration experiment the concentrations \(\bar{c}_\textrm{a}\) and \(\bar{c}_\textrm{b}\) are not constants. The last term of the right hand side of this equation depends on \(\bar{c}_\textrm{a}\). This dependence can be eliminated using Eq. (46). For this purpose, Eq. (46) must be written in terms of \(\bar{n}\),
with \(\bar{n}_0={\bar{c}_\textrm{b0}}/{\bar{c}_\textrm{a0}}\). Algebraic manipulation of Eq. (50) gives
which can be used in the last term of Eq. (49) to obtain an expression for \(\bar{n}\) in terms of the pH
where \(\bar{n}\ge \bar{n}_0\) and
with P the polynomial given by Eq. (22). The case of the acid titration is given by considering \(\bar{c}_\textrm{b0}=0\) in Eqs. (52)–(54).
The equivalence points for a diprotic acid occur at \(\bar{n}=1,2\) in Eq. (52). The first equivalence point is given when the acid and base concentrations are equal, \(\bar{n}=1\), the second equivalence point happens when the base concentration doubles the acid concentration, \(\bar{n}=2\). Since \(\bar{n}(\textrm{pH})\) must be a monotonically growing function of the pH, it must fulfill the condition \(n'(\textrm{pH})>0\).
3 Results and discussion
The validity of Eqs. (34)–(39) has been tested by calculating the pH, at different effective concentrations \(\bar{c}_\textrm{a}\) and \(\bar{c}_\textrm{b}\), of diprotic acids with reported values of p\(K_1\) and p\(K_2\) for 180 diprotic acids [10] and comparing them with the numerical solution. The average absolute error in the pH, \(\epsilon _\textrm{pH}\), at millimolar concentrations \(\bar{c}_\textrm{a}\) and \(\bar{c}_\textrm{b}\), is \(\epsilon _\textrm{pH}\lesssim 10^{-5}\) pH units with a standard deviation \(\lesssim 10^{-4}\) pH units. The small error in the calculated pH is caused mainly by the diprotic acids with \(\textrm{p}K_2-\textrm{p}K_1<-\log _{10}4\).
3.1 Aqueous dissolution of a diprotic acid
The case of a diprotic acid is given by using the conditions \(\bar{c}_\textrm{b}=0\) and \(\bar{c}_\textrm{a}=c_\textrm{a}\) in Eqs. (34)–(39). The condition \(k_1\ge 4 k_2\), i.e.,
makes the discriminant of P a positive number, \(\Delta >0\). This is the condition for a quartic equation with four distinct real roots. An inspection of the values of \(\textrm{p}K_1\) and \(\textrm{p}K_2\) of tabulated diprotic weak acids indicates that the condition (55) is fulfilled by many diprotic weak acids [9,10,11]. Figure 1 displays, on the p\(K_1\)–p\(K_2\) plane, the region given by the condition (55) as the light blue region above the blue line. It is clear in the Figure that most of the diprotic weak acids (open black circles) fulfill this condition, however a simple visual inspection of Fig. 1 shows that there are weak diprotic acids that fulfill the condition \({\textrm{p}K_2-\textrm{p}K_1\le -\log _{10}4}\) (light red region). This condition can be expressed in terms of the acid constants as \(k_2/k_1\ge 4\), i.e. \(K_2/K_1\ge 4\). Diprotic acids in the light red region have \(\textrm{p}K_1>\textrm{p}K_2\), examples of these are several nitrogenous organic compounds as Piperazine, Quinine, Phenylbiguanide, L-Nicotine, p-Benzidine, Sulfamethazine, m-Phenylenediamine, p-Phenylenediamine, 1,2-Propanediamine, 1,3-Propanediamine, 1,4-Butanediamine, 1,6-Hexanediamine, 1,8-Octanediamine, cis-2,5-Dimethylpiperazine, trans-1,2-Cyclohexanediamine, cis-1,2-Cyclohexanediamine, and the alcohol 1,3-Diamino-2-propanol [10].
p\(K_1\)–p\(K_2\) plane for a set of diprotic acids in aqueous solution [10]. The light blue region is given by the condition \(\textrm{p}K_2-\textrm{p}K_1\ge \log _{10}4\), the light red region is given by the condition \(\textrm{p}K_2-\textrm{p}K_1\le -\log _{10}4\) (Color figure online)
3.2 Concentrations \({[\hbox {H}_2\hbox {B}]}\), \({[\hbox {HB}^{-}]}\), and \({[\hbox {B}^{2-}]}\) in terms of \({[\hbox {H}_{3}\hbox {O}^{+}]}\)
Eq. (21) can be written to give an expression for \(\det {\textsf{K}}\),
This equation can be used in Eq. (17), to obtain
These concentrations are constrained to be positive numbers. Since \(0<\sigma _1\le 1\) and \(\sigma _2\le -1\), it is necessary to have \(x>\sigma _1\).
It is also possible to have parametric dependence on \(\bar{c}_\textrm{a}\), \(\bar{c}_\textrm{b}\) and \(k_2\) by using Eq. (15), which gives as result Eqs. (58), (59), and
instead of (57). The case of a dissolution of the diprotic acid gives \(\sigma _1=1\) and \(\sigma _2=-1\), with \(\bar{c}_\textrm{b}=0\) and \(\bar{c}_\textrm{a}=c_\textrm{a}\).
It is convenient to employ logarithmic scaling to describe concentrations and equilibrium constants of highly diluted solutions and weak acids. The p-function of \(\textrm{Q}\) is defined as
with \(a_\textrm{Q}\) and \(\gamma _\textrm{Q}\) as the activity and the activity coefficient of \(\textrm{Q}\) respectively [4]. Since equilibrium constants are dimensionless, it is possible to define the p-function of K as \(\textrm{p}K=-\log _{10}K\) [6].
The case of weak acids, and low concentrations, allows to use the ideal solution approximation, \(\gamma _\textrm{Q}\approx 1\), hence the pH is given by
![](http://media.springernature.com/lw151/springer-static/image/art%3A10.1007%2Fs10910-023-01527-y/MediaObjects/10910_2023_1527_Equ62_HTML.png)
The p-functions for \({[\hbox {H}_2\hbox {B}]}\), \({[\hbox {HB}^{-}]}\) and \({[\hbox {B}^{2-}]}\) are given by \(\mathrm {pH_2B}\approx 7-\log _{10}z_0\), \(\mathrm {pHB^{-}}\approx 7-\log _{10}z_1\), and \(\mathrm {pB^{2-}}\approx 7-\log _{10}z_2\), respectively. The p-function \(\mathrm {pH_2B}\) can be expressed in two ways, either using \(z_0\) from Eq. (57) to obtain \(\mathrm {pH_2B}(k_1,k_2)\), or using \(z_0\) from Eq. (60) to get \(\mathrm {pH_2B}(c_\textrm{a},k_2)\).
Figure 2 displays the behaviour of pH\(_2\)B, pHB\(^-\) and pB\(^{2-}\) as functions of the pH for different concentrations \(c_\textrm{a}=2^n\) (\(n=0,1,\dots ,23\)) of oxalic acid, \({\hbox {H}_{2}\hbox {C}_{2}\hbox {O}_{4}}\), which has \(K_1=5.62\times 10^{-2}\) and \(K_2=1.54\times 10^{-4}\) [10]. In this Figure the intersections between the \(\mathrm {pH_2B}(k_1,k_2)\) curve (red) and the \(\mathrm {pH_2B}(c_\textrm{a}, k_2)\) curves (pink) are shown as labeled black points. These intersections give the pH for the different concentrations \(c_\textrm{a}\).
Behaviour of pH\(_2\)B (red and pink), pHB\(^-\) (green) and pB\(^{2-}\) (blue) as functions of the pH for oxalic acid, \({\hbox {H}_{2}\hbox {C}_{2}\hbox {O}_{4}}\). Labeled black dots indicate the intersection between pH\(_2\)B\((k_1,k_2)\) (red) and pH\(_2\)B\((c_\textrm{a},k_2)\) (pink) at different concentrations, \(c_\textrm{a}=2^n\), \(n=0,1,2, \dots , 23\). Recall that that , hence for \(n=0\), \(C_\textrm{a}=10^{-7}\,\textrm{M}\), and for \(n=23\), \(C_\textrm{a}\approx 0.84\,\textrm{M}\) (Color figure online)
3.3 Use of physical constraints of the system to obtain approximate expressions for \({[\hbox {H}_{3}\hbox {O}^{+}]}\)
For the diprotic acid, the combined use of Eq. (60) and the condition \(z_0>0\), gives the inequality \(P_{z_0}<0\) with \(P_{z_0}\) given by the monic cubic polynomial
Although this polynomial goes to infinity as x goes to infinity, there are values of x for which the inequality \(P_{z_0}<0\) is satisfied. This can be seen by analyzing the 4-tuple of \(P_{z_0}\) coefficients,
The signs of (64) are given by
Regardless of the value of \({{\,\textrm{sgn}\,}}a_2\), there is only one change of sign in (65), from positive to negative, for this case Descartes rule of signs gives that \(P_{z_0}\) must have only one positive root. This positive root is a function of \(k_2\) and \(c_\textrm{a}\), and gives the upper bound of x. Using the method of Caicedo, et al. the upper bound of x is given by
with
The use of Wolfram Mathematica allows to prove that \(\Delta _{z_0}>0\) for \(c_\textrm{a}>0\) and \(k_2>0\). Since \(\Delta _{z_0}>0\), Eq. (70) gives the \(0<\theta <\pi \), hence \(\cos {(\theta /3)}\ge 1/2\). Furthermore, the use of Wolfram Mathematica allows to find that \(\lim _{c_\textrm{a}\rightarrow 0}x_\textrm{ub}=1\).
It was shown above that the dissociation constants of many diprotic acids are constraint by the condition \({k_1\ge 4k_2}\). The use of Eqs. (9) and (10) in the inequality \({k_1\ge 4k_2}\) leads to the constraint \({z_1^2\ge 4z_0 z_2}\) between the concentrations of the acid and its conjugate bases. The use of Eqs. (58), (59) and (60) in the inequality \({z_1^2\ge 4z_0 z_2}\) gives the inequality \(P_z>0\) with
This polynomial \(P_z\) is the same polynomial for a monoprotic weak acid with \(k_\textrm{a}=2k_2\). Since \({{\,\textrm{sgn}\,}}[P_z]=\left( +,+,-,-\right) \), Descartes rule of signs indicates that \(P_z=0\) has only one positive root. Using the method of Caicedo et al., this root is given by
with
The discriminant \(\Delta _z\) is a positive quantity, in fact, by using Wolfram Mathematica it is shown that \(\Delta _z\ge 4\). Furthermore using the same software it is shown that \(\lim _{c_\textrm{a}\rightarrow 0,k_2\rightarrow 0}{x_{\textrm{lb}}}=1\), and that \(\lim _{c_\textrm{a}\rightarrow 0,k_2\rightarrow \infty }{x_{\textrm{lb}}}=1/\sqrt{2}\).
The lower and upper bounds to the pH are obtained by \({7-\log _{10}{x_{\textrm{ub}}}}\) and \({7-\log _{10}{x_{\textrm{lb}}}}\) respectively. Figure 3 displays the lower and upper bounds to the pH as a function of the molar concentration \(C_\textrm{a}\) for oxalic acid (left) and 1,5-pentanediamine (right). In the case of oxalic acid, the exact pH and the lower pH bound (green) are nearly identical for concentrations \(C_\textrm{a}<10^{-2}\,\textrm{M}\). On the other hand, for the compound 1,5-Pentanediamine the exact pH and the upper pH bound (blue) are nearly identical for concentrations \(C_\textrm{a}<10^{-4}\,\textrm{M}\). It is interesting to notice from both panels of Fig. 3 that the upper bound pH curve (blue) overstimate the pH for a constant difference for concentrations greater than \(10^{-2}\,\textrm{M}\).
3.4 Analysis of the dependence of the \(\textrm{pH}\) on p\(K_2\)
Contours of constant pH (red lines) for different concentrations \(C_\textrm{a}\): (a) \(0.1\,\textrm{M}\); (b) \(0.01\,\textrm{M}\); (c) \(10^{-3}\,\textrm{M}\); (d) \(10^{-6}\,\textrm{M}\). Contours of \(\delta \textrm{pH}_2\) are shown in shading colors from blue to yellow: dark blue 0.01, grey 0.02, dark orange 0.06, orange 0.1, light orange 0.14, dark yellow 0.15, and yellow 0.16. The light blue region has \(\delta \textrm{pH}_2<0.01\). The open circle markers are the values of \(\left( \textrm{p}K_1, \textrm{p}K_2\right) \) for different weak diprotic acids [10] (Color figure online)
The pH is calculated by \(\textrm{pH}=7-\log _{10}x\) with x given by Eq. (34). The partial derivatives
measure how much the pH depends on p\(K_1\) or p\(K_2\), respectively.
Figure 4 displays contours of constant \(\delta \textrm{pH}_2\) as function of p\(K_1\) and p\(K_2\) for different acid concentrations, \(C_\textrm{a}\): (a) \(0.1\,\textrm{M}\); (b) \(0.01\,\textrm{M}\); (c) \(10^{-3}\,\textrm{M}\); (d) \(10^{-6}\,\textrm{M}\). Only the acids that fulfill the condition \(\textrm{p}K_2\ge \textrm{p}K_1+\log _{10}4\) are shown. This Figure also shows contours of constant pH as red curves with their respective call-outs indicating the value of the pH. In all the panels, the contours of the derivative \(\delta \textrm{pH}_2\) are shown with contour shading from blue to yellow; the dark blue has \(0.01<\delta \textrm{pH}_2<0.02\), the grey has \(0.02<\delta \textrm{pH}_2<0.06\), the dark orange \(0.06<\delta \textrm{pH}_2<0.1\), the orange \(0.1<\delta \textrm{pH}_2<0.14\), the light orange \(0.14<\delta \textrm{pH}_2<0.15\), the dark yellow \(0.14<\delta \textrm{pH}_2<0.15\), and the yellow \(0.16<\delta \textrm{pH}_2\). The open circle markers in all the panels of Fig. 4 are the values of \(\left( \textrm{p}K_1, \textrm{p}K_2\right) \) for different diprotic weak acids [10]. The maximum value of \(\delta \textrm{pH}_2\) is obtained by evaluating \(\delta \textrm{pH}_2\) along the line \({\textrm{p}K_2=\textrm{p}K_1+\log _{10}4}\). By doing this a function \(\delta \textrm{p}K_2(\textrm{p}K_1,C_\textrm{a})\) is obtained. The use of the function \(\textsf{NMaximize}\) of Wolfram Mathematica gives that \({\max {\left( \delta \textrm{p}K_2(\textrm{p}K_1,C_\textrm{a})\right) }\approx 0.17153}\) regardless the values of p\(K_1\) and \(C_\textrm{a}\).
Panel (a) of Fig. 4 shows that, for \(C_\textrm{a}=0.1\,\textrm{M}\), p\(K_2\) has weak influence on the pH for p\(K_1>4\). This is evident by observing that the contours of constant pH are practically vertical lines for \(\textrm{pH}>2.5\) and also by the fact that \(\delta \textrm{pH}_2<0.01\) for the same values of the pH. In the same panel can be observed that the strongest influence of p\(K_2\) on the pH, i.e. \(0.1<\delta \textrm{p}K_2\lesssim 0.17153\), is seen in the regions with orange and yellow contour shading, and pH\(<1.5\). The pH contours in this region are curved instead of straight vertical lines. Panel (a) shows that the approximation of considering the pH independent p\(K_2\) is very good for all the acids at a concentration \(C_\textrm{a}=0.1\,\textrm{M}\). The highest observed value of \(\delta \textrm{pH}_2\) is about 0.17153 units of pH by 1 unit of p\(K_2\). This value of \(\delta \textrm{pH}_2\) indicates that a change on 0.5 units of p\(K_2\) would produce at most a change of 0.08 units on the pH. This change in the pH is sufficiently small to be within the experimental error, hence, the heuristic approximation of considering the pH dependent only on p\(K_1\) is an good approximation at relatively high concentrations of the acid.
Panels (b) and (c) of Fig. 4 show similarities in shape with panel (a). It can be seen that for these concentrations the pH is insensitive to the value of p\(K_2\) for p\(K_1>5\) and p\(K_1>6\), for concentrations \(C_\textrm{a}=10^{-2}\) (b) and \(C_\textrm{a}=10^{-3}\) (c) respectively. Regarding the pH contours, they are insensitive to the p\(K_2\) value for pH\(>3.5\) and pH\(>4.5\) for concentrations \(C_\textrm{a}=10^{-2}\) (b) and \(C_\textrm{a}=10^{-3}\) (c) respectively. Panel (d), \(C_\textrm{a}=10^{-6}\,\textrm{M}\), shows evident differences with respect to panels (a) to (c). At this low acid concentration the region with \(5.73<\textrm{pH}<6.5\) displays strong sensitivity to the value of p\(K_2\), with the strongest effect for pH\(\approx 5.9\) and p\(K_1\approx 6\).
Panels (a) to (c) of Fig. 4 show that the pH contour with \(\textrm{pH}=-\log _{10}C_\textrm{a}\) is a straight line with negative slope. This line is a boundary between two regions: one with pH contours that are asymptotically independent of p\(K_2\) (vertical lines) and other region with pH contours that are asymptotically independent of p\(K_1\) (horizontal lines). Although panel (d) does not display this straight line with negative slope, it is clear that there are also regions with asymptotic independence on p\(K_1\) and p\(K_2\).
3.5 Strong base titration of diprotic acids and its buffer mixtures
Contours of constant pH on the concentrations plane \((C_\textrm{a},C_\textrm{b})\) for diprotic acids. Left: maleic acid, p\(K_1=1.92\), p\(K_2=6.23\); Right: 1,8-Octanediamine p\(K_1=11\), p\(K_2=10.1\). The red region is given for \(\Delta _\textrm{dc}>0\), the green region for \(\xi _1<0\) and \(\xi _2<0\), and the blue \(\xi _1>0\) and \(\xi _2<0\). The titration line is shown in dashed on both figures. The equivalence points \(n=1,2\) are shown as cyan open circles. The half equivalence points \(n=1/2,3/2,5/2\) are shown as magenta open circles (Color figure online)
Figure 5 displays the contours of constant pH for maleic acid (left panel) and 1,8-Octanediamine (right panel). Maleic acid has p\(K_1=1.92\) and p\(K_2=6.23\), that is p\(K_2-\)p\(K_1\ge \log _{10}4\), meanwhile the compound 1,8-Octanediamine has p\(K_1=11\) and p\(K_2=10.1\), and p\(K_2-\)p\(K_1\le -\log _{10}4\). Maleic acid is an example of a pH given uniquely by Eq. (35) with \(\bar{y}_1\) given by the first case of Eq. (39), therefore maleic acid displays only one region in the \((C_\textrm{a},C_\textrm{b})\) plane. On the other hand the compound 1,8-Octanediamine displays three regions on the \((C_\textrm{a},C_\textrm{b})\) plane: the red region is given by using Eq. (35) with \(\bar{y}_1\) given by the first case of (39), the green region given by Eq. (36) with \(\bar{y}_1\) given by the second case of Eq. (39), and the blue region is given by (36) with \(\bar{y}_1\) given by the third case of Eq. (39).
Titration curves for 10\(\,\textrm{ml}\) of diprotic acids at concentration \(C_\textrm{a}=1\,\textrm{mM}\) using a volume \(V_\textrm{b}\) of strong base with concentration \(C_\textrm{b}=1\,\textrm{mM}\). (Left) Maleic acid, p\(K_1=1.92\), p\(K_2=6.23\); (Right) 1,8-Octanediamine p\(K_1=11\), p\(K_2=10.1\). The red, green and blue curves are calculated using the first, third, and fourth case of Eq. (39), respectively (Color figure online)
Figure 6 shows the titrations curves obtained by adding a volume \(V_\textrm{b}\) of a strong base with concentration \(C_\textrm{b0}=1\,\textrm{mM}\) to a volume \(V_\textrm{a0}=10\,\textrm{ml}\) of solution \(C_\textrm{a0}=1\,\textrm{mM}\) of maleic acid (left) and 1,8-Octanediamine (right). These titration curves are given by the pH along the dashed lines of Fig. 5 for the case \(C_\textrm{a0}=1\,\textrm{mM}\) and \(C_\textrm{b0}=1\,\textrm{mM}\).
The left panel of Fig. 6 displays the typical equivalence points for diprotic acids with two equivalence points. The first equivalence point occurs at \(V_\textrm{b}\approx 10\,\textrm{ml}\) with \(\textrm{pH}\approx 5\), the second equivalence point occurs at \(V_\textrm{b}\approx 20\,\textrm{ml}\) with \(\textrm{pH}\approx 8\). In contrast, the right panel of Fig. 6 does not display equivalence points. The titration curve for 1,8-Octanediamine is made by joining three different titration curves: red, green and blue (from left to right). The initial solution of 1,8-Octanediamine has pH slightly below 7, as the base is added the pH grows rapidly reaching a pH above 10. This behaviour is described by the red curve of Fig. 6 (right). As the volume of added base increases, the pH grows from 10 to approximately 10.5, following the green curve. Finally, for \(V_\textrm{b}>25\,\textrm{ml}\) the titration experiment follows the blue curve reaching a final pH slightly above 10.5 at \(V_\textrm{b}=40\,\textrm{ml}\).
Titration functions \(\bar{n}(\textrm{pH})\), and \(\bar{n}_\textrm{K}\), obtained from Eqs. (52) (green and red) and (49) (cyan and magenta), respectively. The first and second equivalence points occur at \(\bar{n},\bar{n}_K=1,2\), the half-equivalence points occur at \(\bar{n},\bar{n}_\textrm{K}=1/2, 3/2, 5/2\). Maleic acid (red and magenta) displays the typical titration curve of a diprotic acid, 1,8-Octanediamine (green and cyan) does not diaplay equivalence points (Color figure online)
The use of Eq. (52) allows to obtain the pH at the equivalence points for acid and buffer solutions. The equivalence points \(\bar{n}=1, 2\), and the half-equivalence points \({\bar{n}=1/2, 3/2}\), as functions of the pH, are displayed in Fig. 7 for maleic acid, p\(K_1=1.92\), p\(K_2=6.23\), and for 1,8-Octanediamine, p\(K_1=11\), p\(K_2=10.1\). It is seen in this Figure that the equivalence point for \(\bar{n},\bar{n}_\textrm{K}=3/2\) are the same for maleic acid, but not for 1,8-Octanediamine. This Figure also shows that the use of Eq. (49) gives a wrong pH at the equivalence points \(\bar{n}=1, 2\). The first equivalence point is shifted to more acid pHs meanwhile the second equivalence point is shifted to basic pHs.
3.6 pH stability of buffer solutions
In the titration experiment a volume \(V_\textrm{b}\) of a base solution, with concentration \(c_\textrm{b0}\), is added to a volume \(V_{\textrm{B0}}\) of a buffer solution with concentrations \(\bar{c}_{\textrm{a0}}\) and \(\bar{c}_{\textrm{b0}}\). The concentrations \(\bar{c}_{\textrm{a}}\) and \(\bar{c}_{\textrm{b}}\) as functions of \(V_\textrm{b}\) are given by Eqs. (42) and (43). Although Eq. (52) can be used to analyze the stability of a buffer solution, it is more convenient to use the parametric curve
where \(\textrm{pH}_\textrm{acid}\left( V_\textrm{b}\right) \) is the pH of the acid as function of added base, and \(\textrm{pH}_\textrm{buffer}\left( V_\textrm{b}\right) \) is the pH of the buffer as function of added base. Figure 8 displays \(\beta (V_\textrm{b})\) for acid and buffer solutions prepared with the same number of moles of the acid, \(C_\textrm{a}V_\textrm{a0}=7.5\times 10^{-3}\) moles, and titrated with the same strong base, \(C_\textrm{b0}=7.5\,\textrm{mM}\). The buffer solutions of panel (a) are prepared by adding \(C_\textrm{10}V_{10}=2.5\times 10^{-3}\) moles of the monobasic salt only; The buffer solutions of panel (b) are prepared by adding \(C_\textrm{20}V_{20}=2.5\times 10^{-3}\) moles of the dibasic salt only; The buffer solutions of panel (c) are prepared by adding \(C_\textrm{10}V_{10}=2.5\times 10^{-3}\) moles of the monobasic salt, and \(C_\textrm{20}V_{20}=2.5\times 10^{-3}\) moles of the dibasic salt. The three panels show four curves for different acids all with p\(K_1=1\) and p\(K_2=1\) (red), p\(K_2=4\) (green), p\(K_2=6\) (blue), and p\(K_2=8\) (cyan).
\(\beta (V_\textrm{b})\) curves for buffer solutions of different acids prepared with: (a) only monobasic salt, (b) only dibasic salt, and (c) both monobasic and dibasic salts. All the acids have p\(K_1=1\) and: p\(K_2=1\) (red), p\(K_2=4\) (green), p\(K_2=6\) (blue), and p\(K_2=8\) (cyan) (Color figure online)
The pH stability of a buffer solution is given when the \(\beta (V_\textrm{b})\) curve is horizontal, i.e. regardless the change in the pH of the acid solution, the pH of the buffer remains stable. The red curve of panels (a) and (c) of Fig. 8 display the best pH stability. These red curves are produced by acids with p\(K_1=1\) and p\(K_2=1\). The red \(\beta (V_\textrm{b})\) curves of panels (a) and (c) display buffer stability at \(\textrm{pH}_\textrm{buffer}\approx 3\) and \(\textrm{pH}_\textrm{acid}> 4\). The green \(\beta (V_\textrm{b})\) curves of panels (a) and (c) display buffer stability at \(\textrm{pH}_\textrm{buffer}\approx 4.7\) and \(\textrm{pH}_\textrm{acid}> 6\), for and acid with p\(K_1=1\) and p\(K_2=4\). The cyan curves of panels (b) and (c) of Fig. 8 show that the dibasic salt produces basic pH stability for acids with higher p\(K_2\).
Data availability
The data and Wolfram Mathematica codes used for this study are available from the corresponding author on request.
References
F. Scholz, H. Kahlert, Acid-base equilibria of amino acids: microscopic and macroscopic acidity constants. J. Chem. 4, 1–9 (2018)
L. Hamm, N. Nakhoul, K. Hering-Smith, Acid–base homeostasis. Clin. J. Am. Soc. Nephrol. 10, 2232–42 (2015)
S.C. Doney, D.S. Busch, S.R. Cooley, K.J. Kroeker, The impacts of ocean acidification on marine ecosystems and reliant human communities. Ann. Rev. Environ. Resour. 45, 83–112 (2020)
K.G. Denbigh, The Principles of Chemical Equilibrium: With Applications in Chemistry and Chemical Engineering, 4th edn. (Cambridge University Press, Cambridge, 1981)
J.-L. Burgot, Ionic Equilibria in Analytical Chemistry (Springer, Berlin, 2012)
D.A. Skoog, D.M. West, F.J. Holler, S.R. Crouch, Fundamentals of Analytical Chemistry, 10th edn. (Cengage, Boston, 2022)
H. Kalka, Polyprotic acids and beyond-an algebraic approach. Chemistry 3, 454–508 (2021)
A. Caicedo, J.C. Morales, C.A. Arango, Closed-form expressions for monoprotic weak acid aqueous solutions. ChemTexts 9, 1 (2023)
E.Q. Adams, Relations between the constants of dibasic acids and of amphoteric electorolytes. J. Am. Chem. Soc. 38, 1503–1510 (1916)
CRC Handbook CRC Handbook of Chemistry and Physics, 88th ed.; CRC Press, (2007)
N. Mchedlov-Petrossyan, Polyprotic acids in solution: is the inversion of the constants of stepwise dissociation possible? Ukr. Chem. J. 85, 3–45 (2019)
H.S. Simms, Dissociation of polyvalent substances II. Relation of constants to chemical structure. J. Am. Chem. Soc. 48, 1251–1261 (1926)
L.E. Dickson, Elementary Theory of Equations, 1st ed.; John Wiley and Sons, Inc., (1914)
L.E. Dickson, First Course in the Theory of Equations, 1st edn. (Wiley, New York, 1922)
R.W.D. Nickalls, A new approach to solving the cubic: Cardan’s solution revealed. Math. Gazette 77, 354–359 (1993)
Funding
Open Access funding provided by Colombia Consortium. This work has been financed by the OMICAS program, Project ID: FP44842-217-2018, and the internal research grants of Universidad Icesi. The OMICAS program acronym stands for “In-silico Multiscale Optimization of Sustainable Agricultural Crops”, a member of the Scientific Colombia Ecosystem, sponsored by the World Bank, and the Colombian Ministries of Science, Technology and Innovation (Minciencias), Education, Industry and Tourism, and the ICETEX.
Author information
Authors and Affiliations
Contributions
Juan C. Morales made analytical and numerical calculations. Carlos A. Arango performed analytical and numerical calculations, wrote the manuscript, prepared the figures, and performed the analysis of results.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Ethical approval
This work does not involve studies in humans and/or animals. There was no need for ethics committee approval.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
1.1 Mathematical solution of \(P=0\)
1.1.1 The resolvent cubic equation
The solution of equation \(P=0\) by Ferrari’s method requires to find its resolvent cubic equation [13, 14]. The standard procedure to obtain the resolvent cubic of a quartic equation begins by writing \(P=0\) in its equivalent form
The addition of a quantity y/2 inside the squared term of the left hand side, and the addition of the compensation terms on the right hand side gives, after simplification,
The left hand side of this equation can be written as a complete square, that is, Eq. (81) can be written
with \(t=t(y)\ne 0\), given that \(t^2=\tfrac{1}{4}c_3^2-c_2+y\), and
The expansion of Eq. (83) gives, after simplification, the resolvent cubic \(R=0\), with
This equation has three roots \(y_i\), \(i=1,2,3\). The use of one of these roots in Eqs. (81) and (82) gives
with \(i=1,2,3\) and \(t_i=t(y_i)\). Each of these equations split in two quadratic equations,
with \(i=1,2,3\). The roots of \(P=0\) satisfy these quadratic equations [13, 14]. The discriminants of the quartic equation, \(\Delta \), and its resolvent cubic equation, \(\Delta _\textrm{rc}\), are identical [13, 14]. The restriction \(k_1\ge 4 k_2\) gives that \(\Delta >0\), hence \(\Delta _\textrm{rc}>0\) and the resolvent cubic Eq. (84) must have three distinct real roots. For the case \(\Delta _\textrm{rc}<0\) the cubic \(R=0\) has one real root and two non-real complex conjugate roots [13, 14].
1.1.2 Solution of the resolvent cubic equation \(R=0\)
The third order polynomial equation \(R=0\) can be solved by Cardano’s method. The change of variable \(y=\bar{y}+\frac{c_2}{3}\) gives the depressed cubic equation \(R_\textrm{dc}=0\), with
and
and discriminant \(\Delta _\textrm{dc}=-4\bar{p}^3-27\bar{q}^2\), which is equal to \(\Delta \) and \(\Delta _{\textrm{rc}}\) [13, 14].
The use of Vieta’s substitution, \(\bar{y}=\bar{z}-\frac{\bar{p}}{3\bar{z}}\), gives the polynomial equation
Multiplication of (91) by \(\bar{z}^3\) gives
which is equivalent to the quadratic equation \(\xi ^2+\bar{q}\xi -\tfrac{\bar{p}^3}{27}=0\), in the variable \(\xi =\bar{z}^3\), with roots
The physical case of diprotic acids with \(k_1 \ge 4k_2\) [9, 11] gives \(\Delta _\textrm{dc}>0\) for \(\bar{c}_\textrm{a}\ge 0\) and \(\bar{c}_\textrm{b}\ge 0\), therefore \(\xi _{1,2}\) are a complex conjugate pair. On the other hand, for the less common case of diprotic acids with \(k_1 < 4k_2\) is possible to have \(\Delta _{\textrm{dc}}<0\), hence \(\xi _{1,2}\) are real conjugates, on part of the plane \(\bar{c}_\textrm{a}\)-\(\bar{c}_\textrm{b}\), with \(\xi _1>\xi _2\).
It is convenient to define \(\zeta =\xi _1\) and \(\zeta ^*=\xi _2\) for the case \(k_1 \ge 4k_2\) and \(\xi =\xi _1\) and \(\bar{\xi }=\xi _2\) for the case \(k_1 < 4k_2\), with \(\zeta ^*\) and \(\bar{\xi }\) as the complex and real conjugate of \(\zeta \) and \(\xi \) respectively.
The use the polar representation for \(\zeta \) gives \({\zeta =\Vert \zeta \Vert e^{i\theta }}\) for the case \(k_1\ge 4k_2\), with
with \(\theta \in (0,\pi )\) as the angle between \(\zeta \) and the positive real axis on the Argand plane. The angle \(\theta \) is related to the trigonometric solution obtained by Nickalls for the roots of the cubic equation [15]. The polar representation of \(\xi \) and \(\bar{\xi }\), case \(k_1 < 4k_2\), gives \(\xi =|\xi _1|e^{i\theta _1}\) and \(\bar{\xi }=|\xi _2|e^{i\theta _2}\) with \(\theta _{1,2}=\frac{\pi }{2}(1-{{\,\textrm{sgn}\,}}{\xi _{1,2}})\), and \(\xi >\bar{\xi }\).
The roots \(\bar{y}\) of the depressed cubic equation \(R_\textrm{dc}=0\) are given by Cardano’s formula
where \(\alpha =\root 3 \of {\zeta }\) and \(\beta =\root 3 \of {\zeta ^*}\) for \(k_1 \ge 4k_2\), and \(\alpha =\root 3 \of {\xi }\) and \(\beta =\root 3 \of {\bar{\xi }}\) for \(k_1 < 4k_2\). The cubic roots \(\alpha \) and \(\beta \) have three values each, \(\alpha _n\) and \(\beta _n\), with \(n=0,1,2\). The combined use of the three roots \(\alpha \) and the three roots \(\beta \) must give the three roots of \(R_\textrm{dc}=0\).
The cubic roots \(\alpha \) and \(\beta \), for the case \(k_1 \ge 4k_2\), are given by
with \(n=0,1,2\), and
for which \(Q_1\) and \(Q_2\) are
The case \(k_1<4k_2\) has
with \(n=0,1,2\).
Since for the case \(k_1\ge 4k_2\) the cubic equation \(R_\textrm{dc}=0\) has three real roots, the addition of two cubic roots \(\alpha _n+\beta _m\) must give a real number. This is possible only if \({\text {Im}}(\alpha _n)=-{\text {Im}}(\beta _m)\). There are only three possible combinations that fulfill this requirement:
which are the roots of \(R_{\textrm{dc}}=0\): \(\bar{y}_1\), \(\bar{y}_2\), and \(\bar{y}_3\), respectively, with \(\bar{y}_1>\bar{y}_2>\bar{y}_3\).
The case \(k_1<4k_2\) has only one real solution, and a complex conjugate pair. Since \(\xi >\bar{\xi }\), there are three possibilities:
-
\(\theta _1=\theta _2=0\): the roots are \(\alpha _i+\beta _i\) with \(i=0,1,2\). The root \(\bar{y}_1=\alpha _0+\beta _0\) is the only real solution, \(\bar{y}_1=\root 3 \of {|\xi _1|}+\root 3 \of {|\xi _2|}\).
-
\(\theta _1=\theta _2=\pi \): the roots are \(\alpha _i+\beta _i\) with \(i=0,1,2\). The root \(\bar{y}_1=\alpha _1+\beta _1\) is the only real solution, \(\bar{y}_1=-(\root 3 \of {|\xi _1|}+\root 3 \of {|\xi _2|})\).
-
\(\theta _1=0\), \(\theta _2=\pi \): the roots are \(\alpha _0+\beta _1\), \(\alpha _1+\beta _0\), and \(\alpha _2+\beta _2\). The root \(\bar{y}_1=\alpha _0+\beta _1\) is the only real solution, \(\bar{y}_1=\root 3 \of {|\xi _1|}-\root 3 \of {|\xi _2|}\).
In summary, the solution \(\bar{y}_1\) of the depressed cubic equation is
The root \(y_1\) of the resultant cubic equation \(R=0\) is given by
This root is substituted in the quadratic Eqs. (86) and (87), with \(t_1=t(y_1)\) given by
The four roots of the quartic equation \(P=0\) are given by
Only the roots \(x_1\) and \(x_3\) can have physical significance, and x is given by
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Morales, J.C., Arango, C.A. Geometric-algebraic approach to aqueous solutions of diprotic acids and its buffer mixtures. J Math Chem 62, 275–299 (2024). https://doi.org/10.1007/s10910-023-01527-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10910-023-01527-y