I have a homework problem and want to try to understand the process without following steps from other outside sources. I understand basic logic and have done a handful of introductory proofs to this point. My problem is, when I am doing my scratchwork and gathering evidence, sometimes I can feel like I've just gone full circle and not addressed the claim or that I've completed the proof but am unaware of it.
For this problem, it asked me to prove that: For all positive real numbers $x$, the sum of $x$ and its reciprocal is greater than or equal to $2$.
This is my work currently:
Suppose $x + \frac{1}{x} \geq 2$ where $x \in\mathbb{R}$ and $x > 0$.
Multiplying by $x$, we obtain $x(x+\frac{1}{x})\geq2x$
And $x(x+\frac{1}{x})=x^{2}+1\geq2x$
Subtracting $2x$ from both sides gives $x^{2}-2x+1\geq0$
And further we see $x^{2}-2x+1=(x-1)^{2}\geq0$ which is true for any real number $x$.
Thus, it has been shown. $\square$
Does this count as a proof? I'm not sure if my assumption is the correct way to go about it. I understood that you assume $P$ and show that it means $Q$ is true. But in this case it feels like I'm assuming $P\rightarrow Q$ which doesn't make sense to me.
For a clear question, could someone explain to me the logical groundwork behind a proof like this? What constitutes proven and why does whatever is shown justify the claim to be proven?