how can we differentiate a mineral acid and base from organic ones
mineral acid: an acid that does not have carbon in it.
Mineral base: a base that does not have carbon in it. Common alkaline bases (Ca(OH)2, NaOH) are all mineral bases. CH3OH is not.
Organic acids contain carbon, which is detectable with a mass spectrometer.