A type of logic called deduction is also built into the use of hypotheses in science. While induction entails reasoning from a set of specific observations to reach a general conclusion, deductive reasoning involves logic that flows in the opposite direction, from the general to the specific. From general premises, we extrapolate to the specific results we should expect if the premises are true. In the scientific process, deductions usually take the form of predictions of results that will be found if a particular hypothesis (premise) is correct. We then test the hypothesis by carrying out experiments or observations to see whether or not the results are as predicted. This deductive testing takes the form of “If… then” logic. In the case of the desk lamp example: If the burnt-out bulb hypothesis is correct, then the lamp should work if you replace the bulb with a new one.
We can use the desk lamp example to illustrate two other key points about the use of hypotheses in science. First, one can always devise additional hypotheses to explain a set of observations. For instance, another hypothesis to explain our nonworking desk lamp is that the electrical socket is broken. Although you could design an experiment to test this hypothesis, you can never test all possible hypotheses. Second, we can never prove that a hypothesis is true. The burnt-out bulb hypothesis is the most likely explanation, but testing supports that hypothesis not by proving that it is correct, but rather by failing to prove it incorrect. For example, even if replacing the bulb fixed the desk lamp, it might have been because there was a temporary power outage that just happened to end while the bulb was being changed.
Although a hypothesis can never be proved beyond the shadow of a doubt, testing it in various ways can significantly increase our confidence in its validity. Often, rounds of hypothesis formulation and testing lead to a scientific consensus—the shared conclusion of many scientists that a particular hypothesis explains the known data well and stands up to experimental testing.
Urry, Lisa A.. Campbell Biology. Pearson Education. Kindle Edition. https://www.pearson.com/us/higher-education/series/Campbell-Biology-Series/2244849.html