Long-term transient linear flow of hydraulically fractured vertical and horizontal wells completed in tight/shale gas wells has historically been analyzed by use of the square-root-of-time plot. Pseudovariables are typically used for compressible fluids to account for pressure-dependence of fluid properties. Recently, a corrected pseudotime has been introduced for this purpose, in which the average pressure in the distance of investigation (DOI) is calculated with an appropriate material-balance equation. The DOI calculation is therefore a key component in the determination of the linear-flow parameter (product of fracture half-length and square root of permeability, x f ffiffi ffi k p) and the calculation of contacted fluid in place. Until now, the DOI for transient linear flow has been determined empirically, and may not be accurate for all combinations of fluid properties and operating conditions.In this work, we have derived the DOI equations analytically for transient linear flow under constant-flowing-pressure and -rate conditions. For the first time, rigorous methodologies have been used for this purpose. Two different approaches were used: the maximum rate of pressure response (impulse concept) and the transient/boundary-dominated flow intersection method. The two approaches resulted in constants in the DOI equation that are much different from previously derived versions for the constantflowing-pressure case. The accuracy of the new equations was tested by analyzing synthetic production data from a series of fine-grid numerical simulations. Single-phase oil and gas cases were analyzed; pseudovariable alteration for pressure-dependent porosity and permeability was required in the analysis.The calculated linear-flow parameters, determined from our new DOI formulations for the constant-flowing-bottomhole-pressure (FBHP) case, and the input values to numerical simulation, are in good agreement. Of the two new DOI-calculation methods provided, the maximum rate of pressure response (unit impulse method) provides more accurate results. Finally, a field case was analyzed to determine the impact of DOI formulations on derivations of the linear-flow parameter from field data.Linear-flow analysis on the basis of the DOI calculations presented in this work is significantly improved over previous formulations for constant FBHP.